Skip to content

Commit

Permalink
Info text tweaks for clipping examples
Browse files Browse the repository at this point in the history
  • Loading branch information
xeolabs committed Aug 18, 2016
1 parent c3a89de commit 81f8d9b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
8 changes: 5 additions & 3 deletions examples/effects_clipping_caps.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,11 @@


<div id="infoDark">
<a href="http://scenejs.org">SceneJS</a> - Multiple arbitrarily-aligned clipping planes with caps, using the <a href="../api/latest/plugins/node/postprocess/clippingCap.js">postprocess/clippingCap</a> plugin.<br><br>The maximum number of clipping planes allowed will
depend on how many <span style="font-style:italic;">varying</span> types your WebGL supports, where each plane requires one <span style="font-style:italic;">varying</span>.
<br/> This algorithm can show artifacts when multiple clipping planes are overlapping, as demonstrated in this example (see the angled clipping plane).<br>We can avoid that, however, through careful positioning of the clipping planes, eg. in an axis-aligned box shape.
<a href="http://scenejs.org">SceneJS</a> - Multiple arbitrarily-aligned clipping planes with caps, using the <a
href="../api/latest/plugins/node/postprocess/clippingCap.js">postprocess/clippingCap</a> plugin.<br> This
algorithm can show artifacts when multiple clipping planes are overlapping, as demonstrated in this example (see the
angled clipping plane).<br>We can avoid that, however, through careful positioning of the clipping planes, eg. in an
axis-aligned box shape.
</div>

<script>
Expand Down
5 changes: 2 additions & 3 deletions examples/effects_clipping_caps_axis_aligned.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@


<div id="infoDark">
<a href="http://scenejs.org">SceneJS</a> - Axis Aligned clipping planes with caps, using the <a href="../api/latest/plugins/node/postprocess/clippingCap.js">postprocess/clippingCap</a> plugin. <br><br>The maximum number of clipping planes allowed will
depend on how many<br><span style="font-style:italic;">varying</span> types your WebGL supports, where each plane requires one <span style="font-style:italic;">varying</span>.
<a href="http://scenejs.org">SceneJS</a> - Axis Aligned clipping planes with caps, using the <a href="../api/latest/plugins/node/postprocess/clippingCap.js">postprocess/clippingCap</a> plugin.
</div>

<script>
Expand Down Expand Up @@ -132,7 +131,7 @@

nodes: [


{
type: "material",
color: {r: 0.6, g: 0.6, b: 0.9},
Expand Down
2 changes: 0 additions & 2 deletions examples/effects_clipping_multiple.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@

<div id="infoDark">
<a href="http://scenejs.org">SceneJS</a> - Arbitrarily-aligned clipping planes
<br><br>In this demo we're creating multiple cross-sections.<br><br>The maximum number of clipping planes allowed will
depend on how many<br><span style="font-style:italic;">varying</span> types your WebGL supports, where each plane requires one <span style="font-style:italic;">varying</span>.
</div>

<script>
Expand Down

0 comments on commit 81f8d9b

Please sign in to comment.