Viewpoint Forums
Viewpoint Forums
Viewpoint Scene Builder
displaying different textures via java script|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Member |
Hi Jason,
Here's an example, just replace the HTML buttons with your thumbnail images. example: http://3w3d.com/vet/textureChanger3/ source: http://3w3d.com/vet/textureChanger3.zip HTH, Daimen |
|||
|
|
Member |
Hi you can do it by the following mannure. First apply some initial texture to the object some already generated code like this. and it will have time line to load the texture like this one. and have java function like the following to chage the path.and run the time element once again.
XML CODE: <MTSTimeElem Type="MTSImageStream" Name="Change_texture_top" Path="../image/BOX_plain.jpg" > <Target Name="MTSTexture.BOX_TEXTURE_1" /> </MTSTimeElem> Java Function:
function change()
{
vmp.SetProperty('Change_texture_top' , 'Path' , newstr);
vmp.TriggerAnim('Change_texture_top');
}
I hope now u can do it. R.Sundar |
|||
|
| Powered by Eve Community |
| Please Wait. Your request is being processed... |
|
Viewpoint Forums
Viewpoint Forums
Viewpoint Scene Builder
displaying different textures via java script
