Hi

The 2 problems : osgPlugin::pfb

1)
When loading pfb files only the first texture is loaded.
Fixed in-order to check all available texture positions.

Result:: support for multitextured pfb files

2)
When loading the same .pfb file twice you get a segmentation fault.
I fixed this by replacing the "unrefDelete" command with the performer
command "pfDelete"


The changes have been tested with many pfb models both multitextured and
not.

Anthousis Andreadis

Attachment: ReaderWriterPFB.cpp.gz
Description: GNU Zip compressed data

Attachment: ConvertFromPerformer.cpp.gz
Description: GNU Zip compressed data

Attachment: ConvertFromPerformer.h.gz
Description: GNU Zip compressed data

_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to