Jump to content

Need help to create a steering wheel control


Recommended Posts

Hi,

I am trying to create a steering wheel from a knob but I still not have any luck. I did make the value from 0 to 360 and the value is spreaded around the circle already. But I have problem with the moving part of the control. The only moving part is the needle but looks like I cannot replace it. Do you have any suggestion for this one? This part is really important with the GUI of my project.

I highly appreciate your helps.

Link to comment

Hi Thang,

I have a simple 2D image rotation that you might use (with some tweaks to have a better GUI). I've set it up with a steering wheel jpeg for you to try. If that's close to what you need, you'll have to improve it by trimming the edges and perhaps smoothing the image by doing some interpolating. Anyhow, try this out...

Saved for 8.0. (OpenG Arrays library needed)

Download File:post-10515-1226381134.zip

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.