• Racing is not a matter of life and death. It's much more important than that!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. If you have any questions, please don't hesitate to ask. There's no such thing as a stupid question.

Wheel Blur

Discussion in 'Racer' started by FiftyOrange, Mar 23, 2010.

  1. FiftyOrange

    FiftyOrange

    Messages:
    492
    Ratings:
    +0
    Can anyone write up a quick simple tutorial for doing wheel blur?

    Thanks.
     
  2. Stereo

    Stereo

    Messages:
    2,213
    Ratings:
    +1,170
    Just in terms of putting them in car.ini you add lines after the wheel model:
    Code:
      model
      {
        file=wheel_rr.dof
        offset
        {
        x=0
        }
      }
       model2
       {
          file=wheel_rr_blur01.dof
          velocity=16
    }
     model3
       {
          file=wheel_rr_blur02.dof
          velocity=36
      }
    }
    For myself, I create the wheel blur models by taking a side screenshot of the wheel, then using a radial blur in GIMP. First a low level blur, then a pretty much complete blur. This just maps to a lower detail model (flat at the visual level of the spokes, I guess). I've been thinking about how to improve it visually but haven't managed to come up with anything decent yet.
     
  3. FiftyOrange

    FiftyOrange

    Messages:
    492
    Ratings:
    +0
    Seems simple enough, thanks.

    I didn't know it was changing models, I'd thought it was only changing textures.
     
  4. Stereo

    Stereo

    Messages:
    2,213
    Ratings:
    +1,170
    Really (imo at least) it could be done better with both - shift to a smooth model, then slowly interpolate between textures as it speeds up. But I don't think shaders have access to wheel velocity.
     
  5. FiftyOrange

    FiftyOrange

    Messages:
    492
    Ratings:
    +0
    I've opened up a whel in Z Modeler, and dragged some faces around, but it's sadly above my capablility to do this. I've had a look at some other wheels, from a Ford Scorpio, which have blur effects. I can't take a wheel and make it like that.
     
  6. Stereo

    Stereo

    Messages:
    2,213
    Ratings:
    +1,170
    Hmm... in ZModeler the easiest way to model it is probably:

    Create a spline (line-strip). Draw it along the profile of the wheel (about the level of the face of the spokes), then out around the tire.
    Looks basically something like this, a cut-out view.
    [​IMG]
    Create>Surface>Revolution. Go to a "front" view of the wheel (side view, left or right). Click the spline, click the center where you want it to be. Enter number to revolve (probably 32 or so is good). If it asks you to cap, that just means it fills in faces at the front and back which depends how close to the centre the spline goes whether you'd want it.

    I have 1.06f and I have to restart it after every time I use the revolution tool. Not sure if other versions work better. Splines also make it crash sometimes so I usually delete them.
     
  7. FiftyOrange

    FiftyOrange

    Messages:
    492
    Ratings:
    +0
    Thanks!
    I will give that a go tomorrow. Your instructions are very good, I appreciate it!
     
  8. KS95

    KS95
    RACER Moderator

    Messages:
    2,416
    Ratings:
    +196
    That looks like a giant man throwing a huge rock at a building. Hmm.