comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Keeping text Readable in Object Graphics
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Keeping text Readable in Object Graphics [message #16693] Sat, 14 August 1999 00:00
steinhh is currently offline  steinhh
Messages: 260
Registered: June 1994
Senior Member
You could try the GetCTM model to figure out the current
distortion of the text, and modify the UPDIR property to
counter the effect, or maybe wrap the text inside a model
object (allowing for rotations etc)... Just a thought..

Regards,

Stein Vidar
Re: Keeping text Readable in Object Graphics [message #16695 is a reply to message #16693] Sat, 14 August 1999 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
David Borland (dborland@egi.com) writes:

> Can anyone point me in the right direction for getting text to remain
> readable when rotated in object graphics, and still have hidden surface
> removal remain active?
> If I use the OnGlass keyword, the text stays properly oriented, but the
> text also stays visible even when it should be hidden behind something. I
> have tried using the same technique that you use to rotate displays with the
> Trackball object, on the text object, and I get skewed, and reversed and
> other unfavorable results.

I'm afraid this may fall into the category of "having your cake
and eating it, too". My mama always told me it just wasn't
possible. :-(

Cheers,

David

P.S. If you strung a wire through the middle of your
text, parallel to the axis, and the text string could
rotate on the wire freely, and then you attached a
weight to the bottom edge of the text, then I think
as you rotate the axis in space the text *should* be
readable. *There* is the algorithm. I'll leave the
implementation up to you (or maybe RSI in a future
update). :-)

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Pointers
Next Topic: IDL on Windows 2000.?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:16:50 PDT 2025

Total time taken to generate the page: 0.00485 seconds