Re: paging ASD demo

New Message Reply Date view Thread view Subject view Author view

Yair Kurzion (yair++at++polygon.engr.sgi.com)
Mon, 2 Aug 1999 16:42:26 -0700 (PDT)


Hello Robert !

Regarding your paging ASD problem ...

> Messages from asdfly indicate that
> pfdMakeSharedScene reports 0 pfGeoStates even though a default
> pfGeoState is supposed to be applied to the terrain.

This is normal.

> Does anyone have any ideas ?

The ASD evaluation function runs in a COMPUTE process. Try forking off a
compute process (e.g. run 'asdfly -m38').

> I have also noticed that the Performer 2.2.4 release notes
> specify that for pfdBuildASD() to build paging tiles, the
> PAGING constant in pfdBuildASD.c must be set to 1
> (instead of 0 by default) but I cannot find a single place
> where the constant is used.

Historical leftovers. It's not used any more.

> convasd dem/config dem/page
>
> For several files, convasd reported that it couldn't open the file
>
> e.g. can't open file dem/tile06000000

I am not sure about these. Disk space shortage ?

> Error messages (as included below) indicate that pfdMakeSharedScene
> reports no pfGeoStates. Messages also indicate that tileholders are
> being added and that some terrain tiles are being removed
> but absolutely nothing is visible.

Can you bring up the scene graph structure ? Is there an ASD node on the scene
graph ?

> page[0] 61 70
...
> fmem[0][0][0] = 0
...
> fmem[7][11][11] = 181104
...
> Added tileHolder: 1
...
> Added tileHolder: 67

These look normal.

> 29326 PF Info(2): syncGroupReady - NOT enabled.
> 29326 PF Info: syncGroupReady - NOT enabled.

This happens when you don't fork COMPUTE. It is a bug. However, not forking
COMPUTE is not a good idea with ASD so this bug is a low priority one.

One additional note: Building paged ASD models with pfdBuildASD requires that
your entire ASD (all the pages) fit into memory+swap on the machine that
creates the pages. There is a newer tool called ASDGen that builds paged ASD
models and has a fixed memory signature. You can find information about it
in the info-performer archive. The source and a README for ASDGen are under:
    http://reality.sgi.com/yair/ASDGen/

-yair

-- 
\_________  \_____  \__    \__  \_____         Yair Kurzion
\_________  \_____   \__   \__  \_____         yair++at++sgi.com
       \__     \__   \____\__      \__   http://reality.sgi.com/yair
       \__          \__  \__                Work: (650) 933-6502
       \__          \__   \__               Home: (408) 226-9771
       \__          \__    \__             

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 02 1999 - 16:42:38 PDT

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