VBGamer |
|||||||||||||||||||||||||||
RE: Direct3D Question PyroBoy (1 reply, 0 views) (2000-Jul-27) I've never actually done this, but I would imagine you could put multiple images(I'm assuming by this you mean a tileset for a 2d tile engine?Yes?) in one texture surface and each primitive(onscreen tile) could use different u,v texture coordinates to reference different sections of the one tileset texture. I've been meaning to try this whole "3D for 2D" thing out but I haven't gotten around to it yet. That's how I'd try to do it though. Try it out.
If you need more info on using texture coords read this:
http://msdn.microsoft.com/library/psdk/directx/imover_3ulg.htm
Hope that helps...
|