![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
I have posted the source for my vtransform() patch in
povray.programming, I hope I didn't forget anything.
This version has the syntax changed to be more consistant with vrotate,
etc. The only modifications were moving two lines in PARSE.C up a bit
and switching their positions.
The syntax is:
vtransform(VECTOR, TRANSFORM)
Where VECTOR is the point to be transformed and TRANSFORM is any
standard POV-Ray transform(scale, rotate, translate, matrix, transform
{}...).
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Is this for use with isosurfaces and functions?
Chris Huff wrote:
> I have posted the source for my vtransform() patch in
> povray.programming, I hope I didn't forget anything.
> This version has the syntax changed to be more consistant with vrotate,
> etc. The only modifications were moving two lines in PARSE.C up a bit
> and switching their positions.
>
> The syntax is:
> vtransform(VECTOR, TRANSFORM)
> Where VECTOR is the point to be transformed and TRANSFORM is any
> standard POV-Ray transform(scale, rotate, translate, matrix, transform
> {}...).
--
Samuel Benge
STB### [at] aol com
"And you can fly
High as a kite if you want to
Faster than light if you want to
Speeding through the universe
Thinking is the best way to travel"
-The Best Way to Travel, The Moody Blues
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
No, it is another function like vrotate, vaxis_rotate, vnormalize, etc.
It simply allows you to do full transforms on a vector instead of just
rotation.
vrotate(vectA, rotationAmt)
is the same as
vtransform(vectA, rotate rotationAmt)
I will attempt to upload a .zip which contains more of my patch work(and
all of the current WyzPov stuff, although with syntax changes) to
povray.binaries.programming.
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |