POV-Ray : Newsgroups : povray.general : Bug (or feature to design around when animating). : Re: Bug (or feature to design around when animating). Server Time
31 Jul 2024 12:16:20 EDT (-0400)
  Re: Bug (or feature to design around when animating).  
From: gregjohn
Date: 9 Feb 2007 11:25:00
Message: <web.45cc9ff418adace640d56c170@news.povray.org>
Amazing detective work, David!

Question to Thorsten, et al:

When it comes to fonts, I'm willing to throw any aspect of what I'm doing on
the trash heap.  What are the optimum font file fomats for povray?  Could I
be using a buggy font?




"David E. LeMasters" <dle### [at] comcastnet> wrote:
> I played around with your code a bit more, pulling out things to try
> and locate what is causing the problem.  This is what I came up with:
>
> #if(clock<=0.5)
>   box{0,1}
> #else
>   text{ ttf "COMICBD.ttf" "Caption1" 1,0 pigment{rgb 0}}
> #end
>
> When I run this on my linux box this is what I get:
>
> +kff20 +sf1 +ef10      5 sec.
> +kff20 +sf11 +ef20    23 sec.
> +kff20 +sf1 +ef20    163 sec.
>
> When I swap the box and text objects like this:
>
> #if(clock<=0.5)
>   text{ ttf "COMICBD.ttf" "Caption1" 1,0 pigment{rgb 0}}
> #else
>   box{0,1}
> #end
>
> I get this:
>
> +kff20 +sf1 +ef10     22 sec.
> +kff20 +sf11 +ef20     4 sec.
> +kff20 +sf1 +ef20     27 sec.
>
>
> When I try this:
>
> #if(clock<=0.5)
>   text{ ttf "COMICBD.ttf" "Caption1" 1,0 pigment{rgb 0}}
> #else
>   text{ ttf "COMICBD.ttf" "Caption2" 1,0 pigment{rgb 0}}
> #end
>
> The results are:
>
> +kff20 +sf1 +ef10     22 sec.
> +kff20 +sf11 +ef20    22 sec.
> +kff20 +sf1 +ef20     44 sec.
>
> So there is a problem with 3.6 in the first case.  This problem has been
> resolved on the 3.7 beta, so I don't see where it would be worth the
> developers time to pursue fixing it on 3.6.   But at least this might give
> you an idea of how to structure your code to work around it.


Post a reply to this message

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