Skip to content

zoharsf/SceneRenderer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SceneRenderer

Renders a scene using different shapes

The program can use a number of inputs:

  • Video streamed from the camera
  • A loaded video
  • A loaded image

The file has a list of toggles which can be flipped in order to change the effect used, the source of the scene and general configurations:

Effects:

  • useCircles: render the scene using circles.
  • useRings: render the scene using rings.
  • useTriangles: render the scene using triangles.

Sources:

  • useCam: use camera to render the scene.
  • useMovie: use video to render the scene.
  • useImage: use image to render the scene.

Configurations:

  • useSlider: add a slider which controls the number of rendering objects per frame.
  • saveImage: save the rendered scene to a file every 1 second.
  • drawScene: draw the scene. If false, the program will log the available camera resolutions to the console.

Examples:

  • Circles: Circles
  • Rings: Rings
  • Triangles: Triangles
  • Video rendered from a movie of a sea turtle swiming up for air: Turtle

Releases

No releases published

Packages

No packages published