Examples that use pygfx¶
Introductory Examples
Use gfx.show
Hello World
Render a Triangle
Rendering Points
Boundary Boxes
Lights
Hello text
Offscreen Rendering
Clipping Planes
Orbit Camera
Feature Demos
Show STL File via gfx.show
Möbius strip Geometry
Subdivision
Use gfx.show to show a Scene
Geometry Image
Mesh dynamic
Show Image
Line Drawing Performance
Geometry Cubes
Torus knot
Rotating Polyhedra
Flat Shading
Fly controller
Line Segments
Point Picking
Image with Points Overlaid
Gizmo to transform world objects
Gizmo to transform world objects
Volume Slice 1
Geometry Plane
Transform Control without Matrix Updating
Transform Control without Matrix Updating
Bounding Box Coordinates
Wireframe 1
Thick Lines
Klein Bottle Geometry
Stats helper (Manual)
Text contrast
Wireframe 2
Volume Slice 2
Volume Slice 3
Use a Skybox
Volume Rendering 2
Physical Color
Panzoom Camera
Instancing
Synced Video Rendering
Color Picking
Paint to a texture
Sphere Geometry
Directional Shadow 1
Image with another image overlaid
Image with another image overlaid
Mesh Slice Material
Volume Rendering 1
Colormap Channels
Scene Overlay
Look At
Subplots 1
Text snake
Use a Skybox
Transparency 1
Nested Scenes
PBR Rendering 1
Mesh and Volume Slicing 2
Transparency 2
Types of Cylinders
Mesh Picking
Lightmap
Volume and Mesh Slicing 1
Dynamic Environment Map
Ambient occlusion
Image Click Events
Directional Shadow 2
Subplots 2
Colormap Image
Minimal Custom Object
Subplots Video
Environment Map Effects
Text waterfall
Mesh with quads
Line Drawing
PBR Rendering 2
Map Screen to World
Colormap Mesh
Multi-Object Selection
Depth Material
Simple Custom Object
Spotlights
Spotlight Shadow
Wireframe Material
Custom Object
Validation Examples
Axes Helper 1
Box Geometry
Axis Helper 2
Image Material
Simple Colormap
Image on Plane Geometry 1
Normals on front and back
Thin lines
Depth Overlay 2
Depth Overlay 1
Reference Color
Transparency
Text anchor
Dashing
Depth Clipping
Validate Skybox
Light and Shadow
Volume and Volume Slice Rendering
Volume and Volume Slice Rendering
Lines in 2D
NDC Coordinates
Text size
Mesh Colormaps
Cubes drawn with dashed lines
Culling
Mesh slice
Other Examples
Note
The examples in this section are not rendered. Typically because they use a backend that is not available on the CI runner.
Simple Cube with WX
Simple Cube with Qt
Integrate pygfx in Qt
Two Canvases
Fullscreen Postprocessing 2
Performance of drawing many Lines
Performance of drawing many Lines
Sponza Scene
Reactive rendering loop
Full-Screen Post Processing 1
Render Text with Qt
Light Effects