Viewpoint Developer Central    Viewpoint Forums    Viewpoint Forums  Hop To Forum Categories  Adobe Atmosphere    where what how is MTSImageStream?
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
<ErikC>
Posted
I see this mentioned in Adobe Atmosphere's Javascript API-I would like to know more but I cannot find it in the Scenebuilder pdf--and a website search did not turn up any direct links? Is there doco or tutorial or example on this? Please advise.
 
Reply With QuoteEdit or Delete MessageReport This Post
Member
Picture of runner
Posted Hide Post
If you open an MTX in Notepad, right down at the bottom you'll see something like this

//!-- Texture Declarations -->

//!-- Image Streaming -->
//MTSTimeElem Type="MTSImageStream" On="1" Path="resources/textures/texture1.jpg" /
//Target Name="MTSTexture.texture1" //
//MTSTimeElem/
//MTSTimeElem Type="MTSImageStream" On="1" Path="resources/textures/texture2.jpg" /
//Target Name="MTSTexture.texture2" //
//MTSTimeElem/


Is that any help? It doesn't say much about it in the XML reference guide, but basically it's how you declare and stream texture maps.

Hope the code above copies through to the post, I've changed all < to /

If you go to http://training.viewpoint.com/training/vet_content_creation.html and have a look at the texture animation section, it explains it.

Only thing is, I see from the Atmo forum that animation of VPOs in Atmo is now controlled by ATmo

quote:
(posted by Michael Kaplan) Mouse events are no longer sent through to Viewpoint to be executed by the MTX code. Instead, as you surmised, you are supposed to directly control the MTX animations from the Atmosphere JavaScript API. I hope you find the new way to be more convenient. Many people found programming the MTX interactors rather tricky and there wasn't that much code out there that did it. The new way allows you to just use JavaScript to control them.




[This message was edited by runner on July 27, 2003 at 05:28 AM.]
 
Posts: 114 | Location: Ireland | Registered: January 24, 2003Reply With QuoteEdit or Delete MessageReport This Post
<ErikC>
Posted
thanks Runner Smile
 
Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community  
 

Viewpoint Developer Central    Viewpoint Forums    Viewpoint Forums  Hop To Forum Categories  Adobe Atmosphere    where what how is MTSImageStream?