|
|
In article <38CBA6DA.C5C087D0@pacbell.net>, lin### [at] povrayorg
wrote:
> I'm not sure I understand the problem. Instead of texturing MyObject
> inside the object declaration add the texture when you use the object -
>
> #declare MyObject = (object only declaration here)
>
> ...
>
> object { MyObject translate whatever - add texture }
>
> The above will result in the texture centered at the origin while the
> object can be anywhere in your scene.
And what would you do if the object consists of a complex CSG with many
textures?
This sounds similar to the reset_children warp, maybe there could be a
flag in the transform {...} block, like this:
object {MyObject
transform {
transform_textures off
translate ...
}
}
This would allow you to transform the object and the texture
separately(by using multiple transform {...} blocks), maybe with the
addition of a transform_object flag.
--
Chris Huff
e-mail: chr### [at] yahoocom
Web page: http://chrishuff.dhs.org/
Post a reply to this message
|
|