782 Topics

Member Avatar for
Member Avatar for HAMID_GL

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 …

Member Avatar for Albert-Pi
0
90
Member Avatar for mrnutty

I tried to install the devil library but I am getting some errors. Here are the steps that I am taking to install it : [code] Let me see if I did this correctly : Steps : 1) download DevIL 1.7.8 for windows 32 bit 2) extract the info to …

Member Avatar for AlbertPi
0
402
Member Avatar for amarucla

Hi All, I'm working on a GUI project that involves continuously reading data (which is a waveform - like a simple sinusoid) from a file (which gets periodically updated), and displaying it as a pixel-based image. I was able to follow some tutorials online and install Allegro and successfully plot …

Member Avatar for Stefano Mtangoo
0
926
Member Avatar for BattlingMaxo

I have been away from programming but now i have more time. I want to make a fish that moves with procedural animation (just programming no keyframing )The fish will have at least 3 bones so i can move it in a sine wave, once i get that i will …

Member Avatar for BattlingMaxo
0
127
Member Avatar for mrnutty

I am using c++/opengl. Can someone help me with a wrapper for a 2d ball representation. I have one but its not complete. I need other stuff like momentum and collision response. Can you help me implement this?

Member Avatar for MattEvans
0
139
Member Avatar for fpx-studio

Hello everyone. For all of you who don't know I'm working on my 3D game engine (OpenGL) and I'm making development diary. So here is the episode 3, it's in 2 parts. New things are loader for TGA and FPXM(that is my own model file type for the engine). Also …

Member Avatar for fpx-studio
1
160
Member Avatar for mrnutty

How could one share a .exe that loads textures. I am using c++ and openGL. I want to share the .exe that I made using rapidshare.

Member Avatar for tux4life
0
84
Member Avatar for chait_anya

Hi, I wanted to implement Zoom Window Functionality in my C#.Net application using CSGL (OPENGL) , Zoom Window Functionality means Zooming the specific area of the drawing, Can anyone have the idea of this functionality??? I have done with the normal Zoom Functionality on mouse scroll event. Now I am …

Member Avatar for serkan sendur
0
87
Member Avatar for zuve_fox

Hi All. could everyone how to make Effect Fade in/Fade out using [B]tao.OpenGL.dll in VB.net [/B] thanx

0
58
Member Avatar for wildgoose

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 …

Member Avatar for wildgoose
0
386
Member Avatar for nu2cpp

Hi All, I am trying to use z-buffer (also known as a depth buffer). I have researched this online and in books but all I have found so far is a brief description and then they throw an equation at you. The last line is usually, "it is very easy …

Member Avatar for nu2cpp
0
2K
Member Avatar for BradenMurphy

Hey:) I'm not actually sure what it's called..so just calling it "mouse window locking" - What i mean by this is how do you lock the mouse to a window ie: The mouse can not leave the window unless you alt tab. So when the user drags the mouse to …

Member Avatar for BradenMurphy
0
2K
Member Avatar for Clockowl

Hey guys, So I have compiled my first home-written static library (named PixGUI) that happens to call OpenGL functions. However, I noticed that when compiling (using MinGWs GCC with Code::Blocks project set to "static library") it doesn't matter whether I supply the linker with libopengl32.a or not, it simply compiles …

Member Avatar for Clockowl
0
207
Member Avatar for moshe12007

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..

Member Avatar for moshe12007
0
144
Member Avatar for Lothas

I'm having some problems trying to solve an apparent circular dependency in a project of mine. I'm working with OpenGL and FLTK to create a Robotics Simulation. The problem is that I've created a Class FLGLWindow which basically manages a window with rendering capabilities. I also have a Menu class …

Member Avatar for Ancient Dragon
0
357
Member Avatar for GDICommander

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 …

Member Avatar for MattEvans
0
2K
Member Avatar for OffbeatPatriot

I configure it like this ./configure --with-msw --enable-debug --enable-debug_gdb --disable-shared --enable-unicode --with-opengl and when I build it I get this error. /cygdrive/c/wxwidgets-2.8.10/bk-deps g++ -c -o baselib_appbase.o -D__WXMSW__ -I./src/regex -DwxUSE_GUI=0 -DwxUSE_BASE=1 -D_FILE_OFFSET_BITS=64 -D_LAR GE_FILES -D__WXDEBUG__ -I/cygdrive/c/wxwidgets-2.8.10/lib/wx/include/msw-unicode -debug-static-2.8 -I./include -Wall -Wundef -Wno-ctor-dtor-privacy -ggdb -O0 ./s rc/common/appbase.cpp In file included from ./include/wx/memory.h:16, from …

Member Avatar for tux4life
0
380
Member Avatar for anoop sharma

i have created 27 cubes using opengl and c++ and assembled for rubicks cube but not able to write rotate function for a slice.how to do????

Member Avatar for Lerner
0
120
Member Avatar for Valaraukar

Hi, I've written a program that reads object information from an ASCII file (exported from 3dsmax) so that an object/objects can be reproduced in OpenGL. It works fine at the minute and can read multiple objects from a single file but what I want to be able to do is …

Member Avatar for Valaraukar
0
290
Member Avatar for sciwizeh

Hello, the game development forum seemed the best place to ask, because it seems to be the only place where people might be using a 3D modeling program... if you have a better place for this to go please tell me. I've been thinking out a way to write a …

Member Avatar for sciwizeh
0
219
Member Avatar for Mearah

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

Member Avatar for Mearah
0
683
Member Avatar for Mearah

Hey there, I am going to start a larger project. For this I just set up my programming invironment as follows: python2.5 numpy scipy matlibplot PyOpenGL ctypes I then tried to test the installation with a simple example. First I found the warning: [COLOR="Red"]No handlers could be found for logger …

0
143
Member Avatar for cbraleyrun

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 …

Member Avatar for Muhammad.abid
0
198
Member Avatar for Neo7

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 …

Member Avatar for Neo7
0
160
Member Avatar for tomtetlaw

I am using OpenGL and i am trying to get this simple program to work, here is my code; [code=c++]void DrawScene ( void ) { glClear ( GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT ); glMatrixMode ( GL_MODELVIEW ); glLoadIdentity ( ); //Triangle glPushMatrix ( ); glTranslatef ( -1.0f, 1.0f, 0.0f ); glBegin ( …

Member Avatar for tomtetlaw
0
267
Member Avatar for tomtetlaw

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 ); } } …

Member Avatar for MosaicFuneral
0
66
Member Avatar for lil_panda

Okay, so I am making a simple SDL-OpenGL application. I have already written the code and compiled it fine, but I want to incorporate it into an autotools project. I've tried. Here's the problem: I'm running Mac OS, so along with my C++ code, I must also compile an Objective-C …

0
64
Member Avatar for tomtetlaw
Member Avatar for Valaraukar

Hi, I am basically writing a program that reads in ASCII files exported from 3ds max in order to reproduce an object in OpenGL. My code works fine for one object and I've even got it working for two as long as the second object contains less vertices/facet windings than …

Member Avatar for nucleon
0
195
Member Avatar for OffbeatPatriot

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 …

0
64
Member Avatar for Zcool31

I don't want to make a new thread, but I have a relevant question. I am not using directX or opengl, but I do have 2D sprites in 2D space. However the sprites might have arbitrary shapes (circle, square, random blob, wheel with hollow center, etc). I do have masks …

Member Avatar for MattEvans
0
133
Member Avatar for toadzky

I like really clean code so I want to pull all of the common includes into a separate file and then include that single file in all my other files. Also makes it easier if I start using a new or different library cuz I only have to change it …

Member Avatar for toadzky
0
194
Member Avatar for HighOnBerkeley

Hey every1, this is my first post on this forum and I hope it turns up good results! Im experiencing some problems with a few versions of windows! I have 3 installed currently(ive been testing to see which one to stick with). I currently have Windows Xp Dark Edition V2 …

Member Avatar for HighOnBerkeley
0
160
Member Avatar for kipl20

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 …

Member Avatar for kipl20
0
208
Member Avatar for newcpp

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) …

Member Avatar for daviddoria
0
133
Member Avatar for arpitha_ks

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 …

0
52
Member Avatar for mrnutty

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 …

Member Avatar for MattEvans
0
119
Member Avatar for sandra2906

hello there, can somebody read sandra report? i scaned my comp for drivers info becaus my cpu is high and i have no idea how to read this report. whats going on in my machine? thanks guys! this is the report: ***** Start of Report ***** -------------------------------------------------------------------------------- <<< Computer Overview …

Member Avatar for sandra2906
0
229
Member Avatar for tomtetlaw

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

Member Avatar for hasbro
0
85
Member Avatar for behrk2

Hey everyone, So, for a class I am taking, I am building a Lego robot whose main function is to drive around a room and collect data (via a sonar sensor) as to where objects are in its surroundings. Some of the data I will collect is: Current robot position, …

Member Avatar for behrk2
0
117
Member Avatar for eenceo

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]

Member Avatar for eenceo
0
133
Member Avatar for Icebone1000

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] …

Member Avatar for Nick Evan
0
131
Member Avatar for jaguar founder

Hello, I was just curious if anyone wanted to help out in game devolpment in A game called Arctic Frost I dont really wanna post it on here because it takes up alot of room I just wanna say somestuff. What I am Is I am 17 And I wanna …

Member Avatar for jtfrench
0
134
Member Avatar for BestJewSinceJC

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? …

Member Avatar for stephen84s
0
102
Member Avatar for urufukiba

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, …

Member Avatar for urufukiba
0
94
Member Avatar for sciwizeh

Hello, I'm not sure that this shouldn't be in the C but it is mostly a theory question, although it is also implemented in C, so here it goes. I've been looking at some ways to make a modifiable array to hold geometric data for a simplistic 3D program (using …

Member Avatar for Salem
0
99
Member Avatar for oblivion4

Hi, I'm working on learning OpenGL using Visual Studio 2005 and I ran into these errors: [code]1>circle.obj : error LNK2019: unresolved external symbol __imp__wglDeleteContext@4 referenced in function "long __stdcall WndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WndProc@@YGJPAUHWND__@@IIJ@Z) 1>circle.obj : error LNK2019: unresolved external symbol __imp__wglMakeCurrent@8 referenced in function "long __stdcall WndProc(struct HWND__ …

Member Avatar for oblivion4
0
160
Member Avatar for mrnutty

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 …

0
54
Member Avatar for madrang

Hi, i'm making my own game engine on sdl + opengl i also know that i can manage file for my setting and save game that way (i am on windows) [code] #include <windows.h> void ini::setfile(std::string name) { name += ".ini"; std::string directory; char path[1024]; GetModuleFileName(NULL, path, 1024); directory = …

Member Avatar for madrang
0
109
Member Avatar for sciwizeh

Hello, I'm not sure that this shouldn't be in the Computer Science Board because it is mostly a theory question, but it is also implemented in C, so here it goes. I've been looking at some ways to make a modifiable array to hold geometric data for a simplistic 3D …

0
178

The End.