|
|
Hi,
I'm begining Moray user. I'm using it mainly to assign materials to
objects modeled in CAD programs and imported by MeshObj plugin.
So, I met this problem:
I wanted to use translation and rotatin of local coordinate to transform
material properties. (for example to rotate wood material along a beam)
It have gone well till a tried aplicate it on mesh object.
Exploing .pov export I got at that the ability transforming material
properties occured possibly by the way. I think, that it's subject to
developers to append transformation keys to object's material
charcteristic export.
I'm not sure, that you understand my english, so I attach example of
possible solution:
mesh { // TMesh002
smooth_triangle {
<-1.00000, 1.00000, 1.00000>, <0.00000, 0.00000, 1.00000>,
<-1.00000, -1.00000, 1.00000>, <0.00000, 0.00000, 1.00000>,
<1.00000, -1.00000, 1.00000>, <0.00000, 0.00000, 1.00000> }
material { Material1
// Here, I sketch append scale, translate and rotate keywords
}
scale <2.0, 1.0, 1.0>
translate <-2.838995, -2.858166, -0.0>
translate <4.020293, 6.61403, 0.0>
}
Michal Cerny
Prague
Post a reply to this message
|
|