Advertisement

texturing!

Started by March 31, 2004 02:43 AM
0 comments, last by grfxer 20 years, 11 months ago
Hi, I use NeHe''s code in order to create textured objects. Let''s say i have a cube drawn on the screen with no texture on it.I would like to be able to let the user choose what texture to use on the cube.The user may have his textures(.bmp files) in any directory or disk partition so he would have to tell the program where his texture is . Is there a way i can do that? I would appreciate if you could give some code.
In vc++ 6 i would create an mfc application where i could add a menu system and use the objects within c++ to do the work for me.

user can simply choose from a filelistbox and that bmp gets mapped

any tut on filelistboxes will show you the code....gooooooooogle

This topic is closed to new replies.

Advertisement