POV-Ray : Newsgroups : povray.general : Two feature requests related to SVG : Re: Two feature requests related to SVG Server Time
31 Jul 2024 14:31:16 EDT (-0400)
  Re: Two feature requests related to SVG  
From: Alain
Date: 16 Jun 2007 16:15:18
Message: <467444d6$1@news.povray.org>
Warp nous apporta ses lumieres en ce 2007/06/15 07:06:
> Bill Pragnell <bil### [at] hotmailcom> wrote:
>> Well, it'd certainly be nice to be able to use SVGs as image_maps - no
>> interpolation required! I know you can almost do this already with object
>> patterns but it's a bit fiddly. Would it also cut down on memory usage if
>> you had many simple image_maps?
> 
>   How would you determine that a given point is, for example, on a
> polyline or inside a polygon?
> 
>   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.
> 
You could use a method similar as the one used for fonts rendering. After all, 
TTFs are a kind of, specialised, vector drawn images. At least, that's what it 
looks like when you use a font editor to create or modify a font file.

-- 
Alain
-------------------------------------------------
"The way England treats her prisoners, she doesn't deserve to have any." 
        --Oscar Wilde


Post a reply to this message

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