Loading simple text.flt into perfly

New Message Reply Date view Thread view Subject view Author view

Guillermo E. Gutierrez (ggutierr++at++harris.com)
Mon, 29 Nov 1999 15:00:14 -0500


Hi pfGurus,
I've created a very basic text.flt file (using homegrown code) which I
can't get loaded into perfly. I'm just starting out with this, so any
help and suggestions would be greatly appreciated.

The file (which follows the 15.4 OpenFlight spec) contains the
following records in this order:
Header record
ColorTable record
Group Record
Push Record
    Group Record
     Push Record
        Text Record
        Comment Record
    Pop Record
Pop Record

The Comment Record contains a single text string and the Text Record's
Font name parameter points to paradigmfont.dat. I can see a scene
graph in perfly (which I think is a generic scene graph, because the
second Group node has no children), but there's nothing on the
screen. My questions are: 1) is this the right order of records for
a basic text flight file? and 2) What is the best way of annotating an
OpenFlight database with text (2d or 3d)?

Thank you much,
-guillermo
ggutierr++at++harris.com

What follows is perfly output:
-------
PF Info: pfdLoadFile_flt: database text.flt
PF Info/Resource: loading file text.flt
PF Notice/Assert: convTree(Group1) unexpected record 95
"text" found.
PF
PF Info: OpenFlight geometry:
PF Performer geometry:
PF Libpr data:
PF
PF Info: OpenFlight hierarchy:
PF Groups: 2
PF Performer hierarchy:
PF Groups: 1
PF Cleaned: 2
PF Scene-graph statistics:
PF loading time: 0.131
sec
PF
PF Info: pfdMakeShared optimizing traversal
PF Unique state objects:
PF None
PF Redundant state objects:
PF None
PF Performance statistics:
PF Elapsed time: 0.000 sec
PF
PF Info: pfdCombineLayers optimizing traversal
PF Performance statistics:
PF Elapsed time: 0.000 sec
PF
PF Info: pfdMakeSharedScene scene pfGeoState
traversal
PF Performance statistics:
PF pfGeoStates: 0
PF Elapsed time: 0.000 sec
PF
PF Info: pfuCollideSetup collision traversal
PF Intersection data is cached
PF Elapsed time: 0.000 sec
PF
PF Info: Total scene-graph statistics
PF Scene-graph statistics:
PF loading time: 0.342
sec
PF
PF Info: Initialized 1 Pipe
PF
PF Info: pfuDownloadTexList texture processing
PF Download totals
PF Textures: 0
PF Elapsed time: 0.000 sec
PF
PF Info: scaleFonts 1.00 - Load: 1.41 secs
PF Info(33): Initialized 1 Channel
PF
PF Info: pfuRunProcOn() - Process 20194 running
on CPU 0.
PF Info: X input process 20194 running for
channel 0
PF Notice: Using 72Hz video rate.
PF Info: Asynchronous X Input process 20194
opened on Display :0.0
PF Info: scaleFonts 0.99 - Load: 0.87 secs
PF Info: scaleFonts - Make Font Bitmaps: 0.19
secs
PF Notice/Usage: OpenGL Error 0x501 - invalid value
PF Notice/Usage: OpenGL Error 0x501 - invalid value
PF Notice/Usage: OpenGL Error 0x501 - invalid value
...(goes on forever)

begin:vcard
n:Gutierrez;Guillermo
tel;fax:407-984-6323
tel;work:407-984-6543
x-mozilla-html:TRUE
org:Harris Corporation;GCSD
adr:;;;;;;
version:2.1
email;internet:ggutierr++at++harris.com
title:Software Engineer
x-mozilla-cpt:;-19648
fn:Guillermo Gutierrez
end:vcard


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Nov 29 1999 - 12:00:47 PST

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