Jump to content

  • Log In with Google      Sign In   
  • Create Account


Creating a Image Loader


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 KoldGames   Members   -  Reputation: 222

Like
0Likes
Like

Posted 23 September 2013 - 12:18 PM

Hello! I'm writing a game engine using C++ and was wondering how I would create a custom image loader that supports PNG, DDS, & JPG. I saw that D3DX11CreateShaderResourceViewFromFile has been removed. How would I do this? Thanks! :)



Sponsor:

#2 Vortez   Crossbones+   -  Reputation: 2698

Like
0Likes
Like

Posted 23 September 2013 - 01:07 PM

I use FreeImage in OpenGL, should work in dx too. I find it rather easy to use. I also heard of DevIL but i never used it.


Edited by Vortez, 23 September 2013 - 01:08 PM.


#3 eppo   Crossbones+   -  Reputation: 2406

Like
0Likes
Like

Posted 23 September 2013 - 01:32 PM

Don't go crazy writing your own image loader. The spiritual successor to the D3DX loaders is the WICTextureLoader in the DirectX Tool Kit.






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS