782 Topics
![]() | |
hii, i have tried to install opengl in my fedora 10 but failed i want the code to install opengl please help!!! | |
Working on my pacman project I have come across something strange. Im using the outline font method from NeHe and have used the code from there for text printing. When I copied it to my main method and texted it worked fine. But a lot of my objects need to … | |
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 … | |
I have a (rather large) program that does CAD work written with wxPython and OpenGL. The problem I'm having is that the memory use continually grows as it is used. None of my objects seem to get deleted. Now in order to perform a hit test, I need a dictionary … | |
hello everybody, im coding a game with opengl,pyggel,python,pygame etc and it runs smoothly without any problems =) [url]www.youtube.com/watch?v=JlDuje39S_8[/url] - My python 3d game projekt <--- sorry if outside links isnt allowed =( But the thing is that when im compiling it with py2exe using this as setup.py [CODE=python] from distutils.core … | |
Dear Community, Well after googling and some searching, managed to find a good 3ds loader class, that loaded all the vertices, UVs and other information for multiple meshes in a .3ds file. My only worry at the moment is displaying the vertices. The vertices are stored in a struct like … | |
Hi, I am new to OpenGL and am trying to render a scene (off screen) to a frame buffer. In particular I have a number of polygons, each lying in a different z-plane. However the vertices in adjacent polygons are not connected, i.e. I have a plurality of polygons and … | |
Hi folks, First a bit of context (Errors are shown at the bottom of the post): I am creating an object viewer for opengl in Visual C++ 2008 Express Edition. I have written a parser which reads the file and stores all the info I want in a Mesh object. … | |
Hello everyone. I am trying to write an application that uses OpenGL (with GLFW) for graphics. It is meant to be as portable as possible, and I try not to have direct interface with platform specific things other than through GLFW (I can also use SDL). The problem is that … | |
Hi, I am trying to render irregular polyhedra composed of multiple closed polygons: each polygon i comprises a plurality of points j having the same z-coordinate. The points are not sorted within the polygons. The polygons can be convex or concave and are sometimes split(by having multiple closed polygons for … | |
I am trying to render multiple scenes in different window. I am confident that the data is correctly read in from the .txt file and used to initialise the Beam and Segment objects (each Beam object comprises >=1 Segment) However when I attempt to render the scenes the program tries … | |
I am trying to render a very simple scene by loading various parameters from a file (MLC.txt) When compiling I receive the following error main.cpp: In function ‘void renderScene()’: main.cpp:77: error: ‘pBeam’ was not declared in this scope H | |
Hi guys I'm new to c++/openGL (used java a lot more) and have run into an issue while trying to write a program using an array. I have declared the array as GLfloat in the header file and then initialized it with a bunch of values in the constructor of … | |
^^^ Typing fail, should be possibly ^^^ What is the best cross-platform library for high-performance graphics. I have tried SDL and GLUT, but I want to know if there are better ones out there. Also, is there a simple way to access OpenGL without a front-end library? | |
Hello, I need to render the mesh.It is given by set of its surfaces each surface is presented by its vertexes(x,y,z) The camera and light source has to be placed at the same place. I use this code: [CODE=c++]//Projection glMatrixMode(GL_PROJECTION); glLoadIdentity(); GLdouble diam = m_allModels.getDiam(); GLdouble left = m_allModels.getCenter()[0] - … | |
Hey, So I'm new to OpenGL but I've covered and played with the basics. I'm creating a 2D game and I want the view/camera/screen/whatever to follow the user controlled character (which is aimed to be centered at all times) creating a scrolling effect like that of, for example, Mario on … | |
Greetings all, I'd like to ask a couple questions... For starters... Is it possible to use OpenGL on my Borland C++ Builder 6? If so, what files do I need to have/download? I've tried various examples of starting a OpenGL supporting window through Borland but nothing seems to work, so … | |
How to install OpenGL for CFree 4.1 in Win7. and how to use graphics.h library in Cfree in Win7. Please help me, thanks. | |
hi im working with opengl/sdl and im still new to it what im trying to do is to make a 2nd box or sprite that will follow the frist box ive made can anyone help me out here is some of the code i have [CODE]#include "sdl.h" #include "GL_Functions.h" #include … | |
im just trying to draw a 2D square but its not working and i dont know y? main.cpp [CODE]#include "sdl.h" #include "GL_Functions.h" int SDL_main(int argc, char* argv[]) { //Used in the main loop bool Done = false; //Used to store SDL events SDL_Event event; //Lets open the window and initialise … | |
So I'm working with OpenGL, and DevIL to load some JPEG into my program, and I've had some trouble, I've isolated the program in a simple sample program (uploaded), the program is, that when I load the standard file, that came with the guide ("Geeks3D.jpg") it loades instantly and runs … | |
Hi, I have not used C++ in about a year (Been using C# a lot lately ;)) I am receiving an error when I try to compile a new OpenGL project I am working on and I can't see where I have gone wrong, though i wouldn't be surprised if … | |
Hi, I have a Win32 + OpenGL sort of graphics engine I wrote myself for a simulation software project (still in progress). The problem is that this software must also have a linux version. Now this software is using MDI and Docking windows and what not so I am not … | |
Hi I am new to openGL, just picked it up recently and I am trying to do a program window which draws a small square wherever the mouse cursor clicks. Below is the code which I came up with and I dont know why it wont draw the square when … | |
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 … | |
I just read an article on The Register about Google Chrome OS introducing a new ActiveX style plug-in (Native Client) that allows the browser based OS to run native code and it just got me thinking. Am I alone in thinking that running *everything* on a browser isn't such a … | |
Hi guyz, could anyone please assist me with a code to load an image bmp, pln etc in C++. I'm using OpenGL Library. Please assist, in dire need. Joel | |
Hi, This is a very convoluted problem I spent hours debugging to find that when I call std::vector<object>::push_back(Object()) destructor of previous Object is called. Is this the behaviour of std::vectors or is something wrong with my code? [CODE]#include <iostream> #include <vector> class Manager; class Entity { friend class Manager; private: … | |
How to make so the new and old JOGL packages both work? :?: thanks :icon_cheesygrin: | |
So I'm quite new to c++, and I'm really into pointers, does anyone got like, an idea on how to really get to know pointers, assignments, tasks, tutorials, ect. Basically, my knowledge in C++, is classes, operator overloading, and like simple stuff, so if you're able to come up with … | |
Thanks for your services. I just got a Blue Screen Of Death on a 1 year old Dell Inspiron 530, running XP, SP2. Never had a problem before. Tonight, my wife started Left 4 Dead 2 and it went to blue screen and rebooted. I saw another thread here very … | |
hi i am using delphi 2009. i am looking to have a grid on the form, and draw a 2D shape from lines on that grid and have it rotate around a central point. first of all i would like to ask what would be the best method to do … | |
Salutations! Would anyone be kind enough to provide a general overiew as to what exactly is OpenGL. I searched the internet however, most of the material I came across didn't quite clearly state the different between OpenGL and GLUT. Also, what is SDL? I am quite familiar with C++ however … | |
Hi, I have written a C# application which uses Tao Framework bindings for OpenGL and FreeGlut. It references two assemblies (Tao.OpenGL and Tao.Freeglut) and also requires that the appropriate OpenGL and Freeglut dlls be somewhere in the system. How can I publish this application in such a way that the … | |
I have an OpenGL program using GLUT which works fine on my Windows XP desktop using Visual C++ Express. I copied it over to my Vista laptop 64 bit and I copied the glut3.dll into Windows/system32 but although it compiles, when I try to run it I get a glut32.dll … | |
Hi, I'm writing a program in C++/OpenGL as part of a university assignment but I am having difficulty using the function glBindTexture to bind my loaded textures onto the models that I load in and render. I can actually wrap the texture around my 3D model no problem but I … | |
If anyone saw my last wonderfully perplexing post I've almost finished my binary-conversion lib. However while writing it I've come across a couple of simple questions that google doesn't seem to want to answer for me. Thus I once again find myself pulling my hair out over something trivial. So … | |
Hi all. I'm using the following tutorials: [url]http://lighthouse3d.com/opengl/glut/[/url] (for GLUT) [url]http://www.3dcodingtutorial.com/[/url] (for GLM (3D models)) I'm using OpenGL with GLUT and GLM to make a 3D game. Seeing as I was a complete noob, my friend challenged me to make a game 'where you can shoot stuff'. Anyhoo, all was … | |
hi all! i have been programming in C for about 4 months now, and i have the very basics down pretty well (functions, pointers, etc etc), and have been doing a lot of console apps, and i was hoping to do a fractals program. i have the algorithm down (at … | |
Howdy, those of you who remember me may be happy to know my 2D game engine was finished and I'm now working on a 3D engine. My engine has been going rather spiffingly well, after some battles with DirectX and OpenGL i managed to get them working side-by-side. Wrote a … | |
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, … | |
I am trying to create an application that will create a lined box around multy-lined text that I have imputed at the keyboard, and i would like to be able to do the following with the boxed text. [LIST] [*]move the box around the screen. [*]The boxes should be able … | |
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 … | |
I am revisiting my EE senior design project that I finished up about 8 months ago. We basically took your vehicles instrument cluster and replaced it with a computer and graphically rendered your vehicles metric with the help of a datalogger. For the graphics I used cairomm for its vector … | |
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 End.