POV-Ray : Newsgroups : povray.beta-test : Buglist 22 Apr 2002 (RC2) : Re: Buglist 22 Apr 2002 (RC2) Server Time
29 Jul 2024 20:24:49 EDT (-0400)
  Re: Buglist 22 Apr 2002 (RC2)  
From: Francois Labreque
Date: 26 Apr 2002 20:53:27
Message: <3CC9F5F2.4020303@videotron.ca>
Thorsten Froehlich wrote:

> In article <3CC### [at] videotronca> , Francois Labreque 
> <fla### [at] videotronca>  wrote:
> 
> 
>>It appears that as the truetype font is parsed, a little error is added
>>to the z component of every control point.  Since this is not reported
>>with other splines or polygons*, I must assume that it is a problem with
>>the code that converts the 2D set of control points of a truetype font
>>to POV 3D points.
>>
> 
> But in order to assume this you already assume that (a) text characters are
> internally presented by the same primitive as other objects and (b) that
> characters are converted to 3d shapes before being rendered.  Both assumptions
> are incorrect.


I didn't mean to say that truetype fonts were converted to meshes or 
prism objects, if that's what you think.  I made these "assumptions" 
assumption because, as you recommend below, I looked at the source code 
before making that reply and misinterpreted what GetZeroOneHits() does.

> 
> There is no "little error is added to the z component of every control point"
> as the source code (of 3.1 for you right now, but nothing changed in 3.5)
> clearly shows.


Again, sorry for using the wrong words. but...


> 
> As I have pointed out numerous times before, this is simply a precision error
> no matter how much you or others test your "theory", looking at the "fact" -
> the source code - easily proves your "theory" wrong.


You said "precision error", I said "little error addred to the z 
component".  Don't you think that amounts to the same thing?

The fact remains that:
- the longer the string, the larger the imprecision.
- this only affects text objects.
- it always increases in a left-to-right, top to bottom fashion.
- By the same amount.

It seemed to me like something that could be fixed.  But if you say it 
can't, then I'll drop the issue.

-- 
/*Francois Labreque*/#local a=x+y;#local b=x+a;#local c=a+b;#macro P(F//
/*    flabreque    */L)polygon{5,F,F+z,L+z,L,F pigment{rgb 9}}#end union
/*        @        */{P(0,a)P(a,b)P(b,c)P(2*a,2*b)P(2*b,b+c)P(b+c,<2,3>)
/*   videotron.ca  */}camera{location<6,1.25,-6>look_at a orthographic}


Post a reply to this message

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