New CeguiMeshViewer 1.2 - 1.4 Compatible (binary and source)

Anything and everything that's related to OGRE or the wider graphics field that doesn't fit into the other forums.
User avatar
tuan kuranes
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 2653
Joined: Wed Sep 24, 2003 8:07 am
Location: Haute Garonne, France
x 4
Contact:

New CeguiMeshViewer 1.2 - 1.4 Compatible (binary and source)

Post by tuan kuranes »

Here it is.

Post for 1.4 compatible ceguimeshviewer is here
It is made to be integrated on you Ogre SDK and read your resources.cfg to provide group/mesh/material selector.

Image

Features List :

- Mesh Optimisation (index cache, buffers build edge, tangent)
- All information possible on a Mesh are accessible
- Skeletal Animation, Pose Animation player
- Animation Optimizer
- Bone list, skeletal display
- Lod Generation
- Material Texture Previewer.

usual ogre key to move cam.

What it lacks from original cTh is material script edition in-editor.

ToDo for brave patchers :

- vizualise bone on mesh
- display wireframe over mesh
- material script edition
- integrate nfz shader parameter editor
- Light edition
- help page ?
- nice gui ?
- make add resource group button and use ceguifilechooser from wiki
- Command line support
- "maya style" object moving (from wiki article)
- nice icons in lists and tree
- refactor to use observer and messages between widgets. Then add plugin facility (mesh, uv, ragdoll, etc...)


(if you wish to edit GUI layout as Marti skin is a falagard cegui skin you'll need this to edit it and edit tabs t)

license is ogre demo license.
Last edited by tuan kuranes on Thu Apr 12, 2007 2:59 pm, edited 8 times in total.
User avatar
haffax
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 4823
Joined: Fri Jun 18, 2004 1:40 pm
Location: Berlin, Germany
x 7
Contact:

Post by haffax »

This looks really good. Much better than the current cegui mesh viewer. Looking forward to test it later.. :)
team-pantheon programmer
creators of Rastullahs Lockenpracht
User avatar
tuan kuranes
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 2653
Joined: Wed Sep 24, 2003 8:07 am
Location: Haute Garonne, France
x 4
Contact:

Post by tuan kuranes »

- Added a vc8 SDK 1.2rc1 binary compatbile demo on linked page.
-Updated source download too to include gui elements missing (new fonts that are in dagon cvs.)
marlboro
Kobold
Posts: 28
Joined: Fri Feb 24, 2006 11:58 am

Post by marlboro »

this is really good, i love it, although i just downloaded the src and the binary however seems you might have forgotten to add the binary to zip :D
joi
Gnome
Posts: 327
Joined: Tue Feb 22, 2005 8:11 pm
Location: brazil

Post by joi »

Awesome! Gui needs a little work (too messy?), besides that, really helpfull! Thank you! 8)
maya 7.0, vs 2005, ogre 1.2
User avatar
haffax
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 4823
Joined: Fri Jun 18, 2004 1:40 pm
Location: Berlin, Germany
x 7
Contact:

Post by haffax »

tuan kuranes, zip doesn't contain an executable.
team-pantheon programmer
creators of Rastullahs Lockenpracht
User avatar
SmIncY
Gnoblar
Posts: 6
Joined: Wed Jul 27, 2005 4:48 pm

Post by SmIncY »

looks good, been looking for something to inspect my .mesh's

will compile and take a look
"You tried your best and you failed miserably. The lesson is 'never try'" - Homer Jay Simpson
User avatar
sinbad
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 19269
Joined: Sun Oct 06, 2002 11:19 pm
Location: Guernsey, Channel Islands
x 66
Contact:

Post by sinbad »

Nice!
User avatar
tuan kuranes
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 2653
Joined: Wed Sep 24, 2003 8:07 am
Location: Haute Garonne, France
x 4
Contact:

Post by tuan kuranes »

Sorry, now the binary zip contains the .exe

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

Post by jacmoe »

Very promising! :)

It is missing CEGUIFalagardBase.dll, and has the plsm2 plugin in plugins.cfg.
You also need to edit resources.cfg and remove the last 6 entries in it.

I also experienced a couple crashes when selecting "All Groups" - it complains that nothing exsists in resourcegroup "All Groups".

It is also possible to select a material from a not loaded resourcegroup..

But: This is going to be great!!

I like that you can use the wasd keys to move around - maybe some keys/combos for rotating the mesh around the y axis?

Looking forward to seeing it on the official OGRE tools download page! :)
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
User avatar
tuan kuranes
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 2653
Joined: Wed Sep 24, 2003 8:07 am
Location: Haute Garonne, France
x 4
Contact:

Post by tuan kuranes »

thanks jacmoe, Binary Zip is now fixed.
fixing "all group" problem just now.

About key, I prefer using http://www.ogre3d.org/wiki/index.php/Pick_Drag_Drop with mouse and keys.
User avatar
tuan kuranes
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 2653
Joined: Wed Sep 24, 2003 8:07 am
Location: Haute Garonne, France
x 4
Contact:

Post by tuan kuranes »

bugfix : Fixed "all group" and some material that cannot load its texture (those using rtt like compositor)

so yes, once again new source and binary.
User avatar
Jerky
Orc Shaman
Posts: 791
Joined: Wed Mar 02, 2005 4:13 am
Location: Springville, Utah
Contact:

Post by Jerky »

Wow, awesome work! I'll take a look later tonight at this.
Erik Briggs (Jerky)
My Blog
Project Wish
Image
grizzley90
Gnome
Posts: 318
Joined: Wed Jan 18, 2006 7:22 pm
Location: Montreal, Canada

Post by grizzley90 »

sweet its awesome.
User avatar
smirnof.pl
Halfling
Posts: 59
Joined: Tue Apr 12, 2005 6:40 am
Location: Poland, Bielsko-Biala
Contact:

Post by smirnof.pl »

great stuff!
User avatar
tuan kuranes
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 2653
Joined: Wed Sep 24, 2003 8:07 am
Location: Haute Garonne, France
x 4
Contact:

Post by tuan kuranes »

New version.
- Fix optimize Buffer problem on some mesh
- Fix addTangent problem on some mesh
- Fix Pose player that didn't keep "pose" keyframe when selected/unselected.
(but all tests done only on "facial.mesh", as I do no have any other mesh sample with poses.)

so bug list is empty.
User avatar
Lee04
Minaton
Posts: 945
Joined: Mon Jul 05, 2004 4:06 pm
Location: Sweden
x 1

Really nice!

Post by Lee04 »

Really nice!
Ph.D. student in game development
User avatar
rabidgoalie
Gnoblar
Posts: 1
Joined: Wed Apr 05, 2006 9:20 pm

YES!

Post by rabidgoalie »

I am glad to see a mesh viewer that I can actually use "out of the box". I received DLL errors with the one on the official downloads page. I wanted to look through the forums before diving in to solve that problem, and here is a solution in easy-to-use form!

Even with the unfinished GUI, this is a very nice tool to have! :D
Thanks for the work that you have put in tuan kuranes, I appreciate it.
Never interrupt an enemy while he is making a mistake.
-Napoléon Bonaparte

When the only tool you have is a hammer, every problem you encounter tends to resemble a nail.
-Source unknown
User avatar
sinbad
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 19269
Joined: Sun Oct 06, 2002 11:19 pm
Location: Guernsey, Channel Islands
x 66
Contact:

Post by sinbad »

I've only just remembered to go back to this, and I like it. I've tweaked it a little locally to reuse the existing XML files, and to change the background of the viewport to something that doesn't blend in with unlit areas of white meshes, and to integrate the media. The gui still needs a little work but it's very nice.

This should replace the existing cegui meshviewer in ogreaddons.
User avatar
jacmoe
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 20570
Joined: Thu Jan 22, 2004 10:13 am
Location: Denmark
x 179
Contact:

Post by jacmoe »

Definately a good idea to make this the official meshviewer! :)

Just one feature-request:
When rotating something like the robot, it would be nice to have the option of aligning it again. Maybe also a key combo to only rotate around one axis.
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
User avatar
syedhs
Silver Sponsor
Silver Sponsor
Posts: 2703
Joined: Mon Aug 29, 2005 3:24 pm
Location: Kuala Lumpur, Malaysia
x 51

Post by syedhs »

A very much off topic, but maybe related :P .

How about creating a Material browser + editor? It should be quite simply, but immensely useful for me. Just imagine that you have .material scattered around in various directories.. and you just happen to forget where the heck is mytree.material.. and it should also has the 'Outline' feature where you can collapse or expand a block. It should be doable within 1 week, or maybe 1-2 days.

If only I can find a spare time to do this.
User avatar
tuan kuranes
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 2653
Joined: Wed Sep 24, 2003 8:07 am
Location: Haute Garonne, France
x 4
Contact:

Post by tuan kuranes »

If it could make its way in ogreaddons cvs, it would indeed be easier to maintain and accept patches.

I hope to soon have time to make some todo list item.

My top priority being GUI remake and model correct handling (with keys) and refactoring so that plugins can be added. (and add some plugins)

About GUI, I would just somewhat mimic original CTH viewer. (tree, tabs, menu, button) unless some original new proposals appears.
klauss
Hobgoblin
Posts: 559
Joined: Wed Oct 19, 2005 4:57 pm
Location: LS87, Buenos Aires, República Argentina.

Post by klauss »

About GUI... first thing IMO would be that it does not lock the mouse. It's difficult to use in windowed mode when it locks the mouse.
Oíd mortales, el grito sagrado...
Hey! What is it with that that?
Wing Commander Universe
User avatar
tuan kuranes
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 2653
Joined: Wed Sep 24, 2003 8:07 am
Location: Haute Garonne, France
x 4
Contact:

Post by tuan kuranes »

@ klauss : Indeed, but that would surely add OIS as a dependency.
klauss
Hobgoblin
Posts: 559
Joined: Wed Oct 19, 2005 4:57 pm
Location: LS87, Buenos Aires, República Argentina.

Post by klauss »

tuan kuranes wrote:but that would surely add OIS as a dependency.
I wouldn't mind that. Why... is that a problem?
Oíd mortales, el grito sagrado...
Hey! What is it with that that?
Wing Commander Universe
Post Reply