[TOOL] 32bit mesh to 16bit converter

Discussion area about developing or extending OGRE, adding plugins for it or building applications on it. No newbie questions please, use the Help forum for that.
Post Reply
Shamun
Gnoblar
Posts: 19
Joined: Sun Aug 01, 2010 12:45 am
Location: Israel
x 5

[TOOL] 32bit mesh to 16bit converter

Post by Shamun »

I created a new tool that converts all the 32bit indices arrays to 16bit.
I developed it because OpenGL ES can't handle 32bit arrays and I needed high poly meshes.
It was developed specifically for my needs so you can make changes to adapt it to your needs.
Advices and bug fixes are welcome.

http://code.google.com/p/32to16/

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: [TOOL] 32bit mesh to 16bit converter

Post by jacmoe »

Made it sticky. :)
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.

dowi
Halfling
Posts: 48
Joined: Wed Sep 07, 2011 3:37 am

Re: [TOOL] 32bit mesh to 16bit converter

Post by dowi »

thanks alot!
i used it for my iphone project and it did the trick

JDX_John
Gnome
Posts: 397
Joined: Sat Nov 08, 2008 1:59 pm
x 2

Re: [TOOL] 32bit mesh to 16bit converter

Post by JDX_John »

Great tool - personally I'd like to suggest you might add this to MeshMagick?

How does your tool deal with meshes which can't simply be changed to 16bit... does it restructure them?

Shamun
Gnoblar
Posts: 19
Joined: Sun Aug 01, 2010 12:45 am
Location: Israel
x 5

Re: [TOOL] 32bit mesh to 16bit converter

Post by Shamun »

yap it restructures the submesh by the render operation.
I haven't test all the cases so if you can post some feedback it will be great :)

By the way what is MeshMagic?

JDX_John
Gnome
Posts: 397
Joined: Sat Nov 08, 2008 1:59 pm
x 2

Re: [TOOL] 32bit mesh to 16bit converter

Post by JDX_John »

Part of Ogre addons tools:
MeshMagick 0.6.0 - versatile Ogre mesh manipulation tool.
Copyright 2007-2008 by Daniel Wickert

Usage: MeshMagick [global_options] toolname [tool_options] infile(s) -- [outfile(s)]
Global options:
-help = Prints this help text
-help=toolname = Prints help for the specified tool
-list = Lists available tools
-no-follow-skeleton = Do not follow Skeleton-Link (if applicable)
-quiet = Supress all messages to cout.
-verbose = Print more detailed messages.
-version = Print meshmagick version.
Available Tools
===============

info - print information about the mesh.
meshmerge - Merge multiple submeshes into a single mesh.
optimise - Optimise meshes and skeletons.
rename - Rename different elements of meshes and skeletons.
transform - Scale, rotate or otherwise transform a mesh.

Post Reply