Smooth Cornering

Discuss, get help with, or post new graphics for TTDPatch and OpenTTD, using the NewGRF system, here. Graphics for plain TTD also acceptable here.

Moderator: Graphics Moderators

User avatar
Steve
Tycoon
Tycoon
Posts: 2085
Joined: 10 Jan 2004 20:19
Location: London
Contact:

Smooth Cornering

Post by Steve »

Since patchman invented the tilting trains in TTD (although they haven't been publicly released yet) I've been thinking about smoother corners in TTD.
Basically, instead of just switching direction immediately, it will change to a half way position as it goes around the corner. Patchman thinks it will look odd, but I think it will be an improvement still. The problem is, I can't draw!

So I seek a good artist to make some test graphics to see what it is like. You can probaly use the voyager code if james is happy about it. Perhaps even modify those tilting graphics into turning graphics.

I prepared a little diagram to show the direction of the train at the revelvant points, to test the concept, you might as well just do this one intermediate graphic (which is still beyond my talents).

I hope someone can help!

Edit: The intermediate graphic is at 22.5 degrees. You could probaly use the same graphic with different offsets to make it fit better on the track, or double the work with a graphic at 15 degrees and a graphic at 30 degrees.
Attachments
curvedtrains.PNG
curvedtrains.PNG (1.25 KiB) Viewed 6544 times
Singaporekid
Tycoon
Tycoon
Posts: 1966
Joined: 21 May 2004 07:39
Location: Singapore

Post by Singaporekid »

Heh, I did try that recently, only with a slightly different style
Attachments
Angles.PNG
Angles.PNG (811 Bytes) Viewed 6470 times
User avatar
Purno
Tycoon
Tycoon
Posts: 16659
Joined: 30 Mar 2004 12:30
Location: Almere, The Netherlands

Post by Purno »

I think it'll look strange, and besides, it doubles the work for graphics artists.
Contributor to the The 2cc Set and Dutch Trainset. Inventor of the Metro concept. Retired Graphics Artist.
Image Image
Download TT | Latest TTDPatch | OpenTTD | OpenTTDCoop | BaNaNaS: OpenTTD content system | 2048² OTTD scenario of the Netherlands
GRF Codec | GRF Crawler | GRF Maker | Usefull graphics & tools sites | NML Documentation Wiki | NFO Documentation Wiki
All my graphics are licensed under GPL. "Always remember you're unique, just like everyone else."
broodje
Director
Director
Posts: 616
Joined: 13 Jul 2003 12:47
Location: Alphen aan den Rijn
Contact:

Post by broodje »

yes, but long train cars would look a lot better with it. the USset and their huge steam engines would look a lot better :).
michael blunck
Tycoon
Tycoon
Posts: 5954
Joined: 27 Apr 2005 07:09
Contact:

Post by michael blunck »

Indeed, for long carriages it´ll be useful but not for short ones given their offsets are properly done (e.g. something like the ET-87 looks very good on curved track IMO).

OTOH, long cars will generate other problems, though.

regards
Michael
User avatar
krtaylor
Tycoon
Tycoon
Posts: 11784
Joined: 07 Feb 2003 01:58
Location: Texas, USA
Contact:

Post by krtaylor »

It might be a worthwhile experiment with a long locomotive, e.g. the Big Boy and its tender.
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
User avatar
Steve
Tycoon
Tycoon
Posts: 2085
Joined: 10 Jan 2004 20:19
Location: London
Contact:

Post by Steve »

Can anyone draw the test sprites then?
User avatar
krtaylor
Tycoon
Tycoon
Posts: 11784
Joined: 07 Feb 2003 01:58
Location: Texas, USA
Contact:

Post by krtaylor »

Ask DanMacK.
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
User avatar
George
Tycoon
Tycoon
Posts: 4364
Joined: 16 Apr 2003 16:09
Skype: george-vb
Location: Varna, Bulgaria
Contact:

Post by George »

Please wait a bit, we are testing it now.
http://forums.ttdrussia.net/viewtopic.p ... &start=270
Image Image Image Image
Singaporekid
Tycoon
Tycoon
Posts: 1966
Joined: 21 May 2004 07:39
Location: Singapore

Post by Singaporekid »

Test graphic?
Attachments
Articulated_loco.PNG
Articulated_loco.PNG (1.04 KiB) Viewed 6067 times
User avatar
krtaylor
Tycoon
Tycoon
Posts: 11784
Joined: 07 Feb 2003 01:58
Location: Texas, USA
Contact:

Post by krtaylor »

I have a videotape of a real Big Boy operating, and that is actually very much what it looks like when going around a sharp corner, in the yards.
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
User avatar
Sanchimaru
Tycoon
Tycoon
Posts: 1542
Joined: 05 Feb 2004 22:39
Location: Kobe, Japan
Contact:

Post by Sanchimaru »

I've thinking about this new feature since it came...
Is it really worth it? I mean, as TT graphics work currently we need 4/ 8 sprites for each vehicle (4 for symmetric ones, 8 assymetric)
This feature makes you double the ammount of sprites.

The fact is that off course, it will be great to see them done, but to do them will require a lot of effort, and since TT sprites are so small I'm not sure if it's really worth it.

Look at the slow advance of the existing developing sets. If you have to double the production of sprites for each, it feels as if they will never see the light.
For example, it would take me ages to double ONLY the trains that I drew for the Japan set, not counting the ones done by other collaborators. I can't even think of do again each and every one single wagon of the KOKI101 with the correspondant 3 loading stages... (@_@; )
I'd gladly redo all the sprites for a better resolution set, but I don't feel encouraged to work like that for the current one.

I'd like smoother turns in a better resolution, but to invert time and effort in the current scale seems too much for me.
User avatar
krtaylor
Tycoon
Tycoon
Posts: 11784
Joined: 07 Feb 2003 01:58
Location: Texas, USA
Contact:

Post by krtaylor »

I think that thsi would be relevant mostly for extra-long locos and cars. In the Japanset, that means only the Shiki car.

But you're right, even there, it's a ton of work. The animated steam loco in the US set was very popular, and yet no more of those have gotten drawn.
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
User avatar
Hyronymus
Tycoon
Tycoon
Posts: 13235
Joined: 03 Dec 2002 10:36
Location: The Netherlands
Contact:

Post by Hyronymus »

Sanchimaru, this feature (when finished) will in no way force graphic artists to include additional sprites. It's always up to the graphics artist whether to include it or leave it out. So if you think it's too much work, and I agree that it does add to the load, you can always choose to not support it.

Of course such a decision might keep people from using your set but if they whine about such small things they aren't worth your work in the first place.
michael blunck
Tycoon
Tycoon
Posts: 5954
Joined: 27 Apr 2005 07:09
Contact:

Post by michael blunck »

As long as the curve tracks would stay the way they´re now it would look exceptionally ugly, IMO.

That´s even more true for longer vehicles. See attached pictures[*].

Please notice the weird movements of longer vehicles when in curves (sometimes being placed nearly perpendicular to the moving direction) and check the weird distances between the coaches (far too long or even crossing themselves).

[*] The pictures were taken from a test set kindly made available by George.

regards
Michael
Attachments
smooth.png
smooth.png (23.5 KiB) Viewed 5847 times
User avatar
Purno
Tycoon
Tycoon
Posts: 16659
Joined: 30 Mar 2004 12:30
Location: Almere, The Netherlands

Post by Purno »

michael blunck wrote:
[*] The pictures were taken from a test set kindly made available by George.
Oh boy, that looks ugly. Is this image showing the 'finished' stage, or does it still need more work?
Contributor to the The 2cc Set and Dutch Trainset. Inventor of the Metro concept. Retired Graphics Artist.
Image Image
Download TT | Latest TTDPatch | OpenTTD | OpenTTDCoop | BaNaNaS: OpenTTD content system | 2048² OTTD scenario of the Netherlands
GRF Codec | GRF Crawler | GRF Maker | Usefull graphics & tools sites | NML Documentation Wiki | NFO Documentation Wiki
All my graphics are licensed under GPL. "Always remember you're unique, just like everyone else."
michael blunck
Tycoon
Tycoon
Posts: 5954
Joined: 27 Apr 2005 07:09
Contact:

Post by michael blunck »

> Oh boy, that looks ugly. Is this image showing the 'finished' stage, or does it still need more work?

Pardon?

The coaches are OK, it´s the movement which matters in this context. That has nothing to do with "more work". It´s just that the existing track layout doesn´t fit the proposed "smooth" movement scheme, at least not for longer vehicles.

regards
Michael
User avatar
krtaylor
Tycoon
Tycoon
Posts: 11784
Joined: 07 Feb 2003 01:58
Location: Texas, USA
Contact:

Post by krtaylor »

From the looks of things, it's because the positioning is center based. I mean, it's as if the long carriage had one single bogie, right under its middle. And its behavior around corners is much as you'd expect in that case.

For this to work, I think you would need to somehow make it act as if there were two bogies - that is, for each long vehicle, there would be two points on the track that matter, at front and rear; then, some sort of algorithm calculates which angled graphic is closest to appropriate, and puts it midway between the points.

I can kind of imagine how this would work, but coding it would be a bear in the best circumstances, and squashing it into original TTD code in assembler would be a nightmare. It's a worthy experiment, but I'm not sure it's going to work out.
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
User avatar
Purno
Tycoon
Tycoon
Posts: 16659
Joined: 30 Mar 2004 12:30
Location: Almere, The Netherlands

Post by Purno »

michael blunck wrote:> Oh boy, that looks ugly. Is this image showing the 'finished' stage, or does it still need more work?

Pardon?

The coaches are OK, it´s the movement which matters in this context. That has nothing to do with "more work". It´s just that the existing track layout doesn´t fit the proposed "smooth" movement scheme, at least not for longer vehicles.
Well, that's what I meant. So is the movement still under development?
Contributor to the The 2cc Set and Dutch Trainset. Inventor of the Metro concept. Retired Graphics Artist.
Image Image
Download TT | Latest TTDPatch | OpenTTD | OpenTTDCoop | BaNaNaS: OpenTTD content system | 2048² OTTD scenario of the Netherlands
GRF Codec | GRF Crawler | GRF Maker | Usefull graphics & tools sites | NML Documentation Wiki | NFO Documentation Wiki
All my graphics are licensed under GPL. "Always remember you're unique, just like everyone else."
User avatar
Steve
Tycoon
Tycoon
Posts: 2085
Joined: 10 Jan 2004 20:19
Location: London
Contact:

Post by Steve »

Looking at that example, it would seem it will never work. But I think the example is a bit off itself. Like mentioned above, the offsets need to be modified. And whilst it won't be possible to make a really smooth curve, I think we can do better than that.
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: Baidu [Spider], Google [Bot] and 29 guests