Re: Running demo cliptex in MP mode
Rambabu (ram++at++ivex3d.com)
Fri, 02 May 1997 14:55:18 -0400
Charles Parker wrote:
>
> Can anyone help me to get cliptex (the demo) to run in
> multiprocessing mode. I have redefined the windowing calls,
> set up the DRAW callback, set
> PFMP_APP_CULLDRAW, created a pfNewMPClipTexure, shadowed it using
> pfMPClipTextureClipTexture and added it to the pipe using
> pfAddMPClipTexture. In the simulation loop I have replaced the
> pfClipTextureCenter and pfApplyClipTexture with their MP counterparts
> but the program falls over when it encounters pfApplyMPClipTexture. I
> have looked at the demo asdfly and its seems that the only
> cliptexturing call it perfoms in the simulation loop is
> pfMPTextureCenter. Shouldn't it call one of the ~Apply~ routines?. If
> I remove the call to pfApplyMPClipTexture the program runs dut does not
> display anything.
> --------------------------------------------------
> Charles Parker
> Virtual Cockpits Group
> DERA Farnborough
> 2067Rm
> Probert Bldg
> Ively Road
> Farnborough
> Hampshire
> England
> GU14 0LX
>
> Tel : +44 1252 393624
> Fax : +44 1252 393091
> =======================================================================
> List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
Hi,
Is this database in Mulitgen format ? and if so, which loader are you
using ?
I believe, the loader would create a clipcenter and attach a PreApp
callback to the Channel which will automatically adjust the clipcenter
for you following a generic centering algorithm.
I assume we could simply attach our own centering algorithm to do this.
Marcus, is my inderstanding correct ?
--
Ram
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Rambabu Munjuluri Phone # : 770-564-1148
E-mail : ram++at++ivex3d.com Fax : 770-381-0622
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
=======================================================================
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:55:11 PDT