POV-Ray : Newsgroups : povray.general : Text, csg & speed : Re: Text, csg & speed Server Time
4 Aug 2024 00:29:47 EDT (-0400)
  Re: Text, csg & speed  
From: Mike Williams
Date: 4 Sep 2003 21:58:44
Message: <QIIIcAALs+V$EwOz@econym.demon.co.uk>
Wasn't it Jellby who wrote:
>Among other things, Mike Williams wrote:
>
>>>I'm modelling an engraved ring (the One Ring, actually), and I'm suffering
>>>a serious slow down when I add the text. Currently, the basic structure of
>>>the model is something like this:
>>>
>>>  union {
>>>    INNER_RING (inside of the letters, sort of a torus)
>>>    difference {
>>>      OUTER_RING (a slightly bigger torus)
>>>      TEXT (a union of individually rotated and translated letters)
>>>    }
>>>  }
>>>
>>>The whole thing is bounded_by a short cylinder of the right size. Is there
>>>anything I could do to improve the rendering speed? Without text it
>>>renders in around 2 minutes, with text it takes more than 2 hours.
>> 
>> If possible, try cutting the OUTER_RING into letter-sized pieces,
>> difference one letter from each piece and union them back together
>> afterwards. Then remove your manual bounding, and let POV bounr it
>> automatically.
>
>Thanks for the ideas (yours and the other posters'). I tried this, but it 
>was becoming a too complicated code and I didn't see much improvement (I 
>assume it would have worked if I had done it right from the beginning).
>
>However, if I manually bound each letter inside the TEXT union, render time 
>goes from 180 to 18 minutes (True Type Font test percentage: 44%). I 
>thought they would have been automatically bounded, since they are inside a 
>union...

POV automatic bounding works for unions, but it doesn't work for
differences, which is basically the whole point of the holes tutorial
page I mentioned.

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

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