POV-Ray : Newsgroups : povray.binaries.images : Wooden Trains Server Time
1 Aug 2024 22:15:50 EDT (-0400)
  Wooden Trains (Message 15 to 24 of 34)  
<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>
From: Blue Herring
Subject: Re: Wooden Trains
Date: 21 May 2008 10:30:00
Message: <web.48343142b9c4dd0fb05f96f70@news.povray.org>
"Charles C" <nomail@nomail> wrote:
> Nice tracks!

Thanks!

> Years ago I wrote a system in SDL to give a car sequential commands to drive
> around.  If I wanted to tweek earlier turns, accelerations (etc), the end point
> of the path would change wildly which made it challenging.
>
> If it were me, I'd keep the track placement independent of earlier pieces and
> figure out the path of the train after-the-fact.  E.g don't work with relative
> distances and turns but absolute positions and orientations - pretty manual.
> Make sure each track piece can have exactly several (?)* allowable rotations
> and allow them to be placed on a grid making placement relatively quick. I
> guess that's still similar to your #1. Once the track is built, the path
> (spline) intended for train placement can be created by listing track pieces
> and grid positions.  Forks can be ignored for the (spline) path creation by
> substituting non-forked equivalent pieces instead.**  Afterall you probably
> won't have a bifercated train (unless it was going too fast!).
> Anyway this is fun stuff to think about. :)
>
> Charles
>
> *I haven't played with these tracks with my nephews in a while so I don't know
> how many angles are possible or how fine of a grid would be necessary.
>
> ** Here a "piece" = ~3 points for the purpose of spline creation, not the model.

This does make a lot of sense, one doesn't want to have all the later
positioning have to be reworked if a small change near the beginning is made.

Griding might be feasible, "standard" track proportions do conform to a grid to
a point.  The track macros allow arbitrary lengths/curves/etc, however I also
made a set of helper macros to make tracks of standard proportions.  Wikipedia
was helpful here:
http://en.wikipedia.org/wiki/Wooden_toy_train#Some_track_and_layout_geometry
Basically, straight lengths are all some fraction of the diameter of a standard
circle.  Curved pieces are nearly all 45 degrees = 8 pieces per circle.  So for
a given diameter, one can derive nearly all the other sizes.  The images at the
link show how they fit on a grid.  I think the biggest question would how to
structure the user input so its easy enough to use.

Thanks for the input.

-The Mildly Infamous Blue Herring


Post a reply to this message

From: Blue Herring
Subject: Re: Wooden Trains
Date: 21 May 2008 10:45:00
Message: <web.4834346bb9c4dd0fb05f96f70@news.povray.org>
Thibaut Jonckheere <tua### [at] MAPSONyahoofr> wrote:
> You maybe can get some useful informations from this picture, for which
> the sources are available (IRTC 2000):
>   http://www.irtc.org/ftp/pub/stills/2000-04-30/imagined.jpg and
> description :
>   http://www.irtc.org/ftp/pub/stills/2000-04-30/imagined.txt
>
> It contains  a detailled wooden train model, and some kind of automated
> system to place the tracks (or so it seems).

Thanks!  <sigh> I guess I shouldn't be surprised this has been done before, and
better.  Oh well, its still fun =)

-The Mildly Infamous Blue Herring


Post a reply to this message

From: Blue Herring
Subject: Re: Wooden Trains
Date: 21 May 2008 10:45:00
Message: <web.48343531b9c4dd0fb05f96f70@news.povray.org>
"scott" <sco### [at] scottcom> wrote:
> Or, within the array you pass, have some special syntax where following the
> "track split" part, you have two lists following that specify the track
> pieces to be attached to each exit of the split.  The two lists could be
> separated by a special character.
>
> eg, if 1-5 are normal pieces, and 6 is the track split piece, you could have
> something like this (using 0 as the special character):
>
> 14231161230444
>
> This would mean that following the 6, you have 123 on one side and 444 on
> the other.
>
> I think nested splits should be possible too.

This is a neat idea.  Structured right, arbitrary nesting should be possible,
basically a tree data structure represented in an array.

In a similar vein, I wonder if arrays of arrays could do something similar.

Thanks for the ideas!

-The Mildly Infamous Blue Herring


Post a reply to this message

From: Blue Herring
Subject: Re: Wooden Trains
Date: 21 May 2008 10:50:01
Message: <web.483435ceb9c4dd0fb05f96f70@news.povray.org>
Michael Zier <mic### [at] mirizide> wrote:
> I have done a similar system in the past, only for pipes. Worked quite
> well, I can post the source if I can dig it out...

That would be great if you get the chance, thanks.

-The Mildly Infamous Blue Herring


Post a reply to this message

From: Christian Froeschlin
Subject: Re: Wooden Trains
Date: 21 May 2008 13:44:58
Message: <48345f9a@news.povray.org>
Blue Herring wrote:

> This does make a lot of sense, one doesn't want to have all the later
> positioning have to be reworked if a small change near the beginning is made.

well, if you want to get really nifty, let the user define a
spline function as an input to your macro which then attempts
to place pieces following the spline as closely as possible.
And automatic bridges over self-intersections, of course ;)


Post a reply to this message

From: Thomas de Groot
Subject: Re: Wooden Trains
Date: 22 May 2008 04:03:19
Message: <483528c7$1@news.povray.org>
"Blue Herring" <bhe### [at] tinfoilcatcom> schreef in bericht 
news:web.48342c60b9c4dd0fb05f96f70@news.povray.org...
> Alain <ele### [at] netscapenet> wrote:
>> Bring back some OLD memories. The difference was that back then, the 
>> tracks
>> where gray plastic.
>
> Probably not what you mean, but gray plastic tracks make me think of this:
> http://museums.leics.gov.uk/collections-on-line/GetObjectAction.do?objectKey=265335
>
> I had endless fun with one of those when I was a kid.  Hmm, I think I may 
> have
> my next project =)
>

Somebody remembers playing with this? I had lots of fun with it. The cars 
could run along flexible metallic strings:
http://commons.wikimedia.org/wiki/Image:Schuco.Varianto30.wmt.jpg


Thomas


Post a reply to this message

From: alex
Subject: Re: Wooden Trains
Date: 22 May 2008 05:55:00
Message: <web.4835423cb9c4dd0f2d5f88720@news.povray.org>
"Blue Herring" <bhe### [at] tinfoilcatcom> wrote:
> Hello,
>   I've been having some fun lately working on a set of macros to create toy
> wooden train sets like those made by Brio, Maxim, and Learning Curve.  Any
> feedback is welcome and appreciated.  This one is a selection of the various
> kinds of track pieces.
>
> -The Mildly Infamous Blue Herring

Wonderful!

My son just finished to destroy his first set of these :)

--alex


Post a reply to this message

From: Karl Anders
Subject: Re: Wooden Trains
Date: 23 May 2008 01:05:01
Message: <web.48364ff6b9c4dd0f9a722ea0@news.povray.org>
"Thomas de Groot" <t.d### [at] internlDOTnet> wrote:

>
> Somebody remembers playing with this? I had lots of fun with it. The cars
> could run along flexible metallic strings:
> http://commons.wikimedia.org/wiki/Image:Schuco.Varianto30.wmt.jpg
>
>
> Thomas

Oh YES, had those. Lots of fun indeed!
There were forks, too, and electrical cars (AA-Batteries!).
We had two differently colored truckies and one of the other cars and what
seemed like kilometers of wire to my brothers and me. Those cars used to drive
all around our parent's living room :-)

Sadly, the motors broke after a few years and my father could't get any
replacement parts, so that was that :-(

Ah, memories of childhood...

Nostalgically yours
Karl


Post a reply to this message

From: Hans Fink
Subject: Re: Wooden Trains
Date: 23 May 2008 04:52:59
Message: <483685eb@news.povray.org>
Blue Herring schrieb:
> This one is a sample of some simple maxim style cars and engine.
> 
> 
> ------------------------------------------------------------------------
> 

Marvelous!

And then this sophisticated discussion about these
heart-warming little trains.

This touches me in some way. Maybe it's memories of
my children's and my own childhood.

-Hans-


Post a reply to this message

From: Warp
Subject: Re: Wooden Trains
Date: 23 May 2008 07:42:25
Message: <4836ada1$1@news.povray.org>
Hans Fink wrote:
> This touches me in some way. Maybe it's memories of
> my children's and my own childhood.

  Today all children get warm memories of are their xbox and wii
games... A bit sad, really.


Post a reply to this message

<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.