POV-Ray : Newsgroups : povray.general : Trace macro workings with isosurfaces - Pov 3.5 : Re: Trace macro workings with isosurfaces - Pov 3.5 Server Time
2 Nov 2024 05:18:06 EDT (-0400)
  Re: Trace macro workings with isosurfaces - Pov 3.5  
From: Christoph Hormann
Date: 22 May 2004 09:10:02
Message: <c8nj8u$59l$1@chho.imagico.de>
Stefan Viljoen
> 
> object 
> {
>         Ground 
>         rotate <90,0,45>
>         translate <50,-20,0>
> }
> 
> #declare loc = trace(Ground,<0,0,5>,-z);
> 
> sphere
> {
>         <0,0,0>,0.25 
>         translate loc
> }

What did you expect this to result in?  If you think the sphere will be 
placed on the surface of the object you obviously have misunderstood 
something about how transforms work.  You will either have to remove the 
"rotate <90,0,45> translate <50,-20,0>" from the object or add it to the 
sphere as well.

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 01 May. 2004 _____./\/^>_*_<^\/\.______


Post a reply to this message

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