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

r66 Three.js can't load anymore JSON files coming from Blender Exporter. #4572

Closed
zaykho opened this issue Mar 13, 2014 · 5 comments
Closed
Labels

Comments

@zaykho
Copy link

zaykho commented Mar 13, 2014

Hello,
Recently, I have seen that I can't get to work exported obj from blender with json exporter, even the oldest json files like this one: three.js / examples / obj / female02 /
https://github.com/mrdoob/three.js/tree/master/examples/obj/female02
Doesn't work anymore !

I have BLENDER 2.6.9.0 and the latest Blender Exporter 2.65, tried many options but none did work, tested some recent exported json with older Three.js revision (like r50) and it did work. Even the code exemple like: three.js / examples / webgl_loader_json_objconverter.html
https://github.com/mrdoob/three.js/blob/master/examples/webgl_loader_json_objconverter.html
Doesn't work anymore !

So after many test, this is not a 3d model, exporter, blender, browser or code issue but definitively a Three.js recent update problem causing these exported .json to not work.

EDIT: by saying "doesn't work", I mean it make total garbage on the screen like this:

issue

@mrdoob
Copy link
Owner

mrdoob commented Mar 13, 2014

EDIT: by saying "doesn't work", I mean it make total garbage on the screen like this:

Haha. That was the most informative bit :)

Just wondering if this even has anything to do with Blender. Have you tried exporting from latest Blender exporter and loading in three.js r50?

Also, make sure you're using the latest graphics card drivers for your system.

@mrdoob mrdoob added the Bug label Mar 13, 2014
@zaykho
Copy link
Author

zaykho commented Mar 13, 2014

Just wondering if this even has anything to do with Blender. Have you tried exporting from latest Blender exporter and loading in three.js r50?

I have tested this, and it work great.

Also, make sure you're using the latest graphics card drivers for your system.

About this, I have tried on many computer with latest driver, 2 laptop (1 Sony Vaio vgn-cr11s [intel gma x3100], 1 acer of my friend [nvidia card dont remember full spec]) and a server Dell power edge T-300 with modded Nividia gt-210.

Also tested on Chrome, Firefox and nightly latest SVN, with and without Add-on activated, on 3 different OS: Xp32bit, Xp64bit and Windows 7 64bit.

I must agree that all test was done on low graphic platform, maybe it has something to do with. :/

@mrdoob
Copy link
Owner

mrdoob commented Mar 13, 2014

About this, I have tried on many computer with latest driver, 2 laptop (1 Sony Vaio vgn-cr11s [intel gma x3100], 1 acer of my friend [nvidia card dont remember full spec]) and a server Dell power edge T-300 with modded Nividia gt-210.

Also tested on Chrome, Firefox and nightly latest SVN, with and without Add-on activated, on 3 different OS: Xp32bit, Xp64bit and Windows 7 64bit.

Does it show the same breakage in all these systems?

I must agree that all test was done on low graphic platform, maybe it has something to do with. :/

What are the specs of that system?

@zaykho
Copy link
Author

zaykho commented Mar 14, 2014

Does it show the same breakage in all these systems?

Yes, has far I remember (tried this morning [FR time] in office).

Right now I run on a Sony Vaio, vgn-cr11s:
Quick Spec
http://www.cnet.com/laptops/sony-vaio-cr-series/4505-3121_7-34562603.html
Full Spec
http://www.cnet.com/laptops/sony-vaio-cr-series/4507-3121_7-34562603.html

CPU -- Intel Core 2 Duo T7100 / 1.8 GHz ( Dual-Core )
RAM -- 3.0 GB (modified)
HDD -- 120.0 GB - Serial ATA-150 - 5400.0 rpm
OS -- XP 32 bit SP3 (modified)
Screen -- 14.1 -1280 x 800 ( WXGA ) + VGA DELL (1280x1024)
GPU -- Intel GMA X3100 Dynamic Video Memory Technology 4.0 (~128mo in XP)
DVD±RW (±R DL) / DVD-RAM - Integrated

Nightly 29.0a1 (2013-12-19), Three.js r66, Blender 2.6.9.0, Blender Exporter 2.65.
Directx9, no modified setting in Graphic panel of Intel. (Latest driver coming from 13/01/2010 [driver version: 6.14.10.5218])

But everything work great in r50 (and older), is just when it come to 55+ this "bug" is appearing :/
(didn't tested all version, but found this "bug" on r66, r59, r56, so I assume that everything after r55 have the same behavior)

@zaykho
Copy link
Author

zaykho commented Mar 26, 2014

Ok, my bad it was an error from me.

I forgot to follow the migrating page, then, my error was coming from the THREE.MeshFaceMaterial and the new "material" parameters.

Now everything works great ! Sorry that I didn't look the migrating page before opened this issue.

EDIT: here a link to the "migration page" --> https://github.com/mrdoob/three.js/wiki/Migration

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

2 participants