Skip to content

Commit

Permalink
fixes bug in presets::VolumeRenderingStage
Browse files Browse the repository at this point in the history
Fixes a six-year-old bug in `presets::VolumeRenderingStage` which caused rendering artifacts at specific angles when rendering strongly anistropic volumes. There was a work-around previously implemented which, however, was not 100% reliable, and came at the cost of forcing a sample rate twice as high as specified. Since this work-around has been removed now, the specified sample rate is used (which effectively is twice as low as before). This means that same rates must be doubled to yield the same results as before (note that the *effective* sample rate will be the same then, meaning that rendering performance will be the same, in terms of both quality and time, but without the artifacts). The static field `presets::VolumeRenderingStage::DEFAULT_SAMPLE_RATE` has thus been doubled.
  • Loading branch information
kostrykin committed Jun 24, 2021
1 parent 8fcf31c commit 099783b
Show file tree
Hide file tree
Showing 722 changed files with 774 additions and 731 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ project(Carna)

set(MAJOR_VERSION 3)
set(MINOR_VERSION 3)
set(PATCH_VERSION 1)
set(PATCH_VERSION 2)

############################################

Expand Down
2 changes: 1 addition & 1 deletion docs/html/Aggregation_8h.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Carna
&#160;<span id="projectnumber">Version 3.3.1</span>
&#160;<span id="projectnumber">Version 3.3.2</span>
</div>
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/Aggregation_8h_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Carna
&#160;<span id="projectnumber">Version 3.3.1</span>
&#160;<span id="projectnumber">Version 3.3.2</span>
</div>
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/Association_8h.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Carna
&#160;<span id="projectnumber">Version 3.3.1</span>
&#160;<span id="projectnumber">Version 3.3.2</span>
</div>
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/Association_8h_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Carna
&#160;<span id="projectnumber">Version 3.3.1</span>
&#160;<span id="projectnumber">Version 3.3.2</span>
</div>
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/BaseBuffer_8h.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Carna
&#160;<span id="projectnumber">Version 3.3.1</span>
&#160;<span id="projectnumber">Version 3.3.2</span>
</div>
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/BaseBuffer_8h_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Carna
&#160;<span id="projectnumber">Version 3.3.1</span>
&#160;<span id="projectnumber">Version 3.3.2</span>
</div>
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/BlendFunction_8h.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Carna
&#160;<span id="projectnumber">Version 3.3.1</span>
&#160;<span id="projectnumber">Version 3.3.2</span>
</div>
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/BlendFunction_8h_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Carna
&#160;<span id="projectnumber">Version 3.3.1</span>
&#160;<span id="projectnumber">Version 3.3.2</span>
</div>
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/BoundingBox_8h.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Carna
&#160;<span id="projectnumber">Version 3.3.1</span>
&#160;<span id="projectnumber">Version 3.3.2</span>
</div>
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/BoundingBox_8h_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Carna
&#160;<span id="projectnumber">Version 3.3.1</span>
&#160;<span id="projectnumber">Version 3.3.2</span>
</div>
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/BoundingSphere_8h.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Carna
&#160;<span id="projectnumber">Version 3.3.1</span>
&#160;<span id="projectnumber">Version 3.3.2</span>
</div>
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/BoundingSphere_8h_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Carna
&#160;<span id="projectnumber">Version 3.3.1</span>
&#160;<span id="projectnumber">Version 3.3.2</span>
</div>
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/BoundingVolume_8h.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Carna
&#160;<span id="projectnumber">Version 3.3.1</span>
&#160;<span id="projectnumber">Version 3.3.2</span>
</div>
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/BoundingVolume_8h_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Carna
&#160;<span id="projectnumber">Version 3.3.1</span>
&#160;<span id="projectnumber">Version 3.3.2</span>
</div>
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/BufferedHUVolumeTest_8h_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Carna
&#160;<span id="projectnumber">Version 3.3.1</span>
&#160;<span id="projectnumber">Version 3.3.2</span>
</div>
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/BufferedHUVolume_8h.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Carna
&#160;<span id="projectnumber">Version 3.3.1</span>
&#160;<span id="projectnumber">Version 3.3.2</span>
</div>
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/BufferedHUVolume_8h_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Carna
&#160;<span id="projectnumber">Version 3.3.1</span>
&#160;<span id="projectnumber">Version 3.3.2</span>
</div>
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/BufferedIntensityVolumeTest_8h_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Carna
&#160;<span id="projectnumber">Version 3.3.1</span>
&#160;<span id="projectnumber">Version 3.3.2</span>
</div>
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/BufferedIntensityVolume_8h.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Carna
&#160;<span id="projectnumber">Version 3.3.1</span>
&#160;<span id="projectnumber">Version 3.3.2</span>
</div>
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/BufferedIntensityVolume_8h_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Carna
&#160;<span id="projectnumber">Version 3.3.1</span>
&#160;<span id="projectnumber">Version 3.3.2</span>
</div>
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/BufferedNormalMap3DTest_8h_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Carna
&#160;<span id="projectnumber">Version 3.3.1</span>
&#160;<span id="projectnumber">Version 3.3.2</span>
</div>
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/BufferedNormalMap3D_8h.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Carna
&#160;<span id="projectnumber">Version 3.3.1</span>
&#160;<span id="projectnumber">Version 3.3.2</span>
</div>
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/BufferedNormalMap3D_8h_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Carna
&#160;<span id="projectnumber">Version 3.3.1</span>
&#160;<span id="projectnumber">Version 3.3.2</span>
</div>
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/BufferedVectorFieldFormat_8h.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Carna
&#160;<span id="projectnumber">Version 3.3.1</span>
&#160;<span id="projectnumber">Version 3.3.2</span>
</div>
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/BufferedVectorFieldFormat_8h_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Carna
&#160;<span id="projectnumber">Version 3.3.1</span>
&#160;<span id="projectnumber">Version 3.3.2</span>
</div>
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/BufferedVectorFieldTexture_8h.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Carna
&#160;<span id="projectnumber">Version 3.3.1</span>
&#160;<span id="projectnumber">Version 3.3.2</span>
</div>
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/BufferedVectorFieldTexture_8h_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Carna
&#160;<span id="projectnumber">Version 3.3.1</span>
&#160;<span id="projectnumber">Version 3.3.2</span>
</div>
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/CameraControl_8h.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Carna
&#160;<span id="projectnumber">Version 3.3.1</span>
&#160;<span id="projectnumber">Version 3.3.2</span>
</div>
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/CameraControl_8h_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Carna
&#160;<span id="projectnumber">Version 3.3.1</span>
&#160;<span id="projectnumber">Version 3.3.2</span>
</div>
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/CameraNavigationControl_8h.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Carna
&#160;<span id="projectnumber">Version 3.3.1</span>
&#160;<span id="projectnumber">Version 3.3.2</span>
</div>
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/CameraNavigationControl_8h_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Carna
&#160;<span id="projectnumber">Version 3.3.1</span>
&#160;<span id="projectnumber">Version 3.3.2</span>
</div>
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/CameraShowcaseControl_8h.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Carna
&#160;<span id="projectnumber">Version 3.3.1</span>
&#160;<span id="projectnumber">Version 3.3.2</span>
</div>
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/CameraShowcaseControl_8h_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Carna
&#160;<span id="projectnumber">Version 3.3.1</span>
&#160;<span id="projectnumber">Version 3.3.2</span>
</div>
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/Camera_8h.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Carna
&#160;<span id="projectnumber">Version 3.3.1</span>
&#160;<span id="projectnumber">Version 3.3.2</span>
</div>
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/Camera_8h_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Carna
&#160;<span id="projectnumber">Version 3.3.1</span>
&#160;<span id="projectnumber">Version 3.3.2</span>
</div>
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/CarnaException_8h.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Carna
&#160;<span id="projectnumber">Version 3.3.1</span>
&#160;<span id="projectnumber">Version 3.3.2</span>
</div>
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/CarnaException_8h_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Carna
&#160;<span id="projectnumber">Version 3.3.1</span>
&#160;<span id="projectnumber">Version 3.3.2</span>
</div>
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/Carna_8h_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Carna
&#160;<span id="projectnumber">Version 3.3.1</span>
&#160;<span id="projectnumber">Version 3.3.2</span>
</div>
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/ColorTest_8h_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Carna
&#160;<span id="projectnumber">Version 3.3.1</span>
&#160;<span id="projectnumber">Version 3.3.2</span>
</div>
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/Color_8h.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Carna
&#160;<span id="projectnumber">Version 3.3.1</span>
&#160;<span id="projectnumber">Version 3.3.2</span>
</div>
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/Color_8h_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Carna
&#160;<span id="projectnumber">Version 3.3.1</span>
&#160;<span id="projectnumber">Version 3.3.2</span>
</div>
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/CompositionStage_8h.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Carna
&#160;<span id="projectnumber">Version 3.3.1</span>
&#160;<span id="projectnumber">Version 3.3.2</span>
</div>
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/CompositionStage_8h_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Carna
&#160;<span id="projectnumber">Version 3.3.1</span>
&#160;<span id="projectnumber">Version 3.3.2</span>
</div>
</td>
</tr>
Expand Down
Loading

0 comments on commit 099783b

Please sign in to comment.