Re: Draw Function calls w/ no scene

New Message Reply Date view Thread view Subject view Author view

Fischler (src++at++rose)
Tue, 15 Aug 1995 18:06:26 -0700


+>---- On Aug 15, 7:44pm, SSPSU91++at++aol.com wrote:
> Subject: Draw Function calls w/ no scene
->
->I am using Performer to run a visual data base. In my draw routine after I
->call pfDraw I call a gl program to draw some 2D text. For some reason when
->there is nothing to be drawn in the scene (i.e. the eyepoint is looking off
->in space and there is no ground or buildings in its view) the gl text is not
->drawn, but the routine is being called.
->Is there some optimization technique in Performer so that when nothing is in
->the viewing area the drawing is not rendered? If so is there a way to turn
->off this optimization? Any other suggestions as to why the gl text would not
->appear would be appreciated. Thanks.
->Stephanie Sroczyk, JJM Systems Inc. SSPSU91++at++aol.com

We don't have any such optimization - clear and
swapbuffers should still be happening and the channel view matrix
should still be set. Are you relying on a callback from a node in
your scene to set up state or draw the text? Possibly this node
is getting culled out?

You might try gldebug to trace your calls to
see if you can glean more information.
You can bring up gldebug and turn off all tracing and break points,
get your program to exhibit the problematic behavior, and the
set breakpoints to swapbuffers and turn on all tracing to get
one frame of data.

src.

-- 
-----{-----{---++at++   -----{----{---++at++   -----{----{---++at++   -----{----{---++at++
Sharon Rose Clay (Fischler) - Silicon Graphics, Advanced Systems Dev.
src++at++sgi.com  (415) 390 - 1002  FAX: (415) 965 - 2658  MS 8U-590
-----{-----{---++at++   -----{----{---++at++   -----{----{---++at++   -----{----{---++at++

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:47 PDT

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