ItsMods

Full Version: [C++]ObjectFile Viewer/Compiler[OpenGL][v 0.1]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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:
[Image: pic1um.jpg]

The "menu":
[Image: pic2lk.jpg]

Object compiled into OpenGL API :

[Image: pic32l.jpg]

The .obj Loader:

[Image: pic41.jpg]
[Image: pic42q.jpg]

AK47 Object + Compiled into OpenGL API:

Object Viewer:
[Image: picakobj.jpg]

Compiled OpenGL API Code ( ~ 500.000 codelines):
[Image: picaktxt.jpg]


I know its not that big ans useful tool... but I just wanted to share it.

Awesome Awesome Awesome Awesome Awesome Awesome Awesome Awesome
fix images
fixed Narwhal
use imgur.com
(04-11-2012, 12:49)d0h! Wrote: [ -> ]use imgur.com

too late... and too lazy
nice work, reped
(04-11-2012, 12:52)d0h! Wrote: [ -> ]nice work, reped

thx.
added ak47 object.
Could you share the source code?

Thanks
Good job