OGRE Wiki
Support and community documentation for Ogre3D
Ogre Forums
ogre3d.org
Log in
Username:
Password:
CapsLock is on.
Remember me (for 1 year)
Log in
Home
Tutorials
Tutorials Home
Basic Tutorials
Intermediate Tutorials
Mad Marx Tutorials
In Depth Tutorials
Older Tutorials
External Tutorials
Cookbook
Cookbook Home
CodeBank
Snippets
Experiences
Ogre Articles
Libraries
Libraries Home
Alternative Languages
Assembling A Toolset
Development Tools
OGRE Libraries
List of Libraries
Tools
Tools Home
DCC Tools
DCC Tutorials
DCC Articles
DCC Resources
Assembling a production pipeline
Development
Development Home
Roadmap
Building Ogre
Installing the Ogre SDK
Setting Up An Application
Ogre Wiki Tutorial Framework
Frequently Asked Questions
Google Summer Of Code
Help Requested
Ogre Core Articles
Community
Community Home
Projects Using Ogre
Recommended Reading
Contractors
Wiki
Immediate Wiki Tasklist
Wiki Ideas
Wiki Guidelines
Article Writing Guidelines
Wiki Styles
Wiki Page Tracker
Ogre Wiki Help
Ogre Wiki Help Overview
Help - Basic Syntax
Help - Images
Help - Pages and Structures
Help - Wiki Plugins
Toolbox
Freetags
Categories
List Pages
Structures
Trackers
Statistics
Rankings
List Galleries
Ogre Lexicon
Comments
History: CaelumSharp
View page
Source of version: 11
(current)
{img src="img/wiki_up/Caelum.jpg" alt="" imalign="right"} CaelumSharp is a port of ((Caelum)) to C# targeting ((Mogre)) by user ((User:Smiley80|Smiley80)). Supported Mogre version: 1.7.x (also older ones) __Forum__: Use [http://www.ogre3d.org/addonforums/viewtopic.php?f=8&t=9576|this thread]. __Download__: [http://bitbucket.org/tbohnen/caelumsharp/downloads|CaelumSharp] (based on Caelum 0.5) It contains source, media and demo application. !!Differences Differences to the original ((Caelum)): * changed methods to properties where appropriate * renamed enums, constants and methods to meet .NET naming conventions * an other parsing method for config files (using regular expressions) ** still compatible to files of original Caelum ** only imports and variables aren't supported (maybe later) !!Usage !!!Preparation * download + extract zip file * open ''CaelumSharp.sln'' with Visual Studio (or Visual C# 2008) * build project * copy ''CaelumSharp.dll'' to your project * add a link to the file * copy needed media files to you project Your application needs to load the ''CgProgramManager'' plugin. This you can enable in the file ''plugins.cfg'' by adding this line: {CODE()}Plugin=Plugin_CgProgramManager{CODE} !!!Code Start CaelumSharp with the default settings: {CODE(wrap="1", colors="c#")}using CaelumSharp;{CODE} {CODE(wrap="1", colors="c#")}CaelumSystem cs = new CaelumSharp.CaelumSystem(root, sceneMgr, CaelumSystem.CaelumComponent.Default); cs.AttachViewport(this.viewport); window.PreViewportUpdate += cs.PreViewportUpdate; root.FrameStarted += cs.FrameStarted;{CODE} Create a system from script: {CODE(wrap="1", colors="c#")}CaelumScript.Singleton.Initialise(); CaelumSystem cs = new CaelumSystem(root, sceneMgr, CaelumSystem.CaelumComponent.None); CaelumScript.Singleton.LoadCaelumSystemFromScript(cs, "DefaultSky");{CODE} An other example code you find [http://www.ogre3d.org/addonforums/viewtopic.php?p=67095#p67095|here]. !!See also * ((Caelum)) * ((SkyX Wrapper for MOGRE)) - An alternative sky simulation
Search by Tags
Search Wiki by Freetags
Latest Changes
Minimal Ogre Collision
Artifex Terra
OpenMB
Advanced Mogre Framework
MogreSocks
Critter AI
Mogre Add-ons
MOGRE
Mogre MyGUI wrapper
MOGRE Editable Terrain Manager
...more
Search
Find
Advanced
Search Help
Online Users
23 online users