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
Image with Points Overlaid
Gizmo to transform world objects
Gizmo to transform world objects
Volume Slice 1
Transform Control without Matrix Updating
Transform Control without Matrix Updating
Geometry Plane
Bounding Box Coordinates
Wireframe 1
Thick Lines
Klein Bottle Geometry
Point Picking
Stats helper (Manual)
Text contrast
Wireframe 2
Volume Slice 2
Volume Slice 3
Use a Skybox
Volume Rendering 2
Physical Color
Panzoom Camera
Instancing
Line Drawing
Synced Video Rendering
Color Picking
Transparency 1
Paint to a texture
Scene Overlay
Sphere Geometry
Directional Shadow 1
Image with another image overlaid
Image with another image overlaid
Mesh Slice Material
Volume Rendering 1
Colormap Channels
Look At
Subplots 1
Text snake
Use a Skybox
Transparency 2
Nested Scenes
PBR Rendering 1
Mesh and Volume Slicing 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
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
Simple Colormap
Axis Helper 2
Image Material
Image on Plane Geometry 1
Normals on front and back
Reference Color
Transparency
Text anchor
Depth Clipping
Validate Skybox
Light and Shadow
Volume and Volume Slice Rendering
Volume and Volume Slice Rendering
NDC Coordinates
Text size
Mesh Colormaps
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