Re: pfconv - FYI

New Message Reply Date view Thread view Subject view Author view

Marcus Barnes (marcus++at++multigen.com)
Fri, 26 Sep 1997 16:21:56 -0700


On Sep 25, 8:54am, Jesper Nyström wrote:
> I don't know why, I just know that when I uses pfconv with the loader libs
> 15.4b I get very strange files if I get any at all. I check the flight file
in
> perfly, no problemo, then I check the pfb file in perfly, either perfly
> crashes or the files misses a lot of the polygons.

Well I've converted an assortment of .flt files into .pfb using pfconv, using
the R15.4d loader (available at ftp://ftp.multigen.com/pub).

The problem, that I saw was related to pfLPointState conversion. perfly would
core dump as follows, whjile attempting to load the converted .pfb file:

(dbx) t
> 0 set_udata(0x1865c580, 0x1c, 0x104c3650, 0x1a)
["../../../../lib/libpfdb/libpfpfb/pfpfb.c":13288, 0x5c8dc458]
   1 pfb_read_lpstate(0x104c3650, 0x1c, 0x104c3650, 0x1a)
["../../../../lib/libpfdb/libpfpfb/pfpfb.c":3347, 0x5c8b1788]
   2 pfdLoadFile_pfb(0x4, 0x1c, 0x104c3650, 0x1a)
["../../../../lib/libpfdb/libpfpfb/pfpfb.c":2209, 0x5c8ac0c0]
   3 pfdLoadFile(0x7fff3007, 0x1c, 0x104c3650, 0x1a)
["../../../lib/libpfdu/pfdLoadFile.c":822, 0x76a024]
   4 initSceneGraph(0x184ffec0, 0x0, 0x104c3650, 0x1a)
["../../../../../sample/apps/C/perfly/perfly.c":605, 0x48d5ec]
   5 InitScene(0x1865c580, 0x1c, 0x104c3650, 0x1a)
["../../../../../sample/apps/C/common/generic.c":350, 0x48a914]
   6 main(0x2, 0x7fff2ed4, 0x104c3650, 0x1a)
["../../../../../sample/apps/C/common/main.c":125, 0x489f10]
   7 __istart() ["crt1tinit.s":13, 0x489c50]

The difference between R14.2 and R15.4 is that OpenFlight supports alot more
pfLPointState specification including calligraphic (in 2.2). It appears that
.pfb is having a bit of trouble with that.

Regards.

--
+ Marcus Barnes, Technical Staff        mailto:marcus++at++multigen.com +
+ Multigen Inc.                         http://www.multigen.com    +
+ 550 S. Winchester Blvd.               phoneto:1-408-556-2654     +
+ Suite 500 San Jose CA 95128           faxto:1-408-261-4102       +

===================================List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/ Submissions: info-performer++at++sgi.com Admin. requests: info-performer-request++at++sgi.com


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:56:00 PDT

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