OgreMax Exporter 1.5 - With Material Editor/Viewer
- nedelman
- Gnome
- Posts: 315
- Joined: Wed Feb 21, 2007 6:03 am
- Location: San Francisco, California
- x 6
- Contact:
In the OgreMax\OgreMaxViewer\Code directory. Check the viewer documentation for which files you need if you want to integrate the scene loading code into your own project.
http://www.ogremax.com - Ogre3D Scene Exporter for 3DS Max, Maya, and Softimage
http://www.linkedin.com/in/dereknedelman - My LinkedIn Profile
http://www.linkedin.com/in/dereknedelman - My LinkedIn Profile
- nedelman
- Gnome
- Posts: 315
- Joined: Wed Feb 21, 2007 6:03 am
- Location: San Francisco, California
- x 6
- Contact:
No.
http://www.ogremax.com - Ogre3D Scene Exporter for 3DS Max, Maya, and Softimage
http://www.linkedin.com/in/dereknedelman - My LinkedIn Profile
http://www.linkedin.com/in/dereknedelman - My LinkedIn Profile
- manowar
- Orc
- Posts: 419
- Joined: Thu Apr 07, 2005 2:11 pm
- Location: UK
- Contact:
- yuriythebest
- Orc
- Posts: 468
- Joined: Sun Jul 10, 2005 11:44 am
- Location: Kiev, Ukraine
- Contact:
- nedelman
- Gnome
- Posts: 315
- Joined: Wed Feb 21, 2007 6:03 am
- Location: San Francisco, California
- x 6
- Contact:
@manowar: It's not a planned feature but I may add it at some point.
@yuriy: I'll assume that you're wondering how to do the blend since the other settings are self explanatory. "scene_blend alpha_blend" is a shortcut for "scene_blend src_alpha one_minus_src_alpha", which can be configured in an OgreMax Pass as two separate settings: "Source Blend" and "Dest blend".
Also, to anyone else who may read this: please stop digging up this old thread. It was originally an announcement for the 1.5 OgreMax release which is now over 4 months old and very outdated.
For any questions or problems you should use the forums at http://www.ogremax.com. It's my site so I actually monitor it, which means you'll get a quick response. If you post anywhere else, you're taking your chances that I'll see your post, which may or may not happen.
@yuriy: I'll assume that you're wondering how to do the blend since the other settings are self explanatory. "scene_blend alpha_blend" is a shortcut for "scene_blend src_alpha one_minus_src_alpha", which can be configured in an OgreMax Pass as two separate settings: "Source Blend" and "Dest blend".
Also, to anyone else who may read this: please stop digging up this old thread. It was originally an announcement for the 1.5 OgreMax release which is now over 4 months old and very outdated.
For any questions or problems you should use the forums at http://www.ogremax.com. It's my site so I actually monitor it, which means you'll get a quick response. If you post anywhere else, you're taking your chances that I'll see your post, which may or may not happen.
http://www.ogremax.com - Ogre3D Scene Exporter for 3DS Max, Maya, and Softimage
http://www.linkedin.com/in/dereknedelman - My LinkedIn Profile
http://www.linkedin.com/in/dereknedelman - My LinkedIn Profile
- yuriythebest
- Orc
- Posts: 468
- Joined: Sun Jul 10, 2005 11:44 am
- Location: Kiev, Ukraine
- Contact:
- nedelman
- Gnome
- Posts: 315
- Joined: Wed Feb 21, 2007 6:03 am
- Location: San Francisco, California
- x 6
- Contact:
If you want to skip the environment when loading a scene, just pass in the SKIP_ENVIRONMENT flag when calling OgreMaxScene::Load()
http://www.ogremax.com - Ogre3D Scene Exporter for 3DS Max, Maya, and Softimage
http://www.linkedin.com/in/dereknedelman - My LinkedIn Profile
http://www.linkedin.com/in/dereknedelman - My LinkedIn Profile
- madmarx
- OGRE Expert User
- Posts: 1671
- Joined: Mon Jan 21, 2008 10:26 pm
- x 50
Re: OgreMax Exporter 1.5 - With Material Editor/Viewer
Hi Derek,
I can't see you anymore on ogremax.com.
(No more posts, no more releases for one month whereas normally you answer in a day)
Are you fine?
Happy Christmas,
Pierre
I can't see you anymore on ogremax.com.
(No more posts, no more releases for one month whereas normally you answer in a day)
Are you fine?
Happy Christmas,
Pierre
Tutorials + Ogre searchable API + more for Ogre1.7 : http://sourceforge.net/projects/so3dtools/
Corresponding thread : http://www.ogre3d.org/forums/viewtopic. ... 93&start=0
Corresponding thread : http://www.ogre3d.org/forums/viewtopic. ... 93&start=0
- jacmoe
- OGRE Retired Moderator
- Posts: 20570
- Joined: Thu Jan 22, 2004 10:13 am
- Location: Denmark
- x 179
- Contact:
Re: OgreMax Exporter 1.5 - With Material Editor/Viewer
Did it occur to you that he's on holiday?
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
- jacmoe
- OGRE Retired Moderator
- Posts: 20570
- Joined: Thu Jan 22, 2004 10:13 am
- Location: Denmark
- x 179
- Contact:
Re: OgreMax Exporter 1.5 - With Material Editor/Viewer
I just made this *sticky*.
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
-
- Gnoblar
- Posts: 8
- Joined: Tue Jul 08, 2008 5:47 pm
Re: OgreMax Exporter 1.5 - With Material Editor/Viewer
Well, I just have such a newbie question, since I'm not familiar with the content creator. Well, I need an ogre .mesh file, but when I export from 3dmax, I have so many .mesh files, each for a geometry. There's also a .scene and .material too, and I will have a look at how to use them later. I just want to ask some questions: When I load the .scene file using OgreMaxScene.hpp, will I use the OgreMaxScene the same as the Ogre's SceneNode? And if I want to export to a single mesh just like the Ogre default model, how can I do that?
- madmarx
- OGRE Expert User
- Posts: 1671
- Joined: Mon Jan 21, 2008 10:26 pm
- x 50
Re: OgreMax Exporter 1.5 - With Material Editor/Viewer
You merge the mesh together : either with meshmagick (after exporting), or with a custom maxscript(before exporting).
Note that "one part -complex meshes" can have easily bad edgelist created, and that means if you use stencil shadow errors in the shadow.
>>>>>When I load the .scene file using OgreMaxScene.hpp, will I use the OgreMaxScene the same as the Ogre's SceneNode?
Yes, that is the idea. Indeed, I just attach the created scene node to the ogre::scenenode that I want to display the content of the .scene.
Note that "one part -complex meshes" can have easily bad edgelist created, and that means if you use stencil shadow errors in the shadow.
>>>>>When I load the .scene file using OgreMaxScene.hpp, will I use the OgreMaxScene the same as the Ogre's SceneNode?
Yes, that is the idea. Indeed, I just attach the created scene node to the ogre::scenenode that I want to display the content of the .scene.
Tutorials + Ogre searchable API + more for Ogre1.7 : http://sourceforge.net/projects/so3dtools/
Corresponding thread : http://www.ogre3d.org/forums/viewtopic. ... 93&start=0
Corresponding thread : http://www.ogre3d.org/forums/viewtopic. ... 93&start=0
-
- Gnoblar
- Posts: 8
- Joined: Tue Jul 08, 2008 5:47 pm
Re: OgreMax Exporter 1.5 - With Material Editor/Viewer
Thank you, I will try meshmagick later. Currently I'm trying to load the scene file, as you said.
But I got the following errorYes, that is the idea. Indeed, I just attach the created scene node to the ogre::scenenode that I want to display the content of the .scene.
Hey, don't look at me like that, I'm just new to Ogre and OgreMax T__TError 1 error C2664: 'Ogre::SceneNode::attachObject' : cannot convert parameter 1 from 'OgreMax::OgreMaxScene *' to 'Ogre::MovableObject *'
- madmarx
- OGRE Expert User
- Posts: 1671
- Joined: Mon Jan 21, 2008 10:26 pm
- x 50
Re: OgreMax Exporter 1.5 - With Material Editor/Viewer
This made my day .Hey, don't look at me like that, I'm just new to Ogre and OgreMax T__T
Ok you need to call 2 function when loading.
Ogremax_Scene = new OgreMax::OgreMaxScene();
Ogremax_Scene->Load("myfirstscene.scene",mWindow);
But if you look at the doc, you see that you can specify a SceneNode as a parameter.
So
0/(add the resource into the resourcemanager if needed)
1/ create your SceneNode
2/ load with the scenenode as a param.
Next time, check the forums (ogre or ogremax forums) before asking.
Code: Select all
/**
* Loads a scene from the specified file.
* @param fileNameOrContent [in] - The name of the file to load. This file name can contain a directory path
* or be a base name that exists within Ogre's resource manager. If the file contains a directory path,
* the directory will be added to Ogre's resource manager as a resource location and the directory will be
* set as a base resource location. If the file doesn't contain a directory path, and assuming
* If the FILE_NAME_CONTAINS_CONTENT flag is specified as a load option, this parameter is treated
* as though it is the scene file itself. That is, the string contains the scene file XML.
* SetBaseResourceLocation() hasn't already been called elsewhere, no resource location configuration
* will occur during the load
* @param renderWindow [in] - The render window in use
* @param loadOptions [in] - Options used to specify the loading behavior. Optional.
* @param sceneManager [in] - The scene manager into which the scene is loaded. Optional. If not specified,
* the scene manager specified in the scene file will be used to create a new scene manager
* @param rootNode [in] - Root node under which all loaded scene nodes will be created. If specified,
* this should be a scene node in the specified scene manager
* @param callback [in] - Pointer to a callback object. Optional.
* @param defaultResourceGroupName [in] - The resource group name that is used by default when
* creating new resources. Optional.
*/
void Load
(
const Ogre::String& fileNameOrContent,
Ogre::RenderWindow* renderWindow,
LoadOptions loadOptions = NO_OPTIONS,
Ogre::SceneManager* sceneManager = 0,
Ogre::SceneNode* rootNode = 0,
OgreMaxSceneCallback* callback = 0,
const Ogre::String& defaultResourceGroupName = Ogre::ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME
);
Tutorials + Ogre searchable API + more for Ogre1.7 : http://sourceforge.net/projects/so3dtools/
Corresponding thread : http://www.ogre3d.org/forums/viewtopic. ... 93&start=0
Corresponding thread : http://www.ogre3d.org/forums/viewtopic. ... 93&start=0
-
- Gnoblar
- Posts: 8
- Joined: Tue Jul 08, 2008 5:47 pm
Re: OgreMax Exporter 1.5 - With Material Editor/Viewer
Thank you so much, that works!
Actually I've come to ogremax forum but it seems to be too messy for me to find the information. Here comes your help!
Is it darker than it's in the 3dmax?
Actually I've come to ogremax forum but it seems to be too messy for me to find the information. Here comes your help!
Is it darker than it's in the 3dmax?
-
- Gnoblar
- Posts: 1
- Joined: Fri Apr 03, 2009 7:02 pm
Re: compared to ofusion?
yeah your that was i actually using right now....mklann wrote:first of all: great work!
Let me try to understand that: short of the real-time viewport ogremax offers more or less the same as oFusion, and ogremax is open source, so everybody interested (and capable) could contribute to the development?
Have you ever considered adding a real-time viewport?
I think an open-source community-developed 3ds-exporter is great for the ogre community - so I'd love to see this grow.
Best,
Markus
_________________
My ka-blogs site | urban net zone | doctor is out | my little blogs
- evilshadow
- Kobold
- Posts: 26
- Joined: Sat Dec 20, 2008 4:29 pm
- Location: Asia
Re: OgreMax Exporter 1.5 - With Material Editor/Viewer
Can't find the "OgreMaxViewer.sln" file:
Hi all, I wanted to compile the OgreMaxViewer project, but I couldn't find the "OgreMaxViewer.sln" file in the downloaded source from http://www.ogremax.com/OgreMax-1.6.23.rar...
But I could get the "OgreMaxWinViewer.sln" in the \OgreMax1.6.23\OgreMaxWinViewer\Projects\VisualStudio folder...
So, where can i get the "OgreMaxViewer.sln" file to build the project? Thanks so much...^_^
Hi all, I wanted to compile the OgreMaxViewer project, but I couldn't find the "OgreMaxViewer.sln" file in the downloaded source from http://www.ogremax.com/OgreMax-1.6.23.rar...
But I could get the "OgreMaxWinViewer.sln" in the \OgreMax1.6.23\OgreMaxWinViewer\Projects\VisualStudio folder...
So, where can i get the "OgreMaxViewer.sln" file to build the project? Thanks so much...^_^
The dark side of the moon...
- Evak
- Orc Shaman
- Posts: 707
- Joined: Sun Apr 02, 2006 7:51 pm
- Location: Sacramento, CA
- x 1
- Contact:
Re: OgreMax Exporter 1.5 - With Material Editor/Viewer
Ogremax is for the most part comparable to ofusion CE and in some ways better, both do some things differently and Ofusion Pro has a few more features. One being that it converts .fx shader files loaded into 3dsmax DX material into ogre shader materials with the click of a button as well as realtime shaderFX shader conversion in the Ogre viewport. The OSM scene format is more extensive and comes in Binary and XML formats, and also has a serializer for saving OSM scene files.
I think Ogremax is an excellent choice if your on a budget. Ofusion has quite a high price but is generally worth it. Ogremax really can't be beat being free and complete with source, there isn't a competing exporter available for non commercial use.
I think Ogremax is an excellent choice if your on a budget. Ofusion has quite a high price but is generally worth it. Ogremax really can't be beat being free and complete with source, there isn't a competing exporter available for non commercial use.
-
- Gnoblar
- Posts: 1
- Joined: Tue Jun 02, 2009 5:23 pm
Re: OgreMax Exporter 1.5 - With Material Editor/Viewer
I am unable to access http://www.ogremax.com for several days now. Is anyone else able to access the website and download the OgreMax Exporter solution?
- jacmoe
- OGRE Retired Moderator
- Posts: 20570
- Joined: Thu Jan 22, 2004 10:13 am
- Location: Denmark
- x 179
- Contact:
Re: OgreMax Exporter 1.5 - With Material Editor/Viewer
Site is up for me.
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
- nedelman
- Gnome
- Posts: 315
- Joined: Wed Feb 21, 2007 6:03 am
- Location: San Francisco, California
- x 6
- Contact:
Re: OgreMax Exporter 1.5 - With Material Editor/Viewer
Yes, the site is most definitely up.
Also, can the admins please lock this thread or at least un-sticky it? It's a little weird seeing any kind of discussion under OgreMax 1.5. That release is ancient history - it came out nearly 2 years ago.
Also, can the admins please lock this thread or at least un-sticky it? It's a little weird seeing any kind of discussion under OgreMax 1.5. That release is ancient history - it came out nearly 2 years ago.
http://www.ogremax.com - Ogre3D Scene Exporter for 3DS Max, Maya, and Softimage
http://www.linkedin.com/in/dereknedelman - My LinkedIn Profile
http://www.linkedin.com/in/dereknedelman - My LinkedIn Profile