Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Speedometer and tachometer decals
11-07-2014, 04:53 PM (This post was last modified: 11-07-2014 05:05 PM by NaN.)
Post: #1
Speedometer and tachometer decals
With the upcoming support for gauges in the ui, users most probably will want to have gauges with scale ticks and labels.

The issue is the range of speed and rpm limits we have with the cars in master.

Possible solution:
Let the game tell the gui what decal to use.
For speed at 40 kph/mph granularity: 120, 160, 200, 240, 280, 320, 360
For rpm at 1000rpm granularity (x1000): 5, 6, 7, 8, 9, 10, 11, ..., 20
This makes 7 speedometer textures (120.png, 160.png, ...) and at least 8 (skipping some between 11-20) tachometer textures to get all cars covered?

Alternative solution:
Tell the game what gauges are available to pick from and let it select the closest one? Technically more complex, but could get away with less textures.

Crazy idea:
Have a per car hud page, which would override the one provided by the gui skin. But we also support different gui skins (even if unused atm), how would that work then?

Any ideas, comments?
Find all posts by this user
Quote this message in a reply
11-08-2014, 09:41 AM (This post was last modified: 11-08-2014 09:45 AM by CrystalH.)
Post: #2
RE: Speedometer and tachometer decals
Ah. I wouldn't bother with that.
You have a lot of cars, if you do anything per car, it will take much time. Assuming gauges are on texture this is even more work.
We have just 1 texture with 4 elements: backround rpm, speed for km/h, speed for mph and needle,
we have 5 types (changed by user option, not car), example:
In order to view links, you must have to reply to this thread.
I assumed 240 km/h the top speed, and 120 is in vertical middle. Higher values just have needle turning further, not a big deal for me.
Sure, each car should probably have that custom but when using a texture its really not likely. Would be easier if gauge back was generated with lines and digits but then it won't ever reach the great look as on textures.
Yeah, F1 is exception, has high rpm, should have its own rpm texture.
Visit this user's website Find all posts by this user
Quote this message in a reply
11-08-2014, 01:53 PM
Post: #3
RE: Speedometer and tachometer decals
(11-08-2014 09:41 AM)CrystalH Wrote: In order to view links, you must have to reply to this thread.Ah. I wouldn't bother with that.
You have a lot of cars, if you do anything per car, it will take much time. Assuming gauges are on texture this is even more work.
We have just 1 texture with 4 elements: backround rpm, speed for km/h, speed for mph and needle,
we have 5 types (changed by user option, not car), example:
In order to view links, you must have to reply to this thread.
I assumed 240 km/h the top speed, and 120 is in vertical middle. Higher values just have needle turning further, not a big deal for me.
Sure, each car should probably have that custom but when using a texture its really not likely. Would be easier if gauge back was generated with lines and digits but then it won't ever reach the great look as on textures.
Yeah, F1 is exception, has high rpm, should have its own rpm texture.

Yeah, I've tried auto-generated gauges before, but getting them to look good and be customizable would be a lot of work.

Atm I lean towards three speed (160, 240, 320) and four rpm textures (6000, 9000, 12000, 21000(f1 and co)). Might reduce the count even furter.

I need to run all cars through perf test, to get a better idea about speed/rpm ranges.
Find all posts by this user
Quote this message in a reply
11-17-2014, 03:32 AM (This post was last modified: 11-18-2014 12:41 AM by summercondon.)
Post: #4
RE: Speedometer and tachometer decals
I am not able to understand what you people's are talking about.
In order to view links, you must have to reply to this thread.
Find all posts by this user
Quote this message in a reply
11-18-2014, 08:21 AM
Post: #5
RE: Speedometer and tachometer decals
Decided to give Inkscape ( In order to view links, you must have to reply to this thread. ) a try to create the decals.

Some initial testing (the thin circles/arc are there to help with labels placement, are not part of the final image) Sleepy
[Image: QQBJDt2.jpg]
Find all posts by this user
Quote this message in a reply
11-21-2014, 01:57 PM
Post: #6
RE: Speedometer and tachometer decals
Looking good Smile
Visit this user's website Find all posts by this user
Quote this message in a reply
11-22-2014, 02:13 PM (This post was last modified: 11-22-2014 02:14 PM by NaN.)
Post: #7
RE: Speedometer and tachometer decals
I've used this tutorial as my starting point btw: In order to view links, you must have to reply to this thread.

Although with a minor deviation. Instead of bending the line, I've applied the ruler effect directly to the circle arc.
Find all posts by this user
Quote this message in a reply
01-19-2016, 11:13 AM
Post: #8
RE: Speedometer and tachometer decals
(11-22-2014 02:13 PM)NaN Wrote: In order to view links, you must have to reply to this thread.I've used this tutorial as my starting point btw: In order to view links, you must have to reply to this thread.

Although with a minor deviation. Instead of bending the line, I've applied the ruler effect directly to the circle arc.

.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)