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

Deprecated file format #2831

Closed
saintbaf opened this issue Dec 22, 2012 · 11 comments
Closed

Deprecated file format #2831

saintbaf opened this issue Dec 22, 2012 · 11 comments
Labels

Comments

@saintbaf
Copy link

Good afternoon people

i ve been running into a very specific sort of problem when trying to import a JSON format model into my WebGL application. I ve been using Blender three.js exporter in order to export the model into the appropriate format, however i am getting the "Deprecated File Format" error.

So far i have tried to use various free models from BlenderSwap, something that hasnt worked.
Then i created a simple cube in Blender and exported it into .js format, but still the problem persists.
However when i tried to import a model from the WebGL Up and Running book, it worked.

As far as i have read into other similar issues, the deprecated file format error is concerned with an old version of the model, but how can a newly created simple cube be out of date?

I am stuck for many days now, i am perplexed and my brain computational power cant grasp a viable solution or explanation (so far). So i am willing to send much e-love and cakes to all the people who can help.

Thank you in advance people!

@saintbaf
Copy link
Author

i forgot to mention that i am using the latest version of Blender (2.65). The three.js Blender exporter mentions that is for version 2.64. I ve downloaded and installed 2.64, tried the same procedure without any results.

@mrdoob
Copy link
Owner

mrdoob commented Dec 22, 2012

No no. Is not an old version of the model, is an old version of the exporter. Make sure that the version of three.min.js you're using and the exporter is from the same revision. If you're not sure, just download them both again.

If that doesn't work, could you share with us the exported model?

@mrdoob mrdoob closed this as completed Dec 23, 2012
@saintbaf
Copy link
Author

hello, after quite some time i got webgl on my hands again. still i got the same problem, i downloaded the new exporter for blender 2.65 and activated the exporter throught the preference menu on Blender. Everything works fine there, but the same old "deprecated file format" appears again. Should i share the exported model?

@mrdoob
Copy link
Owner

mrdoob commented Jan 18, 2013

You should make sure that the exporter AND the loader both have the same version.

@anothercoder2
Copy link

mrdoob sorry for being a noob.
But I did not follow "exporter AND the loader both have the same version."
The exporters versions are tied to Blender versioning (e.g2.65 or 2.66) whereas the loader versions are tied to three.js versions (r46 r58 etc).
Can you please tell me how are these two related?

@mrdoob
Copy link
Owner

mrdoob commented Jul 9, 2013

Basically you just need to download the latest version of the library and use both three.min.js and the blender exporter that you'll find in it.

@anothercoder2
Copy link

Got it. Will calrify my confusion in case somone else has it.
I googled for Blender 2.65 plugin when I installed it and downloaded the first link I found.
What I was missing is that the export/import plugin for blender (2.65 or 2.66) is unique to each version of three.js.
I get it now and will try it out.

@ghost
Copy link

ghost commented Dec 1, 2013

Yeah, it worked.

@martenzander
Copy link

Hi, I know it's been a while, but I have like the same problem and did everything you listed up here and it still doesn't work. I used blender 2.68 to export my own model. Are you sitll up for some support? :D

Cheers
-marten

@antont
Copy link
Contributor

antont commented Jun 30, 2014

@SlimMarten with what version of three.js?

@martenzander
Copy link

@antont r46

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

No branches or pull requests

5 participants