Page 4 of 4

Re: OgreAssimpConverter

Posted: Tue Jan 29, 2013 11:36 am
by Transporter
  • 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
EDIT: I'll patch my fork https://bitbucket.org/transporter/ogreassimp and create pull requests.

Re: OgreAssimpConverter

Posted: Sun Mar 10, 2013 9:21 pm
by jacmoe
I've seen it, great work!

I'll get around to accepting the pull request RSN - thanks. :)

Re: OgreAssimpConverter

Posted: Sun Mar 10, 2013 10:04 pm
by Transporter
You are welcome! :)

Re: OgreAssimpConverter

Posted: Sat Jun 22, 2013 11:12 am
by Transporter
I've done another pull request to update boost handling.

Re: OgreAssimpConverter

Posted: Mon Oct 14, 2013 10:16 am
by Pulas
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.

Re: OgreAssimpConverter

Posted: Mon Oct 14, 2013 8:05 pm
by Transporter
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

Re: OgreAssimpConverter

Posted: Thu May 22, 2014 11:08 pm
by Pforce
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.

Re: OgreAssimpConverter

Posted: Wed Mar 11, 2015 2:50 am
by gridqian
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

Re: OgreAssimpConverter

Posted: Wed Mar 11, 2015 9:31 am
by spacegaier

Re: OgreAssimpConverter

Posted: Wed Mar 11, 2015 1:20 pm
by Herb
@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!

Re: OgreAssimpConverter

Posted: Fri Mar 13, 2015 7:28 am
by gridqian
spacegaier wrote:It was moved here: https://bitbucket.org/ogreaddons/ogreassimp
Thank you very much!
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.

Re: OgreAssimpConverter

Posted: Fri Mar 13, 2015 9:03 am
by gridqian
spacegaier wrote:It was moved here: https://bitbucket.org/ogreaddons/ogreassimp
And I google the cmake, and install cmake on my mac laptop,
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.
"

Re: OgreAssimpConverter

Posted: Wed Apr 29, 2015 3:27 am
by gridqian
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

Re: OgreAssimpConverter

Posted: Thu Apr 30, 2015 3:56 pm
by Transporter
Scene files are not supported by assimp. You have to create your own scene generator.

Re: OgreAssimpConverter

Posted: Sat Oct 08, 2016 4:49 pm
by Seranth
gridqian wrote:
spacegaier wrote:It was moved here: https://bitbucket.org/ogreaddons/ogreassimp
And I google the cmake, and install cmake on my mac laptop,
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.
"
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.

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.