Import an XML or CSV file to control colour of a 3D Object


hi,

is possible control colour of object via javascript?

e.g. if had 3d file several 3d objects legs/arms/head etc

could import csv or xml file turn these objects colour

head=red,arms=green etc

would need done in acrobat 3d or acrobat professional?

thanks!

...i don't believe it's possible change color of specific meshes using javascript. can change color of meshes or wireframes. , of course, rendermode needs in either "wireframe" or "illustration" can see colors.

here's global calls:

scene.defaultrenderoptions.wireframerendermodecolor.set(r,g,b)
scene.defaultrenderoptions.illustrationrendermodefacecolor.set(r,g,b)

if want specific meshes colors, you'll need in authoring app.


More discussions in Rich Media & 3D


adobe

Comments

Popular posts from this blog

invalid use of void expresion in FlexiTimer2 library

error: a function-definition is not allowed here before '{' token

LED Strip Code