Viewpoint Developer Central    Viewpoint Forums    Viewpoint Forums  Hop To Forum Categories  SDK Support    how to find out if camera constraints are active
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Member
Posted
Hi

Is there any way to find out if camera constraints are activated or not?

I have a scene where the values for the rotation constraints are x: -180/180; y: -90/90; z:-180/180 and where I know, that the constraints are not active (nothing is set in the mtx). So in this case there is for me no determinism way of finding out, if the constraints are active or not.

Thanks
Peer
 
Posts: 24 | Registered: January 24, 2003Reply With QuoteEdit or Delete MessageReport This Post
Member
Picture of DavidR
Posted Hide Post
Peer
Try editing the MTX file so the values are changed...change y to equal 0 45
Save the file then refresh the browser viewing the whole scene.
The contraints will be apparent.
Adjusting the camera contraints in SceneBuilder immediately take effect on the scene. Saving the MTX file in Scenebuilder saves these settings.Hope this helps
DavidR
 
Posts: 308 | Location: Atlanta Georgia | Registered: January 24, 2003Reply With QuoteEdit or Delete MessageReport This Post
<Niko>
Posted
If nothing is being saved in the MTX, this is because this is the default values. You can force the publishing of them, setting the verbose option.(IMTS_Publish::SetVerboseXML)
there are always some constraints:
x: -180/180; y: -90/90; z:-180/180
 
Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community  
 

Viewpoint Developer Central    Viewpoint Forums    Viewpoint Forums  Hop To Forum Categories  SDK Support    how to find out if camera constraints are active