PDA

Click to See Complete Forum and Search --> : Loading Images for DirectX


NaiK
Aug 17th, 2001, 03:33 AM
This ones been really annoying me. I've got a decent enough program, a screensaver, that uses DirectX. Problem is, I want to package the images I use in it into the .scr with an imagelist control.

How do I do this? The ImportImage function will not load from an ImageList or image/picturebox. I've seen 'Loading' screens on almost all DirectX games, and I assume it's loading images. Where do they get the images from (no picture files in any directories), where are they putting them (into memory somehow I suppose..?), and how do they get them from wherever they're stored?

:confused:

Need some help!

PsychoMark
Aug 17th, 2001, 04:02 AM
Use resources. I think there is some info about it at http://www.vbexplorer.com/directx4vb/...

NaiK
Aug 17th, 2001, 05:27 AM
Another question: I can't seem to wrap a different texture around each cube face. I can put a texture on a cube, but that sets up the same texture on each of the faces.

How do I set up the cube with different textures on each face?