Page 4 of 11

Re: Ogre Meshy 0.8 - (Src released! formerly wxOgreMeshViewe

Posted: Sat Jan 08, 2011 3:35 am
by dark_sylinc
Image

Uploaded with ImageShack.us

That's Ogre Meshy on Debian Lenny 64-bit, KDE 3.5, Compiz Fusion enabled.
Somehow the Show Axis and show bones functionality is missing. I suspect material not loading correctly or the mesh.

Edit: Running natively on Linux

Edit 2: Mmmm Interesting, it seems the "invisible" axis and bones problem is caused due to the number (for example) "0.8" being converted to "0" while "0,8" is considered correctly...
Edit 3: It's a locale problem

Re: Ogre Meshy 0.8 - (Src released! formerly wxOgreMeshViewe

Posted: Sat Jan 08, 2011 4:38 am
by dark_sylinc
For the impatient, you may want to try your luck with a preview binary of Ogre Meshy

It will work on x64 OS
Note that it's not uncommon for a linux binary executable to fail execution, so don't complain if it doesn't work for you, wait for the source code to get released so you can compile it for you libs.

When running the app for the 2nd time, you'll note the render window doesn't get created :/
Just delete ogre.cfg and select the GL render system every time. Or type "./OgreMeshy -setup" which forces choosing rendersystem. I don't know yet why this happens.

By the way, I just realized the Sample Browser must have the same locale problem (comma vs radix point as separator for floating point) in Linux. I guess US users don't notice it because their locale is fine.

Code: Select all

setlocale( LC_NUMERIC, "C" );
Fixed it

Re: Ogre Meshy 0.8 - (Src released! formerly wxOgreMeshViewe

Posted: Sat Jan 08, 2011 5:35 am
by jacmoe
Awesome. You have my utmost respect, Sir. :)

Re: Ogre Meshy 0.8 - (Src released! formerly wxOgreMeshViewe

Posted: Sat Jan 08, 2011 6:22 pm
by dark_sylinc
I've reuploaded the linux binary version. Download it again. It fixes the blank window problem.

I'll be uploading the full source code in a few minutes or hours

Re: Ogre Meshy 0.9 - (Now supports Linux! Src released!)

Posted: Sat Jan 08, 2011 8:10 pm
by dark_sylinc
Ogre Meshy 0.9 released!

What's new?
  • Default GUI layouts are saved into file: GUI_Layout.cfg. This allows user interface's customization :)
  • Added Linux support
Enjoy the release

Re: Ogre Meshy 0.9 - (Now supports Linux! Src released!)

Posted: Sat Jan 08, 2011 10:05 pm
by dermont
I encountered an issue on Linux with CMake(2.8.2 Ubuntu) / FindGTK2 and gdk-pixbuf building my own wxWidgets and gtkmm projects. Since your build encountered the same error I'll post here in case you are interested.

Code: Select all

/usr/include/gtk-2.0/gdk/gdkpixbuf.h:37: fatal error: gdk-pixbuf/gdk-pixbuf.h: No such file or directory
The problem is outlined in the following link.

https://bugzilla.redhat.com/show_bug.cgi?id=639058

A workaround, for me at least, was be to update my CMake build files with something like:

Code: Select all

pkg_check_modules(PIXBUF gdk-pixbuf-2.0)
INCLUDE_DIRECTORIES(
	${PIXBUF_INCLUDE_DIRS} 
)

Re: Ogre Meshy 0.9 - (Now supports Linux! Src released!)

Posted: Sat Jan 08, 2011 11:08 pm
by dark_sylinc
Thank you!!!

I've added your snippet to my CMakeLists.txt; I'll try it later when I boot into Linux and upload the patched version.
In the meanwhile I hope linux users can see your fix.

Thanks again
Matias

Re: Ogre Meshy 0.9 - (Now supports Linux! Src released!)

Posted: Mon Jan 31, 2011 3:04 pm
by Netich
hey dark_sylinc, here it goes, a big HUG from a happy linux user...

... mm, no hug smiley. Anyway: :hug:

Re: Ogre Meshy 0.9 - (Now supports Linux! Src released!)

Posted: Mon Jan 31, 2011 3:48 pm
by Netich
Ive tried the binaries, and it doesnt work for me (Ubuntu 10.10, 64b).
15:46:10: OGRE EXCEPTION(7:InternalErrorException): Could not load dynamic library Plugins/Plugin_OctreeSceneManager. System Error: Plugins/Plugin_OctreeSceneManager.so: undefined symbol: _ZNK4Ogre6Camera7getNameEv in DynLib::load at /home/david/ogre/OgreMain/src/OgreDynLib.cpp (line 91)


if i disable Plugin_OctreeSceneManager in Plugins.cfg, i get the same 'undefined symbol' in RenderSystem_GL.


EDIT: I solved the previous problem. Your executable was linking with my local copy of 1.8. Until 1.8 is stable, i think you should provide libOgreMain.so in the binaries.

Re: Ogre Meshy 0.9 - (Now supports Linux! Src released!)

Posted: Tue Feb 01, 2011 10:24 pm
by keis
sup.
added a install target for linux in the makefile. On windows it tries to make something similiar to the copy batch file but I have not tested it.
I hope this is useful to you or someone else.

couldn't figure out wxformbuilder, but maybe you can tell where the changes should go in the layout.
kinda large diff: https://gist.github.com/806713

also, first post!

Re: Ogre Meshy 0.9 - (Now supports Linux! Src released!)

Posted: Tue Feb 01, 2011 10:33 pm
by jacmoe
The only problem is this line:

Code: Select all

set(CMAKE_MODULE_PATH "/usr/lib/OGRE/cmake/;${CMAKE_MODULE_PATH}")
That will not work is Ogre is installed in /usr/local. :wink:
But otherwise thanks!

Re: Ogre Meshy 0.9 - (Now supports Linux! Src released!)

Posted: Tue Feb 01, 2011 11:18 pm
by Brocan
Any plans for adding support for poses? :D

I see that all viewers can play animations, but any one shows the poses with sliders to view each one... (like facial demo) :cry:

Re: Ogre Meshy 0.9 - (Now supports Linux! Src released!)

Posted: Thu Mar 03, 2011 3:31 am
by dark_sylinc
Ogre Meshy v1.0 released!

What's new?
  • Added Pose Animations
  • Fixed bug where selecting a different light would overwrite it's values with the ones from the old light.
Morph animations didn't make it. And they won't be in for a long, long time. The pose animation dialog works a bit different than Lexi's.
When playing an animation, the pose keys aren't editable. Instead, you're shown the values as they change, which gives an excellent feedback of what's going on.
When choosing "Manual Animation" (it's always the last one in the list) pose keys become editable. They will copy (and overwrite) whatever values were in the previous animation. I find this behavior a lot more intuitive and useful.

Enjoy the release!

Re: Ogre Meshy 1.0 - (Mesh viewer, Now supports Linux!)

Posted: Thu Mar 03, 2011 8:49 am
by Brocan
Hi dark_sylinc, i was trying to load my models with poses, and I get an exception:

OGRE EXCEPTION(5:ItemIdentityException): Cannot find vertex track with the specified handle 1 in Animation::getVertexTrack at ..\..\OgreMain\src\OgreAnimation.cpp (line 266)

If it helps, my model hasn't any animation track by itself.

Thanks for your great work!

Re: Ogre Meshy 1.0 - (Mesh viewer, Now supports Linux!)

Posted: Thu Mar 03, 2011 3:23 pm
by dark_sylinc
Thanks to you, I was able to reproduce tons of crashes & bugs when attempting to load a mesh that has pose keys but no actual animation for those poses. Fixed.

Additionally, a stupid bug crawled into the 1.0 release, so I'll release a new version in a few hours.

Thanks for the feedback!

Re: Ogre Meshy 1.0 - (Mesh viewer, Now supports Linux!)

Posted: Thu Mar 03, 2011 6:33 pm
by dark_sylinc
Ogre Meshy v1.01 released!

This is mainly a maintenance release/stability fix. Hence "1.01" version, next version will be 1.1
  • Fixed pose animation slider not updating animation when moving it.
  • Fixed crashes and other rare bugs when loading a mesh that has pose keys but no animation data for those poses.
  • Fixed crash when using manual pose animation on the current mesh and then loading a different mesh which also has Pose data.
@Brocan: Let me know if this release fixes your issues with your meshes containing pose data. If not, we'll have to discuss it privately, most likely I'll need a sample mesh of yours which shows Ogre Meshy crashing which I can reproduce. Hopefully this release fixed it and we won't need to resort to that :)
Thanks for your feedback.

Re: Ogre Meshy 1.01 - (Mesh viewer, Now supports Linux!)

Posted: Sat Mar 05, 2011 4:53 pm
by dark_sylinc
By accident, I was able to reproduce your " Cannot find vertex track with the specified handle " bug. And no, it's not fixed in v1.01

I will release a new version in a few hours which fixes the bug.

Re: Ogre Meshy 1.01 - (Mesh viewer, Now supports Linux!)

Posted: Sat Mar 05, 2011 7:20 pm
by dark_sylinc
Ogre Meshy v1.1 released!

What's new since v1.01?
  1. Fixed error "Cannot find vertex track with the specified handle N in Animation::getVertexTrack at ..\..\OgreMain\src\OgreAnimation.cpp (line 266)" when loading a mesh which had poses in the submesh N-1
What's new since v1.0?
  • Fixed pose animation slider not updating animation when moving it.
  • Fixed crashes and other rare bugs when loading a mesh that has pose keys but no animation data for those poses.
  • Fixed crash when using manual pose animation on the current mesh and then loading a different mesh which also has Pose data.
I know there were 3 releases in a row, but please understand I am doing it as a personal commitment to maintain high quality in my applications I distribute. Those were critical bugs that caused meshes that could be perfectly opened with v0.9 to crash in v1.0

As a nice surprise when I opened my inbox, Ogre Meshy was awarded with Softpedia's "100% FREE" certification, and is now featured in Softpedia's database.

Thanks Softpedia,
and thanks YOU: Ogre Meshy users :)

Re: Ogre Meshy 1.1 - (Mesh viewer, Now supports Linux!)

Posted: Sat Mar 05, 2011 7:34 pm
by Brocan
Awesome dark_sylinc!

Sorry, but i hadn't time for testing the 1.01! I'm looking for testing 1.1 the next week with my meshes, i will inform you about any other bug!

Thanks for your great work and congrats for the award! :D

Re: Ogre Meshy 1.1 - (Mesh viewer, Now supports Linux!)

Posted: Sat Mar 05, 2011 10:15 pm
by nevarim
i have some problem using ogre meshy in windows, can you include right version of msvcp and msvcr.dll?

Re: Ogre Meshy 1.1 - (Mesh viewer, Now supports Linux!)

Posted: Sun Mar 06, 2011 1:20 am
by dark_sylinc
I'm afraid not. But you can download them from here.

The names are MSVCP90.dll & MSVCR90.dll

If I got it right in my system it's
MSVCP90.dll 568.832 bytes MD5 6DE5C66E434A9C1729575763D891C6C2 v9.0.21022.8
MSVCR90.dll 655.872 bytes MD5 E7D91D008FE76423962B91C43C88E4EB v9.0.21022.8

Hope this helps

Re: Ogre Meshy 1.1 - (Mesh viewer, Now supports Linux!)

Posted: Sun Mar 06, 2011 12:41 pm
by nevarim
thanks very much :D

in meshy i can view how many animation there in and the word for call it?

Re: Ogre Meshy 1.1 - (Mesh viewer, Now supports Linux!)

Posted: Tue Mar 08, 2011 5:50 am
by dark_sylinc
Apparently there's been some strange bug while building the project file that caused MSVC to embed the manifest files incorrectly for the Win32 version. This caused some of you to get a "missing MSVCP90.dll" message when launching the application; even though the redist were installed in the system.

I've reuploaded a fixed version. Please download v1.1 again to fix any issues you may be having.

Edit: Thanks nevarim, without your request, I wouldn't have been suspicious about my exe.

Re: Ogre Meshy 1.1 - (Mesh viewer, Now supports Linux!)

Posted: Tue Mar 08, 2011 12:45 pm
by Brocan
All it's working perfectly now!

My meshes load without problems, and the poses are working perfectly.

Thanks for your work! :D

Re: Ogre Meshy 1.1 - (Mesh viewer, Now supports Linux!)

Posted: Tue Mar 15, 2011 1:24 pm
by hartsantler
Awesome Sylinc! Im so glad to see Ogre Meshy on Linux now native. Hopefully this gets into the ubuntu repos, great addition :)