Skip to content

Commit 2d23f3a

Browse files
committed
Renamed chapter teaser image files
1 parent 8cabeee commit 2d23f3a

31 files changed

+317
-298
lines changed

01-preface.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Preface
44
.. contents:: .
55
:local:
66
:depth: 2
7-
:class: toc preface
7+
:class: toc chapter-01
88

99

1010
This book is open-access (i.e. it's free to read at `this address

02-introduction.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Introduction
44
.. contents:: .
55
:local:
66
:depth: 2
7-
:class: toc introduction
7+
:class: toc chapter-02
88

99
Before diving into OpenGL programming, it is important to have a look at the
1010
whole GL landscape because it is actually quite complex and you can easily lose

03-quickstart.rst

+8-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Quickstart
44
.. contents:: .
55
:local:
66
:depth: 2
7-
:class: toc quickstart
7+
:class: toc chapter-03
88

99

1010
For the **really** impatient, you can try to run the code in the `teaser image
@@ -859,5 +859,10 @@ angle theta around the origin (0,0) for a point (x,y):
859859
Solution: `<code/quad-rotate.py>`_
860860

861861

862-
863-
----
862+
.. _GLUT: http://freeglut.sourceforge.net
863+
.. _GLFW: http://www.glfw.org
864+
.. _GTK: https://www.gtk.org
865+
.. _QT: https://www.qt.io
866+
.. _WX: https://www.wxwidgets.org
867+
.. _TK: https://docs.python.org/3/library/tk.html
868+
.. _ffmpeg: https://www.ffmpeg.org

04-maths.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Basic Mathematics
44
.. contents:: .
55
:local:
66
:depth: 2
7-
:class: toc maths
7+
:class: toc chapter-04
88

99

1010

05-cube.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Rendering a cube
44
.. contents:: .
55
:local:
66
:depth: 2
7-
:class: toc cube
7+
:class: toc chapter-05
88

99
We now have all the pieces needed to render a simple 3D scene, that is, a
1010
rotating cube as show in the teaser image above. But we first need to create

06-points.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Rendering points
44
.. contents:: .
55
:local:
66
:depth: 2
7-
:class: toc points
7+
:class: toc chapter-06
88

99
Dots
1010
----

07-lines.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Rendering lines
44
.. contents:: .
55
:local:
66
:depth: 2
7-
:class: toc lines
7+
:class: toc chapter-07
88

99
Segments
1010
--------

08-polygons.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ Rendering a polygon
44
.. contents:: .
55
:local:
66
:depth: 2
7-
:class: toc polygons
7+
:class: toc chapter-08
8+
89

910
Triangulation
1011
-------------------------------------------------------------------------------

09-meshes.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Rendering a mesh
44
.. contents:: .
55
:local:
66
:depth: 2
7-
:class: toc mesh
7+
:class: toc chapter-09
88

99

1010
Implicit surfaces

10-text.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Rendering text
44
.. contents:: .
55
:local:
66
:depth: 2
7-
:class: toc text
7+
:class: toc chapter-10
88

99

1010
Failsafe text

11-framebuffer.rst

+5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
Framebuffer
22
===============================================================================
33

4+
.. contents:: .
5+
:local:
6+
:depth: 2
7+
:class: toc chapter-11
8+
49
Post-processing
510
---------------
611

12-special.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Special techniques
44
.. contents:: .
55
:local:
66
:depth: 2
7-
:class: toc techniques
7+
:class: toc chapter-12
88

99

1010
Colormaps

14-glsl-reference.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ GLSL References
66
.. contents:: .
77
:local:
88
:depth: 2
9-
:class: toc references
9+
:class: toc chapter-14
1010

1111

1212
The information below has been directly extracted and reformated from the `GLES

15-bibliography.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Bibliography
55
.. contents:: .
66
:local:
77
:depth: 2
8-
:class: toc bibliography
8+
:class: toc chapter-15
99

1010

1111
This is a curated list of some computer graphics resources (peoole, articles,

book.css

+36-32
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
1-
/* --- Import -------------------------------------------------------------- */
2-
/*@import "sidebar.css";*/
3-
/*@import "code.css";*/
1+
/*
2+
* Warning
3+
*
4+
* This file is a mess and badly needs reformatin and structuring.
5+
* It's not responsive at all and it may beneficiate from a deep refactoring.
6+
*
7+
*/
8+
49

510

611
/* --- Structure ----------------------------------------------------------- */
@@ -363,57 +368,56 @@ a:active {
363368
}
364369

365370

366-
.preface .topic-title {
367-
background: url("data/brain.png") no-repeat center;
371+
.chapter-01 .topic-title {
372+
background: url("data/chapter-01.png") no-repeat center;
368373
background-size: 100%;
369374
}
370-
.introduction .topic-title {
371-
background: url("data/wolfenstein.jpg") no-repeat center;
375+
.chapter-02 .topic-title {
376+
background: url("data/chapter-02.jpg") no-repeat center;
372377
background-size: 100%;
373378
}
374-
.quickstart .topic-title {
375-
background: url("data/glumpy-quad-source.png") no-repeat center;
379+
.chapter-03 .topic-title {
380+
background: url("data/chapter-03.png") no-repeat center;
376381
background-size: 100%;
377382
}
378-
.maths .topic-title {
379-
background: url("data/geometry-wikipedia.jpg") no-repeat center;
383+
.chapter-04 .topic-title {
384+
background: url("data/chapter-04.jpg") no-repeat center;
380385
background-size: 125%;
381386
}
382-
.cube .topic-title {
383-
background: url("data/light-cube-simple.png") no-repeat center;
387+
.chapter-05 .topic-title {
388+
background: url("data/chapter-05.png") no-repeat center;
384389
background-size: 100%;
385390
}
386-
.points .topic-title {
387-
background: url("data/card-markers.png") no-repeat center;
391+
.chapter-06 .topic-title {
392+
background: url("data/chapter-06.png") no-repeat center;
388393
background-size: 100%;
389394
}
390-
.lines .topic-title {
391-
background: url("data/spiral.png") no-repeat center;
395+
.chapter-07 .topic-title {
396+
background: url("data/chapter-07.png") no-repeat center;
392397
background-size: 120%;
393398
}
394-
.polygons .topic-title {
395-
background: url("data/tiger.png") no-repeat center;
399+
.chapter-08 .topic-title {
400+
background: url("data/chapter-08.png") no-repeat center;
396401
background-size: 100%;
397402
}
398-
.mesh .topic-title {
399-
background: url("data/klein-bottle.png") no-repeat center;
403+
.chapter-09 .topic-title {
404+
background: url("data/chapter-09.png") no-repeat center;
400405
background-size: 100%;
401406
}
402-
.text .topic-title {
403-
background: url("data/text.png") no-repeat center;
407+
.chapter-10 .topic-title {
408+
background: url("data/chapter-10.png") no-repeat center;
404409
background-size: 100%;
405410
}
406-
.references .topic-title {
407-
background: url("data/snail.png") no-repeat center;
408-
background-size: 175%;
409-
}
410-
411-
.techniques .topic-title {
412-
background: url("data/lena.png") no-repeat center;
411+
.chapter-12 .topic-title {
412+
background: url("data/chapter-12.png") no-repeat center;
413413
background-size: 125%;
414414
}
415-
.bibliography .topic-title {
416-
background: url("data/books.jpg") no-repeat center;
415+
.chapter-14 .topic-title {
416+
background: url("data/chapter-14.png") no-repeat center;
417+
background-size: 175%;
418+
}
419+
.chapter-15 .topic-title {
420+
background: url("data/chapter-15.jpg") no-repeat center;
417421
background-size: 125%;
418422
}
419423

0 commit comments

Comments
 (0)