Namespaces

Variants
Actions

jit.gl.camera

From Cycling '74 Wiki
(Difference between revisions)
Jump to: navigation, search
({{maxword|name=jit.gl.camera}} Tips and Workarounds)
(People who looked at/used this object also looked at....)
Line 101: Line 101:
  
 
==People who looked at/used this object also looked at....==
 
==People who looked at/used this object also looked at....==
 +
*{{maxword|name=jit.gl.light}}
 +
*{{maxword|name=jit.gl.material}}
 +
*{{maxword|name=jit.gl.render}}
 +
*{{maxword|name=jit.gl.sketch}}
 +
*{{maxword|name=jit.anim.node}}
 +
*{{maxword|name=jit.anim.drive}}
  
 
==Errors or Clarifications==
 
==Errors or Clarifications==

Revision as of 03:18, 26 October 2013

Contents

jit.gl.camera online refpage

Using the jit.gl.camera object

The jit.gl.camera object allows you to define an OpenGL view. The view can either be directly rendered to an OpenGL drawing context or can be captured to a texture for further use.

jit.gl.camera Tutorials

jit.gl.camera Tips and Workarounds

With the help of jit.gl.node, it is easy to use multiple jit.gl.camera objects to view an OpenGL scene from multiple perspectives at once. In addition to multiple viewing positions and angles, each camera can have unique attributes for how it views the scene, such as field of view and clipping planes.

This patch uses four cameras to view all sides of a simple environment rendered to a jit.gl.node, then passes each cameras view out to be rendered on separate video planes:

-- Pasted Max Patch, click to expand. --


You can find several interesting patches that make use of jit.gl.camera in the example patches included with Max:

  • ./examples/jitter-examples/render/anim/anim.camera.advanced.maxpat - uses jit.anim.drive to have the camera follow a user controllable character around.
  • ./examples/jitter-examples/render/camera.node.examples/camera.direct.feedback.maxpat - shows how you can use jit.gl.camera to create direct feedback.
  • ./examples/jitter-examples/render/camera.node.examples/camera.node.mixing.views.maxpat - uses two cameras with jit.gl.node to mix two different views of a scene into one final output.
  • ./examples/jitter-examples/render/camera.node.examples/camera.viewport.maxpat - similar to the above multi-camera example, but uses viewports to segment the final output, bypassing the node and textured videoplanes.
  • ./examples/jitter-examples/render/camera/camera.capture.maxpat - another example of using feedback based on the camera.

Third-Party Max externals similar to the jit.gl.camera object

Maxobjects.com listing for the jit.gl.camera object

People who looked at/used this object also looked at....

Errors or Clarifications

(please list things that you believe to be errors or omissions from the existing refpage)