Tagged Questions
-2
votes
1answer
124 views
Texturing using PBO in OpenTK (OpenGL) [closed]
I'm learning OpenTK (OpenGL) and am trying to generate texture using PBO in OpenTK. However,
my code does not work. I have read lots of examples and tutorials online:
for example Map and fill texture ...
0
votes
0answers
99 views
Using OpenGL3.3 and GLSL, texturing is not working [closed]
I am having troubles getting texturing working in my OpenTK/OpenGL 3.3 code. I am sure it is something simple that I am missing, but I just can't seem to get a texture on the square I am rendering. ...
-1
votes
1answer
230 views
Problem rendering VBO [closed]
I'm developing a game engine using OpenTK. I'm trying to get to grips with the use of VBO's. I've run into some trouble because somehow it doesn't render correctly.
Thus far I've used immediate mode ...
1
vote
2answers
116 views
Point[] and Tri not “could not be found”
Hi I'm trying to learn how to load a .obj file using OpenTK in windows Forms. I have seen a lot of examples out there, but I do see almost everyone uses List, and Point[]. Code example show these ...
1
vote
2answers
173 views
I enabled and setup glBlendFunc, but my texture has a white outline. What am I doing wrong?
You can see most of my source code in this question: Instead of the specified Texture, black circles on a green background are getting rendered. Why?
Now I have the problem, that my texture has a ...
2
votes
2answers
133 views
Instead of the specified Texture, black circles on a green background are getting rendered. Why?
I'm trying to render a Texture via OpenGL. But instead of the texture black circles on a green background are rendered. (They scale, depending what the rotation of the texture is)
Example:
The ...
2
votes
1answer
130 views
Why do I have to divide the origin of a quad by 4 instead of 2?
I'm currently transitioning from C#/XNA to C#/OpenTK but I'm getting stuck at the basics.
So I have this Sprite-Class:
public static bool EnableDebugDraw = true;
public float X;
public float Y;
...
1
vote
1answer
154 views
Selection of a mesh with arbitrary region
Considering example:
I have a mesh(es) on the OpenGL screen and would like to select a part of it (say for delete purpose). There is a clear way to do the selction via Ray Tracing, or via Selection ...
0
votes
1answer
107 views
Why are my triangles not being drawn in the color I define?
I render a simple mash structure with Tao (don't think this is relevant) using DisplayList.
Following code appears between
int displayList = Gl.glGenLists(1);
Gl.glNewList(displayList, ...
0
votes
4answers
300 views
Missing triangles in model
I am having an issue where triangles in a model aren't being shown.
The left is wireframe, the right is the finished image. For some reason a bunch of the triangles aren't being shown.
The project ...
2
votes
3answers
1k views
C# 2D Game Library?
I'm looking for a C# 2D game library based on something like OpenTK which wraps OpenGL for C#
Basically something like Slick2D (2D game library for Java) which is based on LWJGL which is an OpenGL ...
1
vote
1answer
416 views
C# OpenTK - Getting world coordinates of points that are altered by matrices
I have written a skeletal animation system for a game i am working on. To draw lines that represent a skeleton, i use the GL matrix, and multiply it by each bone a long the body. For example before ...
-1
votes
1answer
1k views
C#: What graphics library would be best to use? [closed]
I am making my first game with 3D graphics, and I wanted to decide on a graphics library before I do any graphics work. I am using C# VS Express 2010. I have seen suggestions for XNA, Tao, and just ...
1
vote
0answers
154 views
Input in OpenTK
How to use Input in OpenTK 1.0? There is not much info around, some classes are unfinished.
What I want to achieve, is to be able to use input not only in OnUpdate function, but also in other classes ...
-6
votes
2answers
902 views
How can I convert the 3D Object designed in MAYA or 3D Max to OpenGL Object?
I'm try to convert the 3D Objects created in the Maya or 3D Max to Simple OpenGl object anyone please guide me how can I do so???
11
votes
3answers
3k views
How do I implement a quaternion based camera?
UPDATE The error here was a pretty simple one. I have missed a radian to degrees conversion. No need to read the whole thing if you have some other problem.
I looked at several tutorials about this ...
2
votes
2answers
173 views
Collisions between players at spawnpoints
I am working on a FPS/MMORPG and ran into a problem at spawnpoints, when I enabled collision detection between players. Neither player would be able to move if both spawned at the same time, because ...
4
votes
1answer
608 views
In an artillery game how do I mask out the part of the terrain that was hit
Let's say I want to make a really simple artillery game, something like Gorillas. I don't have any experience in games, just some basic understanding of OpenGL. I want to do this for fun and to learn ...
3
votes
6answers
2k views
Can I develop Linux + Windows games using C#, .NET and OpenGL?
I want to learn to develop 3D and 2D graphics with either OpenGL or DirectX. I chose OpenGL as it's being used in webGL and works cross-platform.
I already know .NET well, and the C# language just ...
2
votes
2answers
821 views
How to tell if a glut window has focus from c#
How can I tell if a glut window has focus? Im using c#/tao, Ill use p/invokes if necessary.
Basically I want to ignore input if it doesn't have focus.