Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / 3D rotating menu

Author
Message
Cloggy
20
Years of Service
User Offline
Joined: 31st Oct 2004
Location: Rayleigh, Essex
Posted: 9th Nov 2004 06:17
Here is a snippet to display a rotating 3d Menu system. The menu items are textured plains but you could load objects and make a 3d object selector.

Maybe it could be used to browse a selection of cars in a racing game,units in an rts, or game options.

Let me know if you find any bugs.



Cheers,

Cloggy
1tg46
20
Years of Service
User Offline
Joined: 1st Feb 2004
Location: I dont know!
Posted: 10th Nov 2004 04:41
Seems like a pretty clever menu system, but I am not sure how many people would like it to be rotating.

And since the media isn't here the code can't be compiled, but if you show a screenie of what your program looks like. I would be interested.

Good luck with programming,
1tg46


Click the sig
Cloggy
20
Years of Service
User Offline
Joined: 31st Oct 2004
Location: Rayleigh, Essex
Posted: 10th Nov 2004 05:43
1tg46,

There is no media required. The loaded textures are there as examples and are commented out. It produces the used textures on the fly.

Give it a try and let me know what you think.

I think it would work well also if you use loaded textured models rather than the plains.

Cheers,

Cloggy
DeepBlue
21
Years of Service
User Offline
Joined: 17th May 2003
Location: A little box in the UK
Posted: 10th Nov 2004 16:56
Very nice

Reminded me a lot of one of the Tomb Raider menu systems, good work.

DeepBlue

The coder formerly known as Twynklet.
Cloggy
20
Years of Service
User Offline
Joined: 31st Oct 2004
Location: Rayleigh, Essex
Posted: 10th Nov 2004 17:11
Deep Blue,

Thanks, Tomb Raider is where the idea came from. Haven't got the game any more so had to go from memory.

Cheers,

Cloggy
Vues3d on Kalimee
20
Years of Service
User Offline
Joined: 12th May 2004
Location: NYON (SWITZERLAND)
Posted: 10th Nov 2004 19:37
This is quite a great menu!
I was searching for something like that. Also because I remember I get a code that came with dark matter that was similar (but not as nice as yours)
I will use it in my game to identify Clues gave during the game.
I will post the result as soon as I have something correct...

In the meantime ... thanx a lot for this!!

Guido
http://www.vues3d.com
Cloggy
20
Years of Service
User Offline
Joined: 31st Oct 2004
Location: Rayleigh, Essex
Posted: 10th Nov 2004 20:13
Glad this is of use. As I said in a previous post the system could be used for many different applications.

I thought about using it as a way of entering initials in a high score table.

Cheers,

Cloggy
Cellbloc Studios
20
Years of Service
User Offline
Joined: 15th Mar 2004
Location: Atlanta, GA
Posted: 11th Nov 2004 03:04
Very nice. Liked it a lot.

-This...is my boomstick!
spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 11th Nov 2004 07:35
Very nifty - specially like the way you can mouseclick on any item.

To ged rid of the clipping bugs on the ghosted plains on later DBPro patches, simply add the following line after the transparency line:

disable object zwrite objnum

Boo!
1tg46
20
Years of Service
User Offline
Joined: 1st Feb 2004
Location: I dont know!
Posted: 13th Nov 2004 23:27 Edited at: 13th Nov 2004 23:28
Great menu, now that I know how it works. I can't believe I missed the "grave accent" mark(`) next to the load image commands.


Click the sig
Xander
21
Years of Service
User Offline
Joined: 3rd Mar 2003
Location: In college...yeah!
Posted: 14th Nov 2004 01:39
Awesome, maybe I will use something like this for Firewall 2...

Nice menus Cloggy, thanks for the idea, I hope you don't mind if I use it sometime

Xander Moser - Bolt Software - Firewall
Cloggy
20
Years of Service
User Offline
Joined: 31st Oct 2004
Location: Rayleigh, Essex
Posted: 14th Nov 2004 05:39
Bolt,

No problem at all. I'll just be glad someone finds it useful.
Ric
20
Years of Service
User Offline
Joined: 11th Jul 2004
Location: object position x
Posted: 14th Nov 2004 14:08
Great work Clog - there will be loads of uses for this.


TEH_CODERER
21
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 14th Nov 2004 17:26
Expect to find yourself in the credits of my RPG. That code will be really cool with proper media.

Realms Of Tutopia: Rise Of Evil
http://www.freewebs.com/elbsoftware/index.htm
Philip
21
Years of Service
User Offline
Joined: 15th Jun 2003
Location: United Kingdom
Posted: 20th Nov 2004 06:07
I'd like to add my voice to the congratulatory posts above. I think this is very nice work.

Philip

What do you mean, bears aren't supposed to wear hats and a tie? P3.2ghz / 1 gig / GeForce FX 5900 128meg / WinXP home
Vues3d on Kalimee
20
Years of Service
User Offline
Joined: 12th May 2004
Location: NYON (SWITZERLAND)
Posted: 25th Nov 2004 18:53
Hi!!
I'm trying to adapt your code to get menu objects in my game.
I'm having troubles because I would like to add 2 objects in the first slot (2 little cubes that are the "Fix" point of a banner.
I can obtain only one box & the seconds moves on the second slot.

Could you just give me a tip to attach 2 objects on the slot??
THANX a lot!!!!

Guido
http://www.vues3d.com
Cloggy
20
Years of Service
User Offline
Joined: 31st Oct 2004
Location: Rayleigh, Essex
Posted: 26th Nov 2004 03:27
Could you add the second object as a limb to the first object, effectively making it one object?

Cloggy
Mobiius
Valued Member
21
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 26th Nov 2004 19:46
sweet.

1800+ XP - GeforceFX 5600 - 256MbDDR - 60Gb Hdd - XP Pro (SP2)

Login to post a reply

Server time is: 2024-11-23 16:55:03
Your offset time is: 2024-11-23 16:55:03