Warp <war### [at] tag povray org> writes:
> I think that this patch is not of very much use if we can't get the
> transformations from an object. You seldom define the transformations of
> an object separately.
> How about a function to get the transformations applied to an object?
> Something like:
>
> #declare Trans = transformations(MyObject)
>
> object
> { MyObject
> transform { Trans inverse }
> }
>
> This would create an instance of MyObject without transformations.
>
> Of course there's a problem: What if MyObject is a CSG with nested
> transformations?
A further problem is that this doesn't work with the recent patche of
"plane" and "triangle". As far as I know, the transformations are omitted
by the patch to increase the rendering speed.
Thomas
--
http://thomas.willhalm.de/ (includes pgp key)
Post a reply to this message
|