hi mrfale67,
thanks for picking this up.
when you were testing it, do you use a button to change the texture?
I tried the script you provided (as a document level java script) with the button script provided by Dave:
getAnnots3D(0)[0].context3D.changeMatByMeshName( "NewTexture2.jpg", "VcgMesh01" )
and I get this result from the console:
TypeError: getAnnots3D(0)[0].context3D.changeMatByMeshName is not a function
1:Field:Mouse Up
then I changed the button script to:
getAnnot3D(0)[0].context3D.changeMatByMeshName( "NewTexture2.jpg", "VcgMesh01" )
and I get this result:
MissingArgError: Missing required argument.
Doc.getAnnot3D:1:Field Button1:Mouse Up
===> Parameter cName.
Dave,
thanks for the tip.
I've changed NewTexture2.jpg to a square dimension when I was trying the above steps.
Still no luck on my end. There must something wrong Im doing here.
cheers guys