1 / 7

Programmable Hardware: High-Level Shading Language for Graphics Rendering

Explore the power of programmable hardware with Luc, a high-level shading language that supports Nvidia Cg, DirectX HLSL, and OpenGL Shading language. Learn how to use Luc's C-like syntax, vertex and fragment programs, hardware functions, and 4-component algebra to create stunning graphics effects. This example demonstrates linear interpolation and how to manipulate data input and output, including textures, geometry, color, and normal.

karendsmith
Download Presentation

Programmable Hardware: High-Level Shading Language for Graphics Rendering

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Programmable Hardware Luc

  2. High Level Shading Language • Nvidia Cg, • DirectX HLSL, • OpenGL Shading language, OpenGL 2.0

  3. Shaders • C-like syntax • Vertex program • Fragment program • Hardware functions • 4-component algebra • Sin, cos,… • Linear interpolation • …

  4. Data • Data input: • Textures • Tex coordinates • Geometry • Color • Normal • Output: • Direct display • Textures • P-buffer

  5. Example float4 shader(float3 texCoord0 : TEXCOORD0, uniform sampler3D texture0, uniform sampler1D texture1 ) : COLOR { float tex0 = tex3D(texture0, texCoord0).a; return tex1D(texture1, tex0); }

  6. Paper 1 • Acceleration Techniques for GPU based Volume Rendering • Tech. Univ. Munich • Viola et al, • IEEE Vis2003

  7. Paper 2 • Hardware Based Non Linear Filtering and Segmentation Using High Level Shading Languages • Vienna Univ. of Technology • IEEE Vis2003

More Related