dorkremi
11-27-2000, 10:19 AM
Well, no one responded to my first question... so maybe it was as stupid as I thought.
Here's my second one:
When loading data from a file, I am only able to open three sgi files (~17KB each) for texture mapping using tk.lib (texture = tk_RGBImageLoad("myfile.sgi"). I think... I'm not at the computer this second, so the function name might be slightly off.) before my computer locks up. I even free the memory used for the bitmaps using the free(texture->data) command... (after they're mapped)
What could be causing my computer to lock up when I try to open more than three sgi textures? Would MaxApplZone() help to give me more memory? Any help is greatly appreciated...
NOTE: I'm using AGL and a standard mac window, not GLUT.
Thanks.
-Josh Morris
dorkremi@hotmail.com
[This message has been edited by dorkremi (edited 11-27-2000).]
Here's my second one:
When loading data from a file, I am only able to open three sgi files (~17KB each) for texture mapping using tk.lib (texture = tk_RGBImageLoad("myfile.sgi"). I think... I'm not at the computer this second, so the function name might be slightly off.) before my computer locks up. I even free the memory used for the bitmaps using the free(texture->data) command... (after they're mapped)
What could be causing my computer to lock up when I try to open more than three sgi textures? Would MaxApplZone() help to give me more memory? Any help is greatly appreciated...
NOTE: I'm using AGL and a standard mac window, not GLUT.
Thanks.
-Josh Morris
dorkremi@hotmail.com
[This message has been edited by dorkremi (edited 11-27-2000).]