Ogre Meshy 1.6 (Mesh viewer, Windows Installer & Linux sup.)

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!
Post Reply
User avatar
nevarim
Gnoll
Posts: 675
Joined: Mon Jul 05, 2010 6:16 pm
Location: Pavia Italy
x 4
Contact:

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

Post by nevarim »

hi all :D

when i try to exit process ogre meshy.exe remains open in task manager
and i can open ogre meshy only with opengl
if i comment directx9 in plugins.cfg it run well with opengl

if i remove comment it return this error

Code: Select all

16:59:35: MovableObjectFactory for type 'BillboardChain' registered.
16:59:35: MovableObjectFactory for type 'RibbonTrail' registered.
16:59:35: Loading library Plugins\RenderSystem_Direct3D9
16:59:35: OGRE EXCEPTION(7:InternalErrorException): Could not load dynamic library Plugins\RenderSystem_Direct3D9.  System Error: Impossibile trovare il modulo specificato.

 in DynLib::load at ..\..\OgreMain\src\OgreDynLib.cpp (line 91)

Nevarim

p.s. i'm using directly binary :D
i'm a noob until proven otherwise :D
used in my project ;) and thanks to everyone :D
Ogre 3d
Mygui
Skyx
Hydrax
MOC
CCS
User avatar
dark_sylinc
OGRE Team Member
OGRE Team Member
Posts: 5292
Joined: Sat Jul 21, 2007 4:55 pm
Location: Buenos Aires, Argentina
x 1278
Contact:

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

Post by dark_sylinc »

Hi, that error you're experiencing is because your DirectX redist is too old.

There are three workarounds:
  • Comment the D3D9 plugin from Plugins.cfg (and use OpenGL)
  • Install latest DirectX (web installer click here, ought to be faster to download)
  • Compile the code yourself, with your own (older) version of DX runtimes.
You may want to look at the "Troubleshooting" section in the Readme.txt

I'm curious about "Ogre Meshy.exe" remaining open in the task manager, as I've never experienced it and can't reproduce:
  • Does this happens when you're using OpenGL?
  • What about D3D (if you manage to run it)?
  • Does this happen after you open a mesh file? Any mesh? Or a particular one?
  • Does this happen if you don't open any mesh at all?
  • Where did you install/unzip the program? (i.e. "C:\Users\Sylinc\Documents\Ogre Meshy") I'm worried some localization issue could be causing trouble (your OS is italian, I wonder if a special italian character in the path name is causing havoc to Meshy)
  • How do you close the program? Alt+F4? File->Exit? Clicking the close button from the window? Does all of these 3 methods keep the app. in the task manager?
Thanks for the feedback.
I'll be waiting for your reply ;)
User avatar
nevarim
Gnoll
Posts: 675
Joined: Mon Jul 05, 2010 6:16 pm
Location: Pavia Italy
x 4
Contact:

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

Post by nevarim »

yes was in my office workstation :D is for you if you want to make a release on all type of workstation, on my pc (latest directx) is going without error^^

thanks

Nevarim
i'm a noob until proven otherwise :D
used in my project ;) and thanks to everyone :D
Ogre 3d
Mygui
Skyx
Hydrax
MOC
CCS
User avatar
nevarim
Gnoll
Posts: 675
Joined: Mon Jul 05, 2010 6:16 pm
Location: Pavia Italy
x 4
Contact:

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

Post by nevarim »

little question:

it's possible to view mesh animations? for examples ninja walk in ninja.skeleton?

if yes it's a fantastic program :D
thanks

Nevarim
i'm a noob until proven otherwise :D
used in my project ;) and thanks to everyone :D
Ogre 3d
Mygui
Skyx
Hydrax
MOC
CCS
shenakan
Kobold
Posts: 29
Joined: Tue May 15, 2007 4:20 pm

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

Post by shenakan »

I tried to run OgreMeshy on ubuntu and I have these error... I recompile it from source code...

Code: Select all

./OgreMeshy 
Xlib:  extension "RANDR" missing on display ":0.0".

(OgreMeshy:13281): Gdk-CRITICAL **: IA__gdk_drawable_get_size: assertion `GDK_IS_DRAWABLE (drawable)' failed

(OgreMeshy:13281): Gdk-CRITICAL **: IA__gdk_drawable_get_depth: assertion `GDK_IS_DRAWABLE (drawable)' failed
User avatar
Beauty
OGRE Community Helper
OGRE Community Helper
Posts: 767
Joined: Wed Oct 10, 2007 2:36 pm
Location: Germany
x 39
Contact:

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

Post by Beauty »

Don't use the boring Ninja.
Use our new mascott Sinbad instead. :wink:
Help to add information to the wiki. Also tiny edits will let it grow ... :idea:
Add your country to your profile ... it's interesting to know from where of the world you are.
User avatar
dark_sylinc
OGRE Team Member
OGRE Team Member
Posts: 5292
Joined: Sat Jul 21, 2007 4:55 pm
Location: Buenos Aires, Argentina
x 1278
Contact:

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

Post by dark_sylinc »

shenakan wrote:I tried to run OgreMeshy on ubuntu and I have these error... I recompile it from source code...

Code: Select all

./OgreMeshy 
Xlib:  extension "RANDR" missing on display ":0.0".

(OgreMeshy:13281): Gdk-CRITICAL **: IA__gdk_drawable_get_size: assertion `GDK_IS_DRAWABLE (drawable)' failed

(OgreMeshy:13281): Gdk-CRITICAL **: IA__gdk_drawable_get_depth: assertion `GDK_IS_DRAWABLE (drawable)' failed
I don't know what the problem is, but a quick Google hints me you're using dual monitors, and that Xinerama is clashing with the RandR extension. Try disabling Xinerama
User avatar
evilshadow
Kobold
Posts: 26
Joined: Sat Dec 20, 2008 4:29 pm
Location: Asia

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

Post by evilshadow »

8)
Very great !!!
Much better than OgreMaxViewer or others...
The dark side of the moon...
litterbug23
Gnoblar
Posts: 24
Joined: Mon Sep 21, 2009 9:27 am

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

Post by litterbug23 »

it 's very useful,
I found some problem,
1、wxWidget 2.8.10 or highter version is conflict with thread_ogre. my system is windows xp. if compile ogre code with boost thread, in wxOgreMeshViewer CreateRenderWindow can't return app will dead lock. recompile ogre withot boost thread will be ok. I think wxWidget 2.8.10 maybe conflict with boost thread.
2、Mouse wheel has a problem,
if( evt.GetWheelDelta() )
{
float factor=evt.GetWheelDelta();
zoomInCamera( factor );
}

change to:
if( evt.GetWheelRotation() )
{
float factor=evt.GetWheelRotation();
zoomInCamera( factor );
}
User avatar
dark_sylinc
OGRE Team Member
OGRE Team Member
Posts: 5292
Joined: Sat Jul 21, 2007 4:55 pm
Location: Buenos Aires, Argentina
x 1278
Contact:

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

Post by dark_sylinc »

litterbug23 wrote:it 's very useful,
I found some problem,
1、wxWidget 2.8.10 or highter version is conflict with thread_ogre. my system is windows xp. if compile ogre code with boost thread, in wxOgreMeshViewer CreateRenderWindow can't return app will dead lock. recompile ogre withot boost thread will be ok. I think wxWidget 2.8.10 maybe conflict with boost thread.
Thanks for the reporting an explanation. A user experienced the same problem when he compiled his own version but he didn't add more detail.
I've never used Boost with Ogre, so that's why I never saw it. Strange conflict though. I'm curious what causes it, but unfortunately don't have the time right now to look at it.
litterbug23 wrote:2、Mouse wheel has a problem
Thanks for the code!
Though, I haven't yet managed to make the mouse wheel work consistently unless Meshy is started without the Ogre log window. It does work as expected in Linux though. Is this fixed when using wxWidgets 2.8.10?
Are you using Ogre trunk or 1.7?

Thanks again,
Dark Sylinc
User avatar
jacmoe
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 20570
Joined: Thu Jan 22, 2004 10:13 am
Location: Denmark
x 179
Contact:

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

Post by jacmoe »

litterbug23 wrote:1、wxWidget 2.8.10 or highter version is conflict with thread_ogre.
No, it is not.
2.8 is ancient history - but I've used it succesfully with Ogre with Boost.
Use 2.9.
Which I've also used succesfully with Boosted Ogre 1.7.
Moved away from wxWidgets since then, so can't comment on Ogre trunk. But I guess it would be the same.
Strange problem you have there.
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
litterbug23
Gnoblar
Posts: 24
Joined: Mon Sep 21, 2009 9:27 am

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

Post by litterbug23 »

Dark Sylinc wrote: Though, I haven't yet managed to make the mouse wheel work consistently unless Meshy is started without the Ogre log window. It does work as expected in Linux though. Is this fixed when using wxWidgets 2.8.10?
Are you using Ogre trunk or 1.7?
wxWidget MouseEvent object remark:

Code: Select all

// Get wheel rotation, positive or negative indicates direction of
    // rotation.  Current devices all send an event when rotation is equal to
    // +/-WheelDelta, but this allows for finer resolution devices to be
    // created in the future.  Because of this you shouldn't assume that one
    // event is equal to 1 line or whatever, but you should be able to either
    // do partial line scrolling or wait until +/-WheelDelta rotation values
    // have been accumulated before scrolling.
    int GetWheelRotation() const { return m_wheelRotation; }

 // Get wheel delta, normally 120.  This is the threshold for action to be
    // taken, and one such action (for example, scrolling one increment)
    // should occur for each delta.
    int GetWheelDelta() const { return m_wheelDelta; }
I think WheelDelta is a const value, wheelRotation is wheel scroll value.

I try Ogre1.7.2 precompiled sdk & Ogre1.8 with boost thread, that can run SampleBrowser sample,but Meshy1.1 can't createRenderwindow.
i recompield ogre1.8 without thread , Meshy1.1 is ok.
User avatar
merlinblack
Goblin
Posts: 223
Joined: Thu Mar 15, 2007 10:05 am
Location: Sydney, Australia
x 7
Contact:

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

Post by merlinblack »

I gave this a whirl on Ubuntu 10.10 from source. Looks really good! :D

There are a few things under Linux that need attention - I guess that's why is beta! :)

- It expects the plugin configuration file to be 'Plugins.cfg' - which threw me for a minute (untill I read the log file). Usually it's 'plugins.cfg'. Filenames are case sensitive on Linux / Unix / Mac OS X
- 'Show Axis' seems to shut the program down. Gracefully it seems from first look.

And just a minor annoyance - source archives on *nix systems or any archive really, generally have a top level directory inside so when you extract into for example ~/prog you end up with ~/prog/OgreMeshy-1.1 with all the bin, src, include etc inside.

I'll see if I can find the 'Show Axis' issue.
"He'd never realized that, deep down inside, what he really wanted to do was make things go splat."
Terry Pratchett, Reaper Man
Image
User avatar
dark_sylinc
OGRE Team Member
OGRE Team Member
Posts: 5292
Joined: Sat Jul 21, 2007 4:55 pm
Location: Buenos Aires, Argentina
x 1278
Contact:

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

Post by dark_sylinc »

merlinblack wrote:I gave this a whirl on Ubuntu 10.10 from source. Looks really good! :D
Thanks
merlinblack wrote:There are a few things under Linux that need attention - I guess that's why is beta! :)
Yup. That's correct.
merlinblack wrote:- It expects the plugin configuration file to be 'Plugins.cfg' - which threw me for a minute (untill I read the log file). Usually it's 'plugins.cfg'. Filenames are case sensitive on Linux / Unix / Mac OS X
Oops, I remember the problem some time ago. My main work environment is in Windows, so I wouldn't be surprised if "Plugins.cfg" was suddenly renamed to "plugins.cfg"; either my fault or NTFS
merlinblack wrote:- 'Show Axis' seems to shut the program down. Gracefully it seems from first look.
Thanks for the bug report. Probably some assert or another case sensitive problem (I load the axis from a mesh model in the hard drive).
merlinblack wrote:And just a minor annoyance - source archives on *nix systems or any archive really, generally have a top level directory inside so when you extract into for example ~/prog you end up with ~/prog/OgreMeshy-1.1 with all the bin, src, include etc inside.
Ok, thanks for the tip. The tar.bz2 files will follow this rule from now on, while the 7z will follow the old one.

Thanks
Dark Sylinc
SRombauts
Kobold
Posts: 39
Joined: Mon Feb 28, 2011 6:58 pm
Location: Paris, France
x 2
Contact:

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

Post by SRombauts »

Hi

Ogre Meshy is a really useful tool, thanks for all that !
But would it be possible for you to release a 32 bit Linux version as well ?

Thanks,
SRombauts
http://www.srombauts.fr, comments from an Android developer
SamJ
Halfling
Posts: 40
Joined: Tue Jan 25, 2011 9:12 pm

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

Post by SamJ »

I built the viewer from source to add some improvements I need (like an always on top option and mesh autoreload) but when I run it I got the ogre config dialog and after that nothing happens, but the process stays alive.

Using ogre 1.7.2 and wx2.8.12, building in Visual Studio 2010 express. Should I use other versions or anything? I know you mentioned 2008 SP1, but won't the newer version work?
SRombauts
Kobold
Posts: 39
Joined: Mon Feb 28, 2011 6:58 pm
Location: Paris, France
x 2
Contact:

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

Post by SRombauts »

@SamJ: it seems that litterbug23 had the same problem before switching to Ogre 1.8, see above.
http://www.srombauts.fr, comments from an Android developer
User avatar
jacmoe
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 20570
Joined: Thu Jan 22, 2004 10:13 am
Location: Denmark
x 179
Contact:

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

Post by jacmoe »

Sam: It needs Ogre default branch ( 1.8 ) :wink:
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
SamJ
Halfling
Posts: 40
Joined: Tue Jan 25, 2011 9:12 pm

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

Post by SamJ »

Ah thanks. I actually read the entire thread but I misinterpreted the problem that litterbug was having and I thought it was a different one :(
pajoohande
Gnoblar
Posts: 5
Joined: Sat Jan 15, 2011 7:13 am

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

Post by pajoohande »

hi all
I compiled Ogre Meshy 1.1 in my 64 bit Fedora, alongside Ogre 1.7.2.

something to mention: linker gives this error when compiling:

Code: Select all

/usr/bin/ld: CMakeFiles/OgreMeshy.dir/src/Core/wxOgreMeshViewerMainFrameImpl.cpp.o: undefined reference to symbol 'wxAboutBox(wxAboutDialogInfo const&)@@WXU_2.8'
/usr/bin/ld: note: 'wxAboutBox(wxAboutDialogInfo const&)@@WXU_2.8' is defined in DSO /usr/lib64/libwx_gtk2u_adv-2.8.so.0 so try adding it to the linker command line
/usr/lib64/libwx_gtk2u_adv-2.8.so.0: could not read symbols: Invalid operation
adding "adv" to wxWidgets components in CMakeLists.txt solved the problem for me :D

now, the Meshy runs very slowly. I think the problem should be on finding some locale specific fonts. I'm working on that.
any help would be appreciated.
User avatar
merlinblack
Goblin
Posts: 223
Joined: Thu Mar 15, 2007 10:05 am
Location: Sydney, Australia
x 7
Contact:

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

Post by merlinblack »

No problems compiling on Debian amd64. Will have a practical use for it right now (checking Blender exports) so I'll be testing it out throughly. :D

Thought you might like a Linux screenie.
Image

Think I'll adjust the mouse wheel sensitivity a bit first though... :P
"He'd never realized that, deep down inside, what he really wanted to do was make things go splat."
Terry Pratchett, Reaper Man
Image
hartsantler
Greenskin
Posts: 107
Joined: Tue Nov 16, 2010 7:33 am
x 15

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

Post by hartsantler »

Trying but getting this error on Ubuntu 11.04, i have all the gtk and glib headers.

Code: Select all

brett@natty32:~/ogremeshy/build$ cmake -g "Unix Makefiles" ..
CMake Error at CMakeLists.txt:36 (FIND_PACKAGE):
  Could not find module FindOGRE.cmake or a configuration file for package
  OGRE.

  Adjust CMAKE_MODULE_PATH to find FindOGRE.cmake or set OGRE_DIR to the
  directory containing a CMake configuration file for OGRE.  The file will
  have one of the following names:

    OGREConfig.cmake
    ogre-config.cmake



-- Some or all of the gtk libraries were not found. (missing:  GTK2_GLIBCONFIG_INCLUDE_DIR) 
CMake Error at CMakeLists.txt:43 (pkg_check_modules):
  Unknown CMake command "pkg_check_modules".


-- Configuring incomplete, errors occurred!
User avatar
merlinblack
Goblin
Posts: 223
Joined: Thu Mar 15, 2007 10:05 am
Location: Sydney, Australia
x 7
Contact:

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

Post by merlinblack »

I don't remember having to tweak the cmake path so I'm guessing you installed Ogre via the Ubuntu repositories?

The Ogre version in the standard repos' is 1.6 something, which is before the switch to cmake. However if you go here: https://launchpad.net/~ogre-team/+archive/ogre and add that repo and update/upgrade you will find some cmake files under /usr/lib/OGRE/cmake

The other option is download the source, compile, and install.

You could also try changing the CMAKE_MODULE_PATH to include either (or both it will not hurt):

Code: Select all

/usr/lib/OGRE/cmake/
or
/usr/local/OGRE/cmake
The source install defaults to /usr/local. Either edit CMakeLists.txt or use the cmake cache GUI tool to edit the variable.
"He'd never realized that, deep down inside, what he really wanted to do was make things go splat."
Terry Pratchett, Reaper Man
Image
hartsantler
Greenskin
Posts: 107
Joined: Tue Nov 16, 2010 7:33 am
x 15

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

Post by hartsantler »

merlinblack,
yes i installed Ogre via the Ubuntu repositories, this what most Ubuntu users are used to, it would be nice if the older Ogre was supported, or even better would of course be .deb packages.
-brett
hartsantler
Greenskin
Posts: 107
Joined: Tue Nov 16, 2010 7:33 am
x 15

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

Post by hartsantler »

Does Ogre Meshy support RT Shaders?
Post Reply