Quantcast
Channel: SharpGL
Browsing index pages (104 articles)
↧

Updated Wiki: Home

CodePlex is shutting down. SharpGL has moved to: github.com/dwmkerr/sharpgl

View Article


New Post: SharpGL NURBS example

Hello everyone is there any of examples of how to use NURBS surfaces ?

View Article


Commented Unassigned: Showing BitMap Image under Shaders ? [1846]

OK so I can see how to load a texture while under non shader support.. but I can't find any example or any way to support textures under shaders.Anyone have any ideas ? I tried...

View Article

Commented Unassigned: Showing Image under Shaders ? [1846]

OK so I can see how to load a texture while under non shader support.. but I can't find any example or any way to support textures under shaders.Anyone have any ideas ? I tried...

View Article

Created Unassigned: glActiveTexture missing ? [1846]

I'm trying to use glActiveTexture( GLenum texture) but it seems to be missing. It's been in use since OpenGL 2.0 so It should be here. otherwise we can't assign the texture to a texture bank so that...

View Article


New Post: Extension function xy not supported

Your error is showing that you are trying to run the OpenGL 2.1 version. Shaders do not work unless you have OpenGL 3.0 and newer. If you are getting the same error with 3.0 and 4.5... then its...

View Article

Reviewed: SharpGL 2.3 (Jan 23, 2017)

Rated 5 Stars (out of 5) - It's stable and it works. The idea that you can put a control on a form and it render out OpenGL graphics is awesome ! AND it can use any version of OpenGL that you setup for...

View Article

New Post: Rendering offscreen

This little piece of code should be able to help you create an empty texture.... or... Buffer Object in this case. I added the Width and Height. This code is from the RadialBlur example. protected uint...

View Article


New Post: Rendering offscreen

To being with.. an FBO is known as a Frame Buffer Object, so you are already rendering offscreen. The sameple ... FormRenderContextsSample example is using more then one OpenGL control, but using only...

View Article


New Post: Lines adjacent to a triangle render with poor quality

In your Initialized control method.. add these two lines at the end of it... gl.MinSampleShading(8); gl.Enable(OpenGL.GL_MULTISAMPLE); The 8 might be too high, try lowering it if needed. Also,...

View Article

New Post: Tutorials?

Just to give you a heads up, I'm working out a plan for youtube tutorials and how to use this. However, I will be using the SharpDevelop IDE, not the Visual Studio IDE since I do not like Visual...

View Article

New Post: Help in readpixel function

What AORD is showing you is exactly what you need. He shows how you read from an image buffer using the Graphics From Image methods. What you are showing in your "C++" code has nothing to do with your...

View Article

Commented Unassigned: RenderContentType=FBO failure [1719]

Hi,After trial and error, I have concluded that RenderContentType = FBO is faster than RenderContentType = NativeWindow.I have modified the ModernOpenGLSample app to the...

View Article


New Post: Just wanted to say a HUGE thank you !!!

I just wanted to say thank you. SharpGL works !! I wasn't sure about it at first. But after some blood sweat and tears I finally figured it out and wow, it works without any problems !! I have tried...

View Article

Commented Issue: Support Multisampling [790]

SharpGL appears to have some problems dealing with Mutlisampling (see http://sharpgl.codeplex.com/discussions/358933). This must be resolved for SGL 2.1 and a Multisampling Sample should be...

View Article


New Post: Help in readpixel function

I'm actually trying to use shaders to generate fragment colors based on their primitive ID, writing to a 2D texture, afterwhich "readpixel" is used to get the data back using a mouse function. To...

View Article

New Post: Help in readpixel function

I'm not 100% sure this is what you want, but I have used this with SharpGL for testing if I have mouse clicked close to a colour (can be change to on a colour). First add an MouseDown event for the...

View Article


New Post: Help in readpixel function

I am trying to create a SharpGL application that is able to select a triangle that is rendered onscreen. I am following the code written in "FBORenderContextProvider.cs". I could not quite find any...

View Article

New Post: Lines adjacent to a triangle render with poor quality

Hi everyone! I have a question here. I am using lines to plot a mesh, and these lines are always adjacent to a triangle. I have enabled the GL_LINE_SMOOTH, but because of the superposition between the...

View Article

New Comment on "Native Textures Sample"

These examples are useless without the source code

View Article
Browsing index pages (104 articles)


Latest Images