Sign in to follow this  
Crazyfool

More DirectX!

Recommended Posts

Hi, this time I dont have a problem (woo) but I wanna know the name of something so I can look it up. I have heard and would imagine having one texture with like 30 tiles on it and then just map out each tilewhen I need to use it would be better and more convenient, but I dont know what that is called. Does anyone know the proper name of it so I can look it up? I have googled quite a bit of terms I thought it could be but all were other things. Thanks :D

Share this post


Link to post
Share on other sites
Well, I am not really have any problems - yet.

I dont even know how to start, thats why I want the name so I can google it then ask questions.

However, I have an idea but Im not sure how I can do this without being messy.

Basically, I have an array of CUSTOMVERTEX arrays (lol) and then I have each one representing a portion of the original texture, i.e., 1 square down, 3 over (I sorta got this figured out, but I'm not sure if I need to do special tricks or if its because floating point error but I get a slight border around each texture displayed)

Anyway, that seems very tedious, slow and wasteful.

Can you suggest a method of doin something like that? What I'm trying to do is make a small map reader where it reads a text file with data corresponding to point and texture then it will render that texture in the right spot.

Thanks

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this