434 Topics
| |
Hello all, I am a final year student developing a project on Image processing. I am thinking of using OpenGL for back-end processing. Is there any particular advantage in this choice like improved performance or ease-of-use? Are there any other options also available? I can code only in C/C++ & … | |
Hello, I am new to C++ and am not currently in a class teaching it. I am wondering well, basically, WHAT OpenGL is, how to operate it, a direct link of how to get it, and maybe some example code of where to get it? If someone could tell me … | |
How does vertexes work? I'd like newbie friendly answers and in detail :) PS: I've already tried to google it but i couldn't find any good answers. So no "omgz google is your friendz n00b" answers please. :) | |
Hello there! I'm trying to run C++ programs using OpenGL library on a machine with a nVidia video card. But... I'm getting this error message: nVidia OpenGL driver Driver component sizes mis-match. Retry to keep going. Cancel to exit. The same program runs smoothly on another computer with a very … | |
I'm writing a C++ project using OpenGL in Microsoft Visual Studio 2005. I already have code for importing a jpeg image, but I don't know how to place it on a plane in 3D so I can view it in either ortographic or perspective projection. Also, how do I set … | |
I'm a beginer in OpenGl. I downloaded glut 3.7.6 package but I didn't find glu.h, glaux.h, opengl.h, opengl32.h and gl.h in there. Where can I get it ? And if I've found it, how to set it so it can work well. I'm using VC++ 2008 Express. Please tell me … | |
Hi I have fiddled around with other GUI's such as pygame and wxPython but i wanted to use something a little more powerful when it came to 3D objects and i saw what PyOpenGl can do. But i spent ages looking for any help but i couldn't find any place … | |
Hi all, I want to have a MDI application with OpenGL enabled on child forms. additionally each form can have controls than OpenGL. I have tried Nehe's lessons but all of them have used an infinite loop to call glDraw function which can not be done in MDI application as … | |
Hi all, I want to created an MDI application in Managed C++.NET, which can use OpenGL. I have created an application VC++, which uses OnDraw function of CView class to render OpenGL drawings. But i am unable to find an alternate of CView class (actually some function like OnDraw which … | |
HI all, I am trying to add a 3D scene to my c# application, so I am using Tao libraries. I am not very experienced with c# and a complete beginner in OpenGL. At the end, I could open a window with my OpenGL graphic using Glut, but the problem … | |
| Hey, I am having a really weird problem with my OpenGL Program. When I compile it in Debug mode and run it through Visual Studio 6, it works fine, but when I run it from windows, it works fine until the part where you go to manipulate the camera of … |
Does anyone know a good way to get a bitmap (or other picture file format) and put it on the screen using OpenGL??? I mean, that kinda thing is hard enough in the sissy, user-friendly syntax of JAVA. Anyone?...anyone?...Bueller? | |
For Visual Studio 2008. I am not sure if this is the right place for it, but maybe someone here can help me. I have my program set up for Open GL, I also want to put Open AL in there too. Now I scoured the net for tutorials and … | |
Hi, I have seen in python`s help (the .chm file) that in the opengl section it has a code like this: import gl, GL, time def main(): gl.foreground() gl.prefposition(500, 900, 500, 900) w = gl.winopen('CrissCross') gl.ortho2(0.0, 400.0, 0.0, 400.0) gl.color(GL.WHITE) gl.clear() gl.color(GL.RED) gl.bgnline() gl.v2f(0.0, 0.0) gl.v2f(400.0, 400.0) gl.endline() gl.bgnline() gl.v2f(400.0, … | |
I'm working with OpenGL and MFC. I'm able to output text on the view using glCallLists but I'd like to position the text on the screen. How can I do that? I'd appreciate any suggestions.. thanks! | |
I have written a few games in C++ with OpenGL, and I am working on another one now, its my biggest project. Everything works really great on my computer, but whenever I move my executable to another computer, the depth testing completely stops working. I have no idea what causes … | |
Hi, everybody First of all, i should say i am new at OpenGL programming and thanks to those who may help to solve my problem :) The thing is, i was developing an application which is named Articulated Robot Arm (some of you guys may familiar with this). Everything was … | |
Hello:) Can you please suggest some good opengl terrain rendering links or books(not to complicated, i am quite a beginner yet). Thanks in advance. | |
Hello, I need to make an application which have to permit to modelate sundries molecules interecative. Could you help me, please ? I never made an opengl application. Thanks! | |
I am familiar with programming culture. I want to start learning 3d games development. I want to know which language is most suitable for sustainable games development- directX or openGl or c++ or some third language??? Please guide me! Thanks & Regards *naina* | |
Hi Guys, So I am trying to use C++ and openGL to create a simple robot arm that will follow a traget on the screen. I am to use Inverse Kinematics and more specifically the Cyclic Coordinate Descent Algorithm. I have found a few different ways to implement this although … | |
hello I implemented a rotating cube in opengl which rotates when the user moves the mouse. I am a beginner with opengl, so i wanted to ask you a question on rotating. here is my code for the rotation : [code] void CDiplomaView::OnLButtonDown(UINT nFlags, CPoint point) { // TODO: Add … | |
dear all friends i am a newcomer, i have a basic questions, i already read one book of openGL, couldn't understand well. my question is how to create a cube and map a texture to it, anyone give me some explanation of work principle to handle this? thanks a lot. … | |
Do anybody know about this mapping in the SDL_MapRGB [CODE]SDL_MapRGB(screen->format, R, G, B)[/CODE] The screen is my SDL_Surface. Does this define only a single color. The RGB are Uint8 type and I set them As I wish from 0-256. [CODE]Uint32 color = SDL_MapRGB(screen->format, R, G, B);[/CODE] i don't understand the … | |
Using OpenGL in Visual C++: Part I #1 Jul 14th, 2004 Here is the example i also used to implement an opengl window ready for painting. But the problem is i still have flicker. How can i get rid of it ? pls help me... here is my code : … | |
Hey, I'm relatively new to OpenGL but I have a little experience in C and I was wondering how I would set the pixel coordinates of an OpenGL windows. Its a little hard to explain what I mean but for example if I would like to instead of having (x,y) … | |
hey I'm trying to run this program on netbeans on Ubuntu #include <windows.h> #include <GL/gl.h> #include <GL/glext.h> #include <GL/glu.h> #include <GL/glut.h> void myInit(void) { glClearColor(1.0,0.0,0.0,0.0); glColor3f(0.0f, 0.0f, 1.0f); glPointSize(9.0); glMatrixMode(GL_PROJECTION); glLoadIdentity(); gluOrtho2D(0.0, 640.0, 0.0, 480.0); } //<<<<<<<<<<<<<<<<<<<<<<<< myDisplay >>>>>>>>>>>>>>>>> void myDisplay(void) { glClear(GL_COLOR_BUFFER_BIT); glBegin(GL_POINTS); glVertex2i(400, 350); glVertex2i(100, 130); glVertex2i(150, 130); … | |
Hello again, i'm trying to make a program that draws a cube on the screen using data inside of a .txt file, this is the code that i've got so far, it compiles and runs but doesnt actualy display anything and i'm not really sure why. its probably something simple … | |
I'm getting Linker errors when trying to compile my OpenGL code with Dev C++, the code compiles perfectly on the university machines using Visual Studio. I've visited several sites that explain how to get openGL to work om Dev C++, and i've followed the steps. -Installed the Dev Pack. -added … | |
What is the easiest way to get a user input string (char array) from within an OpenGL program? It doesn't have to look good, this is just for debugging purposes. Thanks. |
The End.