Outerra forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Outerra Tech Demo download. Help with graphics driver issues

Author Topic: Procedural generation of rails  (Read 11002 times)

Blockaderunner

  • Jr. Member
  • *
  • Posts: 27
Procedural generation of rails
« on: August 21, 2010, 12:39:04 pm »

Hi there!

I'm just wondering how the rails will be implemented in the engine. Will it be vector data such as roads and land class data or it will be fully procedural content with only direction and curvature data, e.g. there will be several types of sleepers, rails and connection algorithm?

So guys, thanx for your great work and answer, keep it going!
Logged
Core: AMD Phenom II X3 720 Black Edition / Motherboard: Asus M4A78E /
Graphics: ZOTAC nVidia GeForce GTX260 / RAM: DDR2 Kingston HyperX 2 x 2Gb [1066Mhz] /
HDD: WD Caviar Blue 500Gb

cameni

  • Brano Kemen
  • Outerra Administrator
  • Hero Member
  • *****
  • Posts: 6721
  • No sense of urgency.
    • outerra.com
Procedural generation of rails
« Reply #1 on: August 21, 2010, 02:49:02 pm »

Using your definition the roads are procedural now, taking only way points with road attributes that are spline interpolated. The per-node attributes include road type, width, marking and so on.

Railroads will be defined similarly, with sleeper and rail (and embankment) types defined per node and generated along the curve. Connections will be probably special.
Logged

Michal

  • Jr. Member
  • *
  • Posts: 35
    • http://blog.blockhouse-c.com
Procedural generation of rails
« Reply #2 on: August 21, 2010, 03:24:27 pm »

Will you be able to include superelevation and gradient limits?

cameni

  • Brano Kemen
  • Outerra Administrator
  • Hero Member
  • *****
  • Posts: 6721
  • No sense of urgency.
    • outerra.com
Procedural generation of rails
« Reply #3 on: August 21, 2010, 03:42:55 pm »

I had to look up what is "superelevation" :)
Yes, the road system supports specifying slant value per way point. Although, it wasn't tested yet, now that I think about it.
The same parameter should determine also the crosswise slant for railroad embankment and sleepers.

I suppose the gradient limits (and curvature limits) will be guarded by the track editor.
Logged

Michal

  • Jr. Member
  • *
  • Posts: 35
    • http://blog.blockhouse-c.com
Procedural generation of rails
« Reply #4 on: August 21, 2010, 03:46:07 pm »

Cool. Railworks doesn't support superelevation and it's a dedicated train simulator... It doesn't support train lights that can lighten environment too :/

cameni

  • Brano Kemen
  • Outerra Administrator
  • Hero Member
  • *****
  • Posts: 6721
  • No sense of urgency.
    • outerra.com
Procedural generation of rails
« Reply #5 on: August 21, 2010, 04:04:46 pm »

Quote from: _michal
It doesn't support train lights that can lighten environment too :/
That should come with the support of deferred lighting system, usable for cockpit illumination and such things as well.
Logged