|
![](/i/fill.gif) |
Because of the large number of changes I have made, I am including the
whole files instead of listing the changes. However, I have also been
working on some other stuff...if you see something about "blur_matrix",
just ignore it. I think I weeded all of that stuff out, though. The
stuff relevant to the transform patch is pretty clearly identifiable.
This patch does two things:
1: it allows transform {...} blocks to be placed in objects, textures,
etc. There might be a problem with media densities, though, that portion
of the code doesn't seem to make any sense. It may be a bug.
Anyway, this means you can do things like this:
object {
transform {
transform identifier, rotate, translate, scale, etc...
}
}
The old syntax of "transform TRANSFORM_IDENTIFIER" is still supported.
2: it allows transforms to be inverted with the "inverse" keyword. Like
this:
object {
transform {Trans}
transform {Trans inverse}// this reverses the above transform
}
--
Christopher James Huff - Personal e-mail: chr### [at] yahoo com
TAG(Technical Assistance Group) e-mail: chr### [at] tag povray org
Personal Web page: http://chrishuff.dhs.org/
TAG Web page: http://tag.povray.org/
Post a reply to this message
Attachments:
Download 'transpat.zip' (99 KB)
|
![](/i/fill.gif) |