30 Unanswered Topics
Remove Filter
|
|
Hey. I've been working on a home brew game since late last year, writing an engine in Haskell and GLSL that includes 3D graphics, basic physics and programmable game logic. The version in the second video shows the first appearance of lighting and importation of OBJ files (the cube was … |
|
Hello everyone, I am trying to write an object loader in c++. Currently, I have a file that is made up of many sub objects and I am having a little difficulty figuring out how to process the data. First of all, here is an example of part of the … |
|
Hi, I have a C++ code running OpenGL GUI (CEGUI), I need to wrap this window inside a C# Application. I guess I will compile the C++ as a dll, and add entry points for the C# app. What is the preffered way to do this? I thought of these … |
|
Hello, Unfortunately I learnt OpenGL from NeHe tutorials, which means that all of my current methods for OpenGL-ing are extremely deprecated. I tried to find a more up-to-date tutorial, but all they seem to do is teach how to get really complicated stuff out of OpenGL. I just want to … |
|
Can someone please help me understand what the glMatrixMode() function does? I've read the API and looked on google but I cannot understand what it does. An anology or example would help. Thanks. |
|
I am trying to create a triangle in openGL 2.0 but some some reason background is shows up but no triangle. I am following this tutorial: http://developer.android.com/training/graphics/opengl/environment.html i have the same code as on tutorial but for some reason the triangle is not showing up. may be i missed some … |
|
HI, I am trying to set the consecutive pixels to a specific color so as to obtain a line. Though, I know there is a built in function for drawing the line, but I am interested to do it without using any GL primitive. This is the display function as … |
|
hey guys, I am currently having problems with my OpenGL ES 2.0 application. I think I may have done my matrices wrong im not sure, but I cannot see my quad rendered to the screen. I believe it is something to do with the matrices I have set up which … |
|
Hey I have a problem regarding skewness of non square objects when i scale them with respect to screen size and then rotate them in an orthographic view on the z axis. This is my code for setting it up to draw. The problem i am facing is that when … |
|
I'm trying to visualize a model of lenticular images virtually with opengl pov-ray seen that it is possible by making an array of semi-cylinder lens in front of the square in POV-Ray to "play" Anyone know how to do with opengl? tks |
|
IM A COMPLETE TOOL PLEASE IGNORE / DELETE THIS POST Hello everybody, im currently trying to learn 3d game development (ive developed 2d games in the past, nothing this complex, i am a third year programming student). Ive been working on this project in my spare time for the past … |
|
I wrote a program to simulate a simple page flip animation in opengl and now i'm trying to replicate it with two images using texture mapping so that the second image appears on the "back" of the first image during the drag of the lower left corner of the page. … |
|
I am making a project where i have a rotating and moving 3d cube and on click of any face of cube, that face should be enlarged. All the six faces of cube should have different images. I searched a lot but doesn't get any working. Any help regarding this … |
|
Basically I have created a sprite sheet/tileset with dimentions of 320 x 2048, the tiles are each 32 x 32. I've been able to load individual files with textures in them but I don't seem to be able to load textures from a sprite sheet. Any help ? Here is … |
|
I want to use opengl to draw some stuff, not to the screen but to a data buffer instead. Is this possible? IE: uint32_t *data; glSetDrawTarget(data,GL_RGBA|GL_UNSIGNED_INT_8_8_8_8);//this is the line I cannot figuro out how to do glBegin(GL_TRIANGLES); //... glEnd(); //and now my buffer is full of custom data glSetDrawTarget(NULL,NULL);//reset to … |
|
So i was simply following one of the opengl tutorials - http://nehe.gamedev.net/tutorial/loading_and_moving_through_a_3d_world/22003/ So everything works completely fine except one thing, when i load in textures with SOIL lib its not completely correct, but with GLAUX lib it works just fine but i dont prefer using GLAUX. Here is what i … |
|
Hi there! I'm currently working on a school project using a Kinect device. Me and my friend decided that we wanted to create the same 3D effect as [url=http://www.youtube.com/watch?v=Jd3-eiid-Uw]this[/url] guy (Using our Kinect instead of using a Wii). We've made everything work perfectly, and we actually get a really cool … |
|
Been struggling with this the past hour, so need some help. I'm trying to light my screen with objects that already have set color values glColor3f... I've included the glColorMaterial and its enable within my lighting function however, it lights the scene with the last set color which is red … |
|
I am using GL_TRIANGLE_STRIP to draw my terrain to the screen, however when I compile and run the program I get nothing. When I change GL_TRIANGLE_STRIP to GL_LINES it shows up and works. What can I do to get it working with GL_TRIANGLE_STRIP? here is my draw code: [CODE] void … |
|
When I try to call wglMakeCurrent, I get an access violation. My program only runs in one thread and one window, and I've got a valid device context and rendering context, I can't see what the problem is. I'm using VC++ 2010 and am running Widows 7 64-bit. [code=c++] static … |
|
I have written a code but I am getting run time error : I have introduced all the error functions , but no error comes . Debug it with gdb which says : Starting program: /home/sudhanshu/OpenGL_ES/example/cube/cube [Thread debugging using libthread_db enabled] Program exited normally. What is the problem I am … |
|
I am using VS2008 with TaoFramework's freeglut and OpenGl Can someone help me? I always get "CallbackOnCollectedDelegate" error when I apply this rotation and scaling with mouse and timer on my 3D Tetris game project, but if I don't apply timer the scale and rotate will be out of control.... … |
|
Hi All, I am working on a graphics project which involves simplification of images using triangle decimation. I am coding along the lines of [url]http://mgarland.org/software/qslim.html[/url] and [url]http://jsomers.com/vipm_demo/meshsimp.html[/url]. The problem is that for the ply file that i have and the implementation that i did, there are small triangles spewed across … |
|
i write a function in c++ that take the name of obj file ... can you help me by tell9ing me how to read data using "in" and why his problem occur |
|
I have heard you can efficiently use your GPU to do fast floating point calculations. This can be done using OpenGL but you may have to use the library in an unorthodox way or graphics card toolkits such as CUDA (by nVidia) which I guess is Graphics card specific. Does … |
|
Hi all, having a bit of trouble with getting OpenGL picking to work in Win32. Note that pretty much the exact code works in GLUT, though i suspect that the reason i cant get it to work in Win32 is that it is not clear exactly how GLUT handles windowing … |
|
Is it possible to programmatically determine the currently installed graphics driver in windows, Mac, or Linux? methinks to check the system registry for windows. If so, where and what about the other OS? Major props to anyone who can answer this one :P Thanks |
|
I have the problem that pygame.image.save won't save a transparency channel. With one .png image, it simply doesn't save the transparency channel. With plenty of other .png images, it gives me an error when I call pygame.surfarray.pixels_alpha(newSurface). It tells me: ValueError: unsupported colormasks for alpha reference array. Anyone have experience … |
|
Hello, i am a total newbie to jogl and java and i'm trying to use new JOGL package that consists: javax.media.opengl.*; when i write a code on netbeans, it doesnt show any error, but when i run the program the following error appears in the console: [COLOR="Red"] run: java.lang.NoClassDefFoundError: com/sun/gluegen/runtime/DynamicLookupHelper … |
|
How to make so the new and old JOGL packages both work? :?: thanks :icon_cheesygrin: |
The End.