Viewpoint Developer Central    Viewpoint Forums    Viewpoint Forums  Hop To Forum Categories  Adobe Atmosphere    Swopping textures on VP models in Atmosphere
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Junior Member
Picture of PhilC
Posted
I'm trying to script a texture change on a Viewpoint model in Atmosphere. The model of about 2000 polygons was created in Truespace and animated in Poser. I had previously been successful in writing Java Script to change materials but the texture solution is currently evading me. The world as it now stands is at http://www.users.globalnet.co.uk/~pcooke/atmosphere/worlds/test1/clothing_Launcher.html You are able to change the figures and have the textures on the onClick buttons update but not actually change the VP textures themselves.

I needed to know the exact textures and material names within the Viewpoint file so I opened the MTX up in the VP Scene Builder and was able to obtain them. These names were then written into the Java Script.

My questions are:-

1) Is there a working example/tutorial of this that I may peruse?

2) When I open the MTX file up in a text editor I can not find the MATERIAL or TEXTURE references that were indicated in the Scene Builder.

A shove in the right direction would be most appreciated.

Regards

PhilC
 
Posts: 1 | Location: Lawrenceburg KY | Registered: January 23, 2004Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community  
 

Viewpoint Developer Central    Viewpoint Forums    Viewpoint Forums  Hop To Forum Categories  Adobe Atmosphere    Swopping textures on VP models in Atmosphere