I couldn't resist...

Archived discussions related to Transport Empire. Read-only access only.

Moderator: Transport Empire Moderators

Hellfire
Transport Empire Developer
Transport Empire Developer
Posts: 699
Joined: 03 Feb 2003 09:30
Location: Back at the office

I couldn't resist...

Post by Hellfire »

... playing around a bit with OpenGL...

So I created a little program that generates a flat squared 32x32 map, with two points raised a bit.

You can press the space bar to raise a random point.

Is this useful? Probably not, but it was fun to do. Check it out if you want to.

btw: it rotates around the map!
Attachments
Map Tests.zip
Simple OpenGL program
(19.63 KiB) Downloaded 339 times
Feel free to contact me over Email! My current timezone: Europe/Amsterdam (GMT+1 or GMT+2)

Code: Select all

+------------Oo.------+
| Transport Empire -> |
+---------------------+
[ General TE Discussion ] [ TE Development ] [ TE Coding ]
Under construction...
Hellfire
Transport Empire Developer
Transport Empire Developer
Posts: 699
Joined: 03 Feb 2003 09:30
Location: Back at the office

Post by Hellfire »

Before I forget... I haven't tested this program on any other PC than mine and my little brother's. If it works on your PC, please let me know.
Feel free to contact me over Email! My current timezone: Europe/Amsterdam (GMT+1 or GMT+2)

Code: Select all

+------------Oo.------+
| Transport Empire -> |
+---------------------+
[ General TE Discussion ] [ TE Development ] [ TE Coding ]
Under construction...
User avatar
SGWebmaster
Tycoon
Tycoon
Posts: 1564
Joined: 11 Jan 2003 15:47
Location: Preston, UK
Contact:

Post by SGWebmaster »

Yes, this works. Starts off as a green plane rotating with a few lumps. Space bar gives more raised points.

what's this then TT2 v1.0alpha?
SGWebmaster
-/-/-/-/-/-
http://www.multibellropes.freeserve.co.uk
UD Team
-:-:-:-:-:-
Urah, hanevel, v'chinor! A-irah shahar!
-/-/-/-/-/-
Please Note: Brain Shut Down For Maintence
SHADOW-XIII
Tycoon
Tycoon
Posts: 14275
Joined: 09 Jan 2003 08:37

Post by SHADOW-XIII »

1Ghz , 384 DDR, GrForce 2 MX 64mb 400 ....works ok at both (fullscreen and window)... only slows when I hold down space (but it should) ... maybe it isn't TT2 yet ... to name it that we need add possibility to put and move objects first

you should speak with rein ... it is pointless to do onegame by two people
what are you looking at? it's a signature!
User avatar
SGWebmaster
Tycoon
Tycoon
Posts: 1564
Joined: 11 Jan 2003 15:47
Location: Preston, UK
Contact:

Post by SGWebmaster »

oh, missed it - that was my 100th post :lol:
SGWebmaster
-/-/-/-/-/-
http://www.multibellropes.freeserve.co.uk
UD Team
-:-:-:-:-:-
Urah, hanevel, v'chinor! A-irah shahar!
-/-/-/-/-/-
Please Note: Brain Shut Down For Maintence
User avatar
SGWebmaster
Tycoon
Tycoon
Posts: 1564
Joined: 11 Jan 2003 15:47
Location: Preston, UK
Contact:

Post by SGWebmaster »

doesn't slow down when I press space (AthlonXP 1800+, GF2 MX400 64MB graphics, 128MB DDR)

Oooh, same graphics processor - you got the one with TV Out?

And I was only jking about the name :D
SGWebmaster
-/-/-/-/-/-
http://www.multibellropes.freeserve.co.uk
UD Team
-:-:-:-:-:-
Urah, hanevel, v'chinor! A-irah shahar!
-/-/-/-/-/-
Please Note: Brain Shut Down For Maintence
SHADOW-XIII
Tycoon
Tycoon
Posts: 14275
Joined: 09 Jan 2003 08:37

Post by SHADOW-XIII »

without .. but you have better CPU .. :?
what are you looking at? it's a signature!
User avatar
Arathorn
Tycoon
Tycoon
Posts: 6937
Joined: 30 Nov 2002 17:10

Post by Arathorn »

Interesting thingy, even though it has no use.
Hellfire
Transport Empire Developer
Transport Empire Developer
Posts: 699
Joined: 03 Feb 2003 09:30
Location: Back at the office

Post by Hellfire »

SHADOW-XIII wrote:you should speak with rein ... it is pointless to do onegame by two people
This was not meant to be an engine for TT2. I played around a bit with OpenGL this afternoon (and you can still see NeHe's title on the framework I used), and I came up with this.

It gives a very short answer to the question "How to display a height map using OpenGL"

And the square tiles aren't being broken up properly.
Feel free to contact me over Email! My current timezone: Europe/Amsterdam (GMT+1 or GMT+2)

Code: Select all

+------------Oo.------+
| Transport Empire -> |
+---------------------+
[ General TE Discussion ] [ TE Development ] [ TE Coding ]
Under construction...
SHADOW-XIII
Tycoon
Tycoon
Posts: 14275
Joined: 09 Jan 2003 08:37

Post by SHADOW-XIII »

so you can send the source of it to rein (even by PM)
what are you looking at? it's a signature!
User avatar
Lilman424
Tycoon
Tycoon
Posts: 2743
Joined: 20 Oct 2002 14:55
Location: Georgia
Contact:

Post by Lilman424 »

Listening to........whoever posting that song in the music & sound topic.....listening to his song and holding space, AWESOME!!!! :lol::lol::lol:
Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction. - Albert Einstein
User avatar
orudge
Administrator
Administrator
Posts: 25137
Joined: 26 Jan 2001 20:18
Skype: orudge
Location: Banchory, UK
Contact:

Post by orudge »

Works fine here. :)
sultana
Tycoon
Tycoon
Posts: 3582
Joined: 05 Nov 2002 10:22
Location: Sydney

Post by sultana »

Works fine on my computer.... and that a 450mHz... with whatever graphics card... if any, so if it works on mine, it'll work on anyones.
User avatar
spaceman-spiff
Retired Moderator
Retired Moderator
Posts: 20634
Joined: 28 Jul 2002 07:08
Location: Belgium
Contact:

Post by spaceman-spiff »

Works fine, XP1600, Win XP, Gainward Gef3 ti200
Well, back to work, lot's of it in the near future
Hellfire
Transport Empire Developer
Transport Empire Developer
Posts: 699
Joined: 03 Feb 2003 09:30
Location: Back at the office

Post by Hellfire »

SHADOW-XIII wrote:so you can send the source of it to rein (even by PM)
I will, if he asks for it.
Feel free to contact me over Email! My current timezone: Europe/Amsterdam (GMT+1 or GMT+2)

Code: Select all

+------------Oo.------+
| Transport Empire -> |
+---------------------+
[ General TE Discussion ] [ TE Development ] [ TE Coding ]
Under construction...
Hellfire
Transport Empire Developer
Transport Empire Developer
Posts: 699
Joined: 03 Feb 2003 09:30
Location: Back at the office

Post by Hellfire »

Oops... I did it again :)

No seriously... rein was right. Tringle maps ARE more difficult to implement. But not impossible :twisted: (check the .exe) :D
Attachments
Tringle Map Test.zip
Same as previous, this time with Tringle map
(19.71 KiB) Downloaded 299 times
Feel free to contact me over Email! My current timezone: Europe/Amsterdam (GMT+1 or GMT+2)

Code: Select all

+------------Oo.------+
| Transport Empire -> |
+---------------------+
[ General TE Discussion ] [ TE Development ] [ TE Coding ]
Under construction...
Hellfire
Transport Empire Developer
Transport Empire Developer
Posts: 699
Joined: 03 Feb 2003 09:30
Location: Back at the office

Post by Hellfire »

Thanks for the tip... But this is not an engine. I will throw away the entire code. I was just playing around a bit with OpenGL and decided to give you all some eye candy...
Feel free to contact me over Email! My current timezone: Europe/Amsterdam (GMT+1 or GMT+2)

Code: Select all

+------------Oo.------+
| Transport Empire -> |
+---------------------+
[ General TE Discussion ] [ TE Development ] [ TE Coding ]
Under construction...
Hellfire
Transport Empire Developer
Transport Empire Developer
Posts: 699
Joined: 03 Feb 2003 09:30
Location: Back at the office

Post by Hellfire »

99gnome wrote:well done, but you know - children always want more :wink:
I know... But I'm going to wait for rein on that one.

In the mean time you could play around with 3DTT or Simutrans for a while ;)
Feel free to contact me over Email! My current timezone: Europe/Amsterdam (GMT+1 or GMT+2)

Code: Select all

+------------Oo.------+
| Transport Empire -> |
+---------------------+
[ General TE Discussion ] [ TE Development ] [ TE Coding ]
Under construction...
SHADOW-XIII
Tycoon
Tycoon
Posts: 14275
Joined: 09 Jan 2003 08:37

Post by SHADOW-XIII »

both works fine ... but now I don't know which one I want :roll:
what are you looking at? it's a signature!
User avatar
Hyronymus
Tycoon
Tycoon
Posts: 13233
Joined: 03 Dec 2002 10:36
Location: The Netherlands
Contact:

Post by Hyronymus »

Toss a double-headed coin!
Locked

Return to “Transport Empire Development Archive”

Who is online

Users browsing this forum: No registered users and 23 guests