POV-Ray : Newsgroups : povray.general : Generating an objects map along with the image : Re: Generating an objects map along with the image Server Time
29 Jul 2024 18:17:22 EDT (-0400)
  Re: Generating an objects map along with the image  
From: Chris Cason
Date: 29 Sep 2010 06:32:52
Message: <4ca315d4$1@news.povray.org>
On 29/09/2010 17:19, Le_Forgeron wrote:
> You might use the quick_color (with a different value for each object)
> along with a quality of 0 or 1. ( +Q0 on command line/option)
> 
> http://www.povray.org/documentation/view/3.6.1/223/
> http://www.povray.org/documentation/view/3.6.1/338/
> 
> How you generate the unique id and then encode it as a color is up to you.

FWIW I'd be interested in seeing if anyone would like to try using the new
mesh camera to sub-divide a scene into voxel-like blocks and use that to
get a 3d map. The quick color approach still ought to work provided you set
ambient high enough. Using distribution method 2 along with a max distance
of <= the slice spacing would probably be the best approach (giving a very
wide output image with multiple slices of the scene), combined with a
single planar mesh instantiated multiple times at the locations that you
want to generate the slices.

-- Chris


Post a reply to this message

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