How to read a 3DS file and output it to the Tree.js screen as json
#2
By json you probably mean glTF file format that use json to define the scene (and can also use some additional binary for meshes and other binary data).

You can import the 3D scene by Ab3d.Reader3ds and then use AssimpExporter to export the scene to glTF format (see the same with the same name in Ab3d.PowerToys samples project).

If you want some other kind of json, then you will need to write an exporter by yourself.
Andrej Benedik
  


Messages In This Thread
RE: How to read a 3DS file and output it to the Tree.js screen as json - by abenedik - 01-25-2024, 09:33 AM

Forum Jump:


Users browsing this thread:
1 Guest(s)