06 March 2019, 09:47 | #1 |
Registered User
Join Date: Sep 2018
Location: Chesterfield
Posts: 44
|
3d?
Was there ever some sort of 3D command library for Amiga Blitz?
Or maybe some sort of code that could do some simple geometry shapes? |
06 March 2019, 10:34 | #2 |
Registered User
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,374
|
Nope, not that I know of. There are some demonstrations of simple 3D engines in the included example code - one featuring paper planes called Planes, Darts or something like that.
AmiBlitz3 has a MiniGL include, though I've never used it so I've no idea how functional it is. |
06 March 2019, 11:36 | #3 |
Registered User
Join Date: Sep 2018
Location: Chesterfield
Posts: 44
|
but i guess that won't work on a standard a500 or a1200
i am using the standard blitz no the amiblitz that seems to be more dedicated towards modern accelerated amigas |
06 March 2019, 13:05 | #4 |
Registered User
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,374
|
Yeah, the Darts demo (I think that's what it's called), is worth looking at, and was included with Blitz Basic 2.1.
|
06 March 2019, 15:40 | #5 |
Registered User
Join Date: Sep 2018
Location: Chesterfield
Posts: 44
|
Checked the Darts demo, it looks fantastic for what it is and works pretty well on a500 too. There's a lot of asm commands in it.
It's a pity that no one ever wrapped this sort of 3d functionality in a library or set of commands, as it could have a lot of applications |
06 March 2019, 17:30 | #6 | |
Registered User
Join Date: Jan 2019
Location: Coimbra / Portugal
Posts: 54
|
Quote:
I don't know if this helps but polygons can be drawn in Blitz Basic: https://www.amigacoding.com/index.ph...iltIn#Polygons |
|
06 March 2019, 17:51 | #7 |
Registered User
Join Date: Sep 2018
Location: Chesterfield
Posts: 44
|
@madaxe the polyf command is being used in the DARTS game mentioned before
|
06 March 2019, 17:53 | #8 |
Registered User
Join Date: Sep 2018
Location: Chesterfield
Posts: 44
|
On the Bllitz2.1 CD I found a sort of 3D command lib, called 2B3D by GORNY.
Author says it's still in beta phase, and it's all written using Blitz so it's not very fast. But at least someone had thought of it way back in 1996 It's a pity that this has not been picked up by someone and improved, maybe made faster with asm, as it's very promising. If anyone knows of other more complete 3D libs, kindly let me know Last edited by bjadams; 06 March 2019 at 21:09. |
06 March 2019, 17:56 | #9 |
Registered User
Join Date: Jan 2019
Location: Coimbra / Portugal
Posts: 54
|
|
06 March 2019, 23:51 | #10 |
Banana
Join Date: Jul 2016
Location: Darmstadt
Posts: 1,215
|
I don't think 3d will ever be quick on an A500, it's just not built for it. Converting x,y "chunky" pixels to planar takes up either lots of blitter or CPU time, leaving little time for the calculations and other drawing tasks.
|
07 March 2019, 18:03 | #11 |
Registered User
Join Date: Sep 2018
Location: Chesterfield
Posts: 44
|
no need for chunky to planar and texture mapped 3d. just want some simple cubes, pyramids and similar objects, which the A500 has demonstrated to be able to handle
|
12 March 2019, 18:51 | #12 | |
Registered User
Join Date: Jan 2019
Location: Coimbra / Portugal
Posts: 54
|
Quote:
In the annexes there are the Delphi sources. Last edited by madaxe; 04 December 2023 at 11:05. Reason: Fix images links. |
|
12 March 2019, 19:06 | #13 |
Registered User
Join Date: Sep 2018
Location: Chesterfield
Posts: 44
|
@madaxe sure why not! Also take a look at what GORNY did, maybe it's similar too
|
12 March 2019, 19:49 | #14 | |
Registered User
Join Date: Jan 2019
Location: Coimbra / Portugal
Posts: 54
|
Quote:
Meanwhile I send some 2D stuff that I made in Blitz. It's simple and isn't optimized but is a good start for 3D and can be used to rotate bitmaps or shapes or sprites Last edited by madaxe; 04 December 2023 at 15:24. Reason: Fix images links. |
|
12 March 2019, 20:05 | #15 |
Registered User
Join Date: Sep 2018
Location: Chesterfield
Posts: 44
|
@madaxe great stuff there!
|
12 March 2019, 20:49 | #16 |
Registered User
Join Date: Jan 2019
Location: Coimbra / Portugal
Posts: 54
|
|
25 March 2019, 22:06 | #17 |
Banana
Join Date: Jul 2016
Location: Darmstadt
Posts: 1,215
|
This has piqued my interest - currently reading about projection matrices... If I can get my head around it I'll write something in blitz and share it here.
The more I read the more astounded I am that Frontier was possible on an A500. |
25 March 2019, 22:30 | #18 |
Registered User
Join Date: Sep 2018
Location: Chesterfield
Posts: 44
|
@E-Penguin take a look at what GORNY did, it's all written in blitz
|
26 March 2019, 23:41 | #19 |
Registered User
Join Date: Jan 2019
Location: Coimbra / Portugal
Posts: 54
|
The work is in progress and it is almost done
In a couple of days it will be completed. Last edited by madaxe; 04 December 2023 at 15:24. Reason: Fix images links. |
27 March 2019, 09:39 | #20 |
Registered User
Join Date: Sep 2018
Location: Chesterfield
Posts: 44
|
@madaxe amazing. do you only use blitz commands or fast asm? how fast is it on a500?
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|