
Glu is really obsolete, Glu.Build2DMipmap is an exception?
Posted Thursday, 11 February, 2010 - 10:14 by migueltk inHello, ...
As implemented "Glu.Build2DMipmap" without using Glu, I know how to do it. Does anyone know how to do it? ...
Programming using "OpenTK.dll is very easy but using both" OpenTK.Compatibility.dll "is a real problem, there are constantly name collisions.
OpenTK should be limited to the creation and support of the windows, mouse, keyboard, sound, and exclude the mathematical library. When you have your own mathematical library with the most common names "Vector3", "Matrix", there are constantly name collisions.
It is my opinion.
Regards, ...


Comments
Re: Glu is really obsolete, Glu.Build2DMipmap is an ...
Glu.Build2DMipmap is obsolete and has been obsolete for close to a decade:
Barring (bad, obsolete) tutorials, noone should be using Glu.Build2DMipmap nowadays.
You can avoid name collisions by being more frugal with namespace imports:
In retrospect, it was probably a mistake to move math structures to the OpenTK namespace. Oh well, live and learn, maybe this can be reevaluated for some future 2.0 release.
Re: Glu is really obsolete, Glu.Build2DMipmap is an ...
True "Glu.Build2DMipmap" is outdated and I had the solution in the book "OpenGL Superbible 2" Chapter 8, I've only had to replace the line
by the following code
thanks for your answer, every day you learn something new ...
Re: Glu is really obsolete, Glu.Build2DMipmap is an ...
Problem:
GL.GenerateMipmap();andTextureParameterName.GenerateMipmapboth don't work on Ati Radeon X1400.Only
Glu.Build2DMipmap()works. But with Glu method these lines don't work:I use them to stop creating highest levels of mipmaps which would blend together different textures in texture atlas.
Probably the only solution is to create mipmaps manually.