The comment for the Bootstrap section of the standard Samples resources.cfg says that OgreCore.zip is the minimum set of media to work in the Samples framework. On Linux/GLX this is somewhat misleading, i.e., if you use the framework to create an empty window OgreCore.zip is not enough. The GLX platform requires the two GLX_* files. Wouldn't be better to include _all_ the "bootstrap" files in OgreCore.zip?
(Yes, I know GLX_* stuff is not required on windows but they are small and won't add more than some Kb to the archive.)
GLX_* in OgreCore.zip
- fog
- Greenskin
- Posts: 149
- Joined: Sun Sep 19, 2004 6:00 pm
- Location: Torino, ITALY
- Contact:
- :wumpus:
- OGRE Retired Team Member
- Posts: 3067
- Joined: Tue Feb 10, 2004 12:53 pm
- Location: The Netherlands
- x 1
- fog
- Greenskin
- Posts: 149
- Joined: Sun Sep 19, 2004 6:00 pm
- Location: Torino, ITALY
- Contact:
I suppose one can just convert the images to xpm "include" format and then suck it in the GLX sources. I can produce a patch and post it to SF if you like this approach better.:wumpus: wrote:The win32 Platform Manager integrates its images via a resource inside the DLL instead of an external image file. Maybe GLX should use a similar approach?
- :wumpus:
- OGRE Retired Team Member
- Posts: 3067
- Joined: Tue Feb 10, 2004 12:53 pm
- Location: The Netherlands
- x 1
I was personally thinking of still encoding them as pngs in include format, as we can use the codec anyway no matter where the resource data came from This might save some executable space.
But yeah, that might not matter much and compilcated replacing the images by your own. xpm include format sounds good too.
But yeah, that might not matter much and compilcated replacing the images by your own. xpm include format sounds good too.
- :wumpus:
- OGRE Retired Team Member
- Posts: 3067
- Joined: Tue Feb 10, 2004 12:53 pm
- Location: The Netherlands
- x 1
- fog
- Greenskin
- Posts: 149
- Joined: Sun Sep 19, 2004 6:00 pm
- Location: Torino, ITALY
- Contact:
Unfortunately...
Mm.. not yet. I converted the png to a pixmap and looked at the code but still haven't produced something working. I was pretty busy with pyogre lately. I'll probably post something this weekend.