From: Sylvain Faisan (sylvain.faisan++at++imag.fr)
Date: 04/12/2001 01:35:08
Hi
It's working when I force pfMultiprocess to PFMP_APPCULLDRAW. Ong Tze
Lin, a SGI programmer (I think) wrote me that if I were multiprocessing and
try to make a graphics call from other than the DRAW process, I will
have problems. So now, I m subloading the texture with the draw process
and it's working!
Thank you very much for your help
Angus Dorbie wrote:
> This wasn't a final solution, just a request for more info, you'll be
> disabling multiprocessing on your high end system doing this, so even if
> it works it's not an acceptable fix, so please get back with the info on
> what happens.
>
> Cheers,Angus.
>
> Angus Dorbie wrote:
> >
> > On the whole this looks reasonable.
> >
> > The ONYX2 will be multiprocess by default, just as a test what happens
> > when you force pfMultiprocess to PFMP_APPCULLDRAW?
> >
> > How big is the second image? Looks like you are only subloading a small
> > portion here with the assumption that the host copy is the pretty much
> > the same size as the full original image (although it wouldn't
> > technically have to be full height).
> >
> > How have you created the data pointed to by *arbre, have you tested the
> > pointer value? Is it a valid pointer?
> >
> > Cheers,Angus.
> >
> > Raphael Grasset wrote:
> > >
> > >
> > > H,
> > >
> > > I'm loading a texture with an image in memory with the "subload"
> > > method of pfTexture class.
> > > It's working very well with an 02 station but not with an ONYX2.
> > > I've this message during the execution :
> > > PF Fatal/SysErr: _pfDirtCheck: pfRealloc of 0 bytes
> > > returned NULL.
> > >
> > > Yet, the two stations have got the "EXT_subtexture" extension!
> > >
> > > Here is some parts of the initialisation :
> > >
> > > tex->setImage((uint *)arbre, 4, TAILLE_ARBRE,TAILLE_ARBRE,1);
> > > tex->setFormat(PFTEX_INTERNAL_FORMAT, PFTEX_RGBA_8);
> > > tex->setFormat(PFTEX_IMAGE_FORMAT, PFTEX_RGBA);
> > > tex->setRepeat(PFTEX_WRAP, PFTEX_CLAMP);
> > > tex->setFormat(PFTEX_SUBLOAD_FORMAT, PF_ON);
> > >
> > > And when I want to re-load the texture :
> > >
> > > tex->subload(PFTEX_SOURCE_IMAGE,
> > > (uint *)arbre,
> > > 10,10,
> > > TAILLE_ARBRE,
> > > 10,10,
> > > 40,100 ); //For example : TAILLE_ARBRE = 256;
> > >
> > > If anyone has got an idea, I'll be very happy.
> > >
> > > Thank.
> > >
> > > Sylvain Faisan
> > >
> > > --
> > > __________________________________________________________________________
> > > Raphaël GRASSET | Doctorant (Phd Student) | iMAGIS-GRAVIR
> > > --------------------------------------------------------------------------
> > > raphael.grasset++at++imag.fr http://www-imagis.imag.fr/Membres/Raphael.Grasset
> > > Tel:+33(0)4.76.61.55.17 Fax:+33(0)4.76.61.54.40
> > > iMAGIS- Laboratoire GRAVIR INRIA Rhône-Alpes
> > > 655, avenue de l'Europe 38330 Saint-Ismier Cedex FRANCE
> > > __________________________________________________________________________
> > >
> > >
> >
> > --
> > For Performer+OpenGL tutorials http://www.dorbie.com/
> >
> > "Whenever there is a conflict between human rights and property
> > rights, human rights must prevail."
> > --Abraham Lincoln
> > -----------------------------------------------------------------------
> > List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> > Open Development Project: http://oss.sgi.com/projects/performer/
> > Submissions: info-performer++at++sgi.com
> > Admin. requests: info-performer-request++at++sgi.com
>
> --
> For Performer+OpenGL tutorials http://www.dorbie.com/
>
> "Whenever there is a conflict between human rights and property
> rights, human rights must prevail."
> --Abraham Lincoln
> -----------------------------------------------------------------------
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Open Development Project: http://oss.sgi.com/projects/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2b29 : Thu Apr 12 2001 - 01:35:16 PDT