How to read a 3DS file and output it to the Tree.js screen as json
#1
I'm currently using ab3d.Reader3D.
I would like to read and display 3DS files on the web.
Is there a way?
Can you please write an example code?
please answer about my question.
#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
#3
thank you
  


Forum Jump:


Users browsing this thread:
1 Guest(s)