Skip to content

Commit 3e67ade

Browse files
committed
Fixed some links and typos
1 parent ae62253 commit 3e67ade

File tree

4 files changed

+20
-24
lines changed

4 files changed

+20
-24
lines changed

01-preface.rst

-2
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,6 @@ should import numpy, scipy and glumpy as:
9595
.. code-block:: python
9696
9797
import numpy as np
98-
import scipy as sp
99-
import glumpy as gp
10098
10199
102100
We'll use up-to-date versions (at the date of writing, i.e. August, 2017) of the

08-markers.rst

+6-6
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ And we can check for the result using two circles (the shadertoy link for each
6868
example allows you to play online with them):
6969

7070

71-
.. figure:: images/chapter-08/CSG-intersection.png
71+
.. figure:: images/chapter-08/csg-intersection.png
7272
:figwidth: 30%
7373

7474
Figure
@@ -78,7 +78,7 @@ example allows you to play online with them):
7878
7979
__ https://www.shadertoy.com/view/XllyWn
8080

81-
.. figure:: images/chapter-08/CSG-union.png
81+
.. figure:: images/chapter-08/csg-union.png
8282
:figwidth: 30%
8383

8484
Figure
@@ -88,7 +88,7 @@ __ https://www.shadertoy.com/view/XllyWn
8888
8989
__ https://www.shadertoy.com/view/4tlyWn
9090

91-
.. figure:: images/chapter-08/CSG-mix.png
91+
.. figure:: images/chapter-08/csg-mix.png
9292
:figwidth: 30%
9393

9494
Figure
@@ -100,7 +100,7 @@ __ https://www.shadertoy.com/view/MtfcDr
100100

101101
----
102102

103-
.. figure:: images/chapter-08/CSG-exclusion.png
103+
.. figure:: images/chapter-08/csg-exclusion.png
104104
:figwidth: 30%
105105

106106
Figure
@@ -111,7 +111,7 @@ __ https://www.shadertoy.com/view/MtfcDr
111111
__ https://www.shadertoy.com/view/4tsyWn
112112

113113

114-
.. figure:: images/chapter-08/CSG-difference-2.png
114+
.. figure:: images/chapter-08/csg-difference-2.png
115115
:figwidth: 30%
116116

117117
Figure
@@ -121,7 +121,7 @@ __ https://www.shadertoy.com/view/4tsyWn
121121
122122
__ https://www.shadertoy.com/view/XtsyWn
123123

124-
.. figure:: images/chapter-08/CSG-difference-1.png
124+
.. figure:: images/chapter-08/csg-difference-1.png
125125
:figwidth: 30%
126126

127127
Figure

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Python & OpenGL for Scientific Visualization
88
99
Python and OpenGL have a long but complicated story. It used to be really easy
1010
to program something using the fixed-pipeline and libraries such as Pyglet but
11-
things have became more difficult with the introduction of the dynamic graphic
11+
things became more difficult with the introduction of the dynamic graphic
1212
pipeline in 2004. The goal of this book is to reconciliate Python programmers
1313
with OpenGL, providing both an introduction to modern OpenGL and a set of basic
1414
and advanced techniques in order to achieve both fast, scalable & beautiful

book.html

+13-15
Original file line numberDiff line numberDiff line change
@@ -236,8 +236,6 @@ <h3><a class="toc-backref" href="#id1">Conventions</a></h3>
236236
should import numpy, scipy and glumpy as:</p>
237237
<pre class="code python literal-block">
238238
<span class="keyword namespace">import</span> <span class="name namespace">numpy</span> <span class="keyword namespace">as</span> <span class="name namespace">np</span>
239-
<span class="keyword namespace">import</span> <span class="name namespace">scipy</span> <span class="keyword namespace">as</span> <span class="name namespace">sp</span>
240-
<span class="keyword namespace">import</span> <span class="name namespace">glumpy</span> <span class="keyword namespace">as</span> <span class="name namespace">gp</span>
241239
</pre>
242240
<p>We'll use up-to-date versions (at the date of writing, i.e. August, 2017) of the
243241
different packages:</p>
@@ -1442,7 +1440,7 @@ <h3><a class="toc-backref" href="#id7">Varying color</a></h3>
14421440
<!-- Animating
14431441
+++++++++
14441442

1445-
.. figure:: data/quad-scale.mp4
1443+
.. figure:: movies/chapter-03/quad-scale.mp4
14461444
:loop:
14471445
:autoplay:
14481446
:controls:
@@ -3444,8 +3442,8 @@ <h2><a class="toc-backref" href="#id29">Constructive Solid Geometry</a></h2>
34443442
</pre>
34453443
<p>And we can check for the result using two circles (the shadertoy link for each
34463444
example allows you to play online with them):</p>
3447-
<div class="right figure" id="figure-images/chapter-08/CSG-intersection.png" style="width: 30%">
3448-
<img alt="images/chapter-08/CSG-intersection.png" src="images/chapter-08/CSG-intersection.png" />
3445+
<div class="right figure" id="figure-images/chapter-08/csg-intersection.png" style="width: 30%">
3446+
<img alt="images/chapter-08/csg-intersection.png" src="images/chapter-08/csg-intersection.png" />
34493447
<p class="caption">Figure</p>
34503448
<div class="legend">
34513449
<div class="line-block">
@@ -3454,8 +3452,8 @@ <h2><a class="toc-backref" href="#id29">Constructive Solid Geometry</a></h2>
34543452
</div>
34553453
</div>
34563454
</div>
3457-
<div class="right figure" id="figure-images/chapter-08/CSG-union.png" style="width: 30%">
3458-
<img alt="images/chapter-08/CSG-union.png" src="images/chapter-08/CSG-union.png" />
3455+
<div class="right figure" id="figure-images/chapter-08/csg-union.png" style="width: 30%">
3456+
<img alt="images/chapter-08/csg-union.png" src="images/chapter-08/csg-union.png" />
34593457
<p class="caption">Figure</p>
34603458
<div class="legend">
34613459
<div class="line-block">
@@ -3464,8 +3462,8 @@ <h2><a class="toc-backref" href="#id29">Constructive Solid Geometry</a></h2>
34643462
</div>
34653463
</div>
34663464
</div>
3467-
<div class="right figure" id="figure-images/chapter-08/CSG-mix.png" style="width: 30%">
3468-
<img alt="images/chapter-08/CSG-mix.png" src="images/chapter-08/CSG-mix.png" />
3465+
<div class="right figure" id="figure-images/chapter-08/csg-mix.png" style="width: 30%">
3466+
<img alt="images/chapter-08/csg-mix.png" src="images/chapter-08/csg-mix.png" />
34693467
<p class="caption">Figure</p>
34703468
<div class="legend">
34713469
<div class="line-block">
@@ -3475,8 +3473,8 @@ <h2><a class="toc-backref" href="#id29">Constructive Solid Geometry</a></h2>
34753473
</div>
34763474
</div>
34773475
<hr class="docutils" />
3478-
<div class="right figure" id="figure-images/chapter-08/CSG-exclusion.png" style="width: 30%">
3479-
<img alt="images/chapter-08/CSG-exclusion.png" src="images/chapter-08/CSG-exclusion.png" />
3476+
<div class="right figure" id="figure-images/chapter-08/csg-exclusion.png" style="width: 30%">
3477+
<img alt="images/chapter-08/csg-exclusion.png" src="images/chapter-08/csg-exclusion.png" />
34803478
<p class="caption">Figure</p>
34813479
<div class="legend">
34823480
<div class="line-block">
@@ -3485,8 +3483,8 @@ <h2><a class="toc-backref" href="#id29">Constructive Solid Geometry</a></h2>
34853483
</div>
34863484
</div>
34873485
</div>
3488-
<div class="right figure" id="figure-images/chapter-08/CSG-difference-2.png" style="width: 30%">
3489-
<img alt="images/chapter-08/CSG-difference-2.png" src="images/chapter-08/CSG-difference-2.png" />
3486+
<div class="right figure" id="figure-images/chapter-08/csg-difference-2.png" style="width: 30%">
3487+
<img alt="images/chapter-08/csg-difference-2.png" src="images/chapter-08/csg-difference-2.png" />
34903488
<p class="caption">Figure</p>
34913489
<div class="legend">
34923490
<div class="line-block">
@@ -3495,8 +3493,8 @@ <h2><a class="toc-backref" href="#id29">Constructive Solid Geometry</a></h2>
34953493
</div>
34963494
</div>
34973495
</div>
3498-
<div class="right figure" id="figure-images/chapter-08/CSG-difference-1.png" style="width: 30%">
3499-
<img alt="images/chapter-08/CSG-difference-1.png" src="images/chapter-08/CSG-difference-1.png" />
3496+
<div class="right figure" id="figure-images/chapter-08/csg-difference-1.png" style="width: 30%">
3497+
<img alt="images/chapter-08/csg-difference-1.png" src="images/chapter-08/csg-difference-1.png" />
35003498
<p class="caption">Figure</p>
35013499
<div class="legend">
35023500
<div class="line-block">

0 commit comments

Comments
 (0)