Skip to content

Commit 4cb47cb

Browse files
committed
Deployed 0031615f with MkDocs version: 1.6.0
1 parent 2b66e6d commit 4cb47cb

File tree

28 files changed

+5736
-731
lines changed

28 files changed

+5736
-731
lines changed

404.html

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,28 @@
376376

377377

378378
<span class="md-ellipsis">
379-
User guide
379+
User API
380+
</span>
381+
382+
383+
</a>
384+
</li>
385+
386+
387+
388+
389+
390+
391+
392+
393+
394+
395+
<li class="md-nav__item">
396+
<a href="/drp/" class="md-nav__link">
397+
398+
399+
<span class="md-ellipsis">
400+
Datoviz Rendering Protocol
380401
</span>
381402

382403

ARCHITECTURE/index.html

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,28 @@
389389

390390

391391
<span class="md-ellipsis">
392-
User guide
392+
User API
393+
</span>
394+
395+
396+
</a>
397+
</li>
398+
399+
400+
401+
402+
403+
404+
405+
406+
407+
408+
<li class="md-nav__item">
409+
<a href="../drp/" class="md-nav__link">
410+
411+
412+
<span class="md-ellipsis">
413+
Datoviz Rendering Protocol
393414
</span>
394415

395416

@@ -966,7 +987,7 @@ <h3 id="client">Client<a class="headerlink" href="#client" title="Permanent link
966987
<p>The client provides a thread-safe FIFO queue on which window and input events are sent.</p>
967988
<p>The GPU-agnostic client and the client-agnostic (static) renderer are linked together via the <strong>presenter</strong>, which allows dynamic processing of the incoming requests by the renderer and appropriate event loop synchronization.</p>
968989
<h2 id="datoviz-intermediate-protocol">Datoviz Intermediate Protocol<a class="headerlink" href="#datoviz-intermediate-protocol" title="Permanent link">&para;</a></h2>
969-
<p>The <strong>Datoviz Intermediate Protocol</strong> is entirely defined in <code>request.h</code>.</p>
990+
<p>The <strong>Datoviz Intermediate Protocol</strong> is entirely defined in <code>datoviz_protocol.h</code>.</p>
970991
<p>It provides a generic intermediate-level GPU visualization library that is somewhat similar to the WebGPU API. It deals exclusively with <strong>GPU objects</strong>, NOT visual objects. The protocol comes with NO graphical primitives, it supports arbitrary shaders and graphics pipelines. Graphical primitives and higher-level visualization constructs are implemented in the Visuals library and the Scene API described below</p>
971992
<blockquote>
972993
<p><em>Note</em>: although compute shaders are already mostly supported in the renderer, they are not yet implemented in the Datoviz Intermediate Protocol. They will be in the future, depending on user feedback. This should be fairly straightforward (adding functions in <code>requests.h</code>, implementing them in <code>renderer.cpp</code>, writing tests and documentation...).</p>

BUILD/index.html

Lines changed: 51 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,28 @@
389389

390390

391391
<span class="md-ellipsis">
392-
User guide
392+
User API
393+
</span>
394+
395+
396+
</a>
397+
</li>
398+
399+
400+
401+
402+
403+
404+
405+
406+
407+
408+
<li class="md-nav__item">
409+
<a href="../drp/" class="md-nav__link">
410+
411+
412+
<span class="md-ellipsis">
413+
Datoviz Rendering Protocol
393414
</span>
394415

395416

@@ -814,6 +835,7 @@
814835

815836
<h1 id="building-instructions">Building instructions<a class="headerlink" href="#building-instructions" title="Permanent link">&para;</a></h1>
816837
<p>If packages are not available on your system, you can build Datoviz yourself.</p>
838+
<p><strong>Note:</strong> Datoviz is currently built and tested with the <strong>Vulkan LunarG SDK v1.3.280</strong> (you normally don't need to install it to build Datoviz on Linux and macOS, only on Windows). We'll regularly update this version.</p>
817839
<h2 id="ubuntu-2404">Ubuntu 24.04<a class="headerlink" href="#ubuntu-2404" title="Permanent link">&para;</a></h2>
818840
<div class="highlight"><pre><span></span><code><span class="c1"># Install the build and system dependencies.</span>
819841
sudo<span class="w"> </span>apt<span class="w"> </span>install<span class="w"> </span>build-essential<span class="w"> </span>cmake<span class="w"> </span>gcc<span class="w"> </span>ccache<span class="w"> </span>ninja-build<span class="w"> </span>xorg-dev<span class="w"> </span>clang-format<span class="w"> </span>patchelf<span class="w"> </span>tree<span class="w"> </span>libtinyxml2-dev<span class="w"> </span>libfreetype-dev
@@ -851,7 +873,7 @@ <h2 id="macos-arm64">macOS (arm64)<a class="headerlink" href="#macos-arm64" titl
851873
<span class="w"> </span><span class="nb">eval</span><span class="w"> </span><span class="s2">&quot;</span><span class="k">$(</span>/opt/homebrew/bin/brew<span class="w"> </span>shellenv<span class="k">)</span><span class="s2">&quot;</span>
852874

853875
<span class="c1"># Install build dependencies.</span>
854-
brew<span class="w"> </span>install<span class="w"> </span>just<span class="w"> </span>cmake<span class="w"> </span>ccache<span class="w"> </span>ninja<span class="w"> </span>freetype<span class="w"> </span>clang-format<span class="w"> </span>tree<span class="w"> </span>cloc
876+
brew<span class="w"> </span>install<span class="w"> </span>just<span class="w"> </span>cmake<span class="w"> </span>ccache<span class="w"> </span>ninja<span class="w"> </span>freetype<span class="w"> </span>clang-format<span class="w"> </span>tree<span class="w"> </span>cloc<span class="w"> </span>jq
855877

856878
<span class="c1"># Clone the Datoviz repo.</span>
857879
git<span class="w"> </span>clone<span class="w"> </span>https://github.com/datoviz/datoviz.git<span class="w"> </span>--recursive
@@ -883,7 +905,7 @@ <h2 id="macos-intel-x86-64">macOS (Intel x86-64)<a class="headerlink" href="#mac
883905
<span class="w"> </span><span class="nb">eval</span><span class="w"> </span><span class="s2">&quot;</span><span class="k">$(</span>/opt/homebrew/bin/brew<span class="w"> </span>shellenv<span class="k">)</span><span class="s2">&quot;</span>
884906

885907
<span class="c1"># Install build dependencies.</span>
886-
brew<span class="w"> </span>install<span class="w"> </span>just<span class="w"> </span>cmake<span class="w"> </span>ccache<span class="w"> </span>ninja<span class="w"> </span>freetype<span class="w"> </span>clang-format<span class="w"> </span>tree<span class="w"> </span>cloc
908+
brew<span class="w"> </span>install<span class="w"> </span>just<span class="w"> </span>cmake<span class="w"> </span>ccache<span class="w"> </span>ninja<span class="w"> </span>freetype<span class="w"> </span>clang-format<span class="w"> </span>tree<span class="w"> </span>cloc<span class="w"> </span>jq
887909

888910
<span class="c1"># Clone the Datoviz repo.</span>
889911
git<span class="w"> </span>clone<span class="w"> </span>https://github.com/datoviz/datoviz.git<span class="w"> </span>--recursive
@@ -909,34 +931,42 @@ <h2 id="macos-intel-x86-64">macOS (Intel x86-64)<a class="headerlink" href="#mac
909931
python<span class="w"> </span>-c<span class="w"> </span><span class="s2">&quot;import datoviz; datoviz.demo()&quot;</span>
910932
</code></pre></div>
911933
<h2 id="windows">Windows<a class="headerlink" href="#windows" title="Permanent link">&para;</a></h2>
912-
<p><em>Note</em>: we have less experience with Windows, improvements welcome.</p>
913934
<p>Requirements:</p>
914935
<ul>
915936
<li><a href="https://git-scm.com/download/win">Git for Windows</a>.</li>
916-
<li><a href="https://winlibs.com/">WinLibs</a>: download and install the latest gcc UCRT version with POSIX threads..</li>
917-
<li><a href="https://github.com/casey/just/releases">just</a>.</li>
937+
<li><a href="https://winlibs.com/">WinLibs</a>: Download and install the latest gcc UCRT version with POSIX threads.</li>
918938
<li><a href="https://vulkan.lunarg.com/sdk/home#windows">LunarG Vulkan SDK for Windows</a>.</li>
919-
<li><a href="https://learn.microsoft.com/en-us/windows/wsl/install">WSL2</a>.</li>
920-
<li><a href="https://vcpkg.io/en/">vcpkg</a>. The <code>VCPKG_ROOT</code> environment variable should be set and should be in the <code>PATH</code>.</li>
921-
<li>Python (e.g. conda).</li>
939+
<li><a href="https://vcpkg.io/en/">vcpkg</a>: The <code>VCPKG_ROOT</code> environment variable should be set and should be in the <code>PATH</code>.</li>
940+
<li><a href="https://github.com/casey/just/releases">just</a>: Extract the just.exe file into C:\mingw64\bin (created by WinLibs).`</li>
941+
<li><a href="https://jqlang.github.io/jq/download/">jq</a>: For example, with winget, use <code>winget install jqlang.jq</code></li>
942+
<li><a href="https://www.python.org/downloads">Python</a>.</li>
922943
</ul>
923944
<p>Instructions:</p>
924945
<ol>
925-
<li>Copy the decompressed <code>just.exe</code> into <code>C:\mingw64\bin</code> (which should have been created by WinLibs).</li>
926-
<li>Open a Git Bash terminal.</li>
927-
<li>Add this to your <code>~/.bash_profile</code>: <code>export VCPKG_ROOT=/path/to/vcpkg</code> after putting the path to vcpkg.</li>
928-
<li>Clone the Datoviz GitHub repository in a folder.</li>
929-
<li>Go to that folder in the terminal.</li>
930-
<li>Type:</li>
946+
<li>Install the above dependencies.</li>
947+
<li>Open Windows git-bash terminal at the directory location for the datoviz build.</li>
931948
</ol>
932-
<div class="highlight"><pre><span></span><code>wsl.exe<span class="w"> </span>--install
933-
wsl.exe<span class="w"> </span>--update
949+
<div class="highlight"><pre><span></span><code><span class="c1"># Clone the Datoviz repo.</span>
950+
git<span class="w"> </span>clone<span class="w"> </span>https://github.com/datoviz/datoviz.git<span class="w"> </span>--recursive
951+
<span class="nb">cd</span><span class="w"> </span>datoviz
952+
953+
<span class="c1"># Build Python requirements</span>
934954
pip<span class="w"> </span>install<span class="w"> </span>-r<span class="w"> </span>requirements-dev.txt
935-
just<span class="w"> </span>build<span class="w"> </span><span class="c1"># this one may fail, try again below:</span>
955+
956+
<span class="c1"># NOTE: this call will fail, but the build will succeed the second time.</span>
957+
<span class="c1"># Fix welcome (see https://github.com/Chlumsky/msdf-atlas-gen/issues/98)</span>
936958
just<span class="w"> </span>build
937-
<span class="c1"># Try the builtin demo.</span>
938-
build<span class="se">\d</span>atoviz.exe<span class="w"> </span>demo
939-
<span class="c1"># Try running the demo from Python.</span>
959+
960+
<span class="c1"># That one should succeed.</span>
961+
just<span class="w"> </span>build
962+
963+
<span class="c1"># Try a demo.</span>
964+
just<span class="w"> </span>demo
965+
966+
<span class="c1"># Compile and run a C example.</span>
967+
just<span class="w"> </span>example<span class="w"> </span>scatter
968+
969+
<span class="c1"># Run the demo from Python.</span>
940970
python<span class="w"> </span>-c<span class="w"> </span><span class="s2">&quot;import datoviz; datoviz.demo()&quot;</span>
941971
</code></pre></div>
942972

CNAME

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
datoviz.org
1+
datoviz.org

CONTRIBUTING/index.html

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,28 @@
389389

390390

391391
<span class="md-ellipsis">
392-
User guide
392+
User API
393+
</span>
394+
395+
396+
</a>
397+
</li>
398+
399+
400+
401+
402+
403+
404+
405+
406+
407+
408+
<li class="md-nav__item">
409+
<a href="../drp/" class="md-nav__link">
410+
411+
412+
<span class="md-ellipsis">
413+
Datoviz Rendering Protocol
393414
</span>
394415

395416

LICENSE/index.html

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,28 @@
382382

383383

384384
<span class="md-ellipsis">
385-
User guide
385+
User API
386+
</span>
387+
388+
389+
</a>
390+
</li>
391+
392+
393+
394+
395+
396+
397+
398+
399+
400+
401+
<li class="md-nav__item">
402+
<a href="../drp/" class="md-nav__link">
403+
404+
405+
<span class="md-ellipsis">
406+
Datoviz Rendering Protocol
386407
</span>
387408

388409

0 commit comments

Comments
 (0)