Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsShowcase → OpenGL Project
OpenGL Project
2005-11-27, 8:56 PM #1
Check out my OpenGL project done in 2 weeks for a class last month.

Wrote GOB, 3DO, MAT, and CMP loader and was setting up a pretty extensive engine that really isnt taken advantage of!

Note, you will experience some weird light/sound shifts when you move between any of the 3 'areas'. This is my l4me visibility determination hack that really wasnt thought through very well. Also note that only 1 of the 3 areas (the reactor area you start in) is actually done.

Controls:
WSAD = Camera movement
Q/Z = Camera movement up/down
F1 = Toggle fullscreen
F2 = Toggle mouse invert (inverted by default)

Download:
http://binarydemons.com/~strike/files/DCP.zip

Screenshot:
[http://binarydemons.com/~strike/files/reactor.JPG]
[ B A H ]
Bad *** by nature,
Hackers by choice
2005-11-27, 8:58 PM #2
You my friend need to work on Sith II
2005-11-27, 9:06 PM #3
C++ classes for the MAT, GOB, and CMP are available for anybody who's interested.

GOB class simply locates file resources within a gob, by filename or by ID (i think i put that in) and gives you an ifstream reference in the GOB file that is pre-seekg'd to the specified file's offset.

CMP class loads in a colormap, also has a save function because it was easy to toss in. Fully supported including lightmap/transparency tables and accessor/modifier functions.

MAT class loads in material files. A pointer to a CMP object should be supplied when loading MATs. Solid color, mip-mapped and multi-celled textures are supported. 8-bit indexed color and 16-bit color (both 565RGB and 1555ARGB format - as well as a hack to load in textures from JK Paint or some damn program that sets color bits to 0). Provides a function to 'get' a specified material index with specified mipmap index, from which a straight 24-bit bottom-up BGR bitmap is constructed; compatible with OpenGL and windows DIBs.
[ B A H ]
Bad *** by nature,
Hackers by choice
2005-11-27, 11:47 PM #4
pretty nifty
"Nulla tenaci invia est via"
2005-11-28, 7:37 PM #5
sweet!!! i like :)
Dbug454 Of tHE JK.....
2005-11-28, 9:28 PM #6
Originally posted by StrikeAthius:
C++ classes for the MAT, GOB, and CMP are available for anybody who's interested.

GOB class simply locates file resources within a gob, by filename or by ID (i think i put that in) and gives you an ifstream reference in the GOB file that is pre-seekg'd to the specified file's offset.

CMP class loads in a colormap, also has a save function because it was easy to toss in. Fully supported including lightmap/transparency tables and accessor/modifier functions.

MAT class loads in material files. A pointer to a CMP object should be supplied when loading MATs. Solid color, mip-mapped and multi-celled textures are supported. 8-bit indexed color and 16-bit color (both 565RGB and 1555ARGB format - as well as a hack to load in textures from JK Paint or some damn program that sets color bits to 0). Provides a function to 'get' a specified material index with specified mipmap index, from which a straight 24-bit bottom-up BGR bitmap is constructed; compatible with OpenGL and windows DIBs.


I wish I had time to develop my C++ knowledge, then again, thats why I'm going to college! :p Looks sweet, but I might take a look at it and see if I can learn anything. ;)
Major projects working on:
SATNRT, JK Pistol Mod, Aliens TC, Firearms

Completed
Judgement Day (HLP), My level pack
2005-11-28, 11:04 PM #7
TEACH ME HOW
[01:52] <~Nikumubeki> Because it's MBEGGAR BEGS LIKE A BEGONI.
2005-11-29, 9:47 PM #8
Neat!
SnailIracing:n(500tpostshpereline)pants
-----------------------------@%
2005-11-30, 2:50 PM #9
Nice one strike. How'd that rpg engine thing work out for school?
</sarcasm>
<Anovis> mmmm I wanna lick your wet, Mentis.
__________
2005-11-30, 3:55 PM #10
I was kinda confused about the architexture or atleast the way the wireframe shows it when I was outside of the walls.

It looks like you have walls outside of walls.
"Nulla tenaci invia est via"
2005-11-30, 4:18 PM #11
It does. Kinda. The entire level is made of 3dos. Think of it as brush based instead of sector based.
Sam: "Sir we can't call it 'The Enterprise'"
Jack: "Why not!"
2005-11-30, 4:25 PM #12
yeah, I was thinking that too.. I just thought instead of 3do's the sectors are built like brushes are.
"Nulla tenaci invia est via"
2005-12-03, 12:19 PM #13
It doesn't seem to work here. Maybe I have to update my driver... Awesome work from the screenshots though.

*cough* Click me *cough*
Wes Darklighter
|Theed|
2005-12-03, 1:36 PM #14
Wow. That's cool.

I always wanted to learn C++ more than Java. Unfortunately, I have to do that on my own, as classes for C++ aren't in my curriculum.

↑ Up to the top!