POV-Ray : Newsgroups : povray.general : Mixing transformations : Re: Mixing transformations Server Time
30 Jul 2024 22:26:11 EDT (-0400)
  Re: Mixing transformations  
From: HelveticaFanatic
Date: 5 Nov 2008 02:30:01
Message: <web.49114b4ae475a2ad63216ea70@news.povray.org>
Alain <ele### [at] netscapenet> wrote:
> HelveticaFanatic nous illumina en ce 2008-11-03 23:14 -->
>
> > My situation is different.
> > http://www.flickr.com/photos/helveticafanatic/3001878662/
> >
> > I use the spline to define the center line of the tracks. I have used
> > Spline_Trans to get banking which successfully rotates the train car properly.
> > I want, however, to not have the center of the train over the curve but the two
> > points where the bogies of the train are. Furthermore, the banking of these two
> > points must factor into the banking of the train.
> >
> > Thanks.
> >
> >
> It may not be exactly what you are looking, or physicaly acurate, but her's my
> proposition:
> Take the banking at the point where the two boggies are locates. Take the
> average of those and apply to the wagon.
>
> I think that it should be "close enough".
>
> --
> Alain
> -------------------------------------------------
> If you're ever about to be mugged by a couple of clowns, don't hesitate - go for
> the juggler.

I was really interested in moving the car over and keeping the banking, so I
just thought of it awhile ago and tried averaging the midpoint of the bogies
and creating a transform to move the train onto it. Now the train has run into
the wall of the tunnel (too tight of a radius :( )


Post a reply to this message

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