Viewpoint Developer Central    Viewpoint Forums    Viewpoint Forums  Hop To Forum Categories  Viewpoint Media Player Support    Is it a bug? ResetCamera function on VMP3.0.15

Moderators: e_phoenix13
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Member
Posted
I have a big problem at VMP3.0.15. Frown
ResetCamera function of JavaScript doesn't work on VMP3.0.15.
It worked fine on VMP3.0.12.
Is it a bug?
I think I can avoid the error to make an animation with MTSTimeElem. If you have better idea than that, please let me know.

Sleepyhead
 
Posts: 40 | Registered: January 24, 2003Reply With QuoteEdit or Delete MessageReport This Post
<Niko>
Posted
Hi,
your are right, we broke this feature in VMP3.0.15.
luckily there is an easy workaround:
do a vmp.SetProperty('MTSScene','rstc',0); instead.

we will change the MTS3interface to reflect the change. but you can right now fix your content doing the change above.

note: if you set the property to 1 instead of 0, it will create a smooth animation from the current camera position to the default one.
 
Reply With QuoteEdit or Delete MessageReport This Post
Member
Picture of viewpoint d-d
Posted Hide Post
I'm looking at incorporating this into the next MTS3Interface.

-Derek
 
Posts: 793 | Location: Viewpoint, New York, New York | Registered: January 24, 2003Reply With QuoteEdit or Delete MessageReport This Post
Member
Posted Hide Post
Thank you for your infomations.
I'm going to use set property for a while.

Thanks a lot!

Sleepyhead
 
Posts: 40 | Registered: January 24, 2003Reply With QuoteEdit or Delete MessageReport This Post
Member
Picture of viewpoint d-d
Posted Hide Post
I've put that rstc property reset command directly into the ResetCamera function in the MTS3Interface version 4.0.8 which I expect to be released in the next month or two.

Once that's released you won't need your own setproperty of it, although it won't cause any harm being there of course.

-Derek
 
Posts: 793 | Location: Viewpoint, New York, New York | Registered: January 24, 2003Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community  
 

Viewpoint Developer Central    Viewpoint Forums    Viewpoint Forums  Hop To Forum Categories  Viewpoint Media Player Support    Is it a bug? ResetCamera function on VMP3.0.15