POV-Ray : Newsgroups : povray.general : Translate a point : Re: Translate a point Server Time
10 Aug 2024 15:23:24 EDT (-0400)
  Re: Translate a point  
From: Ron Parker
Date: 30 Nov 1999 11:52:27
Message: <384400cb@news.povray.org>
On Tue, 30 Nov 1999 11:43:08 -0500, Bill DeWitt wrote:
>    Here's what I want to do:
>
>    I have the sigcam() cut down to the basics without the text functions. I
>want to use it to build a prism, hopefully by writing:
>    prism{blahblah
>                <SigCam(x1, camerainfo),SigCam(y1, camerainfo)>
>                <SigCam(x2, camerainfo),SigCam(y2, camerainfo)>
>                <SigCam(x3, camerainfo),SigCam(y3, camerainfo)>
>              }///end prism
>... or something to that effect.  But to do this I need to be able to
>transform a point somehow.  Either that or I have to build the prism, then
>scale and translate it with the SigCam. That's probably what I will end up
>doing... unless there is something I can't see right now.

Don't you have to build and transform anyway?  Since prisms are built 
with 2-d coordinates, they have a default orientation and you'll have
to transform the resulting prism somehow even if you could do vtransform.

-- 
These are my opinions.  I do NOT speak for the POV-Team.
The superpatch: http://www2.fwi.com/~parkerr/superpatch/
My other stuff: http://www2.fwi.com/~parkerr/traces.html


Post a reply to this message

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