opengl-3 Questions

1

Solved

I am trying to draw a single line with the code below and it works : // Include standard headers #include <stdio.h> #include <stdlib.h> // Include GLEW #include <GL/glew.h> // I...
Chery asked 23/12, 2012 at 14:6

1

Solved

this one drives me crazy. I've been searching for two days but cant find any answer. I want to develop some things with OpenGL 3 (or newer) with Visual Studio 2010 / C++. The header and libraries ...
Pashalik asked 21/12, 2012 at 8:12

4

Solved

I'm writing a clone of Wolfenstein 3D using only core OpenGL 3.3 for university and I've run into a bit of a problem with the sprites, namely getting them to scale correctly based on distance. Fro...
Engrossment asked 22/12, 2011 at 19:33

1

Solved

I'm trying to put together a very basic OpenGL 3.2 (core profile) application. In the following code, which is supposed to create a VBO containing the vertex positions for a triangle, the call to g...
Frier asked 15/11, 2012 at 18:27

1

Solved

I was having extreme trouble getting a vertex shader of mine to run under OpenGL 3.3 core on an ATI driver: #version 150 uniform mat4 graph_matrix, view_matrix, proj_matrix; uniform bool align_or...
Duala asked 12/11, 2012 at 17:57

1

Solved

I had some 3D code that I noticed wouldn't render in a strict core profile but fine in a "normal" (not explicitly requested-as-core-only) profile context. To isolate the issue, I have written the s...
Dubbing asked 25/10, 2012 at 5:29

1

Solved

My vertex shader is , uniform Block1{ vec4 offset_x1; vec4 offset_x2;}block1; out float value; in vec4 position; void main() { value = block1.offset_x1.x + block1.offset_x2.x; gl_Position =...
Saccharide asked 23/10, 2012 at 10:52

5

OpenGL 3.0 and 3.1 have deprecated quite a few features I find essential. In particular, the use of fixed function in shaders. Can anyone explain what's really the deal with that? Why do they f...
Palimpsest asked 2/8, 2009 at 8:38

0

I'm trying to make a simple app with GLKit for OSX 10.8, but can't find any examples. Apple documentation is just copied from iOS to Mac with no real examples. I have a context with 3.2 profi...
Yatzeck asked 4/9, 2012 at 13:4

1

I have a VAO with VBOs for various vertex attributes: vertex positions, vertex normals, and the element array VBO (all STATIC_DRAW), such that rendering an instance simply requires: glBindVertexAr...
Kramatorsk asked 30/8, 2012 at 14:21

5

Solved

Can I expect users to be able to run software that uses OpenGL 3.x? Can Linux users who have open-source graphics drviers run OpenGL 3.x? I know that Mesa3D 7.8 only supports OpenGL 2.1. I also ...
Hardcore asked 21/7, 2010 at 3:8

1

Solved

I am currently developing a framework that allows me to conveniently render a larger number of animated models. A model is organized as a simple hierarchy of bones, with the root being the torso/p...
Apocrine asked 15/8, 2012 at 16:3

1

Solved

How would I create a core profile in a custom implementation of NSOpenGLView? Which method should I override and what code should I put there? So far I have this code: // Header File #import <...
Contain asked 22/7, 2012 at 17:24

11

I know there are some question about learning OpenGL. Here is what I know: math for 3D 3D theory Here is what I want to know: - OpenGL 4.0 Core profile (or latter) - Shader Language 400...
Eckard asked 9/8, 2010 at 10:43

3

Solved

I just purchased the fifth edition of the OpenGL SuperBible. I'm very pleased that they've avoided using deprecated functionality but their examples make use of GLTools. GLTools provides a sl...
Questionary asked 30/12, 2010 at 1:17

1

Solved

I'm trying to extract euler angles from a rotation matrix. My convetions: Matrix column-major, Coordinate System right-handed, Positive Angle right-handed, Rotation Order YXZ (first heading, then a...
Cabinetwork asked 21/6, 2012 at 11:55

2

Solved

I’m trying to compile a very simple “Hello world” OpenGL 3.3 program using FreeGLUT. In all the tutorials I found, they include an header “gl3.h”. The problem is, I don’t have such header file. $ ...
Whatsoever asked 1/5, 2012 at 15:35

1

Solved

When using a perspective matrix in a vertex shader am I supposed to write code to divide by w or is it done automatically in a later stage? The reason for my question is that I have seen lots of v...
Sanbenito asked 27/4, 2012 at 16:14

1

Solved

I was certain that if you bind a buffer via glBindBuffer(), you can safely assume that it stays bound, until the target is rebound through another call to glBindBuffer(). I was therefore quite surp...
Frutescent asked 3/4, 2012 at 20:21

2

Solved

I am trying to create some simple polygons in openGL3.3. I have 2 types of objects with the following properties : Object 1 - 10 vertices (listed below, in order) stored in GL_ARRAY_BUFFER and us...
Seamanlike asked 22/3, 2012 at 22:6

1

Solved

I'm going insane because I can't make a simple set of triangles appear in my screen. I'm using OpenGL3 (without the deprecated fixed pipeline) using the derelict bindings for the D programming lan...
Austronesian asked 6/3, 2012 at 4:11

1

Solved

I'm currently working on a game/engine that uses OpenGL for rendering, and recently have begun phasing out support for the fixed-function pipeline. I could target 2.1, however I would like to use t...
Bilabiate asked 21/1, 2012 at 20:43

2

I'm facing a problem where SDL says it does not support OpenGL 3.x contexts. I am trying to follow this tutorial: Creating a Cross Platform OpenGL 3.2 Context in SDL (C / SDL). I am using GLEW in t...
Ireneirenic asked 13/11, 2011 at 6:32

3

Solved

I've begun playing around with OpenGL in Python using PyOpenGL 3.0.1b. I looked at some sample code and started running it and modifying it etc. All was well until I became a little less ign...
Douzepers asked 16/1, 2010 at 21:58

1

Solved

I'm experimenting on list sharing among multiple OpenGL contextes. It is a great feature, since it allow me to execute parallel rendering threads. But since I'm using CreateContextAttribs, I offer...
Chaunceychaunt asked 21/9, 2011 at 5:47

© 2022 - 2024 — McMap. All rights reserved.