- Update support for boost 1.48 to 1.53
- Optional ZLIB switch
- Update assimp include dir detection (config.h is a common name)
- Fix to compile ogreassimp with ogre 1.9.0
- Bugfix in material creation (emissive)
- Add LOD
- Add shading modes
- Fix signed/unsigned warnings
- Prepare for shader programs
- Update website url
OgreAssimpConverter
-
- Minaton
- Posts: 933
- Joined: Mon Mar 05, 2012 11:37 am
- Location: Germany
- x 110
Re: OgreAssimpConverter
- jacmoe
- OGRE Retired Moderator
- Posts: 20570
- Joined: Thu Jan 22, 2004 10:13 am
- Location: Denmark
- x 179
- Contact:
Re: OgreAssimpConverter
I've seen it, great work!
I'll get around to accepting the pull request RSN - thanks.
I'll get around to accepting the pull request RSN - thanks.
/* 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.
-
- Minaton
- Posts: 933
- Joined: Mon Mar 05, 2012 11:37 am
- Location: Germany
- x 110
-
- Minaton
- Posts: 933
- Joined: Mon Mar 05, 2012 11:37 am
- Location: Germany
- x 110
Re: OgreAssimpConverter
I've done another pull request to update boost handling.
-
- Halfling
- Posts: 61
- Joined: Sat Oct 29, 2011 9:39 am
Re: OgreAssimpConverter
Does OgreAssimpConverter support converting ogre mesh to common 3d file? for example to STL format file.
If not, is there any existing library to do this?
Thanks in advance.
If not, is there any existing library to do this?
Thanks in advance.
-
- Minaton
- Posts: 933
- Joined: Mon Mar 05, 2012 11:37 am
- Location: Germany
- x 110
Re: OgreAssimpConverter
OgreAssimpConverter coverts varous file formats to ogre meshs. Of course you can create a program to read ogre meshs and export them to a file format at the export list: http://assimp.sourceforge.net/main_features_export.html
-
- Kobold
- Posts: 27
- Joined: Wed Apr 07, 2010 12:45 am
Re: OgreAssimpConverter
This is not directly related to OgreAssimpConverter, but thought people might be interested as you guys are using Assimp.
I recently implemented Ogre binary importer and rewrote the XML importer to Assimp. My pull request was accepted so the quite soon to be released Assimp 3.1 supports reading Ogre binary and XML for meshes, skeletons and materials (text ofc, this I did not implement but cleaned up the code and some bugs from it too).
Relevant pull request: Initial Ogre related code cleanup and fixes https://github.com/assimp/assimp/pull/266 Actualy binary importer implementation and XML importer rewrite https://github.com/assimp/assimp/pull/280
As said this is not relevant to your project as you are doing the exact reverse, Assimp >> Ogre. While what I did was Ogre >> Assimp. You could now do Ogre >> Assimp >> Ogre, even if it makes no sense But hopefully the binary support will be useful for other 3D engines/projects that want to support Ogre stuff.
I recently implemented Ogre binary importer and rewrote the XML importer to Assimp. My pull request was accepted so the quite soon to be released Assimp 3.1 supports reading Ogre binary and XML for meshes, skeletons and materials (text ofc, this I did not implement but cleaned up the code and some bugs from it too).
Relevant pull request: Initial Ogre related code cleanup and fixes https://github.com/assimp/assimp/pull/266 Actualy binary importer implementation and XML importer rewrite https://github.com/assimp/assimp/pull/280
As said this is not relevant to your project as you are doing the exact reverse, Assimp >> Ogre. While what I did was Ogre >> Assimp. You could now do Ogre >> Assimp >> Ogre, even if it makes no sense But hopefully the binary support will be useful for other 3D engines/projects that want to support Ogre stuff.
-
- Gnoblar
- Posts: 4
- Joined: Tue Mar 10, 2015 7:46 am
Re: OgreAssimpConverter
Hi Sirs,
I am a new guy for the ogre. I want to change some other 3d format model to ogre. So I come to OgreAssimpConverter, but I found I can't find it in bitbucket by the link: https://bitbucket.org/jacmoe/ogreassimp
The project is dead? Or is moved to other website?
Thanks!
Grid
I am a new guy for the ogre. I want to change some other 3d format model to ogre. So I come to OgreAssimpConverter, but I found I can't find it in bitbucket by the link: https://bitbucket.org/jacmoe/ogreassimp
The project is dead? Or is moved to other website?
Thanks!
Grid
- spacegaier
- OGRE Team Member
- Posts: 4304
- Joined: Mon Feb 04, 2008 2:02 pm
- Location: Germany
- x 135
- Contact:
Re: OgreAssimpConverter
It was moved here: https://bitbucket.org/ogreaddons/ogreassimp
Ogre Admin [Admin, Dev, PR, Finance, Wiki, etc.] | BasicOgreFramework | AdvancedOgreFramework
Don't know what to do in your spare time? Help the Ogre wiki grow! Or squash a bug...
Don't know what to do in your spare time? Help the Ogre wiki grow! Or squash a bug...
- Herb
- Orc
- Posts: 412
- Joined: Thu Jun 04, 2009 3:21 am
- Location: Kalamazoo,MI
- x 38
Re: OgreAssimpConverter
@Pforce - Thanks for posting that. I have a program using Ogre where I want to export a procedurally made model in the editor to multiple formats from the internal Ogre format. This sounds exactly what I need. I'll check it out!
-
- Gnoblar
- Posts: 4
- Joined: Tue Mar 10, 2015 7:46 am
Re: OgreAssimpConverter
Thank you very much!spacegaier wrote:It was moved here: https://bitbucket.org/ogreaddons/ogreassimp
I came to the codes of ogreaddons/ogreassimp, but I found it is 'C' code.
OgreAssimpConverter is a command line, right?
It means I need to make or build these codes, then get a excutable command line tool?
Sorry for the stupid question because I can't write 'C' code.
-
- Gnoblar
- Posts: 4
- Joined: Tue Mar 10, 2015 7:46 am
Re: OgreAssimpConverter
And I google the cmake, and install cmake on my mac laptop,spacegaier wrote:It was moved here: https://bitbucket.org/ogreaddons/ogreassimp
download the source codes, run
cmake .
Then I met the error as bellow, It means I need to download ogre codes at first?
Only need the ogre source codes?
Thanks a lot!
"By not providing "FindOGRE.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "OGRE", but
CMake did not find one.
Could not find a package configuration file provided by "OGRE" with any of
the following names:
OGREConfig.cmake
ogre-config.cmake
Add the installation prefix of "OGRE" to CMAKE_PREFIX_PATH or set
"OGRE_DIR" to a directory containing one of the above files. If "OGRE"
provides a separate development package or SDK, be sure it has been
installed.
"
-
- Gnoblar
- Posts: 4
- Joined: Tue Mar 10, 2015 7:46 am
Re: OgreAssimpConverter
Hi all,
I use some tools convert a JT file to a DXF, then use ogre assimp converter to convert the DXF to mesh and materail files. But I found only there are these two files, I can't display the 3D model correctly. It needs the scene file. But I don't know how to get a right scene file from a JT or DXF. The ogre assimp converter only can be used to convert some 3d model to mesh and material files. How about the scene file? What method I can get a right scene for the 3D model?
Thanks all!
Grid
I use some tools convert a JT file to a DXF, then use ogre assimp converter to convert the DXF to mesh and materail files. But I found only there are these two files, I can't display the 3D model correctly. It needs the scene file. But I don't know how to get a right scene file from a JT or DXF. The ogre assimp converter only can be used to convert some 3d model to mesh and material files. How about the scene file? What method I can get a right scene for the 3D model?
Thanks all!
Grid
-
- Minaton
- Posts: 933
- Joined: Mon Mar 05, 2012 11:37 am
- Location: Germany
- x 110
Re: OgreAssimpConverter
Scene files are not supported by assimp. You have to create your own scene generator.
-
- Gnoblar
- Posts: 15
- Joined: Mon Jul 11, 2016 1:50 am
- x 1
Re: OgreAssimpConverter
I realize this is a bit late, but what you need to do is grab the ogre3d source code first, compile it, then tell this project during compilation where it's at.gridqian wrote:And I google the cmake, and install cmake on my mac laptop,spacegaier wrote:It was moved here: https://bitbucket.org/ogreaddons/ogreassimp
download the source codes, run
cmake .
Then I met the error as bellow, It means I need to download ogre codes at first?
Only need the ogre source codes?
Thanks a lot!
"By not providing "FindOGRE.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "OGRE", but
CMake did not find one.
Could not find a package configuration file provided by "OGRE" with any of
the following names:
OGREConfig.cmake
ogre-config.cmake
Add the installation prefix of "OGRE" to CMAKE_PREFIX_PATH or set
"OGRE_DIR" to a directory containing one of the above files. If "OGRE"
provides a separate development package or SDK, be sure it has been
installed.
"
For example, your command could look like this:
mkdir build && cd build <- always build in another directory than the source directory
cmake -DOGRE_HOME=/path/to/ogre .. <- the -D lets you pass a variable to cmake, and OGRE_HOME is a variable found in your FindOGRE.cmake file. If you don't have one you can google it and find it, there's also a FindOGRE.cmake file inside the Ogre3D sources.
where /path/to/ogre is the directory that contains the lib and include directories where Ogre is installed.