LWO (LightWave Object) Renderer/Loader complete!

This is a discussion on LWO (LightWave Object) Renderer/Loader complete! within the C++ Programming forums, part of the General Programming Boards category; I have spent the past couple of weeks developing a lightwave model renderer/loader, and I have now finally completed it. ...

  1. #1
    Software Developer jverkoey's Avatar
    Join Date
    Feb 2003
    Location
    University of Waterloo
    Posts
    1,903

    LWO (LightWave Object) Renderer/Loader complete!

    I have spent the past couple of weeks developing a lightwave model renderer/loader, and I have now finally completed it. There are still certain key features that need to be implemented, such as texture loading and such, but those will all be added in due time.

    Currently, the LWO loader is branched off in to one class, the LWOLoader class Here's all the details about it:

    Code:
    /****																	****\
    *																			*
    *	LWOLoader.h																*
    *																			*
    *	Designer/Programmer:													*
    *		Jeff Verkoeyen														*
    *																			*
    *	Current Version:														*
    *		1.01 ~September 02, 2003~											*
    *																			*
    *	Required files for successful compilation:								*
    *		LWOLoader.h | LWOLoader.cpp | LWODef.cpp | Logger.h | Logger.cpp	*
    *																			*
    *	Purpose:																*
    *		To load a LWO (LightWave Object) File, and to have all of the data	*
    *			accessible for drawing.											*
    *																			*
    *	Classes:																*
    *		LWOLoader- Holds all the data for the LWO file and also handles		*
    *			loading.														*
    *																			*
    *	Macros:																	*
    *		FLIP- Flips data using the two functions in the LWOLoader class.	*
    *			Used for switching the endian format around if it is backwards.	*
    *		RESIZE- A very handy macro for resizing a class or structure.  C++	*
    *			does not like it if you use realloc on its classes/structs, so	*
    *			use this macro instead. NOTE: Do NOT use it on a class/struct	*
    *			that is constantly getting bigger, or you'll have to wait a		*
    *			long time.														*
    *																			*
    *	Version:																*
    *		1.0-																*
    *			~Released~														*
    *				August 29, 2003												*
    *			~Updates~														*
    *				First release.  Able to load and display models. No texture	*
    *					loading is currently supported.							*
    *			~WishList~														*
    *				Texture Loading, more supported tags, no memory leaks.		*
    *		1.01-																*
    *			~Released~														*
    *				September 02, 2003											*
    *			~Updates~														*
    *				Fixed a minor bug with the POLS chunk, where it would		*
    *					overwrite the name of the sub-chunk and cause it to		*
    *					think that a FACE sub-chunk was actually a PTCH			*
    *					sub-chunk.												*
    *																			*
    *																			*
    *	2003 The Developer's Alliance (TDA)									*
    *		This class/code is property of Jeff Verkoeyen. If you would like to	*
    *		modify or use this code in any way, please contact Jeff Verkoeyen	*
    *		beforehand.															*
    *						Email:  bloodright@msn.com							*
    *																			*
    \****																	****/
    Sorry to say, however, that the code for this loader will not be released for a little while, until it's completely done. If you have any questions, feel free to ask. If you would like to use this loader, I might be able to work something out with you.

    Mind you, this class was completely started from SCRATCH by me, the only help I got was the file format from the SDK site, from that I had to build the class to load the files in. Also included with the loader is a simple logger which helps tremendously with the debugging process.

    Here's a screenshot of a sample model that was loaded with my LWO class:
    Attached Images Attached Images  

  2. #2
    Banned
    Join Date
    Jan 2003
    Posts
    1,708
    that is sexy

  3. #3
    Software Developer jverkoey's Avatar
    Join Date
    Feb 2003
    Location
    University of Waterloo
    Posts
    1,903
    added color to the loader, models look much more realistic now, but still need to add textures
    Attached Images Attached Images  

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Question on l-values.
    By Hulag in forum C++ Programming
    Replies: 6
    Last Post: 10-13-2005, 04:33 PM
  2. Linked List Templates and Object Types
    By ventolin in forum C++ Programming
    Replies: 10
    Last Post: 06-16-2004, 12:05 PM
  3. How would you do this (object interlinking)
    By darksaidin in forum C++ Programming
    Replies: 7
    Last Post: 08-30-2003, 12:08 AM
  4. Set Classes
    By Nicknameguy in forum C++ Programming
    Replies: 13
    Last Post: 10-31-2002, 01:56 PM
  5. Set Classes
    By Nicknameguy in forum C++ Programming
    Replies: 3
    Last Post: 10-21-2002, 07:40 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21