QtMeshEditor

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!
fernandot
Halfling
Posts: 46
Joined: Thu Jun 07, 2012 7:22 pm
Location: Brazil
x 29

QtMeshEditor

Post by fernandot »

Hi,
I've made this editor to make it easier to change the meshes instead of using the meshmagick and meshupgrader, it is not finished yet, but the main operations are implemented, I hope it helps someone... :)

Description: It is a graphical editor for Ogre's mesh and material.

Features:

  • Translation, Scale, and Rotation of meshes (Easier than OgreMeshMagick)
    Material Editor - It shows in real time the new material on the model
    Change the material of the mesh - It allows the change of the mesh material
    Export mesh in older versions - It allows the export of the mesh in older Ogre versions (Easier than OgreMeshUpgrader)
    Primitives creation, using ogre-procedural - It has an easy tool to create Box, Sphere, and Plane
    Other 3D Format Importer - Can be used to convert any 3D format provided by ASSIMP to Ogre Mesh, Material and Skeleton
    Animation Preview - It shows a list of animations and allows the animation preview.
    Renaming Animation

Edit:
I revived this project, it is now on GitHub (the old Mercurial repo got deleted by BitBucket).
If anyone is interested, you can find it here:
Download
GitHub repository

Current Version:
Image

Last edited by fernandot on Mon Jan 02, 2023 6:06 am, edited 17 times in total.
User avatar
Crystal Hammer
Gnome
Posts: 388
Joined: Sat Jun 23, 2007 5:16 pm
x 99

Re: QtMeshEditor

Post by Crystal Hammer »

Very cool application.
Will you open source it too ?
If not it's IMO useless (unless you want to fix all bugs yourself and release it with every Ogre version).
There is some black blinking overlay after I maximized it. I would really use some shortcuts like Ctrl-O - Open, Ctrl-E - Export, and so. Also some edit to just set scale eg. Alt-S then input 0.1 and after enter it scales uniformly by 0.1.
Btw. Is MeshMagick source somewhere to compile it with 1.8 ?
fernandot
Halfling
Posts: 46
Joined: Thu Jun 07, 2012 7:22 pm
Location: Brazil
x 29

Re: QtMeshEditor

Post by fernandot »

I'm not thinking of open source now, maybe when in the future i'll release the code :)
Nice idea, I'll try to add some shortcuts and correct this bug on the next versions...
The MeshMagick code is here: https://ogreaddons.svn.sourceforge.net/ ... eshmagick/

I add an OBJ importer, now u can use this application to convert OBJ to MESH :)

Last edited by fernandot on Mon Feb 06, 2023 10:51 pm, edited 1 time in total.
gdalex
Gnoblar
Posts: 7
Joined: Wed Dec 15, 2010 5:40 pm

Re: QtMeshEditor

Post by gdalex »

This is a very nice job !
Do you handle meshes with multiple materials ?
Last edited by gdalex on Fri Jan 11, 2013 10:27 am, edited 1 time in total.
User avatar
Brocan
Orc
Posts: 441
Joined: Tue Aug 01, 2006 1:43 am
Location: Spain!!
x 8

Re: QtMeshEditor

Post by Brocan »

Nice!
robel
Halfling
Posts: 97
Joined: Fri Sep 28, 2012 4:12 pm

Re: QtMeshEditor

Post by robel »

nice job
i hope that i will see the code as soon , because i work too with qt+ogre and i want to see ideas
fernandot
Halfling
Posts: 46
Joined: Thu Jun 07, 2012 7:22 pm
Location: Brazil
x 29

Re: QtMeshEditor

Post by fernandot »

ty all for the answers, i'm glad to know that u like it, i'll try to spend more time updating this project...

As you are asking for the code, i've change the repository to allow public reading, i'll be happy if my codes helps someone... there are some workarounds, sorry about that :)
https://xp-dev.com/svn/QtMeshEditor

gdalex: it is handling multiple materials on last version, but only if the mesh already have multiple subentities
fernandot
Halfling
Posts: 46
Joined: Thu Jun 07, 2012 7:22 pm
Location: Brazil
x 29

Re: QtMeshEditor

Post by fernandot »

I've added a 3DS loader and corrected some bugs, there is still a lot of work to do, but i'll continue adding new features to it...
I've wrote a article about 3DS file, it may help who wanna build a 3DS loader...
http://www.hogpog.com.br/index.php/en/a ... ile-format
Transporter
Minaton
Posts: 933
Joined: Mon Mar 05, 2012 11:37 am
Location: Germany
x 110

Re: QtMeshEditor

Post by Transporter »

Have a look at http://www.ogre3d.org/forums/viewtopic.php?f=11&t=65993

Maybe you can also use ASSIMP to import more formats. :wink:
gdalex
Gnoblar
Posts: 7
Joined: Wed Dec 15, 2010 5:40 pm

Re: QtMeshEditor

Post by gdalex »

Do you think you can do a MESH2FBX exporter ? :)
gdalex
Gnoblar
Posts: 7
Joined: Wed Dec 15, 2010 5:40 pm

Re: QtMeshEditor

Post by gdalex »

Or at least mesh to OBJ, please ?
fernandot
Halfling
Posts: 46
Joined: Thu Jun 07, 2012 7:22 pm
Location: Brazil
x 29

Re: QtMeshEditor

Post by fernandot »

Transporter, i didn't know that lib, looks like it will save me a lot of time, ty :)

gdalex, i was busy with another projects, so i didn't implemented this yet, but i'll try to implement the OBJ exporter first, it is more simple :)
Transporter
Minaton
Posts: 933
Joined: Mon Mar 05, 2012 11:37 am
Location: Germany
x 110

Re: QtMeshEditor

Post by Transporter »

@fernandot
You are welcome! Have a look at https://bitbucket.org/transporter/ogreassimp. I patched ogreassimp from jacmoe to get a usable converter for different formats to ogre. I tested a few collada files, and most of them are working fine. I just have to add a few more features like LOD and shader materials.
fernandot
Halfling
Posts: 46
Joined: Thu Jun 07, 2012 7:22 pm
Location: Brazil
x 29

Re: QtMeshEditor

Post by fernandot »

Now i'm using bitbucket to share the codes...
Repository: https://bitbucket.org/fernandot/qtmesheditor

Now i'm building it using CMake, I think it will be easier to build it now :)

I'm still making some changes on QtMeshEditor before releasing the new version...

Transporter,
Thanks for the hint, i've implemented OgreAssimp into QtMeshEditor and it works fine, I even made some changes on OgreAssimp that jacmoe merged to it :)
fernandot
Halfling
Posts: 46
Joined: Thu Jun 07, 2012 7:22 pm
Location: Brazil
x 29

Re: QtMeshEditor

Post by fernandot »

I've just released the new version, it can be downloaded from here: http://www.hogpog.com.br/index.php/en/a ... mesheditor

Thank you all for the hints, i'm not having much time to spend on this project, but i'll try to keep improving it :)

Image
fernandot
Halfling
Posts: 46
Joined: Thu Jun 07, 2012 7:22 pm
Location: Brazil
x 29

Re: QtMeshEditor

Post by fernandot »

I tryied to use Qt5 but i didn't found all runtime dependencies so it was crashing... sorry for those who had problem trying to run it :oops:

Now i've changed it back to Qt4 and it should work again :)

Now i'll try to implement some animation tools...
Shando
Gnoblar
Posts: 4
Joined: Fri Sep 20, 2013 12:43 am

Re: QtMeshEditor

Post by Shando »

Hi fernandot,

I have just installed QtMeshEditor, and unfortunately cannot run it as I get a System Error:

"The program can't start because libwinpthread-1.dll is missing from your computer. Try reinstalling the program to fix this problem."

I found a copy of libwinpthread-1.dll and copied it into the QtMeshEditor folder. Now I get another error:

Entry Point Not Found
The procedure entry point InterlockedCompareExchange@12 could not be located in the dynamic link library H:\QtMeshEditor\QtGui4.dll"

Any help would be greatly appreciated as it looks like a very useful tool :D

Regards

Shando
fernandot
Halfling
Posts: 46
Joined: Thu Jun 07, 2012 7:22 pm
Location: Brazil
x 29

Re: QtMeshEditor

Post by fernandot »

Hello Shando,

I've forgot to add some dlls, now it should be ok :)

I've fixed some other bugs and now i'm trying to add some new features, hope it helps you :)

Best regards

Fernando
Shando
Gnoblar
Posts: 4
Joined: Fri Sep 20, 2013 12:43 am

Re: QtMeshEditor

Post by Shando »

Hi fernandot,

All good now :)

Thanks for the quick reply.

I'll give it a test and let you know if I come across any bugs.

Regards

Shando
fernandot
Halfling
Posts: 46
Joined: Thu Jun 07, 2012 7:22 pm
Location: Brazil
x 29

Re: QtMeshEditor

Post by fernandot »

Hello guys,

I've started implementing the animation tools, first I've implemented only an animation preview, now i'll try to implement some controls over the animations.

The transformations (scale, rotate and translation) made onto the objects are not changing the animation keys, so when an animated object is transformed it will look strange when the animation is applied. I'm currently working to fix this.

Download

Preview of the current version:
Image

Now i've got some extra time to work on this project, so i'll try to improve it as much as i can... :)

Best Regards.

Fernando
fernandot
Halfling
Posts: 46
Joined: Thu Jun 07, 2012 7:22 pm
Location: Brazil
x 29

Re: QtMeshEditor

Post by fernandot »

I've implemented a tool to rename the animations.

Download

Image

PS: still didn't fixed the transformations to animation keys...

Best Regards.

Fernando
fernandot
Halfling
Posts: 46
Joined: Thu Jun 07, 2012 7:22 pm
Location: Brazil
x 29

Re: QtMeshEditor

Post by fernandot »

I've updated it to Ogre 1.9.0 and fixed most of the bugs on bone animations when doing transformations, just didn't fixed the bone orientation when the mesh is scaled, if it scales out of the initial ratio it will get strange results...

Now i made a tutorial of how to build QtMeshEditor and how to configure the entire developing ambience to build it :)

Tutorial

And i've included an option to show the bones, that i got from here: Skeleton Debuger, thanks NickLH :)

Download

Image

Best Regards.

Fernando
fernandot
Halfling
Posts: 46
Joined: Thu Jun 07, 2012 7:22 pm
Location: Brazil
x 29

Re: QtMeshEditor

Post by fernandot »

I've made some little improvements, the most important is importing skeleton animation from non mesh files and now it imports .fbx files, there was some bug fixes too... like when u import a non mesh file it was importing only the first one, and there was some crashes when importing these files, it may have more bugs, but i'm trying my best during the little time i have to dedicate to this project.

The HogPog site is down 'cause of some issues with the host, while i'm trying to solve it, u may download from this link:

Download

Here we have an example of a .x animated file imported and runing the animation.

Image

Best Regards.

Fernando
xelon
Halfling
Posts: 91
Joined: Mon Jan 07, 2013 4:24 am
x 13

Re: QtMeshEditor

Post by xelon »

Im having a problem using it. It runs good, but all i see is black scene flickering real quick. Resizing doesn't solve the problem.
Ludoria now on Kickstarter! Ludoria is now on KickStarter! https://www.kickstarter.com/projects/17 ... g-rpg-game
Ludoria's official website http://www.Ludoria.com
On Facebook https://www.facebook.com/pages/Ludoria/644733108967479
On Twitter https://twitter.com/LudoriaGame
akira215
Gnoblar
Posts: 8
Joined: Mon Jul 21, 2014 12:18 pm

Re: QtMeshEditor

Post by akira215 »

Hi fernandot

Very nice job ! thanks for sharing.

You can add axis coordinate system to help the user, I share a little code for that, very easy to use :

http://ogre3d.org/forums/viewtopic.php?f=11&t=76016

Regards