Skip to content

Commit

Permalink
Reduce to 64 samples and fix script path
Browse files Browse the repository at this point in the history
  • Loading branch information
mehmetoguzderin committed Mar 27, 2024
1 parent bbfe791 commit e0beefb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion public/assets/img/volume/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ In the "Volume Rendering - Texture 3D" sample, the implementation uses simulated
11. Copy the downloaded *.rawb data to this directory.
12. Activate a Python environment with at least Python 3.12, Numpy, Scipy, and Pillow.
13. Start a terminal in this directory.
14. Run t1_icbm_normal_1mm_pn0_rf0_180x216x180_uint8_1x1.py script.
14. Run t1_icbm_normal_1mm_pn0_rf0.py script.

=== References

Expand Down
2 changes: 1 addition & 1 deletion sample/volumeRenderingTexture3D/meta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Database, with decompression streams, to save disk space and network traffic.
The original raw data is generated using
[the BrainWeb Simulated Brain Database](https://brainweb.bic.mni.mcgill.ca/brainweb/)
before processing in
[a custom Python script](https://github.com/webgpu/webgpu-samples/tree/main/public/assets/img/volume/t1_icbm_normal_1mm_pn0_rf0_180x216x180_uint8_1x1.py).`,
[a custom Python script](https://github.com/webgpu/webgpu-samples/tree/main/public/assets/img/volume/t1_icbm_normal_1mm_pn0_rf0.py).`,
filename: __DIRNAME__,
sources: [{ path: 'main.ts' }, { path: 'volume.wgsl' }],
};
2 changes: 1 addition & 1 deletion sample/volumeRenderingTexture3D/volume.wgsl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ struct VertexOutput {
@location(1) step : vec3f,
}

const NumSteps = 128u;
const NumSteps = 64u;

@vertex
fn vertex_main(
Expand Down

0 comments on commit e0beefb

Please sign in to comment.