Skip to content

Commit

Permalink
Comments for "camera" examples
Browse files Browse the repository at this point in the history
  • Loading branch information
xeolabs committed Aug 24, 2013
1 parent 68f5542 commit 0b81107
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
7 changes: 7 additions & 0 deletions examples/ex/viewing/camera/frustum.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@

<script>

// Demonstrates the "camera" node configured with a "frustum" projection.
//
// Frustum projection is effectively the same as perspective,
// providing you with the ability to explicitly set the view
// frustum, which can be useful if you want it to be asymmetrical.
//

// Point SceneJS to the bundled plugins
SceneJS.setConfigs({
pluginPath:"../../../../api/latest/plugins"
Expand Down
8 changes: 8 additions & 0 deletions examples/ex/viewing/camera/ortho.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@

<script>

// Demonstrates the "camera" node configured with an orthographic projection.
//
// Orthographic, or parallel, projections consist of those that involve no
// perspective correction. There is no adjustment for distance from the camera
// made in these projections, meaning objects on the screen will appear the
// same size no matter how close or far away they are.
//

// Point SceneJS to the bundled plugins
SceneJS.setConfigs({
pluginPath:"../../../../api/latest/plugins"
Expand Down
7 changes: 7 additions & 0 deletions examples/ex/viewing/camera/perspective.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@

<script>

// Demonstrates the "camera" node configured with a perspective projection.
//
// Perspective projection embodies the appearance of objects relative to
// their distance from the view point. It implicitly defines a frustum that
// embodies the view volume.
//

// Point SceneJS to the bundled plugins
SceneJS.setConfigs({
pluginPath:"../../../../api/latest/plugins"
Expand Down

0 comments on commit 0b81107

Please sign in to comment.