User:Sylvain: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
Line 14: Line 14:
===Streamline Visualization===
===Streamline Visualization===
[[Image:TestTubeActorStreamLines.png]]
[[Image:TestTubeActorStreamLines.png]]
===Streamline Visualization with arrows===
===Streamlines with arrows===
[[Image:TestArrowTubeActor.png]]
[[Image:TestArrowTubeActor.png]]
===Streamline with texture===
===Streamline with texture===
[[Image:TestTextureTubeActor.png]]
[[Image:TestTextureTubeActor.png]]

Revision as of 23:58, 29 August 2007

Redesign of VTK

The next version of VTK will support OpenGL 2.0 and GPU Filters. The illustration below shows the new Rendering Pipeline of VTK.

ShaderDeviceAdapter.png

GPU Filters for VTK

Lines are converted to Triangle Strips on the CPU. Then the Vertex Shader orients the triangle strips to face the camera. Finally the Fragment Shader colors the pixels based on the reflection equation on a cylinder. The resulting image can be textured with arrows, text, or numbers to convey additional information.

TubePainter.png

Streamline Visualization

TestTubeActorStreamLines.png

Streamlines with arrows

TestArrowTubeActor.png

Streamline with texture

TestTextureTubeActor.png

Streamline with numbers

Note that the numbers are oriented correctly on the Vertex Shader. The text always faces the camera even during rotations.

TestCellIdTubeActor0.png TestCellIdTubeActor1.png

TestCellIdTubeActor2.png TestCellIdTubeActor3.png

Streamline with varying radius

TestStreamLinesVaryingRadius.png