05 January 2021, 19:17 | #1 |
<optimized out>
Join Date: Sep 2020
Location: <optimized out>
Posts: 321
|
Progress on my 3D engine
Since lockdown 2 I've been working on a 3D engine in C, and for no other reason than that I'm pleased with myself I'd like to show the progress to date:
As you can see, I have aircraft, tanks, buildings, runways, and they have shadows. There is a sun in the sky that you can't see unless you look up. The plane is as close as I could get to a Eurofighter Typhoon, the tank is a Challenger 2. The tank would look better if I had more colours, it's not as blob-like as it appears there. It's all written in C, with the only assembly language being some multiplication of pairs of numbers that doesn't really fit into the C way of doing maths. I don't plan on adding any more assembly language until I'm satisfied with everything else. Last edited by Ernst Blofeld; 06 January 2021 at 11:41. |
05 January 2021, 19:22 | #2 |
Registered User
Join Date: Nov 2019
Location: Greece
Posts: 992
|
Looks great, I love that low-poly aesthetic!
|
05 January 2021, 19:28 | #3 |
Registered User
Join Date: Jun 2015
Location: Germany
Posts: 1,918
|
That looks very nice! I personally prefer the looks of a more complex flat-shaded 3D engine over those of a low-poly and low-fps texture-mapping engine.
Any info on fps? |
05 January 2021, 20:08 | #4 |
<optimized out>
Join Date: Sep 2020
Location: <optimized out>
Posts: 321
|
|
05 January 2021, 20:17 | #5 |
Jackie Chan
Join Date: Mar 2012
Location: Ireland
Age: 46
Posts: 985
|
Nice- will you make a game or create a reusable 3d game engine to make various types of games/genres or? Anyhow, good work- looks interesting.
|
05 January 2021, 20:27 | #6 |
<optimized out>
Join Date: Sep 2020
Location: <optimized out>
Posts: 321
|
I haven't decided yet, but I think I want to add some physics to it so things move in a natural way, then see what happens. It will need a lot of improving before it can be used as for a game.
|
05 January 2021, 21:45 | #7 |
Jackie Chan
Join Date: Mar 2012
Location: Ireland
Age: 46
Posts: 985
|
Fair enough. Hope you finish it. New 3d stuff on amigas is a cool thing.
|
05 January 2021, 22:46 | #8 |
Registered User
Join Date: Sep 2014
Location: Poland
Posts: 175
|
|
05 January 2021, 23:12 | #9 |
<optimized out>
Join Date: Sep 2020
Location: <optimized out>
Posts: 321
|
|
05 January 2021, 23:16 | #10 |
Registered User
Join Date: Jan 2020
Location: oslo/norway
Posts: 1,607
|
Looking great! Why not make a scene, Amiga intro or demo as a start?
Could be released at some party or uploaded to pouet.net so people can download it and make comments. |
05 January 2021, 23:21 | #11 |
<optimized out>
Join Date: Sep 2020
Location: <optimized out>
Posts: 321
|
|
06 January 2021, 02:18 | #12 |
Registered User
Join Date: May 2018
Location: Ireland
Posts: 672
|
That looks gorgeous, great work, i think folk here would be well able to help you to optimize it.
|
06 January 2021, 12:18 | #13 |
Inviyya Dude!
Join Date: Sep 2016
Location: Amiga Island
Posts: 2,770
|
Love the flat shaded look as well..
Hopefully you can get the FPS up a bit.. Maybe have a look at Deimos' 3D thread that's hanging around here somewhere.. He worked a lot on these topics already. |
06 January 2021, 12:28 | #14 | |
<optimized out>
Join Date: Sep 2020
Location: <optimized out>
Posts: 321
|
Quote:
* If I turn the camera to stare at the sun so that none of the other objects are visible, I get 6fps, so I know it's the drawing part that needs work rather than the calculating part. Last edited by Ernst Blofeld; 06 January 2021 at 12:45. |
|
06 January 2021, 14:04 | #15 |
Registered User
Join Date: Jun 2015
Location: Germany
Posts: 1,918
|
What's the FPS if you remove the shadows? That could easily be an option for faster CPUs, I guess.
|
06 January 2021, 14:13 | #16 | |
<optimized out>
Join Date: Sep 2020
Location: <optimized out>
Posts: 321
|
Quote:
The tank and control tower shadows are super quick as they are just an extra couple of polygons that get drawn first and into that one bitplane. |
|
06 January 2021, 14:29 | #17 |
Registered User
Join Date: Jul 2015
Location: The Netherlands
Posts: 3,408
|
Your engine does look rather nice. And quite the challenge too for it to be aimed at a base level 68000!
|
06 January 2021, 15:00 | #18 |
Registered User
Join Date: Feb 2008
Location: Northampton/UK
Posts: 524
|
Are you planning on hidden face removal or LOD's? Or have you got that far already?
Also, you could add A cockpit, that would reduce the area you need to draw. Looks great though! |
06 January 2021, 15:04 | #19 |
<optimized out>
Join Date: Sep 2020
Location: <optimized out>
Posts: 321
|
|
06 January 2021, 15:07 | #20 |
Registered User
Join Date: Jul 2015
Location: The Netherlands
Posts: 3,408
|
LOD = Level Of Detail
I.E. have several different models of decreasing complexity and show progressively simpler ones as the object is farther and farther away from the camera. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ACA2000 Progress? | Robbie | Amiga scene | 7 | 17 December 2016 19:11 |
Work in progress. | Cowcat | Coders. General | 7 | 18 February 2014 22:33 |
My A500+ progress so far. | Mogsy | Hardware pics | 16 | 02 March 2013 09:20 |
|
|