Hi, I am trying to convert my obj model to .js format. I have tried the three.js editor and clara.io but the file generated by both are sort of different from the files you are using. Can you tell me how do you convert the models?
Hey Vineet,Can you send over the obj file to us and we'll convert it for you. We use a little python script that does the job
I haven't yet finalized the model I will be using. Could you please share the python script with me so that I can do it at my end?
I'm attaching the script here.Once you unzip, put the script and your obj file in the same directory, and then through Terminal navigate to that directory and just type:
python convert_obj_three.py -i infile.obj -o outfile.js
Where the infile.obj is the name of your obj file and outfile.js is the desired name of your js file.
Thanks a lot Nick :)