POV-Ray : Newsgroups : povray.advanced-users : Re: INFO: Inverse : Re: INFO: Inverse Server Time
15 May 2024 17:22:01 EDT (-0400)
  Re: INFO: Inverse  
From: Josh English
Date: 27 Apr 1999 12:13:36
Message: <3725D3EB.77FF5EE3@spiritone.com>
Inverse only applies to unions, differences, etc...

You want to apply a warp statement to the object.
from the docs...

However, by specifying our turbulence inside warp statement you tell
POV-Ray that the order in which turbulence, transformations and other
warps are applied is significant. Here's an example of a turbulence warp.

  warp { turbulence <0,1,1> octaves 3 lambda 1.5 omega 0.3 }

The significance is that this

 pigment {
   wood
   translate <1,2,3> rotate x*45 scale 2
   warp { turbulence <0,1,1> octaves 3 lambda 1.5 omega 0.3 }
 }

produces different results than this...

 pigment {
   wood
   warp { turbulence <0,1,1> octaves 3 lambda 1.5 omega 0.3 }
   translate <1,2,3> rotate x*45 scale 2
 }

You may specify turbulence without using a warp statement. However you
cannot control the order in which they are evaluated unless you put them
in a warp


Josh English
eng### [at] spiritonecom
Hassoun wrote:

> Hi
> can i use "inverse" to reverse the order (or the sequence) in which
> objects are modified (translated, rotated, scaled)? any info of how to
> do this operation?
>
> thanks in advance
> Hassoun


Post a reply to this message

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