Hi, there
I would like to attach a few image files in my PDF3D, so that I can switch textures on the model by resourcing different images.
Here is what I write in my script: "FaceRes = new Resource(“pdf://picture.jpg”);"
however, no matter what I wrote in the (), Acrobat keeps on showing "Resource is not defined"......
How do I achieve changing textures in PDF3D without re-editing shadder balls in 3Dtoolkit?
Thanks a lot!
Does anyone have a solution.
I followed the tutorial at
http://www.graysonlang.com/acrobat3d/attach3dresource/
But when trying to get the same effect but by clicking on a button with javascript to change the texture i always get "Resource is not defined"......
Here is my code
Has anyone got any ideas?