Teen Programmers Unite  
 

 

Return to forum top

openFX with OpenGL

Posted by spaceleader [send private reply] at July 28, 2001, 11:08:39 PM

well i'm trying to learn OpenGL. i got this free 3d modeler called OpenFX, and i was wondering if anyone else knows about that program. it's used to be called softFX before it release it's source code and became open source. Well my question is, how can you generate OpenGL code (C++) from the OpenFX software.

Posted by Psion [send private reply] at July 29, 2001, 07:57:42 AM

Are you sure you can? It's certainly not desirable in terms of size of your executable or ease of adding components later to have compiled code for each and every model. :-) OpenGL has no model format or indeed any way of dealing with models. You can just draw anything you would need to draw to render them.

Posted by spaceleader [send private reply] at July 29, 2001, 12:17:36 PM

tell you the truth, i'm not sure about anything!i'm clueless, been workin with openGL for less then a week. and i was just curious if there's a way to do it.

Posted by AngelOD [send private reply] at July 29, 2001, 03:42:40 PM

You should take a look at the tutorials at Neon Helium Productions (http://nehe.gamedev.net/). Despite the fact that they use ASP it's a great site. You'll need some basic C++ skills.. Well maybe a bit above average, but take a peek, it's really worth a lookie. :o)

Posted by miken [send private reply] at July 30, 2001, 10:37:36 AM

In general with modelers, you make the model, save it as something, then (in OpenGL's case) you have to write your own loader that will read in where all of the polygons should go. In general, you don't want to store the model data in the executable itself (as Psion was saying) because they tend to be rather large ... so even if you were to be able to export it to a data structure or some sort of code, it would probably be impractical for most uses. I personally recommend using DirectX nowadays ... they have really got a grip on things with the latest release, and it also allows for easier model-handling (the .x format). Good luck!

Mike [mnansgar@hotmail.com]

You must be logged in to post messages and see which you have already read.

Log on
Username:
Password:
Save for later automatic logon

Register as a new user
 
Copyright TPU 2002. See the Credits and About TPU for more information.