OpenTK is a C# library that wraps OpenGL, OpenCL and OpenAL.

learn more… | top users | synonyms

-1
votes
2answers
177 views

How to translate along Z axis in OpenTK

I am playing around with an OpenGL sample application I downloaded for Xamarin-Android. The sample application produces a rotating colored cube I would simply like to edit it so that the rotating cube ...
0
votes
1answer
42 views

GLSL: Vertex attribute to int

I'm trying to write a shader which renders a multitextured geometry wihout rerendering the geometry with each texture. In my test I'm not using textures, I just convert the texture index to a color ...
-1
votes
1answer
342 views

Using Shader causes triangle to disappear

The following is my rendering code. Private Sub GameRender() GL.Clear(ClearBufferMask.ColorBufferBit + ClearBufferMask.DepthBufferBit) GL.ClearColor(Color.SkyBlue) ...
0
votes
0answers
385 views

Use opentk window handle to host wpf control - Monogame

well my boss asked me to try and get wpf controls rendered in Monogame. From what I understand this was easly doable in Xna, however in monogame it fails. Is there any way to make the window hadle ...
0
votes
0answers
260 views

OpenTK (OpenGL) Rotation around fixed axes?

How would I go about rotating things in 3-dimensional space along fixed axes? As OpenTK only seems to have rotation that modifies the other rotation, as in X affects Y & Z Y affects Z Z affects ...
0
votes
0answers
194 views

Play streaming sound in OpenTK?

What's the simplest way to make a sound stream from disk and play in OpenTK?
-2
votes
0answers
21 views

Mouse Selection custom shape opengl render select

I'm using openTk for a my project. I have serious problem with mouse selection. I tried unsuccessfully a lot of examples found on the web. So, I have to draw a grid with some coils (custom cylinders ...