POV-Ray : Newsgroups : povray.unofficial.patches : ibatch for *.ttf font with beveld edges? Server Time
2 Sep 2024 00:17:15 EDT (-0400)
  ibatch for *.ttf font with beveld edges? (Message 11 to 20 of 20)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Ken
Subject: Re: ibatch for *.ttf font with beveld edges?
Date: 20 Nov 2000 01:30:59
Message: <3A18C5AC.375EAC70@pacbell.net>
I concede.

-- 
Ken Tyler - 1400+ POV-Ray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

From: Ron Parker
Subject: Re: ibatch for *.ttf font with beveld edges?
Date: 20 Nov 2000 01:45:37
Message: <slrn91hi4h.bok.ron.parker@fwi.com>
On Sun, 19 Nov 2000 22:33:16 -0800, Ken wrote:
>I concede.

No concession necessary; this isn't off-topic. :)  (which I unsubscribed from
yesterday morning.  Amazingly, now I have time to do useful things with my 
life.)

Anyway, I'll do some digging and see if I can't find a way to find or
approximate a parallel to a quadratic curve.  I still think it'd be a great
idea.  But don't expect anything 'til after 3.5, at the earliest.

-- 
Ron Parker   http://www2.fwi.com/~parkerr/traces.html
My opinions.  Mine.  Not anyone else's.


Post a reply to this message

From: Warp
Subject: Re: ibatch for *.ttf font with beveld edges?
Date: 20 Nov 2000 05:45:24
Message: <3a1900c4@news.povray.org>
Ron Parker <ron### [at] povrayorg> wrote:
: Maybe I knew something then that I don't know now.

  Or perhaps you now know something you didn't know then? :)

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Ron Parker
Subject: Re: ibatch for *.ttf font with beveld edges?
Date: 20 Nov 2000 08:28:07
Message: <slrn91i9n8.bt0.ron.parker@fwi.com>
On 20 Nov 2000 05:45:24 -0500, Warp wrote:
>Ron Parker <ron### [at] povrayorg> wrote:
>: Maybe I knew something then that I don't know now.
>
>  Or perhaps you now know something you didn't know then? :)

That would be nice, but somehow I doubt it.

-- 
Ron Parker   http://www2.fwi.com/~parkerr/traces.html
My opinions.  Mine.  Not anyone else's.


Post a reply to this message

From: Warp
Subject: Re: ibatch for *.ttf font with beveld edges?
Date: 20 Nov 2000 09:26:39
Message: <3a19349e@news.povray.org>
Ron Parker <ron### [at] povrayorg> wrote:
: That would be nice, but somehow I doubt it.

  The more you learn, the more you forget... :)

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Christoph Hormann
Subject: Re: ibatch for *.ttf font with beveld edges?
Date: 20 Nov 2000 09:53:55
Message: <3A193B04.66305B6B@schunter.etc.tu-bs.de>
Ron Parker wrote:
> 
> Mathematically, it's impossible to do in a general way.  Specifically, you
> can't create a curve that's parallel to an arbitrary cubic or quadratic curve.
> Since POV uses curves rather than decomposing them into lines (as elefont does)
> it can't be done without making some major (and ugly) changes in the way TTF
> objects work.
> 

That sounds reasonable although i'm not so much into those curves ...

BTW, you could do a rounded text object with proximity pattern and an
isosurface (very slow), maybe some kind of proximity calculation could
also help for the parallel curve.

Otherwise i could think of non uniform scaling of the curve depending on
it's curvature (i don't really know if that makes sense, just an intuitive
idea)

Christoph

-- 
Christoph Hormann <chr### [at] gmxde>
Homepage: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

From: ingo
Subject: Re: ibatch for *.ttf font with beveld edges?
Date: 20 Nov 2000 11:40:13
Message: <8FF2B1995seed7@povray.org>
Would it be possible to extract the glyph data into an array, so it can be 
used in a lathe object, sphere_sweep or in Chris' spline macros?


Ingo

-- 
Photography: http://members.home.nl/ingoogni/
Pov-Ray    : http://members.home.nl/seed7/


Post a reply to this message

From: Chris Huff
Subject: Re: ibatch for *.ttf font with beveld edges?
Date: 20 Nov 2000 17:34:57
Message: <chrishuff-462B94.17351920112000@news.povray.org>
In article <3A193B04.66305B6B@schunter.etc.tu-bs.de>, 
chr### [at] gmxde wrote:

> BTW, you could do a rounded text object with proximity pattern and an
> isosurface (very slow), 

Extremely slow...


> Otherwise i could think of non uniform scaling of the curve depending 
> on it's curvature (i don't really know if that makes sense, just an 
> intuitive idea)

Creating another spline by pushing the control points "inward" might 
work for most cases...which leads to an interesting idea: the ability to 
interpolate between shapes, having the points at one end of the prism be 
different from the points at the other end. Probably extremely difficult 
or impossible with the way things are done now...maybe it would be worth 
it to allow the prism and text shapes to be reduced to triangle meshes. 
This would allow rounding, bevelling, interpolating between splines, and 
even things like extruding along a path. I'm not sure how this would be 
worked into the current syntax...maybe just have the direct-calculation 
method be unavailable when these advanced features are used, or maybe 
add a completely new "extrusion" object.

-- 
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

From: Peter Popov
Subject: Re: ibatch for *.ttf font with beveld edges?
Date: 22 Nov 2000 05:43:59
Message: <a4il1t4r5vm91dbpfle3e4bvmmb6pfq3k9@4ax.com>
On 20 Nov 2000 00:43:24 -0500, ron### [at] povrayorg (Ron Parker)
wrote:

>Mathematically, it's impossible to do in a general way.  Specifically, you
>can't create a curve that's parallel to an arbitrary cubic or quadratic curve.  

Hmm... CorelDraw! seems to do it in one way or the other. The result
is a non-tesselated curve. How come?


Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] usanet
TAG      e-mail : pet### [at] tagpovrayorg


Post a reply to this message

From: Ron Parker
Subject: Re: ibatch for *.ttf font with beveld edges?
Date: 22 Nov 2000 10:46:23
Message: <slrn91nqih.een.ron.parker@fwi.com>
On Wed, 22 Nov 2000 12:44:35 +0200, Peter Popov wrote:
>On 20 Nov 2000 00:43:24 -0500, ron### [at] povrayorg (Ron Parker)
>wrote:
>
>>Mathematically, it's impossible to do in a general way.  Specifically, you
>>can't create a curve that's parallel to an arbitrary cubic or quadratic curve.  
>
>Hmm... CorelDraw! seems to do it in one way or the other. The result
>is a non-tesselated curve. How come?

Good question.  I do know it's possible to approximate a parallel to 
an arbitrary cubic with piecewise cubics; I have a reference to a paper
on that around here somewhere.  My source for the statement that you can't
do it with arbitrary cubics is the c.g.algorithms FAQ; I can't support my
statement for quadratics.

From the FAQ:

Subject 4.01: How do I generate a Bezier curve that is parallel to another 
Bezier?

    You can't.  The only case where this is possible is when the
    Bezier can be represented by a straight line.  And then the
    parallel 'Bezier' can also be represented by a straight line.

    The situation is different for the broader class of rational
    Bezier curves.  For example, these can represent circular arcs,
    and a parallel offset is just a concentric circular arc, also
    representable as a rational Bezier.


-- 
Ron Parker   http://www2.fwi.com/~parkerr/traces.html
My opinions.  Mine.  Not anyone else's.


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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