|
#1
|
|||
|
|||
Blender .obj 3D models to Vizard 5
Hello everyone,
just ran in to some problem when using my usual routine of loading 3D models into Vizard. I use Blender, export as .obj wavefront (with textures, tried both .png and .jpg format) and load them into Vizard as either .obj or .osgb (via 3DS Max). This worked like a charm with Vizard 3 and 4, however the textures won't load in Vizard 5 (tried with little test file attached as .zip). The textures won't load both if I load the model with viz.add() in the engine or have a peek using the Inspector. I'm not quite sure whether there might be some trouble with Blender .objs or I am doing something completely wrong... or should I switch to 3DS Max entirely Many thanks and best regards! Alvin |
#2
|
|||
|
|||
Thanks for providing a sample model!
I just tried it out, and strangely the texture loaded fine when running the script, but failed to load when opening through Inspector. We'll have a look into this and report back. |
#3
|
|||
|
|||
I noticed the .mtl file you provided references the texture in a "textures" sub-directory. Try creating a "textures" directory in the same directory as the .obj file and move the textures into the sub-directory. I believe this should fix the issue.
|
#4
|
|||
|
|||
Thanks a lot for looking into this, and I am happy to hear it works on your Vizard 5 computer!
I still have the problem, irrespective of whether correct relative paths are used for textures in the .mtl file... I'll activate Vizard 5 (still in Trial Mode) and try on a better computer maybe that helps! |
Tags |
3d models, blender |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
No textures in Vizard after exporting from Blender 2.69 | ChrisMa | Vizard | 4 | 04-16-2014 11:36 PM |
Vizard 4 Beta Testing | farshizzo | Announcements | 0 | 02-01-2011 10:46 AM |
Vizard and blender 3d | amartin7211 | Vizard | 0 | 11-12-2010 07:56 AM |
Vizard tech tip: Using the Python Imaging Library (PIL) | Jeff | Vizard | 0 | 03-23-2009 11:13 AM |
Importing from Blender and getting "real" sizes for models? | tmcw | Vizard | 1 | 03-19-2007 09:37 AM |