Lightwave converter
-
- Gremlin
- Posts: 157
- Joined: Mon Nov 11, 2002 4:21 pm
- x 3
-
- Gremlin
- Posts: 157
- Joined: Mon Nov 11, 2002 4:21 pm
- x 3
-
- OGRE Retired Team Member
- Posts: 19269
- Joined: Sun Oct 06, 2002 11:19 pm
- Location: Guernsey, Channel Islands
- x 66
-
- Gremlin
- Posts: 157
- Joined: Mon Nov 11, 2002 4:21 pm
- x 3
-
- Gremlin
- Posts: 157
- Joined: Mon Nov 11, 2002 4:21 pm
- x 3
-
- OGRE Retired Team Member
- Posts: 19269
- Joined: Sun Oct 06, 2002 11:19 pm
- Location: Guernsey, Channel Islands
- x 66
-
- Gremlin
- Posts: 157
- Joined: Mon Nov 11, 2002 4:21 pm
- x 3
Use:instead of:to get the colourvalues in the vertexBuffer.

Code: Select all
ARGB color = ColourValue(red, green, blue, alpha).getAsARGB();
Code: Select all
RGBA color = ColourValue(alpha, red, green, blue).getAsRGBA();

-
- OGRE Retired Moderator
- Posts: 9481
- Joined: Fri Feb 18, 2005 2:03 am
- Location: Dublin, CA, US
- x 22
-
- OGRE Retired Moderator
- Posts: 9481
- Joined: Fri Feb 18, 2005 2:03 am
- Location: Dublin, CA, US
- x 22
NM, I discovered the answer.
BTW, I had to make some changes to the code to get it to build; it was doing things like looking for OgreDataChunk.h -- not sure how old that is but it certainly doesn't exist anywhere. Also, it wasn't using the manager singletons to create objects. Again, that sounds old to me, but the code I have is from the 1.0 dist.
BTW, I had to make some changes to the code to get it to build; it was doing things like looking for OgreDataChunk.h -- not sure how old that is but it certainly doesn't exist anywhere. Also, it wasn't using the manager singletons to create objects. Again, that sounds old to me, but the code I have is from the 1.0 dist.
-
- OGRE Retired Moderator
- Posts: 9481
- Joined: Fri Feb 18, 2005 2:03 am
- Location: Dublin, CA, US
- x 22
-
- Gremlin
- Posts: 157
- Joined: Mon Nov 11, 2002 4:21 pm
- x 3
Well for converting Lightwave objects to Ogre meshes this is you best bet.
Not using the manager singletons ?
And you're right it does need updating (or committing to CVS). I'll do that when I am certain my experimental way of dealing with vertexbuffers works. My dev machine died on me. Hopefully I'll have another set up within a week.
Here's my latest backup: LightwaveConverter Source I can't even guarantee it will compile as is. Let me know.
Not using the manager singletons ?

And you're right it does need updating (or committing to CVS). I'll do that when I am certain my experimental way of dealing with vertexbuffers works. My dev machine died on me. Hopefully I'll have another set up within a week.
Here's my latest backup: LightwaveConverter Source I can't even guarantee it will compile as is. Let me know.
-
- Gnoblar
- Posts: 17
- Joined: Mon Feb 21, 2005 7:54 pm
-
- Gnoblar
- Posts: 17
- Joined: Mon Feb 21, 2005 7:54 pm
-
- OGRE Team Member
- Posts: 4308
- Joined: Mon Feb 04, 2008 2:02 pm
- Location: Germany
- x 137
Re: Lightwave converter
I know this thread is really, really old, but nonetheless:
I just submitted a patch to get this (currently broken) tool back on the road. With my changes it now works with Ogre 1.7 and current Ogre 1.8. Also I either resolved or supressed all warnings.
https://sourceforge.net/tracker/?func=d ... id=1064241
I just submitted a patch to get this (currently broken) tool back on the road. With my changes it now works with Ogre 1.7 and current Ogre 1.8. Also I either resolved or supressed all warnings.
https://sourceforge.net/tracker/?func=d ... id=1064241
Ogre Admin [Admin, Dev, PR, Finance, Wiki, etc.] | BasicOgreFramework | AdvancedOgreFramework
Don't know what to do in your spare time? Help the Ogre wiki grow! Or squash a bug...
Don't know what to do in your spare time? Help the Ogre wiki grow! Or squash a bug...
-
- Gremlin
- Posts: 157
- Joined: Mon Nov 11, 2002 4:21 pm
- x 3
Lightwave converter
I just read a PM over 2 years old requesting the source of the converter.
The source, though ancient, is still in the Ogre repository:
https://bitbucket.org/sinbad/ogre/src/0 ... Converter/
Ah, it also seems that Newtek did not update the documentation for the LWO2 format in the SDK since November 9, 2001!
I know this file format is supposed to be the most stable around, but no changes in 11 years?! I seriously doubt that.
The source, though ancient, is still in the Ogre repository:
https://bitbucket.org/sinbad/ogre/src/0 ... Converter/
Ah, it also seems that Newtek did not update the documentation for the LWO2 format in the SDK since November 9, 2001!
I know this file format is supposed to be the most stable around, but no changes in 11 years?! I seriously doubt that.