zoukankan      html  css  js  c++  java
  • OpenGL 3 and OpenGL 4 with GLSL

    Here are some OpenGL samples with advance features. NeHe OpenGL tutorial focus on the OpenGL fixed pipeline, but those samples are foucs on the programmable renderering pipeline, OpenGL shader language. With such shader language, we could easily controll how object apperance will be, and get some fatsitc image that could not by achieve by the fixed pipeline. Those samples is a good start point to explore OpenGL advanced features or take them as manual as you wish:

    Example01 Example02 Example03 Example04 Example05
    Example01 - Basic window and OpenGL 3 initialization Example02 - Rendering of a triangle Example03 - Grey filter Example04 - Perspective rendering of a cube Example05 - Phong rendering of a spher
    Example06 Example07 Example08 Example09 Example10
    Example06 - Texturing of a cube Example07 - Normal mapping Example08 - Environment/cube mapping Example09 - GPU Particles Example10 - Geometry Shader
    Example11 Example12 Example13 Example14 Example15
    Example11 - Reflection and Refraction Example12 - Shadow mapping Example13 - Simple tessellation (OpenGL 4.1) Example14 - Terrain Rendering (OpenGL 4.1) Example15 - Water Rendering
    Example16 Example17 Example18 Example19 Example20
    Example16 - Model loading and rendering Example17 - Clipping planes and two sided rendering Example18 - Using stencil buffer and clipping planes Example19 - Render to texture and planar reflection Example20 - Texture matrix, alpha blending and discarding
    Example21 Example22 Example23 Example24 Example25
    Example21 - Compute Shader (OpenGL 4.3) Example22 - Shadow volumes Example23 - Displacement mapping (OpenGL 4.1) Example24 - Erode effect using perlin noise Example25 - Model with groups and materials
    Example26 Example27 Example28 Example29 Example30
    Example26 - Fur rendering Example27 - Projection shadow for directional light Example28 - Screen Space Ambient Occlusion (SSAO) (OpenGL 4.1) Example29 - CPU ray tracing Example30 - GPU ray tracing using compute shader (OpenGL 4.3)

    The full source code with VS2008 built version could be download from here.

  • 相关阅读:
    POJ 2411 状态压缩递,覆盖方案数
    POJ 2774 最长公共子串
    POJ 1743 不可重叠的最长重复子串
    POJ 3294 出现在至少K个字符串中的子串
    POJ 3261 出现至少K次的可重叠最长子串
    POJ 1741/1987 树的点分治
    HDU1556 Color the ball
    解决linux系统时间不对的问题
    CentOS 6.9使用Setup配置网络(解决dhcp模式插入网线不自动获取IP的问题)
    Linux网络配置(setup)
  • 原文地址:https://www.cnblogs.com/open-coder/p/3450787.html
Copyright © 2011-2022 走看看