Jump to content
  • Advertisement
Sign in to follow this  
Pete_001

Is texture wrapping the best way?

This topic is 4148 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm a DirectX beginner, and want to create a fruit (slots) machine. At the moment I'm concentrating on the reel. Is the best way to go about this, to create a cylinder type object and wrap a texure (my images for the reel) around it? If so how do I do it.. or what things should I read up on? Textures/Sprites/etc? Simple examples would be a fantastic help.. :) Pete

Share this post


Link to post
Share on other sites
Advertisement
You would probably just make a texture that contains all of the fruits and uv map it to a cylinder in a modeling program. Then export it as a .x mesh and load it and the texture into your program. That would be the easiest way. All you would have to know how do do is load a .x file and render it with a texture.

Although if you don't have any modeling programs or people to make you this cylinder you can enter the uv coordinates and vertex positions directly into a vertex buffer. This method would take a lot more time though.

This is all just basic stuff so you could pick up a beginning directx book or go to a website and get a tutorial. Try www.two-kings.de or www.toymaker.info

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!