434 Topics

Member Avatar for
Member Avatar for Labdabeta

I need to convert a true type font into a list of three dimensional vertices using openGL. I looked at the NeHe tutorial, but it only creates a display list from the font and as far as I can tell it is not possible for me to extract the vertices …

Member Avatar for Labdabeta
0
115
Member Avatar for Labdabeta

I need to know how to extract the data in a display list in opengl. I have a font and use it to create a display list to draw, but then I want to get the actual vertexes of it so I can use them for collision checking. How can …

Member Avatar for Labdabeta
0
112
Member Avatar for tyricec

I'm trying to make my rectangles appear on screen, but it appears blank when I run the program. [CODE]#include <GL/glut.h> #include <stdlib.h> #include <math.h> using namespace std; struct GLPoint { GLint x; GLint y; }; void init(void) { glClearColor (1.0, 1.0, 1.0, 0.0); glShadeModel (GL_SMOOTH); } void display(void) { int …

Member Avatar for tyricec
0
232
Member Avatar for Zababa

Hello there guys! :) I've been given a sample code for my upcoming assignment in Computer Graphics and, according to the guide available in the course's site, I've set up Visual Studio 2008. What we've been given is a solution with some sample code which we must use as a …

Member Avatar for Zababa
0
213
Member Avatar for tomtetlaw

I don't really know what to ask here because the only indication I have that there is something wrong in my program is that nothing is showing on the screen. I'm loading a .obj model (it's just a cube, and i've checked all the verts/faces and they're all proper values) …

Member Avatar for tomtetlaw
0
140
Member Avatar for NoMoreRobots

I'm currently trying to learn OpenGL with the use of GLFW and the Addison Wesley book 'OpenGL Programming guide 7th edition'. Here is one of the first sample programs they present, it is meant to draw a white box. In this example I mixed it with a simple glfw window …

Member Avatar for NoMoreRobots
0
855
Member Avatar for BoBok2002

Hi, I have drawn a human face using simple shapes such as big circle for the face, little circles for the eyes, lines for eyebrows and triangle for the nose. I have been asked to create a template for various expressions of the face (fear, happiness, disgust, etc). Once I'm …

Member Avatar for BoBok2002
0
441
Member Avatar for c++_fem

Hi, Does anyone know how to animate object so it follows a previously drawn spline? I tried by translating all object vertices by Spline_point[i]-Spline_point[i-1] by frames but this doesn't work. Does anyone have a better idea?

Member Avatar for c++_fem
0
104
Member Avatar for BoBok2002

I drew a circle to represent a human face. I am drawing an arc to represent the mouth but I am having troubling positioning it in the right place. I have checked the value of x and y in the computation of the arc but can't seem to figure out …

Member Avatar for BoBok2002
0
133
Member Avatar for Labdabeta

What does it mean if my opengl objects are opaque from one side and translucent from another?

Member Avatar for Labdabeta
0
86
Member Avatar for scobi

[CODE]//#include <stdafx.h> #include <iostream> //line_poly_file.cpp #include <fstream> #include <windows.h> #include <glut.h> GLsizei wh = 250; GLsizei ww = 250; void DisplayLines ( void ) ; void MyInit ( ) ; void DisplayLines ( void ) { GLint xj, yj, j; glClear ( GL_COLOR_BUFFER_BIT ) ; fstream inStream; //inStream.open("R.txt", ios ::in); …

Member Avatar for scobi
0
306
Member Avatar for Obelisk4

Hi everybody ^^ I'm quite a newbie in loading image file, so I've try to improve myself by loading the TGA image structure (You can found it at [url]http://en.wikipedia.org/wiki/Truevision_TGA[/url], I'm quite believe in the information there) My problem is after loading and draw it onto the screen using OpenGL ES, …

Member Avatar for Greywolf333
0
970
Member Avatar for Labdabeta

I am still having major trouble with my openGL model program. The big issue is that I cannot figure out how to debug it since I am saving the important data to the graphics chip using vertex buffer objects (VBOs) so at least as far as I can tell, I …

Member Avatar for raptr_dflo
0
472
Member Avatar for c.pentasuglia

I am working on an assignment for school and i seem to be having some issues. I am using OpenGl with free glut, and attempting to animate a pendulum. I can draw out the pendulum, but cannot determine how to make it swing. I have to make it swing from …

Member Avatar for c.pentasuglia
0
482
Member Avatar for Labdabeta

How do I do 2D opengl? I need to be able to put stuff up on the screen so that it is not rendered in three dimensions, and I need the 3d stuff to still be 3d behind it.

Member Avatar for Labdabeta
0
150
Member Avatar for glut

Hi, I'm learning OpenGL. I assumed this would be the best section to post this thread, because many games are made in OpenGL. There's no place to post this in my other forum, so yeah, I came here. Anyways, here's the problem. I first off do not have glut.h I …

Member Avatar for sfuo
0
211
Member Avatar for sujan.dasmahapa

Dear Friends I am wirting an application for drawing a rectangle on the screen using opengl and mfc. So I implemented the OnPaint function, OnDraw function is also giving the same problem. It's drawing fine. I want to implement pan, zoom, and rotate functionalities. Now everytime the mouse moves I …

0
82
Member Avatar for Labdabeta

Really quick question (I hope) before I buy Maya I want to know if it has the option of exporting coordinates for triangle vertexes rather than images. If it doesn't, is there software that would allow for modeling while exporting vertexes for 3d triangles?

Member Avatar for jwenting
0
154
Member Avatar for Labdabeta

I am still unable to get OpenGL Vertex Buffer Objects to work. I will just show you the code I have written so far: 3dglgui.h (I think this should be fine): [CODE]#ifndef CLASS_NAME #define CLASS_NAME "OpenGL Windows Class"//This can be overwritten to specify a unique class name #endif //Header Guards …

Member Avatar for raptr_dflo
0
155
Member Avatar for lukename

hello. Can you recomend me any good OpenGL models type? I would like a type wich would have good editors for that model type and it would be possible to use "skeletal animation" with it.

Member Avatar for mike_2000_17
0
97
Member Avatar for emorjon2

Hi All! I'm try to make a game in C++ with OpenGl. So far i've programmed the sprite and the platform. the next thing is to create a AI bot who will try to kill you in the game. but I've got the most bisarr problem with that: The AIBot …

Member Avatar for emorjon2
0
224
Member Avatar for Tiancailee

Hi i am having problems with my assignment. i am supposed to make a 2d top down view game and i started on doing the main menu. i tried at making a main menu and it worked. after that i changed the codes and put them into classes and this …

Member Avatar for daviddoria
0
252
Member Avatar for supidProgrammer

Hello again. I need help on OpenGL in console mode (with GLUT). How can I use full screen with GLUT? Please answer me. (don't miss Daniela Ruah (NCIS: Los Angeles) photos in Esquire of September... She's hot, hot, hot, hot, hot!!! :* )

Member Avatar for supidProgrammer
0
79
Member Avatar for Stefano Mtangoo

I'm not sure where this post fits, but after staggering here and there I Thought I would throw it here! I find difficult to make coordinates by hand (Not very good at x-y-z though I know the XY coordinate). Is there a tool that will allow you to draw let …

Member Avatar for Stefano Mtangoo
0
230
Member Avatar for venomxxl

Ok, first of all, I'm not sure if this belongs to C section. Since WinAPI is written in C, I'll post here. I'm using OpenGL with Win32 windows (not sure how to call that). I can't switch to fullscreen mode after creating the window. I'm using Windows 7 (64-bits) and …

Member Avatar for venomxxl
0
534
Member Avatar for asrockw7

So I got curious with OpenGL and I ended up having a copy of the "redbook", as people call it. Initially when I tried relying only on online sources like tutorials and whatnot they were all written using WinMain which was a drag so that sort of put me away …

Member Avatar for Sodabread
0
576
Member Avatar for shinku89

I try to make the triangle move smoothly but instead the triangle is gone when I enter move button. WHY? can someone please check and tell me what is the problem? it can move without dt( in my code for elapse time).[CODE] #include <windows.h> #include <GL/gl.h> #include <GL/glut.h> #include <time.h> …

0
72
Member Avatar for tomtetlaw

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 …

0
77
Member Avatar for sudhanshu2

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 …

0
126
Member Avatar for N1GHTS

I am developing an OpenGL application (mostly 2D Ortho) compiled in gcc. As a requirement, in order to offer remote online tech support for the application, I need to be able to view and control this application remotely from time to time using something like VNC viewer. I tried using …

Member Avatar for N1GHTS
0
220

The End.