Re: Question about Draw callback

New Message Reply Date view Thread view Subject view Author view

Angus Dorbie (dorbie++at++sgi.com)
Thu, 17 Dec 1998 13:29:24 -0800


Eddy Kuo wrote:
>
> Hello pfers.
>
> 1)
> Is there anyway to extract a draw callback routine, and call the
> routine explicitly.

Which one?

You could have a draw callback and wrap your own draw callback, which
would be exactly what you are talking about but is seems a little
redundant.

>
> 2)
> When I have a channel draw callback, and a node traversal draw callback,
> What is the order of these callbacks being called. (in a multiprocessors
> environment)

The channel draw callback calls pfDraw. In pfDraw, when the node is
reached
in the display list your node draw callbacks will be called before and
after
it is drawn.

>
> 3) Is there anyway to use single process in a multipipe mode

This would hose performance anyway, can't you run multithreaded
and lock down the draws to a single CPU? You get better
pipe utilization, particularly for fill limited scenarios.

Cheers,Angus.

>
> thanks in advance
>
> Ed.
>
> -------------------------------------------------------------------
> Eddy Kuo Work phone: 202-404-7334
> Virtual Reality Lab Home phone: 703-471-4620
> Naval Research Lab http://www.ait.nrl.navy.mil/people/ekuo
> -------------------------------------------------------------------
>
> =======================================================================
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com

-- 
"Only the mediocre are always at their best." -- Jean Giraudoux 

For advanced 3D graphics Performer + OpenGL based examples and tutors: http://www.dorbie.com/


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Thu Dec 17 1998 - 13:29:32 PST

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