Laughing City
Author Message
gRegor
the gEek


I'm taking a 3D Game Programming class this semester. So far our assignments are pretty basic stuff, but our final project is an actual working game (oooh ahhh). Our second assignment was a cube with texture-mapping (an image on the cube) and lighting, as well as the ability to rotate and zoom the cube using the mouse.

So I chose the good ole Eisley forum image to map onto my cube, making..

dun dun dun: The EISLEY Cube.

If you want, you can download it and play around with it yourself. [65k Zip file] Sorry, this is PC-only, by the way. Be sure to extract the folder to your desktop (or somewhere else easily accessible), don't try to run it from within the zip file or it won't work properly.

Directions:
1) hold the left mouse button and move the mouse to rotate the cube
2) hold the right mouse button and move the mouse to zoom in and out

Let me know if you have any problems, like it gives an error requring a certain .dll file or something.

Screenshots for our silly Mac friends (or if it just doesn't work right):



That's supposed to be green, by the way. We had to have one static light lighting the whole thing (I chose white light), and then one light that moved with the cube (always faced one side, basically). I chose a green light to help differentiate it from the static light.

_________________
"The revolution starts today, not tomorrow." :: got g-Love?
Joined: 02 Nov 2002 | Posts: 4224 | Location: Chicago, IL
Last edited by gRegor on Thu Mar 11, 2004 8:31 am; edited 2 times in total
View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger ICQ Number
Squirly
Vintage Newbie


cool, but all i had a was a regular cube, with nothing on it.
_________________
Music died with Kurt Cobain
<<>><<>><<>><<>><<
If the sky falls can I count on your vote?
Joined: 15 Jan 2004 | Posts: 5464 | Location: Galt, California
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
gRegor
the gEek


Hmm.. when you opened the zip file did you get 2 files, eisley.bmp and homework02.exe? They both need to be in the same folder to work properly [and they should be by default, but.. I dunno.. something funky could have happened]
_________________
"The revolution starts today, not tomorrow." :: got g-Love?
Joined: 02 Nov 2002 | Posts: 4224 | Location: Chicago, IL
View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger ICQ Number
Squirly
Vintage Newbie


yeah , i got the 2 seperate
_________________
Music died with Kurt Cobain
<<>><<>><<>><<>><<
If the sky falls can I count on your vote?
Joined: 15 Jan 2004 | Posts: 5464 | Location: Galt, California
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
gRegor
the gEek


Are you saying you had them in different locations, but now it works when you put them in the same directory? Or that you just got both files, but it doesn't work?
_________________
"The revolution starts today, not tomorrow." :: got g-Love?
Joined: 02 Nov 2002 | Posts: 4224 | Location: Chicago, IL
View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger ICQ Number
bgburroughs
Vintage Newbie


I downloaded it, and although both files are in the same folder, I'm having the same problem as Squirly. The one file is just the logo, while the other is the blank rotatable cube... Confused
Joined: 21 Nov 2003 | Posts: 2290 | 
View user's profile Send private message Send e-mail
Squirly
Vintage Newbie


yeah, what he said.
_________________
Music died with Kurt Cobain
<<>><<>><<>><<>><<
If the sky falls can I count on your vote?
Joined: 15 Jan 2004 | Posts: 5464 | Location: Galt, California
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
gRegor
the gEek


Bloody... #$@%

I really have no clue why it's not working properly. I'm on Win2K, works for me. I'm still pretty new to this 3D Windows programming, so I'm not really sure. Only thing I can think that might be doing it is if the bitmap got corrupted during compression/decompression.. you can try downloading just the bitmap at http://www.cs.iupui.edu/~gmorrill/490/eisley.bmp and see if that works.

Otherwise I guess those screenshots will have to do. Laughing

_________________
"The revolution starts today, not tomorrow." :: got g-Love?
Joined: 02 Nov 2002 | Posts: 4224 | Location: Chicago, IL
View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger ICQ Number
Squirly
Vintage Newbie


hmm diddnt work for me/
_________________
Music died with Kurt Cobain
<<>><<>><<>><<>><<
If the sky falls can I count on your vote?
Joined: 15 Jan 2004 | Posts: 5464 | Location: Galt, California
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
gRegor
the gEek


Bah... forget it I guess. Probably isn't worth all this trouble anyway. haha
_________________
"The revolution starts today, not tomorrow." :: got g-Love?
Joined: 02 Nov 2002 | Posts: 4224 | Location: Chicago, IL
View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger ICQ Number
bgburroughs
Vintage Newbie


I just don't quite understand how it's supposed to work if we're downloading just the two seperate files, instead of the logo somehow being implanted into the 3D viewer already... Question
Joined: 21 Nov 2003 | Posts: 2290 | 
View user's profile Send private message Send e-mail
gRegor
the gEek


The loading/mapping of the image onto the cube is all handled in the program itself, so that's why they are separate.
_________________
"The revolution starts today, not tomorrow." :: got g-Love?
Joined: 02 Nov 2002 | Posts: 4224 | Location: Chicago, IL
View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger ICQ Number
Squirly
Vintage Newbie


i see..
_________________
Music died with Kurt Cobain
<<>><<>><<>><<>><<
If the sky falls can I count on your vote?
Joined: 15 Jan 2004 | Posts: 5464 | Location: Galt, California
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
Unregistered
Laughing Citizen


it worked for me gRegor. nice job!


_________________
"Commit to the Lord whatever you do and your plans will succeed." prov 16:3
Joined: 29 Jan 2003 | Posts: 1907 | Location: cypress, texas
View user's profile Send private message Send e-mail
gRegor
the gEek


Unregistered wrote:
it worked for me gRegor. nice job!



Laughing well your image editing software works.. but did the cube work for you, seriously? Very Happy

_________________
"The revolution starts today, not tomorrow." :: got g-Love?
Joined: 02 Nov 2002 | Posts: 4224 | Location: Chicago, IL
View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger ICQ Number
Post new topic   Reply to topic

Display posts from previous:   

goto page
 | next >>


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 12 Hours
Jump to:  
Powered by phpBB, coffee, and Eisley fans worldwide.
phpBB is © 2001, 2005 phpBB Group