Wrecked Games

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're just that awesome.

Author Topic: OgrePane changes..  (Read 1446 times)

pjcast

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 2652
    • View Profile
    • http://www.wreckedgames.com
OgrePane changes..
« on: July 06, 2006, 08:28:11 AM »

Added Property to get OgrePane's Panel control, so you can create your own mouse movement hooks for that window (SceneEditors).

Added ability to turn off OgrePane's movement controls entirely, if you are running your own - The default behavior of OgrePane is more like a scene viewer than that of an editor.

Now, it should be completely ready to be taken over by a loaded and activated scene editor ;)
Logged

pjcast

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 2652
    • View Profile
    • http://www.wreckedgames.com
OgrePane changes..
« Reply #1 on: July 06, 2006, 04:49:21 PM »

Changed Mouse move to Right button instead- to leave the left button open for picking/moving. So, SceneEditors can leave the default movement enabled if they chose to for moving the camera look. Or, they can disable it entirely still.
Logged

pjcast

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 2652
    • View Profile
    • http://www.wreckedgames.com
OgrePane changes..
« Reply #2 on: July 12, 2006, 10:52:35 AM »

Removed OgreContainer from Panes.OgrePane, to it's own class Panes.OgreContainer. As, it was getting fairly large. Also, added some skydome, skyplane, skybox structs and members for getting/setting properties (and, it also set's the specified sky in the scenemanager too). Mostly, this is because ODN does not expose/wrap the needed methods for getting information about the skydome/plane/etc for saving.

So, editors, if you want to change the skydome/box/etc for it to be saved out later, make sure you use the exposed proxy methods of SkyBoxProperties.SetSkyBox for example.
Logged