POV-Ray : Newsgroups : povray.advanced-users : Outputting the outlines of a scene : Re: Outputting the outlines of a scene Server Time
29 May 2024 17:07:46 EDT (-0400)
  Re: Outputting the outlines of a scene  
From: Mike Horvath
Date: 18 Feb 2020 01:35:23
Message: <5e4b85ab$1@news.povray.org>
Yes! This is what I ended up trying. However, there are over 100 
buildings, so I wonder how big the SVG will get in the end. Also, I am 
continually updating the scene, so I really need some way to automate 
the process so I don't have to repeat all this work each time. I am not 
sure Inkscape can be run from the command line, or what other tool I 
might use instead.



On 2/17/2020 4:20 PM, Alain Martel wrote:
> If you can render the objects separately, you can get a silhouette by 
> rendering the object with finish{ambient 0 diffuse 0} against a white 
> background. Or, render with +q0, a black pigment and a white background.
> If you want a white object against a black background, then, you can use 
> this:
> pigment{rgb 1}finish{emission 1}
> Or, +q0, a white pigment and black background.
> For both options, you don't need any light.
> Then, in Inkscape, you can use that image to generate that outline. You 
> may also use a contour filter as another way to get a line around the 
> object.
> Only work for the object seen from a specific direction.

Post a reply to this message

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