Re: import formats
Bram Biesbrouck <[email protected]> Sun, 29 Jan 2006 07:12:23 -0800
| Newsgroups | gmane.games.devel.opengl |
|---|---|
| Organization | Fat City Network Services, San Diego, California |
| Message-ID | <[email protected]> |
Well, I've adjusted the .obj import routines that come with the glut "smooth"-example source to support transparency and I'm currently using them in my program. Perhaps we can publish our solutions somewhere? Bram Op zondag 29 januari 2006 15:42, schreef Andrew: > Hi, > I've recently been wrestling with something similar and I've written a > simple mesh exporter script for blender and equally simple C++/OpenGL > importer to display it. The format is very much inspired by .obj. > > I can post up both script and source, if you think this might help > (though I'm not sure if its the done thing to send these files to the > list proper?) > > Cheers, > Andrew > > Bram Biesbrouck wrote: > > Hi all, > > > > I don't know if this is a stupid question, but can someone present me the > > options to importing a mesh in an openGL-program, that was created with a > > modeler program like Blender (Linux)? > > I found some interesting projects that convert .obj file formats to > > c-header files that can be used by the program to draw the objects. Or > > the dxf2gl program that does about the same job with .dxf formats. > > > > These projects seem to be very stand-alone and experimental though. > > What's the standard or conventional way to do this? > > > > thanks, > > > > Bram > > ----- > > FAQ and OpenGL Resources at: > > http://www.geocities.com/SiliconValley/Hills/9956/OpenGL > > ----- > FAQ and OpenGL Resources at: > http://www.geocities.com/SiliconValley/Hills/9956/OpenGL ----- FAQ and OpenGL Resources at: http://www.geocities.com/SiliconValley/Hills/9956/OpenGL -- Author: Bram Biesbrouck INET: [email protected] Fat City Hosting, San Diego, California -- http://www.fatcity.com --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: [email protected] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB OPENGL-GAMEDEV-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).