Saturday, January 31, 2009

terrain rendering in flash(draft)

back later...
I do like playing with terrains.
Generally there are two ways of rendering terrains or landscapes, the first one is called voxel, the second one is using 3D triangles.
There are difference between the two ways, both in theory and the result.
Many flashers did some very impressive experiments about terrains by action script.
1.A great one was Electric Oyster 's flash flight simulator over the arctic.
The swf is based on their own 3D engine-Electric 3D engine using tiangles way to render the terrain.
Great texture and rendering speed!

P.S.Anyone who want an standalone (off-line) vision,just go to your Temporary Internet Files’ folder,copy the files ‘Main.swf’and‘data_lq.bin’ out, save them where you want.(don’t change the name of the second one,keep it ‘data_lq.bin’)-play ‘Main.swf
for full screen version it will be 'data_hq.bin'
you may need to take care of flash player's security problems.
2. away 3D greenpalnt demo
http://www.closier.nl/playground/greenplanet.htmlmuch more than just landscape, very impressive!
3. Den Ivanov did lots of beautiful experiment on terrain.
The most famous one is his land craft simulator in flash 8.
http://lab.parkstudio.ru/terra/
He also did other simple voxel terrain with source their
Check:
MusicScape: http://www.cleoag.ru/2007/03/29/musicscape/
But PaperTerrain :http://www.cleoag.ru/2007/03/31/sources-for-papervision3d-terrain/is using another approach papervision 3D
And triangles.(with source)
(sorry, can't find the original link...)
We can easily see the difference of final result:
Voxel is much more month, on the other hand you can recognize the triangles
4.SWFZ TerrainLoadingTest http://www.swfzlab.com/swfz/terrain/TerrainLoadingTest.swf(broken link)
http://the-backup-project.googlecode.com/svn/trunk/3D/swfz/Terrain.swf (backup)
Based on Joho’s powerful flash 3D engine.
5.Unit Zero One 3d voxel landscapes http://www.unitzeroone.com/blog/2006/10/03/flash-9-example-3d-landscapes-voxel-engine/
6.isaac 's flash voxel engine:
voxel land(with source)

15.iso terrain
16.Papervision Mesh3D Terrain Map Simplification - Proof of Concept http://www.overset.com/2007/09/04/papervision-mesh3d-terrain-map-simplification-proof-of-concept/


17.http://antonvolkov.com/flash/land3d/
This one shows how triangle works.
18.perlin terrain 3d study 1&2

19.mrdoob's

all source can be found here: http://www.25lines.com/
2009-January 25 lines contest: Entry-008
Petri Leskinen's flight 25
http://www.25lines.com/finalists/0901/008.txt (source)http://www.25lines.com/finalists/0901/008.swf
2008-November / December 25 lines contest: Entry-068
oaxoa's voxel terrain
2008-November / December 25 lines contest: Entry-005
Paulo Afonso's DYNAMIC TERRAIN


2008-November / December 25 lines contest: Entry-027
Piergiorgio Niero's Random Terrain 3D Generator
2008-November / December 25 lines contest: Entry-064
Daniil Tutubalin's Bottle Glass Mountains(in Finalists)
27.bit-101's terrain
Spider Defense:
terrain 2d:

lots of linescapes there!
http://www.artfromcode.com/?cat=6
28.Andre Michelle's mode7 terrain:
Tutorials:
1.Perlin Noise and Dynamic Terrain Generation
LINKS:
1.Generating Random Fractal Terrain
http://gameprogrammer.com/fractal.html
2. Voxel terrain engine(tutorial with c++ source)
3. Book: Focus On 3D Terrain Programming (Game Development)
MEMO:
My work 1 pixel style
2triangle perlin/3/color
Zground 3d slic/zground traingle
Voxel terrain

http://m-design.bg/terrain/ ?

1 comment:

  1. This blog has a voxel engine that seems to be do millions and millions of voxels at crazy speeds - 20fps on my laptop

    http://planeman-bluffersguide.blogspot.com/2005/01/testing-swf.html

    ReplyDelete

Sponsors