POV-Ray : Newsgroups : povray.newusers : Why didn't this work? : Why didn't this work? Server Time
28 Nov 2024 17:46:29 EST (-0500)
  Why didn't this work?  
From: CreeD
Date: 6 Jul 2000 09:23:48
Message: <01bfe74e$2924b4c0$021ba1d0@mk>
I had a fairly complex scene going and and I wanted to do basically this:

camera {<0,10,-10> look_at <0,10,0>} //looks forward along z axis
sphere {<0,9,-5>,.3 scale <0,0,2>}

that is, scale a sphere to double its original size in the +z and -z
directions,
making an egg sort of shape.  It was to be used as an endcap to a cylinder
going from 5 to -5 along the z axis. 
-I checked the sphere coordinates to make sure I wasn't making it at +z
instead
of - z.
-I checked the camera coordinates.
-I checked the scale syntax to make sure I wasn't scaling just the texture.
-I checked that the sphere's diameter was large enough to see.
-I made it a bright red pigment to make sure it wasn't getting lost in the
background.
-it hadn't been translated in place, it was at the coordinates described.

basically if I erased the scale <0,0,2> the sphere appeared where it ought
to be just fine.  If I put it back, it disappeared from the scene.  I think
I ended up making a larger one and flattening it along the y axis.

But I'm still curious as to what happened.


Post a reply to this message

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