Skip to content

Commit 888d7a8

Browse files
committed
added 3d image texture samples
1 parent dfa6c9e commit 888d7a8

7 files changed

+52
-1
lines changed

Docs/README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -111,4 +111,6 @@ The detailed filter guide can be found [here](filter_manual.md).
111111

112112
Additionally, one can explore the insides of a 3D texture by using the "Slice" feature:
113113

114-
![](img/volume_slice.jpg)
114+
![](img/volume_slice.jpg)
115+
116+
For more on 3D textures see [here](volumetric.md).

Docs/img/volume_coverage.jpg

48.1 KB
Loading

Docs/img/volume_internals.jpg

42.9 KB
Loading

Docs/img/volume_shading.jpg

35.9 KB
Loading

Docs/volumetric.md

+11
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,21 @@ After opening a 3D texture, they will be displayed in the "Volume" view (see sta
88

99
The volume view provides the following display options:
1010
* Shading: Enables simple flat shading
11+
12+
![](img/volume_shading.jpg)
13+
1114
* Hide Internals (for Transparency): Hides the insides of transparent areas so that only the hull is visible
15+
16+
![](img/volume_internals.jpg)
17+
1218
* Alpha Is Coverage (for Transparency): When disabled, assumes that light loses colored instead of monochrome intensity when shinging through colored surfaces.
19+
20+
![](img/volume_coverage.jpg)
21+
1322
* Slice: Configures the range of displayed slices (cuts through the volume)
1423

24+
![](img/volume_slice.jpg)
25+
1526
### Issues with Linear Interpolation
1627
When enabling linear interpolation, a ray marching algorithm is used to determine the color. Possible Issues:
1728
* Dark/Invalid Outlines: Those outlines can appear if the color channel of the texture is not correctly configured for fully transparent voxels (alpha = 0). In this case, the color of those invalid voxels bleeds over to non transparent voxels because linear interpolation is used. To fix this issue, apply the "fix_alpha" filter in the "Filter" tab.

DxImageLoader/DxImageLoader.vcxproj

+26
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,32 @@
319319
<DestinationFolders Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(OutDir)\help</DestinationFolders>
320320
</CopyFileToFolders>
321321
</ItemGroup>
322+
<ItemGroup>
323+
<CopyFileToFolders Include="..\Docs\img\volume_coverage.jpg">
324+
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</ExcludedFromBuild>
325+
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</ExcludedFromBuild>
326+
<DestinationFolders Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(OutDir)\help\img</DestinationFolders>
327+
<DestinationFolders Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(OutDir)\help\img</DestinationFolders>
328+
</CopyFileToFolders>
329+
<CopyFileToFolders Include="..\Docs\img\volume_internals.jpg">
330+
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</ExcludedFromBuild>
331+
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</ExcludedFromBuild>
332+
<DestinationFolders Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(OutDir)\help\img</DestinationFolders>
333+
<DestinationFolders Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(OutDir)\help\img</DestinationFolders>
334+
</CopyFileToFolders>
335+
<CopyFileToFolders Include="..\Docs\img\volume_shading.jpg">
336+
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</ExcludedFromBuild>
337+
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</ExcludedFromBuild>
338+
<DestinationFolders Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(OutDir)\help\img</DestinationFolders>
339+
<DestinationFolders Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(OutDir)\help\img</DestinationFolders>
340+
</CopyFileToFolders>
341+
<CopyFileToFolders Include="..\Docs\img\volume_slice.jpg">
342+
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</ExcludedFromBuild>
343+
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</ExcludedFromBuild>
344+
<DestinationFolders Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(OutDir)\help\img</DestinationFolders>
345+
<DestinationFolders Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(OutDir)\help\img</DestinationFolders>
346+
</CopyFileToFolders>
347+
</ItemGroup>
322348
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
323349
<ImportGroup Label="ExtensionTargets">
324350
</ImportGroup>

DxImageLoader/DxImageLoader.vcxproj.filters

+12
Original file line numberDiff line numberDiff line change
@@ -184,5 +184,17 @@
184184
<CopyFileToFolders Include="..\Docs\volumetric.md">
185185
<Filter>Docs</Filter>
186186
</CopyFileToFolders>
187+
<CopyFileToFolders Include="..\Docs\img\volume_coverage.jpg">
188+
<Filter>Docs\img</Filter>
189+
</CopyFileToFolders>
190+
<CopyFileToFolders Include="..\Docs\img\volume_internals.jpg">
191+
<Filter>Docs\img</Filter>
192+
</CopyFileToFolders>
193+
<CopyFileToFolders Include="..\Docs\img\volume_shading.jpg">
194+
<Filter>Docs\img</Filter>
195+
</CopyFileToFolders>
196+
<CopyFileToFolders Include="..\Docs\img\volume_slice.jpg">
197+
<Filter>Docs\img</Filter>
198+
</CopyFileToFolders>
187199
</ItemGroup>
188200
</Project>

0 commit comments

Comments
 (0)