#59 Updates for 1.8

open
nobody
General (7)
5
2014-08-21
2011-11-06
dermont
No

Main points for each module out with generic updates to 1.8:

ogre
- Move registration code CompositorChain to after Viewport, complains
on module import of no converter for Viewport Listener.

ogreterrain
- patched to allow build on Linux (already on tracker for nearly one year now).
http://www.ogre3d.org/addonforums/viewtopic.php?f=3&t=14056

ogrepaging
- updated

ogrertshadersystem
- updated

ogresdksample
- updated ThirdParty/sdksample to include 1.8 directory
- updated environment.py to include above dir and generate_code.py
to copy across files from 1.8 as appropriate
- update environment.py to exlude linking vs Shell/User32 on Linux

ogeral
- Update Singleton to public and variable updates.
http://www.ogre3d.org/addonforums/viewtopic.php?f=3&t=14679

ogreoggsound
- updated code generators to exclude OgreOggSoundRecord on Linux
http://www.ogre3d.org/addonforums/viewtopic.php?f=3&t=5558&start=45
- added patch for Singleton variable naming (svn code only) - not included in environment.py
http://www.ogre3d.org/addonforums/viewtopic.php?f=19&t=14947

ogrevideoffmpeg
- updated third party code to build against more recent versions of ffmpeg, should still work with older versions(???)
- updated RGB blit code pixel format
- moved inttypes/stdint.h to windows subdir (causes problems on Linux)
- update environment.py/generate_code.py for above

SConstruct
Workaround patch for scons on Linux.
http://www.ogre3d.org/addonforums/viewtopic.php?f=3&t=14906

boost
- update to build 1.47 implemented and tested on Linux only.

ois
- update to use 1.3 implemented and tested on Linux only.

demos
- update Demo_Smoke.py to Demo_Smoke_New.py for testing
- update demos/samples Sample_Transparency/Terrain.py testing sdk

Problems:
Still a problem shutting down demos properly and/or problem with SCriptCompilerManager deleting ScriptCompiler on close.

You may want to check the changes to environment.py to ensure they fit in with your build system.

Discussion

  • dermont

    dermont - 2011-11-06

    Patch File doe 1.8

     
  • dermont

    dermont - 2011-11-13

    Amendment to 1.8 patch

     
  • dermont

    dermont - 2011-11-13

    Patch amendment for 1.8 to cover:

    svn diff demos/ogre/Demo_TextureArray.py demos/ogre/Demo_DualQuaternion.py code_generators/ogre/custom_rvalue.cpp code_generators/ogre/hand_made_wrappers.py > updateto.patch

    - problem with custom_rvalue DualQuaternion/
    - ResourceManager::createOrRetrieve handwrapped to return tuple include ResourcePtr cast appropriately.
    - DualQuaternion/TextureArray demos to test above.

    You will have to manually update code_generators/ogre/generate_code.py to exclude ResourceManager::createOrRetrieve:
    # so first remove all the member functions that cause issues.
    ex = [
    # Specifically remove functions that we have wrapped in hand_made_wrappers.py
    '::Ogre::ResourceManager::getByName',
    '::Ogre::ResourceManager::getByHandle',
    '::Ogre::ResourceManager::load',
    '::Ogre::ResourceManager::create',
    ->>>>>> '::Ogre::ResourceManager::createOrRetrieve',
    '::Ogre::RenderTarget::getCustomAttribute',
    '::Ogre::SceneManager::setOption',
    '::Ogre::SceneManager::getOption',
    '::Ogre::ParticleSystem::_getIterator',

    To test you will need to point your resources.cfg to 1.8 media. Sorry it is not a complete patch but it's getting difficult to keep the updates I've made and svn in sync.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks