04-10-2012, 23:37
(This post was last modified: 04-11-2012, 16:58 by Tomsen1410.)
Here is a new little tool by me coded with C++.
Well... basiacly it is two tools.
<DESCRIPTION>
The first thing what it does is, it "compiles" a selected .obj file (which you can create in Maya, C4D or whatever) into real OpenGL 1.1 Code and saves it in any file you want.
Then you can copy the code from the file and use it in your own OpenGL project.
If you need a model for games or whatever.
The second thing you can use it for is to load and show a selected .obj file with OpenGL.
So you can move, rotate and scale the whole "world".
NOTE:
It is just a BETA or whatever version. So till now it doesnt support any materials or anything. Just the vertexes.
And there isnt any GUI for the command window.
But I will do that stuff soon.
AND i colored the objects, which will be loaded, cuz as i said material, textures, etc. are not supported yet.
ANNDD it could lagg for some people.. and i really dont know why. for soem of my friends its lagging... for some not
<USAGE>
To move around the world when you loaded an object file use these buttons:
- hold down the left mousebutton to move
- hold down the right mousebutton to rotate
- scroll with the mousemiddlebutton (??)
Well... here are some pics:
Model made in C4D:
The "menu":
Object compiled into OpenGL API :
The .obj Loader:
AK47 Object + Compiled into OpenGL API:
Object Viewer:
Compiled OpenGL API Code ( ~ 500.000 codelines):
I know its not that big ans useful tool... but I just wanted to share it.
Well... basiacly it is two tools.
<DESCRIPTION>
The first thing what it does is, it "compiles" a selected .obj file (which you can create in Maya, C4D or whatever) into real OpenGL 1.1 Code and saves it in any file you want.
Then you can copy the code from the file and use it in your own OpenGL project.
If you need a model for games or whatever.
The second thing you can use it for is to load and show a selected .obj file with OpenGL.
So you can move, rotate and scale the whole "world".
NOTE:
It is just a BETA or whatever version. So till now it doesnt support any materials or anything. Just the vertexes.
And there isnt any GUI for the command window.
But I will do that stuff soon.
AND i colored the objects, which will be loaded, cuz as i said material, textures, etc. are not supported yet.
ANNDD it could lagg for some people.. and i really dont know why. for soem of my friends its lagging... for some not
<USAGE>
To move around the world when you loaded an object file use these buttons:
- hold down the left mousebutton to move
- hold down the right mousebutton to rotate
- scroll with the mousemiddlebutton (??)
Well... here are some pics:
Model made in C4D:
The "menu":
Object compiled into OpenGL API :
The .obj Loader:
AK47 Object + Compiled into OpenGL API:
Object Viewer:
Compiled OpenGL API Code ( ~ 500.000 codelines):
I know its not that big ans useful tool... but I just wanted to share it.