POV-Ray : Newsgroups : povray.general : A better scene : Re: A better scene Server Time
28 Mar 2024 18:56:40 EDT (-0400)
  Re: A better scene  
From: Jan Ludewig
Date: 1 May 1999 06:27:38
Message: <372AC8F0.1C97E900@gmx.net>
Dinesh Shah schrieb:

> case 1:
>     plane
>     {    y, -5
>          pigment { checker White, Black }
>          scale <5,1,5>
>          rotate 45*y
>     }

You scale the object and rotate it WITH the pigment on it

> case 2:
>     plane
>     {    y, -5
>          pigment { checker White, Black scale 5 rotate 45*y }
>      }

You scale the pigment and rotate it WIHTOUT the plane itself, so this should be
faster but:
It only works as a plane is infinite, try this with a box and you'll get
different results.


Post a reply to this message

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