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.

  • 相关阅读:
    asp.net 验证输入有效性
    优化SQL SERVER访问性能
    with nocheck ; nocheck
    VB SStab设置当前页
    相互关联的子查询
    mybatis 批量查询参数语句
    转载 mysql函数大全
    Tchar.h 中的一般文本映射
    字节序的概念、判断、及转换
    Windows风格与C/C++风格:UNICODE VS _UNICODE 与 TEXT() VS _T()
  • 原文地址:https://www.cnblogs.com/open-coder/p/3450787.html
Copyright © 2011-2022 走看看