OgreAssimpConverter

A place to show off your latest screenshots and for people to comment on them. Only start a new thread here if you have some nice images to show off!
Transporter
Minaton
Posts: 933
Joined: Mon Mar 05, 2012 11:37 am
Location: Germany
x 1

Re: OgreAssimpConverter

Post by Transporter » Tue Jan 29, 2013 11:36 am

  • 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.
0 x

User avatar
jacmoe
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 20570
Joined: Thu Jan 22, 2004 10:13 am
Location: Denmark
Contact:

Re: OgreAssimpConverter

Post by jacmoe » Sun Mar 10, 2013 9:21 pm

I've seen it, great work!

I'll get around to accepting the pull request RSN - thanks. :)
0 x
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.


Transporter
Minaton
Posts: 933
Joined: Mon Mar 05, 2012 11:37 am
Location: Germany
x 1

Re: OgreAssimpConverter

Post by Transporter » Sat Jun 22, 2013 11:12 am

I've done another pull request to update boost handling.
0 x

Pulas
Halfling
Posts: 61
Joined: Sat Oct 29, 2011 9:39 am

Re: OgreAssimpConverter

Post by Pulas » Mon Oct 14, 2013 10:16 am

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.
0 x

Transporter
Minaton
Posts: 933
Joined: Mon Mar 05, 2012 11:37 am
Location: Germany
x 1

Re: OgreAssimpConverter

Post by Transporter » Mon Oct 14, 2013 8:05 pm

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
0 x

Pforce
Kobold
Posts: 27
Joined: Wed Apr 07, 2010 12:45 am

Re: OgreAssimpConverter

Post by Pforce » Thu May 22, 2014 11:08 pm

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.
0 x

gridqian
Gnoblar
Posts: 4
Joined: Tue Mar 10, 2015 7:46 am

Re: OgreAssimpConverter

Post by gridqian » Wed Mar 11, 2015 2:50 am

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
0 x

User avatar
spacegaier
OGRE Team Member
OGRE Team Member
Posts: 4291
Joined: Mon Feb 04, 2008 2:02 pm
Location: Germany
x 2
Contact:

Re: OgreAssimpConverter

Post by spacegaier » Wed Mar 11, 2015 9:31 am

0 x
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...

User avatar
Herb
Orc
Posts: 412
Joined: Thu Jun 04, 2009 3:21 am
Location: Kalamazoo,MI
x 1

Re: OgreAssimpConverter

Post by Herb » Wed Mar 11, 2015 1:20 pm

@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!
0 x

gridqian
Gnoblar
Posts: 4
Joined: Tue Mar 10, 2015 7:46 am

Re: OgreAssimpConverter

Post by gridqian » Fri Mar 13, 2015 7:28 am

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.
0 x

gridqian
Gnoblar
Posts: 4
Joined: Tue Mar 10, 2015 7:46 am

Re: OgreAssimpConverter

Post by gridqian » Fri Mar 13, 2015 9:03 am

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.
"
0 x

gridqian
Gnoblar
Posts: 4
Joined: Tue Mar 10, 2015 7:46 am

Re: OgreAssimpConverter

Post by gridqian » Wed Apr 29, 2015 3:27 am

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
0 x

Transporter
Minaton
Posts: 933
Joined: Mon Mar 05, 2012 11:37 am
Location: Germany
x 1

Re: OgreAssimpConverter

Post by Transporter » Thu Apr 30, 2015 3:56 pm

Scene files are not supported by assimp. You have to create your own scene generator.
0 x

Seranth
Gnoblar
Posts: 15
Joined: Mon Jul 11, 2016 1:50 am

Re: OgreAssimpConverter

Post by Seranth » Sat Oct 08, 2016 4:49 pm

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.
0 x

Post Reply