POV-Ray : Newsgroups : povray.general : Two feature requests related to SVG : Re: Two feature requests related to SVG Server Time
31 Jul 2024 08:29:41 EDT (-0400)
  Re: Two feature requests related to SVG  
From: scott
Date: 15 Jun 2007 07:52:32
Message: <46727d80$1@news.povray.org>
>>   The thing with vector graphics is that they are easy to draw as a 
>> whole:
>> Just draw a line for each line in the input, fill polygons for filled
>> polygons, and so on. However, if you have to determine for a random point
>> what is its color, it becomes a bit more complicated.
>
> It might not be trivial but it's hardly insurmountable. You know the
> stacking order, surely it's just a matter of working down that until your
> point is inside a polygon or you run out of polygons to test? It can't be
> much more complicated than interpolating bitmaps.

Or just stack the polygons in the Z direction, then use an orthographic 
camera and trace a ray along the Z direction, ... ermmm, hang on :-)


Post a reply to this message

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