Archived

This topic is now archived and is closed to further replies.

DirectX8 Texture Loading Without D3DX

This topic is 5983 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

Hey Ho! At the Moment i am writting an Render Wrapper. It uses OpenGL and DirectX. With OpenGL you can create a Texture with the data bytes that i am using. But DirectX doesn''t support this feature. I have tried do lock blt unlock the data on the Texture but that fails. There are only some strange Chars. Thanks for your help.

Share this post


Link to post
Share on other sites
Hi,
I''m also been writing a Wrapper for a while. It supports both D3D and OGL. I use my simple image class to load images and manually Lock surface and set images. (I don''t use D3DXCreateTextureFromFile()).
If you are interested I can post some code how I do it.

Share this post


Link to post
Share on other sites