Stephen Maher (maher++at++holodeck.gsfc.nasa.gov)
Mon, 8 Jun 1998 12:41:44 -0400 (EDT)
(pf 2.2., Onyx2 IR)
I'm specifying a pfuClipCenterNodeRefNode for my clip textured
geometry, but I'm doing something wrong. If I feed
pfuClipCenterNodeRefNode it's own pfuClipCenterNode (the default case
for pfuClipCenterNode), everything works fine. When I specify a ref
node of my own, the clip texture transitions through only 1-2
resolution levels in only part of the texture (instead of 18 or so
levels) - which is the same as specifying a very bad
pfuClipCenterNodeRefNode (e.g., (pfNode *)1 :)
Specifically, my clip textured geometry is a (slightly bumpy)
hemisphere. My ref geometry is a smooth hemisphere (actually of
higher res at this point for debugging). The ref geometry is attached
to the scene graph such that it stays coincident (as much as possible)
with my real hemisphere as I move the eye. All traversals are active.
Only one cliptexture in the scene.
Is there a special spot in the scene graph I should be attaching my ref
geometry? I've tried right around the pfuClipCenterNode and in distant
parts of the scene graph with the same results.
Note, this is my attempt to set a clip center for a high resolution Earth
globe (with topography). I was hoping to snarf some code from the
.spherepatch loader, but the centering mechanism there seems to be tied
to the geometry created in the spherepatch loader.
A function f(lat,long,height) -> clip center (s,t,r) (assuming
East/West hemispheric clip textures) would be awsome. I've been
RTF(manual and code)'ing, but haven't gotten far enough yet.
Thanks,
Steve
--
stephen.maher++at++gsfc.nasa.gov (301) 286-3368 fax:(301) 286-1776
http://holodeck.gsfc.nasa.gov/vr/vr.html
NASA Goddard Space Flight Center
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:57:31 PDT