Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into shader-optimizations
Browse files Browse the repository at this point in the history
Conflicts:
	.gitignore
	README.markdown
	build.xml
	resources/web/style.css
	src/scenejs/boundary/boundingBox.js
	src/scenejs/geometry/objects/sphere.js
	src/scenejs/interpolation/interpolator.js
	src/scenejs/scene/scene.js
	src/scenejs/scene/sceneModule.js
  • Loading branch information
xeolabs committed Jun 3, 2015
2 parents 36c1896 + 350b8c8 commit 9e6cec5
Show file tree
Hide file tree
Showing 10 changed files with 38,618 additions and 99 deletions.
211 changes: 112 additions & 99 deletions api/latest/scenejs.js

Large diffs are not rendered by default.

22 changes: 22 additions & 0 deletions api/latest/scenejs.min.js

Large diffs are not rendered by default.

18,187 changes: 18,187 additions & 0 deletions build/4.2.0/scenejs-4.2.0.js

Large diffs are not rendered by default.

22 changes: 22 additions & 0 deletions build/4.2.0/scenejs-4.2.0.min.js

Large diffs are not rendered by default.

18,187 changes: 18,187 additions & 0 deletions build/scenejs.js

Large diffs are not rendered by default.

22 changes: 22 additions & 0 deletions build/scenejs.min.js

Large diffs are not rendered by default.

92 changes: 92 additions & 0 deletions src/examples/multiple-canvases/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
<html>
<head>
<title></title>
<script type="text/javascript" src="../../lib/scenejs.js"></script>

<link href="../web/style.css" rel="stylesheet" type="text/css"/>

</head>
<div id="container">
<div id="header">
<div id="header-nav">

</div>
<div id="header-inner">
<h1><a href="http://scenejs.org">SceneJS</a> &gt; <a href="../index.html">Examples</a> &gt;&nbsp;Multiple Canvases
</h1>
<a class="a2a_dd" href="http://www.addtoany.com/share_save?linkname=s&amp;linkurl=s"><img
src="http://static.addtoany.com/buttons/share_save_171_16.png" width="171" height="16" border="0"
alt="Share/Bookmark"/></a>
<script type="text/javascript">
var a2a_linkname = "SceneJS Live Examples";
var a2a_linkurl = window.location;
var a2a_onclick = 1;</script>
<script type="text/javascript" src="http://static.addtoany.com/menu/page.js"></script>
</div>
</div>
<div id="content">
<ul class="hlist">
<li>
<canvas id="theCanvas1" width="500" height="350">
<p>This example requires a browser that supports the
<a href="http://www.w3.org/html/wg/html5/">HTML5</a>
&lt;canvas&gt; feature.</p>
</canvas>
</li>
<li>
<canvas id="theCanvas2" width="500" height="350">
<p>This example requires a browser that supports the
<a href="http://www.w3.org/html/wg/html5/">HTML5</a>
&lt;canvas&gt; feature.</p>
</canvas>
</li>
</ul>
<ul class="hlist">
<li>
<canvas id="theCanvas3" width="500" height="350">
<p>This example requires a browser that supports the
<a href="http://www.w3.org/html/wg/html5/">HTML5</a>
&lt;canvas&gt; feature.</p>
</canvas>
</li>
<li>
<canvas id="theCanvas4" width="500" height="350">
<p>This example requires a browser that supports the
<a href="http://www.w3.org/html/wg/html5/">HTML5</a>
&lt;canvas&gt; feature.</p>
</canvas>
</li>
</ul>
<div id="info">
<h2>Multiple Canvases, Using SceneJS</h2>

<p>This renders separate scenegraphs containing a teapot object from different perspectives
into four separate canvases. Dragging in the pitch and yaw axes in any one canvas will
affect the orientation of the teapot object in the other three canvases. Each of the
rotatable Newell Teapots are illuminated by three light sources from the same direction.</p>

<br/>

<ul>
<li><a target="_other" href="multiple-canvases.js">Scene source code</a></li>
<li><a target="_other" href="http://scenejs.wikispaces.com/Getting+Started+-+A+Newell+Teapot">Wiki page
on
this example</a></li>
</ul>
</div>
<div id="log">
<h3>Log 1</h3>
<div id="theLoggingDiv1"></div>
<h3>Log 2</h3>
<div id="theLoggingDiv2"></div>
<h3>Log 3</h3>
<div id="theLoggingDiv3"></div>
<h3>Log 4</h3>
<div id="theLoggingDiv4"></div>
</div>
</div>
</div>

<script type="text/javascript" src="multiple-canvases.js"></script>
</body>
</html>
Loading

0 comments on commit 9e6cec5

Please sign in to comment.