#1
|
|||
|
|||
Osg model loading error
Hello Jeff,
I have created a .ive n a .osgb model using open scene graph 3.2.0. I am getting loading error in vizard. Pls help |
#2
|
|||
|
|||
Can you describe further how you created the model? Vizard 5 is based on OSG 3.1.
|
#3
|
|||
|
|||
Model is created using VPB in .ive and .osgb format.
I can upload or mail you the model. Since Other sample data models of OSG even 3.4.0 is successfully loaded in vizard , i expect this one to work. |
#4
|
|||
|
|||
Hello Jeff,
Can you guide me where to upload this model? |
#5
|
|||
|
|||
Hello Jeff,
I re built the model using osg 3.0.1 . It at least does not give any error but It is rendering the model as expected where as model is opening nicely in inspector. please help |
#6
|
|||
|
|||
please find the model file attached.
|
#7
|
|||
|
|||
It looks like the scale of the model is off. Vizard's unit of measurement is the meter and the modeling software probably uses something else. If you look in Inspector, the bounding box of the model is around 5000 x 300 x 5000 meters. Try scaling the model down in Vizard:
Code:
import viz viz.go() sample = viz.addChild('sample.ive') sample.setScale([0.001]*3) import vizcam vizcam.PivotNavigate(distance=10) |
#8
|
|||
|
|||
thanks a lot Jeff. It helped.
|
#9
|
|||
|
|||
Hello Jeff,
Can we use all osgviewer controls from Vizard ? kindly help in this regard |
#10
|
|||
|
|||
Can you describe what you're trying to do?
|
#11
|
|||
|
|||
Hello Jeff,
I have created one osga model using open scene graph. I use to run this model using osgviewer . Same model I can use in vizard also. But, osgviewer provides so many controls perspective view,lights etc. by default over the model ; Can I achieve all the controls of osgviewer in Vizard? |
#13
|
|||
|
|||
Hello Jeff,
I want to run *.osg file which is built on osg version 3.0 using vizard. As , vizard is also built over osg version 3.1. Can we view osg file using osg kind of viewer in wizard. We donot want to add the object as 3d object in vizard for this. |
#14
|
|||
|
|||
jeff,
Actually i can see all include and lib directories of osg in vizard directory. Now, can i say import osg or import osgViewer in vizard ?? if not then please help me how can i call osgviewer in vizard regards Jai |
#15
|
|||
|
|||
What functionality do you need from osgviewer and what is the result you are looking for?
|
#16
|
|||
|
|||
Hello Jeff,
One objective is simply to visualize anything model / format compatible to osgviewer. Secondly, to visualize the other applications built over osg 3.0 using vizard. |
#17
|
|||
|
|||
jeff,
please, help me in calling viewer from vizrard? secondly, can we have all controls like osg in vizard using viz.go for example flight mode, drive, terrain etc modes? if not how to go around this?? |
#18
|
|||
|
|||
Sorry, it's not possible to use osgviewer from within Vizard. Inspector is the tool that's included with Vizard for viewing Vizard compatible models and browsing the scenegraph.
I'm not sure what you're referring to by flight mode and drive. If you're looking for different navigation techniques in Vizard, take a look at the vizconnect transports. |
#19
|
|||
|
|||
Jeff,
We have purchased a license copy of vizard. Can you give me your personal id or someone's id who can help me with my questions? Thanks Jai |
#20
|
|||
|
|||
Yes, you can send an email to support@worldviz.com for further questions about this.
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
3ds Exported .IVE Model mirrors movement of Mainview | Felix | Vizard | 9 | 05-18-2012 09:17 AM |
Change model alpha and memory leak | hosier | Vizard | 2 | 06-25-2009 10:55 AM |
Loading morph mesh error. | vEsotu | Vizard | 2 | 03-14-2009 06:29 PM |
Error loading plugin | djdesmangles | Vizard | 2 | 10-02-2008 07:13 AM |
Error when loading a lot of avatars | dan12345 | Vizard | 7 | 07-28-2008 04:24 AM |