🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x.pex
Article #71

Re: 3d WC from Cursor Position

#71
From: Kall
Date: Tue, 01 Sep 1992 21:23
24 lines
1473 bytes
I guess what I was wondering (or dreaming of) is:

Yes the cursor 'sits over a pixel in the 2D device coordinate space
of the screen'.  The escape X_DRAWABLE_TO_WC_POINTS
returns some 3d location based on the X,Y drawable
location and some Z  value you pass in.  

Isn't there anyway for Phigs to  figure out  from the
scene what pixel the 2d cursor is sitting on (i.e. traverse the
whole scene from Z-min to Z_max  for that 2d X,Y coordinate
and find out what the 3d WC coordinate is of the pixel that you
are seeing on the screen.  After traversal  doesn't only one 3d WC coordinate
deposit that pixel even if structures overlap? 


---



\------------------------------------------------------------\
 \   Bruce Kall                \  Internet:   Kall@Mayo.edu   \
  \   Mayo Clinic (Foundation)  \  Phone: (507)-255-4768       \
   \   Rochester, MN 55905       \                              \
    \------------------------------------------------------------\
Technical Details
Message-ID: <1992Sep1.212308.19369@bmw.mayo.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!usc!sol.ctr.columbia.edu!The-Star.honeywell.com!umn.edu!bru!Kall@Mayo.EDU
References: <1992Sep1.194434.2724@dsd.es.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.x.pex
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!usc!sol.ctr.columbia.edu!The-Star.honeywell.com!umn.edu!bru!Kall@Mayo.EDU
From: Kall@Mayo.EDU
Subject: Re: 3d WC from Cursor Position
Message-ID: <1992Sep1.212308.19369@bmw.mayo.edu>
Sender: newsman@bmw.mayo.edu (/home/bmw/usenet)
Reply-To: Kall@Mayo.EDU
Organization: Mayo Foundation
References: <1992Sep1.194434.2724@dsd.es.com>
Date: Tue, 1 Sep 92 21:23:08 GMT
Lines: 25