WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-30-2012, 12:56 AM
Felix Felix is offline
Member
 
Join Date: Apr 2012
Posts: 8
3ds Exported .IVE Model mirrors movement of Mainview

Hey all,
I am working on importing some large scale Building model into the Vizard environment.

While using our production code and some recent versions of said model a strange error emerged:

The Mainview is magically linked to the model. This has the effect, that none of the movements of the Mainview are visible on the screen, because the model just moves along. I am aware of the link() function and assure we didn't use it. It was pretty hard to find this problem in the first place, because it just seems as if the movement was stuck, but printing the Mainview position during execution reveals that movement actually takes place.

As to ensure that it is not the complex engine code we wrote that is responsible for this problem I distilled the model loading code into this 7 Liner:

Code:
import viz

model = viz.add("hospital.reduced.ive")
model.collideMesh()

viz.MainView.eyeheight(1.6)
viz.MainView.setPosition([0, 0, 0])
viz.MainView.lookat([0, 0, 1])

viz.collision(1)

viz.go()
With this code, I can load an old version of the same model and walk around the place without problems. Loading a newer export of the model however produces the error mentioned above.

We work with 3ds MAX and export the models according to the Vizard Knowledge Base to the .IVE Format, using the Vizard supplied OSG Exporter.

We are using Vizard 4.0 to load the Model.

I hope someone could point me in the right direction because I am literally out of ideas on this one.

Thanks in advance,

Felix
Reply With Quote
 

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Weird texture on .ive model viewed from Sensics HMD Zhi Vizard 11 02-25-2013 04:38 AM
texture invisible on .IVE model jacky Vizard 1 11-09-2011 01:36 PM
The problem of adding two .ive models hengshan.li Vizard 1 08-08-2011 12:04 AM
Change model alpha and memory leak hosier Vizard 2 06-25-2009 10:55 AM


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


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