#1
|
|||
|
|||
Warning in the output window
Hi,
I was running a script today in conjunction with our ppt system and I noticed that a warning was being printed in the output window constantly. This did not affect the accuracy of the data being sent from our ppt system but it seemed to slow down the execution of the script. Can you make sense of it and let me know what it means as well as, what I can do to resolve the issue that generated this problem in the first place. It is the first time I have seen this warning, but we have been using the script in question for over 2 years now without issue. Here is the warning: Warning: CullVisitor::updateCalcualtedNearFar(.) near>far in range calculation, correcting by swapping values d_near = 1.#QNAN d_far = 1.QNAN Thanks, Adam |
#2
|
|||
|
|||
Hi,
This is usually caused by having an invalid rotation on a node or viewpoint. An invalid rotation is most likely caused by an axis length of 0 when using a Axis-Angle or Quaternion rotation. Make sure this isn't the case. Also, are you using any sensors that pass back rotation values? These might be the cause of the invalid rotation. |
#3
|
|||
|
|||
We are using an intersense inertiacube2 to handle orientation tracking and the ppt to handle position tracking.
We have had trouble automatically applying the data from these to the viewpoint with the viz.tracker command so we are mannually applying the data to the main viewpoint with a continuously running timer that applies all tracker data with translation and rotation commands. Your last post suggests that it is the intersense that is passing the troublesome values to the viewpoint. I'm not sure what I can do to avoid this issue if we are feeding the viewpoint raw data from the tracker. Any suggestions? |
#4
|
|||
|
|||
Hi,
I've never encountered this problem when manually applying the Intersense data to a viewpoint. Would you mind posting your intersense related code? |
#5
|
|||
|
|||
I'll try and get the code to you soon, i'm just swamped right now, you probably are as well.
|
Thread Tools | |
Display Modes | Rate This Thread |
|
|