What it says on the tin: a place to discuss proposed new features.
Game_Ender
Ogre Magi
Posts: 1269 Joined: Wed May 25, 2005 2:31 am
Location: Rockville, MD, USA
Quote
0
login to like this post
Post
by Game_Ender » Fri Feb 29, 2008 11:08 pm
Trying to have cross platform config files is complicated by the fact that on Mac and Linux you don't need any special name ending like ".so" or ".dylib" for loading plugins but on Windows you do. It would be nice if Ogre could just add this in internally.
For example, on Windows you need:
While on Mac/Linux you can have:
xavier
OGRE Retired Moderator
Posts: 9481 Joined: Fri Feb 18, 2005 2:03 am
Location: Dublin, CA, US
x 22
Quote
0
login to like this post
Post
by xavier » Fri Feb 29, 2008 11:44 pm
You don't need the .dll.
Kojack
OGRE Moderator
Posts: 7157 Joined: Sun Jan 25, 2004 7:35 am
Location: Brisbane, Australia
x 538
Quote
0
login to like this post
Post
by Kojack » Sat Mar 01, 2008 9:30 am
The plugins.cfg for ogre's demos running in windows:
Code: Select all
# Defines plugins to load
# Define plugin folder
PluginFolder=.
# Define plugins
Plugin=RenderSystem_Direct3D9
Plugin=RenderSystem_GL
Plugin=Plugin_ParticleFX
Plugin=Plugin_BSPSceneManager
Plugin=Plugin_CgProgramManager
Plugin=Plugin_PCZSceneManager.dll
Plugin=Plugin_OctreeZone.dll
Plugin=Plugin_OctreeSceneManager
Only 2 of them have .dll on the end, but they don't need it. The rest work fine.
nullsquared
Old One
Posts: 3245 Joined: Tue Apr 24, 2007 8:23 pm
Location: NY, NY, USA
x 11
Quote
0
login to like this post
Post
by nullsquared » Mon Mar 03, 2008 9:26 pm
Code: Select all
root->loadPlugin("RenderSystem_Direct3D9");
Has been running like that for ... a
while .
Game_Ender
Ogre Magi
Posts: 1269 Joined: Wed May 25, 2005 2:31 am
Location: Rockville, MD, USA
Quote
0
login to like this post
Post
by Game_Ender » Tue Mar 04, 2008 12:10 am
Wow, I feel kind of stupid.
Is that what is in the configuration file for the demos on windows has? This is the linux one:
Code: Select all
# Defines plugins to load
# Define plugin folder
PluginFolder=/home/jlisee/projects/mrbc/trunk/deps/local/lib/OGRE
# Define D3D rendering implementation plugin
Plugin=RenderSystem_GL.so
Plugin=Plugin_ParticleFX.so
Plugin=Plugin_BSPSceneManager.so
Plugin=Plugin_OctreeSceneManager.so
#Plugin=Plugin_CgProgramManager.so
I guess I change my request to: Remove and/or the endings when loading plugins.
xavier
OGRE Retired Moderator
Posts: 9481 Joined: Fri Feb 18, 2005 2:03 am
Location: Dublin, CA, US
x 22
Quote
0
login to like this post
Post
by xavier » Tue Mar 04, 2008 12:21 am
If any of the shipped config files have endings, they should be removed from the config files. The code adds the endings depending on the platform.
Game_Ender
Ogre Magi
Posts: 1269 Joined: Wed May 25, 2005 2:31 am
Location: Rockville, MD, USA
Quote
0
login to like this post
Post
by Game_Ender » Tue Mar 04, 2008 7:37 am
For linux it appears the ".so" is there in the
current version .