.3ds loader for java/processing
Happy new year 2009
I’ve wanted to load 3d data into my processing projects before, so i wrote a simple obj loader with multiple groups, something that no other library supported at that time. It was simple and had bugs but it worked quite good for what i needed. So after sometime i needed more data for my models but i was too lazy to port my Chaos 3dsmax exporter called Chucky. So, i haveĀ searched the web and i found MRI’s old java port of his 3ds loader. I still remember his demos and its tutorials backĀ in the old days… Great coder, miss those days.
Anyway, i’ve downloaded his library and placed in it the processing library’s folder and *poof*, i had a 3ds loader to work with. And it has alot of cool features.
![]()
3d model from http://www.punkuser.net.
Library credits go to MRI.
In the package i’ve included an example project that renders simply vertex and wireframe face data. It should be easy for anyone with some knowledge to take the documentation and render a full textured/lit’ed scenario. If not, just you wait until i get a new example to put in the pack
Homepage: http://www.pixelnerve.com/processing/libraries/mri3ds
(old) Download MRI 3DS Loader + Processing Examples
(Tested in Processing 1.0.1)
———————————————————-
EDIT:
3ds files dont store face/vertex normals, so i had to compute them myself. ive uploaded updates to the same zip file.
news:
. face+vertex normal calculation (vertex by averaging face normals)
. no smoothing groups used.
. normals debugging
. renders meshes with texture+solid faces.
. mouse+camera control
. extra code from Vitamin
enjoy.