====[[RzR]]==== Projects : [[Pinball]] [[Mini3D]] [[FPS]] [[gl]] ===== TODO ===== * http://bugs.debian.org/308147 * http://forum.hybrid.fi/index.php?action=profile;u=57;sa=showPosts * http://www.mesa3d.org/brianp/sig97/offscrn.htm * https://www.khronos.org/opengl/wiki/History_of_OpenGL GlEs : * http://talk.maemo.org/showthread.php?p=1372202#post1372202 * http://wiki.maemo.org/OpenGL-ES#OpenGL_variants * http://pandorawiki.org/OpenGL_ES_1.1_Tutorial * http://talk.maemo.org/showthread.php?p=1364261#post1364261# GlEs * https://github.com/lunixbochs/glshim * http://talk.maemo.org/showthread.php?t=25984&highlight=xscreensaver&page=2# * http://www.jwz.org/blog/2012/06/i-have-ported-xscreensaver-to-the-iphone/ * http://boards.openpandora.org/index.php/topic/11506-opengl-implementation-tldr-more-games/. * https://github.com/Zygo/xscreensaver/blob/master/hacks/glx/jwzgles.c ===== UT : GLU GLUT etc ===== * http://maemo.org/packages/package_instance/view/fremantle_extras-devel_free_armel/freeglut3-dev/2.4.0-6.2maemo1/ * [[glut]] : http://sourceforge.net/tracker/index.php?func=detail&aid=1715515&group_id=13498&atid=363498 * http://code.google.com/p/glues/ ==== glsl ==== * http://www.vis.uni-stuttgart.de/glsldevil/ * http://www.icare3d.org/blog_techno/gpu/opengl_geometry_shader_marching_cubes.html wget http://www.icare3d.org/files/GeometryShaderTut/testg80_v1.4.zip http://kheb.homelinux.org/~michel/x3d/ShaderTests/ * [[Learn]] [[GLSL]] [[Shaders]] http://ubuntuforums.org/showthread.php?p=9163313#post9163313 - http://en.wikipedia.org/wiki/GLSL glxinfo | grep GL_ARB_fragment_program http://www.lighthouse3d.com/opengl/glsl/index.php?oglprogram http://wapedia.mobi/fr/Shader Testing on [[debian]] : wget -c http://www.lighthouse3d.com/opengl/glsl/examples/glutglsl5.zip cc *.cpp -lglut -lGLEW -lGL -L/usr/local/lib/ && ./a.out # if (GLEW_ARB_vertex_shader && GLEW_ARB_fragment_shader) * http://duriansoftware.com/joe/An-intro-to-modern-OpenGL.-Chapter-2.3:-Rendering.html @tag: [[OpenGl]] [[Shader]] [[gles]] [[3D]] [[nv]] === OPENGL REFERENCE=== * http://www.opengl.org/documentation/red_book_1.0/ * isbn:0201604582 # English [[Book]] * isbn:2744008419 # French [[Book]] * http://www.parallab.uib.no/SGI_bookshelves/SGI_Developer/books/OpenGL_RM/sgi_html/bk02.html * http://net3d.free.fr/pub/opengl_the_red_book/00-index.htm * http://glfw.sourceforge.net/ * http://www.nullterminator.net/gltexture.html * faq : http://tfpsly.planet-d.net/OpenGL/Faq/texture.htm * http://talika.eii.us.es/~titan/oglfaq/ * http://www.dcc.unicamp.br/~lmarcos/courses/mc603/redbook/chapter09.html * http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/drawarrays.html * http://www.fysh.org/~katie/manuals/OpenGlFaq.txt === [[Debian]]=== # http://packages.debian.org/cgi-bin/search_contents.pl?word=gl.h&searchmode=searchfiles&case=insensitive&version=stable&arch=i386 apt-get install xlibmesa-gl-dev ===TEXTURES=== Stupid man pages (of cygwin & [[Debian]] 200404) , dont believe liers : # man glTexImage2D ... 2n+2(border) for some integer n. All implementations ... I Suppose the 'n' in 2n+2 was noted as an exposant, and the ntroff filter ommited the '^' in 2^n+2 http://sourceforge.net/tracker/index.php?func=detail&atid=100003&aid=949337&group_id=3 sous opengl on peut charger des textures de tailles 2n+2 x 2m+2 ? je croyais que c t 2^n x 2^m RzR: si t'as l'extension pr avoir des textures rectangulaires :) ha c bien ce ke je pensais GL_EXT_texture_rectangle, GL_NV_texture_rectangle sinon faut faire du padding a la main makeCheckImage(); GLuint* gltexturename_ = new GLuint[[1]]; glGenTextures(1, gltexturename_ ); glTexImage2D(GL_TEXTURE_2D, 0, 3, 64, 64, 0 , 0, GL_UNSIGNED_BYTE, p_texture_default_ ); assert( glIsTexture( *gltexturename_ ) ); //crash why ? ===SHADERS=== * http://www.ati.com/developer/sdk/RadeonSDK/Html/Samples/OpenGL/GLSLSimpleShader.html * http://www.opengl.org/documentation/oglsl.html * Pixels shaders http://www.clockworkcoders.com/oglsl/tutorials.html * http://b0rken.dk/hornet/src/cg_perpixel_vert.cg * http://www.codesampler.com/oglsrc.htm ==== TRANSPARENCY ==== Do not use Accum buffer : * render to texture et apres tu fades entre tes textures * r l'alpha de ton mesh au pire tu rends dans une grosse texture *vi ou tu bouge l'alpha du mesh si c par mesh ouai meme en 1024x1024 ca passe glBlendFunc(GL_SRC_ALPHA,GL_ONE); glColor4f(1.0f, 1.0f, 1.0f, 0.5); glTexEnvi(GL_TEXTURE_ENV,GL_TEXTURE_ENV_MODE,GL_BLEND); glColor4d(1,1,1, (GLdouble) a); glTexParameterf( GL_TEXTURE_2D, GL_TEXTURE_PRIORITY, (GLfloat) a ); * http://www.markmark.net/misc/rendertexture.html ===== MISC ===== * http://blog.gmane.org/gmane.linux.debian.devel.x * http://forums.debian.net/viewtopic.php?t=4295 * http://gravityboy.livejournal.com/30382.html?thread=103598#t103598 {{http://xander.intergalactic-freaks.com/wp-content/uploads/2007/08/diffract8.png}} * http://nebulus.tuxfamily.org/ [[Audio]] * http://www.linuxgraphic.org/section3d/openGL/didact.html * http://prografix.games-creators.org/doc_cat/94 * http://www.mandragor.org/tutoriels/tutoriel.php?id=5&chap= * http://www.programmationworld.com * http://www.gamedev.net * http://www.flipcode.net * http://www.dreaminprogress.net/projets/worldification/ * http://koders.com/?s=glLoadMatrixx&_%3Abtn=Search&_%3Ala=*&_%3Ali=* * http://www.nigels.com/glt/screenshots.html * http://glintercept.nutty.org/index.html * http://www.g-truc.net/doc/GLSL%20Capabilities.pdf# GlSl * https://github.com/glmark2/glmark2/issues# * https://www.glfw.org/# ToolKit ===== MORE ===== @TaG: [[3D]] [[Programming]] [[Vision]] [[Graphics]] [[DirectX]] [[GLX]] [[Stereo]] [[OpenGlEs]]