Simple renderer in .net with SharpGL (openGL)


Re: Simple renderer in .net with SharpGL (openGL)
#36
Thanks for the tip, i'll try that.
But it was something different - stupid me. I did not draw the quads (divided into triangles) also. And at a 3005 there are many quads.

I added that, but I can not see any difference as all faces are black.

I have already set the color gl.Color(0, 100, 0) but also this results in black.

Maybe I have to make some light on?

I added also:
gl.Light(SharpGL.Enumerations.LightName.Light0, SharpGL.Enumerations.LightParameter.Ambient, 1)
gl.Light(SharpGL.Enumerations.LightName.Light1, SharpGL.Enumerations.LightParameter.Diffuse, 1)
but no change in the picture Sad

By the way, the best tutorial so far (in german language) is http://www.3dsource.de/faq/index.htm
Reply
« Next Oldest | Next Newest »



Messages In This Thread
Re: Simple renderer in .net with SharpGL (openGL) - by Michael Heidemann - 2013-12-01, 17:54

Forum Jump:


Users browsing this thread: 13 Guest(s)