Open GoogleCodeExporter opened 9 years ago
3DS loading support is not in plan at this moment. If you would like to write
one, the JSC3D.BinaryStream class will be very useful to deal with binary data.
You can also refer to JSC3D.StlLoader or this demo
http://jsc3d.googlecode.com/svn/trunk/jsc3d/demos/md2viewer.html which
implements an experimental MD2 loader as technical tutorials for how to load
and parse binary data and make models run in JSC3D.
Original comment by Humu2...@gmail.com
on 15 Dec 2012 at 3:04
Today I started to implement a 3ds loader.
Now in the end of the day I can see the full mesh rendered but without any
materials from 3ds file. (the material is the default material of the jsc3d
engine)
In the next days I'll implement the materials reader from 3ds file and then
maybe the project owner will integrate it officially in the release.
;)
I tested an object with more than 2 millions of triangles. (and the loader did
not crash)
Original comment by vasile.d...@gmail.com
on 13 Jul 2013 at 12:53
Attachments:
If someone is interested to test it (or maybe to contribute) i atteched the
latest version of the loader.
All you have to do is to include the script into the page after the jsc3d.js.
For example like that:
<script type="text/javascript" src="../jsc3d.js"></script>
<script type="text/javascript" src="../jsc3d_Autodesk3DSLoader.js"></script>
and then....
viewer.setParameter('SceneUrl', 'Autodesk3ds/epilator.3ds');
exactly like any other loader.
Original comment by vasile.d...@gmail.com
on 13 Jul 2013 at 1:16
Attachments:
Hi,
in the attached zip I put the latest version of 3ds loader and my customized
version of jsc3D.
what you'll find inside the zip:
1. Now the 3DS loader supports also materials ambient + diffuse + texture
2. This version does not support material opacity (don't know if the 3DS format
itself supports opacity didn't find such information in the documentation I
used)
3. The jsc3d version included into this zip supports transparent background for
canvas. (As you can see the colored circles are visible from behind the canvas.)
4. Also use a Perspective View (JSC3D by is implemented with Orthographic View)
and for my project I preferred to use a perspective view.
Enjoy !
Original comment by vasile.d...@gmail.com
on 13 Jul 2013 at 11:19
Attachments:
Hi,
Added support for transparent materials.
Original comment by vasile.d...@gmail.com
on 14 Jul 2013 at 7:29
Attachments:
Wow this works great.
Thanks for the awesome effort Vasille
Original comment by kchec...@gmail.com
on 15 Jul 2013 at 1:38
It was my pleasure to work on it :)
Let's see what's the next challenge.
Original comment by vasile.d...@gmail.com
on 15 Jul 2013 at 1:44
This is the latest version.
Original comment by vasile.d...@gmail.com
on 15 Jul 2013 at 1:48
Attachments:
Nice job!! I didn't check the issue for email notification so that I almost
missed this.
The new loader is just incredible. Thanks Vasile!
Original comment by Humu2...@gmail.com
on 8 Oct 2013 at 4:05
is this part of the latest release?
Original comment by derk.sac...@gmail.com
on 11 Nov 2013 at 12:47
Not yet. You can check it out from the repository.
Original comment by Humu2...@gmail.com
on 14 Nov 2013 at 7:08
Original issue reported on code.google.com by
kchec...@gmail.com
on 12 Dec 2012 at 2:09