Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to convert my 3D .obj model to JSON styled .js file? #106

Open
jovanovic-nemanja opened this issue Mar 8, 2021 · 1 comment
Open

Comments

@jovanovic-nemanja
Copy link

I want to change some sample models as my models. I have 3D .obj files now.
Can I use my models to this blue print sample project?
Best regards.
Nemanja

@Tovape
Copy link

Tovape commented Sep 8, 2022

I found a method

You will need the following Software:
Blender 2.79b (For Export in JSON)
Blender 3.0 (For actual Models)
three.js-r69 Blender Exporter Link

In case Blender 2.79b works fine for you, you don't need to install Blender 3.0. I prefer to model in Blender 3.0 because of the shortcuts and because my laptop doesn't support Old Blender Versions, it crashes a lot

Steps:
1- Install the io_three addon into blender 2.79b
2- Creation of the model in Blender 3.0 (if needed) and find textures
3- Export Model to Blender 2.79b using the Append Method and export as json (then rename as js extension)

Make sure the file looks like the ones in the example folder. Hope this helps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants