Hi Robert,
Sorry for reviving this old thread.
But I stumbled across the exact same problem, and solving this issue
with the FindFileCallback is a real PITA.
I tried the patch Katharina provided (there is still a typo in here, but
nevertheless, it solves the issue.)
The problem with the
Hi Robert,
I'm preparing a submission right now. Don't hold your breath ...
Hi Sebastien,
I don't really have any strong opinions, nor a submission which to
review. If you send a full modified file into osg-submissions I can
review it and give you a more informed decions.
Cheers,
Robert.
Hi Sebastien,
I don't really have any strong opinions, nor a submission which to
review. If you send a full modified file into osg-submissions I can
review it and give you a more informed decions.
Cheers,
Robert.
On 5 August 2013 15:40, Sebastian Messerschmidt
sebastian.messerschm...@gmx.de
Hi Brede,
My goal isn't to load Openflight files as fast as possible but to convert
them in IVE file format using the least memory consumption as possible, ie
not reading useless texture.
I think it will be great for the community to bring this change, don't you ?
I will try (as soon as I have
Alexandre,
Even if textures in the OpenFlight texture palette are read into
memory doesn't mean they are added to the osg scenegraph.
It would be helpful if you can provide two OpenFlight test models, one
of them with additional unused textures in the palette.
Then we can verify if they differ
Hi Brede,
The problem isn't in the size of the converted ive file but in the memory
consumption osgconv.exe use when converting this kind of openflight files.
The resulting ive file isn't bigger than expected but the process to convert
the file use too much memory than really needed.
2010/3/5
Hi Brede,
I do not run out of memory, but the process to convert those files is not
optimal, it takes much memory than needed and it takes more time to convert
because of reading all useless textures.
Here at work, I'm asked to optimize the process of our internal files
convertion process (speed
Alexandre,
Ok, I was put off track because you said
My goal isn't to load Openflight files as fast as possible ...
If you decide to fix the OpenFlight files you might be lucky and find
a tool that does the job.
http://www.presagis.com/peer_forum/viewthread/523/
Brede
On Fri, Mar 5, 2010 at
Systems
-Original Message-
From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Paul
Martz
Sent: Monday, March 01, 2010 10:29 AM
To: OpenSceneGraph Users
Subject: Re: [osg-users] [osgPlugins] OpenFlight - Palette Records
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Paul
Martz
Sent: Monday, March 01, 2010 10:29 AM
To: OpenSceneGraph Users
Subject: Re: [osg-users] [osgPlugins] OpenFlight - Palette Records
prevent using of ReaderWriter Callback
Alexandre Amalric wrote:
Hi osg-users,
I have
Subject: Re: [osg-users] [osgPlugins] OpenFlight - Palette
Records
prevent using of ReaderWriter Callback
Alexandre Amalric wrote:
Hi osg-users,
I have a question concerning the palette texture record. When
Hi Alexandre,
On Wed, Mar 3, 2010 at 11:50 AM, Alexandre Amalric
alex.pix...@gmail.com wrote:
Maybe that the original author from this plugin can tell me if the texture
palette record has to be read or not, so we may decide to skip it.
I'm the original author of the OpenFlight reader, the
- Palette Records
prevent using of ReaderWriter Callback
Alexandre Amalric wrote:
Hi osg-users,
I have a question concerning the palette texture record. When
converting a flt model which texture palette contains useless texture,
they are even read. Is there a way to read only used
...@lists.openscenegraph.org
mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Paul
Martz
Sent: Monday, March 01, 2010 10:29 AM
To: OpenSceneGraph Users
Subject: Re: [osg-users] [osgPlugins] OpenFlight - Palette Records
prevent using of ReaderWriter Callback
Alexandre Amalric wrote
Hi osg-users,
I have a question concerning the palette texture record. When converting a
flt model which texture palette contains useless texture, they are even
read. Is there a way to read only used texture. Let's say I have a simple
model file using 1 texture but my texture palette in
Alexandre Amalric wrote:
Hi osg-users,
I have a question concerning the palette texture record. When converting
a flt model which texture palette contains useless texture, they are
even read. Is there a way to read only used texture. Let's say I have a
simple model file using 1 texture but
Sent: Monday, March 01, 2010 10:29 AM
To: OpenSceneGraph Users
Subject: Re: [osg-users] [osgPlugins] OpenFlight - Palette Records
prevent using of ReaderWriter Callback
Alexandre Amalric wrote:
Hi osg-users,
I have a question concerning the palette texture record. When
converting a flt model
Hi Robert,
thanks for the fast answer. The idea to use a findFileCallback is not bad and I
think it would be sufficient for my case. But in my opinion a change in the
PlugIn would nevertheless be a better solution. Using a FindFileCallback does
not allow for the differentiation if the file was
Hello,
the OpenFlight-Plugin prevents reacting on missing Textures via a
ReadFileCallback, because osgDB::readRefImageFile (called by function
readTexture) is not called if the file does not exist. Would be great if this
could be changed.
A fix could look like this (file PaletteRecords.cpp,
HI Katharina,
In the svn/trunk version of the OSG I added support for overriding the
find file operation using an osgDB::FindFileCallback, that you attach
to the osgDB::Registry or an osgDB::Options object. Perhaps this
would be the best way for you to intercept and do something special
when
20 matches
Mail list logo