Skip to content

Commit

Permalink
deploy: a52d9a6
Browse files Browse the repository at this point in the history
  • Loading branch information
brentyi committed Jul 29, 2024
1 parent d981588 commit c039a20
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Binary file modified latest/.doctrees/environment.pickle
Binary file not shown.
4 changes: 4 additions & 0 deletions latest/_modules/viser/_scene_api/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1361,10 +1361,14 @@ <h1>Source code for viser._scene_api</h1><div class="highlight"><pre>
<span class="n">buffer</span> <span class="o">=</span> <span class="n">onp</span><span class="o">.</span><span class="n">concatenate</span><span class="p">(</span>
<span class="p">[</span>
<span class="c1"># First texelFetch.</span>
<span class="c1"># - xyz (96 bits): centers.</span>
<span class="n">centers</span><span class="o">.</span><span class="n">astype</span><span class="p">(</span><span class="n">onp</span><span class="o">.</span><span class="n">float32</span><span class="p">)</span><span class="o">.</span><span class="n">view</span><span class="p">(</span><span class="n">onp</span><span class="o">.</span><span class="n">uint8</span><span class="p">),</span>
<span class="c1"># - w (32 bits): this is reserved for use by the renderer.</span>
<span class="n">onp</span><span class="o">.</span><span class="n">zeros</span><span class="p">((</span><span class="n">num_gaussians</span><span class="p">,</span> <span class="mi">4</span><span class="p">),</span> <span class="n">dtype</span><span class="o">=</span><span class="n">onp</span><span class="o">.</span><span class="n">uint8</span><span class="p">),</span>
<span class="c1"># Second texelFetch.</span>
<span class="c1"># - xyz (96 bits): upper-triangular Cholesky factor of covariance.</span>
<span class="n">cov_cholesky_triu</span><span class="o">.</span><span class="n">astype</span><span class="p">(</span><span class="n">onp</span><span class="o">.</span><span class="n">float16</span><span class="p">)</span><span class="o">.</span><span class="n">copy</span><span class="p">()</span><span class="o">.</span><span class="n">view</span><span class="p">(</span><span class="n">onp</span><span class="o">.</span><span class="n">uint8</span><span class="p">),</span>
<span class="c1"># - w (32 bits): rgba.</span>
<span class="n">_colors_to_uint8</span><span class="p">(</span><span class="n">rgbs</span><span class="p">),</span>
<span class="n">_colors_to_uint8</span><span class="p">(</span><span class="n">opacities</span><span class="p">),</span>
<span class="p">],</span>
Expand Down

0 comments on commit c039a20

Please sign in to comment.