commit d4b48a3008b72043baeacdea034a7c779d2046e9
parent 3791b14fb83e95f7da4b4a79531f4f2334436792
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Wed, 29 May 2019 14:34:32 +0200
Add an illustration to the Star-Geom web page
Diffstat:
5 files changed, 25 insertions(+), 12 deletions(-)
diff --git a/star-engine/.gitattributes b/star-engine/.gitattributes
@@ -1,3 +1,4 @@
octree.jpg filter=lfs diff=lfs merge=lfs -text
polar.svg filter=lfs diff=lfs merge=lfs -text
turbine.jpg filter=lfs diff=lfs merge=lfs -text
+super_shape.jpg filter=lfs diff=lfs merge=lfs -text
diff --git a/star-engine/star-3d.html.in b/star-engine/star-3d.html.in
@@ -30,18 +30,17 @@ or several shapes to a <b>scene</b>. A scene can be <b>instantiated</b> into
one or several shapes that can be then attached to a scene as any regular
shapes. Each instance has its own position and orientation while the
instantiated geometry is stored once even though it is instantiated several
-times.
-<span class="img" style="width: 18em; padding-top: 1em">
+times. This feature can thus be used to create extremely complex environment
+with a low memory footprint.</p>
+
+<div class="img" style="width: 18em; padding-top: 1em">
<a href="turbine.jpg">
<img src="turbine.jpg" alt="Turbine">
</a>
- <span class="caption">
+ <div class="caption">
Exemple of a geometry handled by Star-3D
- </span>
-</span>
-
-This feature can thus be used to create extremely complex environment
-with a low memory footprint.</p>
+ </div>
+</div>
<p>To access the scene data through uniform sampling or ray-tracing, one has to
create a <b>view</b> of the scene. On its creation, the view internally builds
diff --git a/star-engine/star-geom.html.in b/star-engine/star-geom.html.in
@@ -37,6 +37,16 @@ thickness, <i>etc.</i>. The resulting triangular meshes are structured as a
list of <b>indexed vertices</b> that can be directly accessed by the
caller.</p>
+<div class="img" style="width: 15em; padding-top: 1em">
+ <a href="super_shape.jpg">
+ <img src="super_shape.jpg" style="width: 80%; display:block; margin-left: auto; margin-right: auto;">
+ </a>
+ <div class="caption">
+ Truncated thick super shape generated by the <a
+ href="https://gitlab.com/meso-star/star-3dut">Star-3DUT</a> library.
+ </div>
+</div>
+
<p>The <a href="https://gitlab.com/vaplv/loader_aw">AW</a> and <a
href="https://gitlab.com/meso-star/star-stl">Star-STL</a> libraries load meshes
saved in the Alias Wavefront <b>OBJ</b> file format and <b>STereo
diff --git a/star-engine/star-sf.html.in b/star-engine/star-sf.html.in
@@ -21,15 +21,15 @@ Scattering Distribution Functions (BSDF), microfacet distributions and fresnel
terms, and in a volume with <b>phase functions</b>. The main target of Star-SF
are programmers that have to evaluate or sampled these scattering effects.</p>
-<span class="img" style="width: 18em; padding-top: 1em">
+<div class="img" style="width: 18em; padding-top: 1em">
<a href="polar.svg">
<img src="polar.svg" alt="Phase function">
</a>
- <span class="caption">
+ <div class="caption">
2D illustration of a phase function: probability to scatter in any
direction
- </span>
-</span>
+ </div>
+</div>
<p>The Star-SF API makes no reference to the implementation of the
diff --git a/star-engine/super_shape.jpg b/star-engine/super_shape.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:53591fc9caf806d50ec3f3044e8f0338aa4a02d21cc1d10463d59ea5db614078
+size 203506