ND3D AS3 3D Engine
ND3D is a simple to use AS3 3D Engine. Aimed for speed and simplicity. Target use are small 3D effects and rapid 3D testing / prototyping. The compiled size of the engine is about 10k.
Download: ND3D V 0.1 | Project at GoogleCode | API Documentation (Beta): Launch
Features:
- Interactive/clickable meshes
- Wireframe rendering
- Bitmap textures
- Basic dynamic lighting
- Additive blending for materials
- Distance blur for meshes
- 3D sprites
- 3DS, ASE and MD2 mesh loader
- Animated MD2 Meshes
- Pixel & Linerenderer
- Custom renderer
- Apply flashfilters to meshes
- Built in primitives (plane, cube, sphere, box, line3d, sprite3d)
- Vertexcleaner, Normalsflipper
Additive Rendering (Meshes & 3D Sprites)












Pingback: nulldesign - personal portfolio and flash experiment corner of lars gerckens » ND3D engine goes google.code
Pingback: jexchen » Blog Archive » Flash、Flex资源收集之十全大补
Very nice, looking forward to test it.
Good luck…
Wow!
Some really nice stuff here!
I love the additive bitmap & rendering!
very pretty
OMG!
Great job.
Pingback: Rafael-Lima.blog » Blog Archive » ND3D AS3 3D Engine
Pingback: nulldesign - personal portfolio and flash experiment corner of lars gerckens » 3D Engine Sources + Examples
Pingback: Hebi Flash Blog » Reweb de wue allégée et sans alcool // blog hibernant jusqu’au 7 Septembre
Pingback: ZeroSeven Labs » Blog Archive » Vergleich PaperVision3D - nulldesign3D
Pingback: ND3D is Heart Healthy | Phenomblue
Good stuff!
Is it possible to map a jpg asset around a cylinder?
Thanks Lars
Excellent work Lars. A very attractive engine for its efficiency and light weight. Recently I hoped to work with the 3DS format and SleepyDesign encouraged me to mod a 3DS parser to get it to go with ND3D. So I got it to go and you can read about it here:
http://www.magicpictures.ca/blog/35-flash.html
p.s. I really love your ribbon example
I have used your library on my webSite : ribbon audio visuals in my song player for a start (I am new to 3d!)
Is it possible to select 3D items, in order to interact with them?…
I.e. to create a cube, and by rolling over, rolling out and clicking on it, by checking a depth-matrix, to get the ROLL_OVER, ROLL_OUT, MOUSE_OVER, MOUSE_OUT, and CLICK events.
Also can you place 2D objects-MovieClips in different depths? (I.e. a 3D image (vector or bitmap or textfield) in frond of every 3D object, or in certain depth in the space, without loosing quality).
If you can do that (or anyone do it first!) then probably you will be the reason for moving the current web-design to 3D web.. :D
Very beautiful looking examples. Will definitely give the engine a test. Thanks
I will add interactive features (over, out, click, etc.) for meshed pretty soon, please be patient ;)
Nice tiny engine – I love that!
I added (efficient) alpha transparency to bitmap textures, are you interested in contributions?
Pingback: Hidden Place Blog » Blog Archive » ND3D un nuevo engine 3D para AS3
Nice library.
I would like to contribute an Flash player 10 version, as it seems most of the Arrays could be converted to Vectors.
How is to do?
Pingback: CP+B Emerging Technology Blog » Blog Archive » Adding Another Dimension
Great engine! Is there a forum or a google group related to nd3D? When i try the code below to align planes to a sphere, the planes are facing to the outside, while nearly the same code in PV3D is working out fine (center is an Object3D).
for (var i = 1; i < sphere.vertexList.length; i++)
{
plane = new Plane(10,10,1,1,_cmat);
plane.xPos = sphere.vertexList[i].x;
plane.yPos = sphere.vertexList[i].y;
plane.zPos = sphere.vertexList[i].z;
var pVec:Vertex = new Vertex(plane.xPos,plane.yPos,plane.zPos);
pVec.normalize();
center.xPos = pVec.x;
center.yPos = pVec.y;
center.zPos = pVec.z;
plane.lookAtTarget(center);
renderList.push(plane);
}
beautiful!!!
Just rotate your planes for now: plane.rotateVerticesY(Object3D.deg2rad(90)); The lookAt function needs a bit of polishing ;)
goooooooooooooooooooooooooooood work!
very interesting
kick ass
Pingback: dieBuster » Blog Archive » Pyramid3D 업그레이드 실패와 ND3D
Hi,
excellent work, is there a way to add a textfield to the Dynamic Meshes & MeshExtrudeTest above to get a kind of ticker tape news feed?
Thanks mate
Hi there,
i think your Mouse3DEvent is working the wrong way. It gets always the element, thats behing the to seen element. (Did this as an example with many planes that are ordered like an cover flow).
If fixed this in the Renderer.as the following way:
I duplicated the for-loop, and reversed it and put there the checkMouse detection.
This means, i have this two for-loops:
for(faceIndex = 0;faceIndex = 0; faceIndex–)
which includes only the detection.
then it works.
Maybe you can fix this in your next relase.
Greets.
Oups, sorry: ment this two loops:
for(faceIndex = 0;faceIndex = 0; faceIndex–)
Okay, seems that this blog kills my two posted for loops ..
Sorry, for all this spam:
theres an easier way to fix this:
Just insert this lines:
curFace = faceList[faceList.length - 1 - faceIndex];
curMaterial = curFace.material;
before the detection:
// check for mouse interaction
if(!currentHighlightedFace && (curMaterial.isInteractive || curFace.meshRef.isInteractive)){
at line 377 in Renderer.as
Greets
Pingback: AS3 Quick Guides – Open Source 3D Engines « Matt Eley | Labs
I found that, the nd3d engine can only create single layer. I can’t find out any container of 3d object.
What kind of license is over this candy ? I just love performance and some neat features. Keep going. I hope you will made from this some good incomes :) Sincerly, good luck!
If i can suggest something. It will be greate if you could add some simple pivot setup function. For everybody who have problem with for example rotating around one of edge, you could use now translateVertices function, to move center of object to any place you want.
Anyhow, good work !
What an excellent 3d engine.
But could you supply the newest version for us?I downloaded your engine in google code.I cannot find some classes such as BitmapMaterial,SWFMaterial,and so on.
Thanks a lot!
I found the code in the google code.
Thanks for your attention again.
Your 3d engine gets the best balance of effects and capability in all of the 3d engines I found.Give you a praise once more.
awesome work. i needed something lightweight for a banner and this was frackin awesome. thanks again!
Pingback: Open Source 3D Engines | ZoomArt Blog
Firstly, I am really digging ND3D,
Looking for a way to bring in an array of mesh data to build custom primitives: [ [ax,ay,az],[bx,by,bz],[cx,cy,cz],[dx,dy,dz]… I’m finding it a bit tougher than planned.
Awesome, here is how to make your own primitives in ND3D.
http://yo.drpunchman.com/2010/03/03/nd3d-make-your-own-primitives/
Pingback: [Flash 3] - AS3 in 3D - Flashforum
Is this project dead?
Google code is not updated since.. 2009 august… :(
I wouldn’t call it dead, it has just all the features it needs and works ;). Are you missing something?
Pingback: 3D Ninja Test 2 – Fists of 30 fps Fury | Photon Storm
Pingback: Actionscript Animation Frameworks | DzineLabs
Can you please add some working example files or a tutorial on how to get started?
There are a lot of examples included in the examples package, just check it out ;)
Hey there
Awesome work! lovin’ the filesize.
Hey what do you use to create your MD2 models, I’d love to be able to import models from blender, but I haven’t been able to find a MD2 exporter.
Cheers
Any way we could see some performance tests vs papervision? If ND3D performs better and supports viewportlayers, I’ll switch!