12 Discussion / Question Topics

Remove Filter
Member Avatar for MattyRobot

i have spent some time trying to install glut in code blocks and so far I haven't succeeded. i have downloaded the glut-3.7.6-bin [URL="http://www.xmission.com/~nate/glut.html"]from here[/URL] . I have looked at tutorials on where to put the files in the download ([URL="http://www.sci.brooklyn.cuny.edu/~goetz/codeblocks/#win"]like here[/URL]) but it doesn't work. :icon_question::icon_question::icon_question:

Member Avatar for Mallot
0
293
Member Avatar for MattyRobot

I am getting the error: There is no disk in the drive. Please insert a disk into drive \Device\Harddisk1\DR1. I have already read the answers of previous posts, but none of them fit to my situation. I am running code blocks from a usb stick. When I start debugging I …

Member Avatar for finito
0
126
Member Avatar for MattyRobot

I am trying to move a project from CodeBlocks to visual c++. (it compiles fine using minGW) I am using the 2010 express version. when I compile the projectusing VC++ I get the errors below. I have done some research and it is comming from including windows.h. to test this …

0
85
Member Avatar for MattyRobot

is it possible to stretch a 3D scene in openGL? I know it is possible in glOrtho() but how would I make a 3D scene stretch. for example if I rendered a cube, in the middle of a window, and then made the window longer, instead of the cube stretching, …

Member Avatar for Sodabread
0
308
Member Avatar for MattyRobot

what would be a good way to load images to use for texture mapping in opengl? I have looked at tutorials such as nehe lesson 6 and some other resources but they all use something old and depreciated that I cant compile.

Member Avatar for Sodabread
0
354
Member Avatar for MattyRobot

would there be anything wrong with making an includes.h which has all of the .h files my project needs to link to. or is it better to link to them when needed?

Member Avatar for MattyRobot
0
138
Member Avatar for MattyRobot

I have been trying to get world coordinates of the cursor position for a program by: [LIST=1] [*]getting the top and left position of the client of the window [*]getting the global position of the cursor (GetCursorPos()) [*]cursor x - client left and cursor y - client top [*]zoom x …

Member Avatar for MattyRobot
0
96
Member Avatar for MattyRobot

in openGL how can I make the left of the screen = 0 and the right to = 10 or somthing, and the top = 0 and the bottom = -10. because i dont like working with numbers only ranging from -1.0 to 1.0. i read [URL="http://www.opengl.org/resources/faq/technical/transformations.htm"]here[/URL] that the coordinate …

Member Avatar for mrnutty
0
84
Member Avatar for MattyRobot

I have been trying for ages to get glut working (in code blocks) and now it works... sort of. I can compile and run applications but it comes up with several warning: ignoring #pragma comment errors in glut.h. I got the glut.h file from [URL="http://www.transmissionzero.co.uk/computing/using-glut-with-mingw/"]here[/URL]. because all other downloads of …

Member Avatar for MattyRobot
0
136
Member Avatar for MattyRobot
Member Avatar for MattyRobot

I have recently learnt the basics of c++ but I want to advance to making proper GUI's (and games) but I don't know what to use. I think the two most popular libraries are OpenGL and Direct3d but I'm not sure which one to use. could you guide me in …

Member Avatar for MattyRobot
0
121
Member Avatar for MattyRobot

how can I use a function inside an object? (the code is too long to put here but here's a replica) [code=c++] class example { public: example(); ~example(); void doSomthing() { afunction(); } } void afunction() { //do more things } [/code] in this example i wouldnt [B][U]NEED[/U][/B] to use …

Member Avatar for rughead
0
158

The End.