简体   繁体   中英

Viewing a 3d model in browser

I would like to know how I can go from a 3d model to a moveable in browser model. An example of this would be the roblox website. If you go to any player profile there is a character model that you can move around. My model has a.obj format. Would this format be compatible with the technology roblox uses?

Export your model in Maya to a wavefront(.obj) file. Then you could use a library like three.js, along with this script to load and view.obj files within the browser

obj to three.js JSON

Programming the moveable camera can also be done using the library. If you want to use the default formats, it will be tricky as you may need to write the parser yourself if there isn't one and the spec is freely available.

I would like to know how I can go from a 3d model to a moveable in browser model. An example of this would be the roblox website. If you go to any player profile there is a character model that you can move around. My model has a.obj format. Would this format be compatible with the technology roblox uses?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM