Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (degenerate_762, AbrahamR, AndrewAMD, ozgur), 667 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Volumetric terrain in a8 #447345
12/05/14 14:01
12/05/14 14:01
Joined: Oct 2003
Posts: 4,131
M
Matt_Aufderheide Offline OP
Expert
Matt_Aufderheide  Offline OP
Expert
M

Joined: Oct 2003
Posts: 4,131
Here's an early shot of my volumetric terrain system in A8. Uses a 2d heightmap and 3D noise to create a full 3d volume which is then polygonised on the fly using the marching cubes method.

Everything is done procedurally, and could be extended to make infinite worlds.

The terrain meshes are normal A8 models and work with collision, physics, shadow maps etc.


free picture upload

Last edited by Matt_Aufderheide; 12/05/14 14:08.
Re: Volumetric terrain in a8 [Re: Matt_Aufderheide] #447346
12/05/14 14:14
12/05/14 14:14
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline
Expert
sivan  Offline
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
wow. how fast is the process and what about rendering performance afterwards? can you post an image showing triangles?


Free world editor for 3D Gamestudio: MapBuilder Editor
Re: Volumetric terrain in a8 [Re: sivan] #447347
12/05/14 15:27
12/05/14 15:27
Joined: Oct 2003
Posts: 4,131
M
Matt_Aufderheide Offline OP
Expert
Matt_Aufderheide  Offline OP
Expert
M

Joined: Oct 2003
Posts: 4,131
Right now runs at 60+ fps (I have a 2 ghz CPU + radeon r5), except when updating chunks which can make some lagginess. This can be optimized hopefully to smooth things out.

AS you will see in this shot, there is no LOD yet, which should make a difference. World size (xy) is currently 131072*131072... far clip is set to 10000 in this shot


Sphere Engine--the premier A6 graphics plugin.
Re: Volumetric terrain in a8 [Re: Matt_Aufderheide] #447353
12/05/14 16:37
12/05/14 16:37
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Cool! What happened to your planet exploration game, I assume it's getting an overhaul?


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: Volumetric terrain in a8 [Re: Superku] #447355
12/05/14 17:21
12/05/14 17:21
Joined: Oct 2003
Posts: 4,131
M
Matt_Aufderheide Offline OP
Expert
Matt_Aufderheide  Offline OP
Expert
M

Joined: Oct 2003
Posts: 4,131
Hi! I intend to use this new system for that..although right now its not planned to be a spherical world---this method could be extended for a spherical (planetary) renderer in several ways. You could have two different systems, a flat terrain and a sphere terrain, and blend between them at a distance. Or I could just make the whole planet a giant volume that gets paged in.

Right now im just trying to concentrate on getting this system optimized.


Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1