3d Dials and Dial shaders

Ok, so, I'm trying to get 3d dials/gauges working properly but there's a bit of a problem.
How do we define shaders for dials/gauges? Currently they're really dark.

And why isn't this working?
Code:
  elt2
    {
      type=digital
      x=0.343
      y=0.331
      z=1.037
      is3d=1
      ; Size
      width=0.08
      height=0.08
      image=GearFont1.tga
      ; Variable to measure
      var=gear
      digits=0
      factor=1
      src_char_wid=64
      src_char_hgt=64
      char_wid=18
      char_hgt=18
      char_dx=64
    }

I get no output at all. Can we not have 3d digital dials?

Cheers all
Cam
 
Hehe, good point :D

They have never really worked right for a long time. The system needs clarifying/fixing really, as it'd be good to fix these now and forever :D

Dave
 
So I figured it out, the width and height mean nothing when the dials are 3d.
When they are 3d the char_wid and char_hgt matter.

We still need to be able to define shaders for these though!!
 
I don't know why the needles are always such a problem, it seems that they should have had a shader just like the rest of the car from the start of CG. Now they are black in the sun and only visible at night.

Alex Forbin
 

Latest News

Do you prefer licensed hardware?

  • Yes for me it is vital

  • Yes, but only if it's a manufacturer I like

  • Yes, but only if the price is right

  • No, a generic wheel is fine

  • No, I would be ok with a replica


Results are only viewable after voting.
Back
Top