[osg-submissions] osgPluging pfb -- Mutlitexturing Supported & Segmentation fault fixed
Anthousis Andreadis
anthousis at gmail.com
Tue Jul 15 05:09:24 PDT 2008
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20080715/3f1b5f63/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ReaderWriterPFB.cpp.gz
Type: application/x-gzip
Size: 1967 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20080715/3f1b5f63/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ConvertFromPerformer.cpp.gz
Type: application/x-gzip
Size: 9363 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20080715/3f1b5f63/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ConvertFromPerformer.h.gz
Type: application/x-gzip
Size: 819 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20080715/3f1b5f63/attachment-0005.bin>
More information about the osg-submissions
mailing list