434 Topics
![]() | |
I'll explain what I'm doing before I get to the exact problem. I've been making a 2D game in python. Originally I was making it in pygame but I faced a problem. To prevent a very low frame rate I either had to reduce the screen dimensions and remove features … | |
I am learning opengl and now have code to make a new window. I would like to move onto adding triangles/quads; I just dont know where to add the code for a triangle/quad. I will paste the code into this thread; if you know could you just add [COLOR="Red"]<--- Code … | |
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, … | |
does anyone know of any good sites, to start learning opengl? | |
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. | |
I'm working on a project using Lindenmayer systems([url]http://en.wikipedia.org/wiki/L-system[/url]) to simulate the animation of a tree growing. It uses recursion to determine how the branches and leaves of the tree appear. The program uses OpenGL and my programming language is C++. Here's what I've defined my L-System with: derivative length: 10 … | |
Does anyone know of any good OpenGL selection tutorials that go over how to process more than 64 objects? The only tutorials that I can find deal with under 64 objects and when they mention more than that they say use a loop but don't go into any detail. Thanks | |
Hi Guys, I am trying to reverse engineer some of the openGl function into pure c++ and need some help. I can't use openGL but need to do some of the stuff it does. I am trying to figure out how to code glViewPort(...) in c++. Any help in this … | |
The [url=http://www.blackberrydeveloperconference.com/overview]BlackBerry Developer Conference[/url] concluded yesterday, but not before Research in Motion had the chance to unveil enhancements to its [url=http://na.blackberry.com/eng/developers/]BlackBerry Application Platform[/url], which now supports [url=http://en.wikipedia.org/wiki/OpenGL_ES]OpenGL ES[/url], a subset of the desktop graphics API specification for embedded systems. Useful for development of 3D games development and other graphics, it's … | |
So I'm working on this OpenGL 3D Graph program, and like, I ran into some trouble, since I wanted it to support fullscreen, so I made the following; [CODE] int main(int argc, char *argv[]) { ... // Some stuff glutSpecialFunc(SpecKey); ... // More stuff } [/CODE] Which is calling the … | |
I am making a rubix cube game in OpenGL and I have run into a problem with rotations. When doing multiple rotations (x, y, z) the axis gets rotated as well (ie when doing an x-axis rotation of 90 or 270 deg the y-axis becomes the z-axis and z-axis becomes … | |
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 … | |
i m working in c++ to make the 3D graphics project using opengl so if any one can help me regarding this | |
If possible could you please take a look at this image/tileset and see if its possible to draw a 2x2 tile map with each of the frames in that image correctly mapped onto the quads in the tile map. The idea is to go on and use this as a … | |
I'm pretty new to opengl but been using c++ for a while now. How can I display variables using this? I can display single characters by using [code] glutStrokeCharacter(GLUT_STROKE_MONO_ROMAN,'0'); [/code] Why can I not use [code] int x = 0; glutStrokeCharacter(GLUT_STROKE_MONO_ROMAN,x); [/code] Compiles but won't display anything. | |
I have GeForce 7300 GT graphics card installed on my PC. A Game is saying OpenGL video driver not found. Can someone give the location of the driver ? Does GeForce 7300 GT Support OpenGL ? Thanks, Rakesh | |
Hello, I am trying to compile a working opengl project into an executable for windows. I ran into several import issues in the python imaging library, Numeric, and OpenGL. I managed to resolve all but the OpenGL ones. There is quite a bit of conflicting info on the subject out … | |
I'm having trouble understanding coordinate space using perspective in OpenGL. Basically I can't figure out how many units will represent the entire screen given a specific z-value or how spacing should be done, etc. In all the tutorials I've seen they plot these nice shapes placed evenly apart in different … | |
what is the difference between openGL glut and openGL? | |
Hey everybody im currently rewriting my game from an engine into opengl and pygame and im not sure how to use opengl with pygame here is what i have done so far =) [CODE=python] from sys import path,exit,argv ; path += ['.'] import wave, pymedia.audio.sound as sound from OpenGL.GL import … | |
The Intel Open Source Technology Center has officially released open source graphics drivers for the 965 Express chipset in a move that while not exactly unprecedented is, nonetheless, a most welcome display of commitment to the provision of free software drivers. Moreover, it is a display of that commitment in … | |
Can anybody guide me to implement mouse based zoom in, zoom out, and then scroll up,down,left,right (like in adobe reader while viewing pdf file). I m using openGL. | |
Greetings, It has been a while since I have posted and as usual new things yield new questions from me. I am ever at the mercy of the forum gurus. Anywho, I'm making a 3d solar system. One thing that I want to make possible is to turn on and … | |
Hi, [B][I am experienced][/B] I would like to create a virtual 3D world. I am familiar with SDL and 2d graphics programming. I am experienced with C++ and I know a little Java (I have enough programming experience to learn a language quickly). I am familiar with the traditional game … | |
Hi, [B][I am experienced][/B] I would like to create a virtual 3D world. I am familiar with SDL and 2d graphics programming. I am experienced with C++ and I know a little Java (I have enough programming experience to learn a language quickly). I am familiar with the traditional game … | |
Hello, my problem is of that kind beginners use to have. After following some glut tutorials I've decided it's time to do something small generally on my own. An obstacle appeared at the very beginning. At the moment I got stuck, all my code was supposed to do was drawing … | |
i have made a opengl gui and would like to share it with the public. Please leave any comments, questions, or anything about this that you have and i will try and answer them. It has included examples and you install it like all of the other API's. Thanks. (Its … | |
Hi I want to make shadow volumes with OpenGL, But i don't know how i can receive positions of edge points of a object and How i can understand where do arrive the length of a line with have linear equation. I read a lot of instruction but i don't … | |
I have a really wierd problem using OpenGL. I've verified all my code passes the correct mesh, correct texture, to the correct shader. When I use the same texture with multiple instances of the same mesh and the same shader located at different locations on the screen it shows up … | |
If i dont know win32 i cant learn opengl?? i learn C++ and i want to use graphics and opengl it look good. if i can learn opengl without win32 you can give me tutorial?? thanks sorry about my english.. | |
Hi, everyone! I'm having problems with the implantation of a free camera in a 3D world. For now, I'm using the A/D/W/S keys to make the camera go right, left, forward and backward. The problem is that I don't see the effects of the forward and backward movements. Even with … | |
Hey, is there somebody who tried to use pyOpenGL with wxPython? I want to have a GUI, where I have a frame integrated, that shows a 3D image computed by an OpenGL algorithm build in the PyOpenGL environment. Mearah | |
Hello everyone, I have recently witten a ray tracer for a school project (I am working with Windows XP). Currently, I am simply writing my images out to .bmp files. However, I really want to display them on the screen using OpenGL and GLUT. All the images created by my … | |
Hello everybody, I hope I can explain myself clearly. I would like to design a preview for a program that print some data on a special card. Because the user can choose where to print the data on the card, I think it would be useful to give him a … | |
I am doind a tutorial, here is my code: [code=c++]#include "functions.h" #include <glut.h> #include <stdlib.h> //this is the function with the error: void HandleKeyPress ( unsigned char key, int x, int y ) { switch ( key ) { case 27: // escape key exit ( 0 ); } } … | |
I'm trying to make a program to view 3d volumes. Basically you start with a bunch of data from an ultra sound or mri and then you load it into a 3d texture. Then you have a cursor made of three components between 0 and 1, and when you draw … | |
hi, i am new to opengl and graphics programming, basically i have loaded in a MD2 file and stored the model as an array. what i would like to know is how would i go about animating key frames. some information on how i set up the model. // declared … | |
I want to plot a rectangle by mouse click in opengl. But I failed to do it, it's very comfued, by the way, the rectangle just exists in a flash, then disappear. [CODE] [COLOR="Red"]void OnMouse[/COLOR](int button, int state, int x, int y) { glRectf(a,b,0,-10); } int main(int argc, char** argv) … | |
I have developed bargraph using openGL , problem is that....when i give high range input, the bars are merging with one another... though the bars seems to be merged , the separation should be seen after zooming. Please suggest me some solution in openGL , such that the barwidth is … | |
I am trying to rotate the object by a input of key. I dont know why the object is not rotating. I used glRotatef(x,0,0,1); //where x is declared as float : here is my code : [code] #include<GL/glut.h> GLfloat x = 10; void initGL() { glEnable(GL_DEPTH); glDepthFunc(GL_LEQUAL); glClearDepth(1.0f); } void … | |
I have looked all through the open gl website and i cant fine where to download the SDK? can someone give me a download link? i am using c++ btw | |
I've been having some trouble using OpenGl in Delphi. Can anyone tell me what I might have done wrong. [URL="http://farm4.static.flickr.com/3133/3305023396_a976b4499b.jpg"] Click here for a screen shot.[/URL] | |
Hi, im reding a book where the way it draw poligons are like that: [CODE] glBegin (GL_TRIANGLES); glVertex3f (0.0f, 0.0f, 0.0f); glVertex3f (0.0f, 1.0f, 0.0f); glVertex3f (1.0f, 1.0f, 0.0f); glEnd(); glBegin (GL_QUADS); glVertex3f (0.05f, -0.05f, 0.0f); glVertex3f (0.95f, -0.05f, 0.0f); glVertex3f (0.95f, -0.95f, 0.0f); glVertex3f (0.05f, -0.95f, 0.0f); glEnd(); [/CODE] … | |
After some research I found this link [url]http://splainhow.com/jogl_eclipse.html[/url] which explains how to set up a project in Eclipse to use OpenGL with it. But I want to integrate the OpenGL libraries for JOGL with Eclipse so that I can import and use them with any projects. Does that make sense? … | |
im trying to make a program that reads a text file in the format: 2 polygon 3 90 90 90 90 90 90 polyline 2 12 80 30 15 (not the real numbers obviously) and have the program read how many things, what type, how many points for that type, … | |
hi, I am confused on why my texture came out a different color? I have a bmp file of a cloud, skyblue color on the background and white clouds. BUt when i load it on a square the color becomes pinkish for background and cloud is white? Why pink-ish? here … | |
Hi, I've been testing GLFW joystick, trying to write a simple program to rotate a cube with the joystick. The fact that I'm using GLFW may complicate matters for debugging, but it's the only OpenGL library with joystick support that i have found. I don't believe that it should be … | |
hey, I am just learning textures in OpenGl, from a certain tutorial site : [URL="http://www.spacesimulator.net/tut3_texturemapping.html"]http://www.spacesimulator.net/tut3_texturemapping.html[/URL] the site had a good tutorial for texture, but after loading the .bmp picture, it goes to create its own function for vertex3f and such ( I think). In any matter, I have not learned … | |
i am writing a code that will rotate the polygon but it seem as if it is not working any help? [code] #include<iostream> #include<Gl/glut.h> #include<cstdlib> using namespace std; GLfloat fPent = 0.0; // for rotating pentagon; GLfloat fSqr = 0.0; // for rotating square; void handleKeyPress(unsigned char key, int x, … |
The End.