POV-Ray : Newsgroups : povray.binaries.programming : Transform patch changed source files - transpat.zip (1/1) Server Time
21 Nov 2024 08:27:45 EST (-0500)
  Transform patch changed source files - transpat.zip (1/1) (Message 1 to 1 of 1)  
From: Chris Huff
Subject: Transform patch changed source files - transpat.zip (1/1)
Date: 24 Apr 2000 22:58:55
Message: <chrishuff_99-0E5DAA.22005824042000@news.povray.org>
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] yahoocom
TAG(Technical Assistance Group) e-mail: chr### [at] tagpovrayorg
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)

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.