Jump to content

Procedural railroad


freaq

Recommended Posts

Hello Odforce, this is my first post and topic at Odforce,

I have to say I am very impressed by the work I have seeen so far, and I am a bit nervous to post my own work between such fantastic npiring pieces...

so first things firs, who am I?

My name is Freek Hoekstra, and I am a Student at IGAD and my supervisor is Kim Goosens, (who also visits the forums regurarly)

and for my specialisation i am creating a procedural railroad solution.

designed to be work from an input in the form of a few curves.

the procedure adjeust these curves to make switches where needed.

landsapce integration is something I want to add later.

procedural_railroad_wip3_by_freaqie-d3gmh5r.png

procedural_railroad_work_in_pr_by_freaqie-d3gmgrn.png

procedural_railroad_2_wip_by_freaqie-d3gmgux.png

currently working on the support beams in beneath the switches,

these are not stable yet, as the numbering of the curves changes depending on the direction of the curve.

I need some way to select the straight curve that gets intersected the most amount of times,

if anyone has any thoughts (or any other critiques) they would be greatly appreciated.

dear regards;

Freek hoekstra

Link to comment
Share on other sites

Hey Freek,

Looking good! Will the curves always output 2 tracks ? It might be nice if you could define (by attribute on the curve maybe) if the curve should generate one or multiple tracks.

As for the finding the most number of intersections. Maybe you could try to find which curve has the most number of cv's on it.

Keep up the nice work.

Link to comment
Share on other sites

Hey Freek,

Looking good! Will the curves always output 2 tracks ? It might be nice if you could define (by attribute on the curve maybe) if the curve should generate one or multiple tracks.

As for the finding the most number of intersections. Maybe you could try to find which curve has the most number of cv's on it.

Keep up the nice work.

at the moment the procedure generates 2 rails standard, I have a version which only processes one rail, and I do plan to integrate an option to either generate one or 2 rails, however I can foresee some problems when connecting the two, it might not be as easy as it looks.

I could look at the number of CV's it might work, also I need to sort by the number of intersections to get it truly stable,

but quite happy with the procedure so far.

thank you for your thoughts! i'll give it a try :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...