Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Library : Other (not classified elsewhere) » opengl & tekstures
Re: opengl & tekstures [message #1886 is a reply to message #1853] Fri, 24 March 2006 22:53 Go to previous messageGo to previous message
fudadmin is currently offline  fudadmin
Messages: 1321
Registered: November 2005
Location: Kaunas, Lithuania
Ultimate Contributor
Administrator
Regarding textures. My guess that you placed your bmp files somewhere out of reach for you exe...
And because the lesson example is programmed in a very stupid way you are not informed about it Smile

Advice No1. - in IDE "Build" menu open "Output Directory" and move or copy all *.bmp etc. files which you are using in your app. In that case, you can use e.g LoadBMP("nehe.bmp") etc. or use full paths to files e.g LoadBMP("D:\data\nehe.bmp")

Advice No2. - put PromptOK("step1"); as guards to check if your program came where you expected.
e.g

       if (File)                                       // Does The File Exist?
        {
                fclose(File);
                PromptOK("really opening DIB");                          // Close The Handle
                return auxDIBImageLoad(Filename);       // Load The Bitmap And Return A Pointer
        }
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: uvs wishes
Next Topic: namespace upp
Goto Forum:
  


Current Time: Wed Apr 30 06:24:51 CEST 2025

Total time taken to generate the page: 0.01103 seconds