Dwayne Bull .co.uk » Labs » Labs – 3D terrain editing.
Labs – 3D terrain editing.

A test of flash 10′s draw triangles working with a custom terrain engine.
How to: Click and drag on the terrain tiles, hold shift while click-dragging to create smooth changes.

The idea behind this was to create a very simple and fast terrain engine. Its mostly all data and the rendering can be abstracted to create whatever view you want, all the editing is done in 3D space. I went with an isometric rendering on this demo and its nice and simple to create from 3d points.

Depth sorting is done based on the renderer provided, with the isometric renderer its nice and fast as the depth sorting is no more advanced than checking the x,y tile coordinates.

I started to create NPC’s for the environment that would use A* to randomly walk around, avoiding steep slopes and cliffs. However I never got round to finishing this, maybe one-day I will; Probably not.

Get Adobe Flash player



Leave a Reply

Name
(* required)
Email Address
( * required - will not be published)
Web Site
Comment
(* required)