Daniel Williams (dwilliams++at++sarnoff.com)
Tue, 30 Jun 1998 17:47:46 -0400
I first generate a gently undulating SGI format luminance image like so:
/usr/sbin/dotgen /tmp/foo0.bw 1024 2.0 2.0
/usr/sbin/conimg /tmp/foo1.bw 1024 1024 128
/usr/sbin/max /tmp/foo0.bw /tmp/foo1.bw /tmp/foo2.bw
/usr/sbin/greyscale /tmp/foo3.bw 1024 1024 12
/usr/sbin/blend /tmp/foo2.bw /tmp/foo3.bw terrain.bw 0.8
rm -f /tmp/foo?.bw
I then use the instructions contained in the manual page
pfdBuildASD(3pf) to try to convert that image into a paging pfASD
database:
setenv PFNFYLEVEL 7
setenv PFSHAREDSIZE 536870912
buildbw terrain.bw tile config page
convasd config page
The problem is that the first step silently fails (apparently) by not
writing out all the tiles that the second step expects: when I run the
'convasd' command I get 308 messages of the form "can't open file
tile09001002".
However, you can use the following config file:
------cut--------asdfly.config------cut--------
2
1.953125e-3 0.0 0.0 0.0
0.0 1.953125e-3 0.0 0.0
0.0 0.0 1.0 0.0
0.0 0.0 0.0 1.0
terrain.bw
config page
0.0 0.0 1000.0
0.0 0.0 0.0
------cut--------asdfly.config------cut--------
and read it in into asdfly:
asdfly asdfly.config
and get something. It just has lots of data missing.
I opened this as a call to the TAC two months ago and it took them
about a month and a half to compile their own sample code. They couldn't
reproduce my results because buildbw coredumps for them. They reminded
me that this is unsupported software and to try posting to info-performer.
Case closed.
The final straw was when I read this statement in the release notes:
"pfASD has memory leaks in the database paging. Your application may run
out of memory after several ASD tiles paging." If this is true it makes
any other problems irrelevent. I asked for more information
about this problem and when it might be fixed two months ago in the same
call; no answer yet.
I hope you have better luck.
Dan
--
Daniel Williams, Systems & Scientific Software
Voice: (215) 885-1573 Email: sass++at++acm.com
Independent Consultant to: Sarnoff Corporation
Voice: (609) 734-2153 Email: dwilliams++at++sarnoff.com
=======================================================================
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:57:36 PDT