I load a HDR image as a texture and I wrote shaders to map the 2 texture to a sphere but texture disappears when I click on it or when I resize the window! Here is my code for display function:
...
Type: Posts; User: ne-coco
I load a HDR image as a texture and I wrote shaders to map the 2 texture to a sphere but texture disappears when I click on it or when I resize the window! Here is my code for display function:
...
I didn't compile the library, It was compiled before, you can find the compiled libraries in 3rdparty folder!
pbrt contains the OpenEXR library! I uploaded my source code . here is the link: http://www.4shared.com/rar/VWHYOCl5/testloadmesh1.html
I did that too but I still have the same linker errors!! :(
Hi everyone
I'm trying to load an HDR image into my program using pbrt libaray( 3rdparty), I include the associated libraries in "Additional include directories" of my solution. I'm using visual...