Ran Yakir (rany++at++bvr.co.il)
Mon, 11 Jan 1999 07:14:07 +0200
Your call to pfLightModel::apply() is not in the code, so I don't know where you
call it from.
It should be called from the DRAW process, i.e. from the drawFunc() function,
since it modifies the OpenGL state. If you are calling the function from the
APP process, you should get an error, unless you are running PFMP_APPCULLDRAW,
when the DRAW and APP process are one.
Are you by any chance calling it from the APP process ?
Ran
OHKAWA_KAZUHIKO wrote:
>
>
> >
> > I have a problem about the pfLightModel in the
> > PFMP_APP_CULL_DRAW mode.
> >
> > I set the PFMP_APP_CULL_DRAW mode using pfMultiprocess() and created
> > pfLightModel.
> > When I used pfLightModel::apply(), performer stopped with
> > following message:
> > "PF Fatal/SysErr _pfDirtCheck:pfRealloc of 0 bytes returned NULL."
> >
> > If I set the PFMP_APPCULLDRAW mode instead of the
> > PFMP_APP_CULL_DRAW mode,
> > this program work correct.
> > But I want to use the PFMP_APP_CULL_DRAW mode for the multi-node.
> > I would appreciate your advice on this matter.
> >
--
__ | Ran Yakir
/_) _ __ \ / _ / o __ | BVR Technologies Ltd.
/ )_ (_(_) ) \/ (_(_/<_(_)( |
_/ |
-------------------------------------+--------------------------------
Phone : | E-mail : rany++at++bvr.co.il
Work : 972-3-5715671 #166,#177 |
Res. : 972-9-7489974 |
Fax : 972-3-5715668 |
This archive was generated by hypermail 2.0b2 on Mon Jan 11 1999 - 05:33:46 PST