Angus Dorbie (dorbie++at++bitch.reading.sgi.com)
Wed, 12 Jul 1995 02:44:44 -0600
This sounds like it a tag clear problem. Where are your clip planes,
and are you clipping out geometry? Try changing the clear screen method,
to avoid using a tag clear.
> Second problem is that I need to be able to draw line segments
> on the map. How do I get world coodinates from a mouse position
> without having to pick objects.
Ortographic plan views is the easiest case for trying this
Apply an appropriate scale and translation to the mouse coordinates.
Should be something like:
xporldcoord = xleftscreenworldcoord + MOUSEX/windowpixelwidth *
(xrightscreenworldcoord - xleftscreenworldcoord);
and similar for ypos.
-- Angus Dorbie, The Reality Centre, Silicon Graphics Ltd, UK dorbie++at++reading.sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:41 PDT