Texture/Image Binding crash.
ok, I fixed the GLint thing and now no warning 
I copied the pictures into a few of the folders to make sure they were accessible (prolly didn't need ot do that.
The last time I added pictures to an XCode project (in the view-thing on the side) it wouldn't compile, but this time I added them to "Targets -> App -> Bundle Resources -> InfoPlist.strings" so Earth.bmp is in there.
so now it compiles and runs, but I get a window with a background color of "GL_COLOR_BUFFER_BIT" and a White box where it SHOULD be displaying Earth.bmp.
I checked attributes. Earth.bmp is 256X256. we learned that if the picture wasn't a multiple of a binary number it wouldn't disply. we used bitmaps that were 256X256 and this is the picture I used for that exercise. so now I can't figure out what's wrong with the dispaying...
And I suddenly just noticed another thing.
I used ot be able to throw a *.cpp file into the source for Targets for building and it would work fine. now it'll only take a *.m file. I would assume that has something to do with the fact that my project is technically a "Cocoa Application" (that's what I chose when I made the new project.)?? how can I make it run off of cpp's again?

I copied the pictures into a few of the folders to make sure they were accessible (prolly didn't need ot do that.
The last time I added pictures to an XCode project (in the view-thing on the side) it wouldn't compile, but this time I added them to "Targets -> App -> Bundle Resources -> InfoPlist.strings" so Earth.bmp is in there.
so now it compiles and runs, but I get a window with a background color of "GL_COLOR_BUFFER_BIT" and a White box where it SHOULD be displaying Earth.bmp.
I checked attributes. Earth.bmp is 256X256. we learned that if the picture wasn't a multiple of a binary number it wouldn't disply. we used bitmaps that were 256X256 and this is the picture I used for that exercise. so now I can't figure out what's wrong with the dispaying...
And I suddenly just noticed another thing.
I used ot be able to throw a *.cpp file into the source for Targets for building and it would work fine. now it'll only take a *.m file. I would assume that has something to do with the fact that my project is technically a "Cocoa Application" (that's what I chose when I made the new project.)?? how can I make it run off of cpp's again?
| Messages In This Thread |
|
Texture/Image Binding crash. - Aftershock6783 - Apr 5, 2005, 01:23 PM
Texture/Image Binding crash. - OneSadCookie - Apr 5, 2005, 01:51 PM
Texture/Image Binding crash. - Aftershock6783 - Apr 5, 2005, 03:09 PM
Texture/Image Binding crash. - OneSadCookie - Apr 5, 2005, 03:23 PM
Texture/Image Binding crash. - Aftershock6783 - Apr 5, 2005 03:28 PM
Texture/Image Binding crash. - OneSadCookie - Apr 5, 2005, 05:10 PM
Texture/Image Binding crash. - Aftershock6783 - Apr 5, 2005, 05:33 PM
Texture/Image Binding crash. - OneSadCookie - Apr 5, 2005, 05:56 PM
Texture/Image Binding crash. - Aftershock6783 - Apr 5, 2005, 07:48 PM
Texture/Image Binding crash. - OneSadCookie - Apr 5, 2005, 08:08 PM
Texture/Image Binding crash. - Aftershock6783 - Apr 5, 2005, 08:42 PM
Texture/Image Binding crash. - OneSadCookie - Apr 5, 2005, 09:25 PM
Texture/Image Binding crash. - Aftershock6783 - Apr 5, 2005, 09:32 PM
Texture/Image Binding crash. - Aftershock6783 - Apr 5, 2005, 09:52 PM
Texture/Image Binding crash. - OneSadCookie - Apr 5, 2005, 09:56 PM
Texture/Image Binding crash. - Aftershock6783 - Apr 5, 2005, 10:05 PM
Texture/Image Binding crash. - OneSadCookie - Apr 5, 2005, 11:25 PM
Texture/Image Binding crash. - Aftershock6783 - Apr 6, 2005, 08:10 AM
Texture/Image Binding crash. - OneSadCookie - Apr 6, 2005, 01:31 PM
Texture/Image Binding crash. - Aftershock6783 - Apr 6, 2005, 01:46 PM
Texture/Image Binding crash. - OneSadCookie - Apr 6, 2005, 01:51 PM
Texture/Image Binding crash. - DanLab - Apr 6, 2005, 02:31 PM
Texture/Image Binding crash. - DanLab - Apr 6, 2005, 02:37 PM
Texture/Image Binding crash. - VolganPoet - May 10, 2005, 03:35 PM
Texture/Image Binding crash. - Puzzler183 - May 10, 2005, 03:46 PM
Texture/Image Binding crash. - w_reade - May 10, 2005, 04:34 PM
Texture/Image Binding crash. - VolganPoet - May 11, 2005, 05:26 PM
Texture/Image Binding crash. - VolganPoet - May 11, 2005, 05:52 PM
|
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| Suggestions for a physics library for java? Is there a chipmunk binding? | aqua_scummm | 6 | 4,849 |
Dec 12, 2008 12:40 PM Last Post: aqua_scummm |
|

