Re: Multiple color look up tables.

New Message Reply Date view Thread view Subject view Author view

From: Angus Dorbie (dorbie++at++sgi.com)
Date: 02/16/2000 15:08:35


Sorry,

I really don't understand why you have a problem with this on multiple
pipes.

Each pipe should do this in a draw callback and it will just work. The
pipes and contexts have separate state information, the draw processes
and callbacks will operate on the current context on each pipe.

Cheers,Angus.

"Dorosky, Christopher G" wrote:
>
> "make the same change to their respective LUT's"
>
> This is the part I don't know how to do. The commands we use are:
> glEnable (or Disable) (GL_TEXTURE_COLOR_TABLE_SGI)
> and then fiddle with it with
> glColorTableSGI.
>
> Is there either a GL_TEXTURE_COLOR_TABLE_SGI2 or a better way to do this?
>
> Christopher Dorosky
> Senior Electronic Systems Engineer - Real Time Simulation
> Lockheed Martin Missiles and Fire Control - Dallas
> christopher.g.dorosky++at++lmco.com
> 972-603-2349
>
> > ----------
> > From: Angus Dorbie[SMTP:dorbie++at++sgi.com]
> > Sent: Wednesday, February 16, 2000 4:14 PM
> > To: Dorosky, Christopher G
> > Cc: 'info-performer++at++sgi.com'
> > Subject: Re: Multiple color look up tables.
> >
> > You have to change the LUT in the draw process anyway, so each draw
> > process should make the same change to their respective LUT's. Once you
> > have the shared memory structures to direct this from the application,
> > actually applying this in multiple draw processes should be relatively
> > simple.
> >
> > Cheers,Angus.
> >
> > "Dorosky, Christopher G" wrote:
> > >
> > > On our one pipe systems, we use the GL color look up table to colorize
> > our
> > > greyscale data.
> > > We now run multiple pipes, and need to have different look up tables on
> > > different pipes.
> > > The draw processes run in parallel, so we can't simply change the table
> > > values.
> > > How can we do this?
> > >
> > > System info is Onyx 2 runnning a performer app.
> > >
> > > Chris
> > >
> > > Christopher Dorosky
> > > Senior Electronic Systems Engineer - Real Time Simulation
> > > Lockheed Martin Missiles and Fire Control - Dallas
> > > christopher.g.dorosky++at++lmco.com
> > > 972-603-2349
> > > -----------------------------------------------------------------------
> > > List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> > > Submissions: info-performer++at++sgi.com
> > > Admin. requests: info-performer-request++at++sgi.com
> >
> > --
> > For Performer+OpenGL tutorials http://www.dorbie.com/
> > My comment on the abuse of Jon Johanson's rights;
> > After giving up raiding their neighboring countries the Norse men
> > have taken to raiding 15 year old kids in their bedrooms. Very sad.
> >

-- 
For Performer+OpenGL tutorials http://www.dorbie.com/
My comment on the abuse of Jon Johanson's rights;
After giving up raiding their neighboring countries the Norse men
have taken to raiding 15 year old kids in their bedrooms. Very sad.


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Feb 16 2000 - 15:08:48 PST

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