Project Texture Problem

New Message Reply Date view Thread view Subject view Author view

Marco Tartaglia (marco++at++infobyte.it)
Wed, 17 Jan 1996 14:41:21 +0000


Hi,

I've a problem with project textures; when i run my program with
PFMP_APPCULLDRAW it works correctly but it doesn't work with PFMP_APPCULL_DRAW.
My configuration is:
        Onyx RE2 with ++at++ RM5
        IRIX 6.2 (or IRIS 5.3)
        Performer 2.0 with DSO

For more information, i give us the outline of my program:

APP process
{
...
  pfInit();
...
  pfMultiProcess(..);
...
  pfConfig();
...
  NewChan, NewScene, Load FLT file

  tex = pfNewTex(pfGetSharedArena());
  pfLoadTexFile(tex, "image.inta");

  frust = pfNewFrust(pfGetSharedArena());
  pfMakeSimpleFrust(frust, 60.0f);

  light = pfNewLSource();
  pfLSourceAttr(light, PFLS_PROJ_TEX, tex);
  pfLSourceAttr(light, PFLS_PROJ_FRUST, frust);
  pfLSourceMode(light, PFLS_PROJTEX_ENABLE, PF_ON);
...

  while (TRUE)
  {
    pfFrame();
  }
...

}

DRAW process
{
...

  once time
  {
    lm = pfNewLModel(pfGetSharedArena());
    pfLModelLocal(lm, PF_ON);
    pfApplyLModel(lm);
  }
...

}

Thanks

-- 
Marco Tartaglia                                                     Infobyte Spa
VR R&D Software Engineer                                Via della Camilluccia 67
E-mail marco++at++infobyte.it                                              00135 Roma
Tel +39-6-35572210                                            Fax +39-6-35572300

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:52:15 PDT

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