POV-Ray : Newsgroups : povray.unofficial.patches : vtransform() function patch Server Time
2 Nov 2024 13:19:55 EDT (-0400)
  vtransform() function patch (Message 1 to 3 of 3)  
From: Chris Huff
Subject: vtransform() function patch
Date: 21 Oct 1999 19:57:49
Message: <380FA905.7DDB01BA@yahoo.com>
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

From: SamuelT 
Subject: Re: vtransform() function patch
Date: 22 Oct 1999 21:45:35
Message: <38111496.6C5C8AA6@aol.com>
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] aolcom

"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

From: Chris Huff
Subject: Re: vtransform() function patch
Date: 23 Oct 1999 06:20:06
Message: <38118C61.E282BD09@yahoo.com>
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

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