Angus Dorbie (dorbie++at++sgi.com)
Sat, 23 May 1998 14:27:15 -0700
Yes! It's called glDrawPixels you can call the gl from
a draw callback.
>
> I am also trying to draw a texture on the screen at a X, Y
> I was successfull to do this with a DCS, placing the
> DCS in a position in front of the viewpoint. However,
> when I chenge the viewp. the xy "bounces" randomly in
> its position, when it stops it gets ok. I had the same
> problem with pfuGetNearestVisiblePoint.
The problem is you are passing data straight through shared
memory to the draw and sync issues & viewpoint vs DCS latency
are biting you.
> I am using two processes, one for draw other for app_cull
> Any hints ?
Yes, you have two options, create and update the DCS in the
application or pfFlux the DCS position information through
to the draw instead of reading it straight from shared memory.
Either will work.
Cheers,Angus.
-- "Only the mediocre are always at their best." -- Jean GiraudouxFor advanced 3D graphics Performer + OpenGL based examples and tutors: http://www.dorbie.com/ ======================================================================= 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:26 PDT