POV-Ray : Newsgroups : povray.general : POVRay CSG to polygon based models : Re: POVRay CSG to polygon based models Server Time
2 Aug 2024 00:12:33 EDT (-0400)
  Re: POVRay CSG to polygon based models  
From: Tim Nikias
Date: 24 Feb 2005 20:41:03
Message: <421e822f$1@news.povray.org>
> OK. I have to answer myself. This is possible for the position and the
> normal of an object. Is it also possible to get the color or do I have
> to create a lot of images with 1x1 pixel in size?

Depends. If your color is based upon some pigment, then yes, you'd have to
do the 1x1 image thing. If by color you want to know which object you've
hit, you can also just use trace() on the different objects, and sort the
results with whatever sorting you need.

BTW <shameless plug> I've just recently written a set of Macros entitled
"Surcoat Macros", which might do that point-cloud-thingy quite well
</shameless plug>. :-)

Regards,
Tim

-- 
"Tim Nikias v2.0"
Homepage: <http://www.nolights.de>


Post a reply to this message

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