POV-Ray : Newsgroups : povray.newusers : Pigments in CGS Difference : Pigments in CGS Difference Server Time
5 Nov 2024 03:18:55 EST (-0500)
  Pigments in CGS Difference  
From: Graham
Date: 2 Nov 2000 11:16:44
Message: <3A01936B.7C312134@mrc-lmb.cam.ac.uk>
Hi,

Taking the simple example from the pov-ray docs :


difference {
intersection{
sphere { <0, 0,0>, 1
translate -0.5*x
}
sphere { <0, 0,0>, 1
translate 0.5*x
}
pigment { Red }
rotate 90*y
}
cylinder { <0, 0, -1> <0, 0, 1>, 0.35
pigment { Blue }
}
}

The docs say "if we eliminate this pigment (the blue) the surface of the
hole will be red".

Any way I do it the hole surface becomes black.

Anybody like to tell me what I'm doing wrong?

I know I could make the cylinder red but I am trying to apply this to a
more complex shape.

TIA,
Graham.


Post a reply to this message

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