
OpenTK.Graphics.Glu.Build3DMipmap Error
Posted Tuesday, 6 July, 2010 - 15:18 by aminejelliti ini've an error when i use this function (" OpenTK.Graphics.Glu.Build3DMipmap")
and the error is that it's missing in glu32.
Should i download another glu32.dll or there's another solution.
If you know another way to set mipmap to a texture 3D with another function don't hesitate to help me.
Thanks


Comments
Re: OpenTK.Graphics.Glu.Build3DMipmap Error
Try using
GL.GenerateMipmap()(which doesn't need OpenTK.Compatibility).Also, please post the exact error/exception you are seeing.
Re: OpenTK.Graphics.Glu.Build3DMipmap Error
Impossible de trouver le point d'entrée 'gluBuild3DMipmaps' dans la DLL 'glu32.dll'.
OpenTK.Graphics.Glu.Imports.Build3DMipmaps(TextureTarget target, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, PixelFormat format, PixelType type, IntPtr data)
à OpenTK.Graphics.Glu.Build3DMipmap(TextureTarget target, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, PixelFormat format, PixelType type, Object data)
à
Re: OpenTK.Graphics.Glu.Build3DMipmap Error
Impossible de trouver le point d'entrée 'gluBuild3DMipmaps' dans la DLL 'glu32.dll'.
OpenTK.Graphics.Glu.Imports.Build3DMipmaps(TextureTarget target, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, PixelFormat format, PixelType type, IntPtr data)
à OpenTK.Graphics.Glu.Build3DMipmap(TextureTarget target, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, PixelFormat format, PixelType type, Object data)
à
Re: OpenTK.Graphics.Glu.Build3DMipmap Error
i've an error when i use this function (" OpenTK.Graphics.Glu.Build3DMipmap")
and the error is that it's missing in glu32.
Should i download another glu32.dll or there's another solution.
If you know another way to set mipmap to a texture 3D with another function don't hesitate to help me.
Thanks
hi,
You can go to this site ..
http://www.fix-all-dll-errors.com/glu32.dll/
as I registered few dll's from this site as it is free...worked in my case :)
Re: OpenTK.Graphics.Glu.Build3DMipmap Error
If your target is OpenGL 1.4, use
GL.TexParameter(..., GenerateMipmaps, 1). If your target is OpenGL 2+ useGL.GenerateMipmap()orGL.Ext.GenerateMipmap().GLU is marked as deprecated in the latest OpenGL specs, so relying on it for new programs is not recommended.
Re: OpenTK.Graphics.Glu.Build3DMipmap Error
Hi, I'm new to OpenTK.
I am targeting GL 1.1 and I'm using gluBuild2DMipmaps. What should I do?
Also, to the other guy:
If you want gluBuild3DMipmaps, this is in GLU 1.3.
Windows comes with GLU 1.2 by default and that is why it doesn't work for you.
Lastly and more importantly, I agree with the others, don't use GLU if you are targetting hw that supports 3D textures and shaders.
Re: OpenTK.Graphics.Glu.Build3DMipmap Error
For GL1.1, you can recreate the functionality of gluBuild2DMipmaps via System.Drawing and GL.TexSubImage2D().
Re: OpenTK.Graphics.Glu.Build3DMipmap Error
I made a file with this code. I haven't compile the entire project yet but VB.NET is not complaining yet!
Option Strict Off Option Explicit On Module Module_glu 'Declaration for functions found in GLU 'This file does not exist in the VB6 project. I had to create this when making this VB.NET project Public Declare Function gluBuild2DMipmaps Lib "glu32" (ByVal target As Integer, ByVal components As Integer, ByVal width As Integer, ByVal height As Integer, ByVal format As Integer, ByVal type As Integer, ByRef data As Byte) As Integer End ModuleRe: OpenTK.Graphics.Glu.Build3DMipmap Error
Looks fine. This will work for compatibility OpenGL contexts (the default) and systems where GLU 1.2 is installed. I don't know whether GLU is supported forward-compatible contexts, however (OpenGL 3.x or 4.x).