top10-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Top10-devel] Have had too much work to contribute ..


From: Johann Deneux
Subject: Re: [Top10-devel] Have had too much work to contribute ..
Date: Fri, 25 Oct 2002 12:56:58 +0300
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020529

Lars Segerlund wrote:

But I am interested in the format for the tracks, and for the other models.

 / lars segerlund.



_______________________________________________
Top10-devel mailing list
address@hidden
http://mail.nongnu.org/mailman/listinfo/top10-devel

For the models, they come from lightwave. It's planned to add more formats, to allow the use of other (free) modelers.

Tracks are described by giving a list of straight lines. Curves are then inserted to joine them. They also contain information about the starting position.
For example, see data/ring:

> orientation { direct }

This describes the orientation of the track. I believe only direct is supported right now. Funny bugs may show up in the indirect case.

> start { <-1.0, 0.0, 0.0> <1.0, 0.0, 0.0> <0.0, 0.0, 1.0> }

This describes the starting grid. The line is givent by the two first vectors, while the third tells the direction (this is a redudant with the orientation section, but well ...)

>sections {
>        straights
>        { <0.0, 0.0, 0.0> <0.0, 0.0, 100.0> }

First straight line

>        { <40.0, 0.0, 140.0> <60.0, 0.0, 140.0> 10.0 10.0 }

Second short straight line. The two floats at the end are twist angle, ie the two side of the straight line are not at the same altitude. The value is in degrees.

>        { <100.0, 0.0, 100.0> <100.0, 0.0, 0.0> }
>        { <60.0, 0.0, -40.0> <40.0, 0.0, -40.0> 10.0 10.0 }
>        end
>}

Notes: no straight line should cross. That means it's not possible to model bridges or tunnels :/

I also haven't done much on top10, but I think I'll start again working on it soon. Knowing at least one guy is toying with it is motivating :)

--
Johann Deneux





reply via email to

[Prev in Thread] Current Thread [Next in Thread]