WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
  #1  
Old 09-15-2009, 05:32 AM
shivanangel shivanangel is offline
Member
 
Join Date: Feb 2006
Location: New Jersey
Posts: 182
Vizard and OBJ Material Files

Hello Worldviz Support Staff,

I have a few questions regarding how VIzard supports the OBJ file format, most notably how it uses the associated .mtl file to apply materials and textures to the surfaces of objects.

For instance, if I export out a single object in a scene with a texture applied to an object, the results will be perfect in Vizard.
In the material file I will have only one material with the texture named and I only have one geometry object in the obj file.

However, if I make three objects. Say one object textured by the same image and another object with just a lambert shading of a particular color, the model with the straight lambert shading with no texture applied will be properly imported into Vizard, however the textured object will not be. Vizard says it has loaded the image data.





I'm mainly asking because I have a city scene with many assets and textures and was wondering if I had to export them one at a time in the obj format or if I was missing something.

Thank you for your time once again,
George Lecakes
Reply With Quote
  #2  
Old 09-15-2009, 11:06 PM
tobin tobin is offline
WorldViz Team Member
 
Join Date: Feb 2003
Posts: 251
From your modeling program, have you tried setting the material color of the texture object to pure white, or setting it's emissive color to white? Finally, from Vizard you can turn on <node3D>.appearance(viz.DECAL) which might help minus correct lighting.
Reply With Quote
  #3  
Old 09-16-2009, 11:13 AM
shivanangel shivanangel is offline
Member
 
Join Date: Feb 2006
Location: New Jersey
Posts: 182
I'm going to give it a shot,
however what I am confused about is
if I export out a model with a texture without any other models
or materials it works fine.

However, as soon as I exporting out more than one asset
into a single obj file,
Vizard incorrectly rebuilds the objects inside the virtual world.
Reply With Quote
  #4  
Old 10-04-2013, 06:11 AM
sunil.nair sunil.nair is offline
Member
 
Join Date: Aug 2013
Posts: 14
Can I now place a car (mini.osg) in between these cuboids.

Sunil
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 04:10 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC