Re: Object location marker...

New Message Reply Date view Thread view Subject view Author view

Angus Dorbie (dorbie++at++bitch.reading.sgi.com)
Fri, 29 Sep 1995 09:22:52 +0100


A really easy way without changing to orthographic projection is to use
cmov() to the distant object position then charstr() but you have limited
control over appearance or scale.

On Sep 28, 12:28pm, Jan A. Barglowski wrote:
> Subject: Object location marker...
> I'm trying to mark a far away object that is too far to be "seen" on the
> screen. I'd like to draw a red square around the object, thus making it
> easier to tell which direction to look for it. I've seen this effect in
> Coryphaeus' Alladin demo, where an arrow points at the object. I'd like
> the marker to stay one size, regardless of the distance away the object is.
>
> My guess is to somehow get the 2d viewport coordinates of the object, then
> draw a 2d overlaid square around it. Anyone done this technique? Is there
> an easier/better way?
>
> Thanks!
>
> jan.
>
>
> Jan Anthony Barglowski Phone: (619) 927-1057
> Computer Graphics Dude Internet: jan++at++vislab.navy.mil
> VisLab, China Lake Packet: KC6UTH++at++WA6YBN.#SOCA.CA.US.NA
>
>
>
>
>-- End of excerpt from Jan A. Barglowski

-- 
Angus Dorbie,
Silicon Graphics Ltd, UK
dorbie++at++reading.sgi.com

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:54 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.