For simulation, you can start from ray_tracing_main.m
. And there also
other codes for visualization data produced by c++ program.
NOTE: It is only a prototype for testing my algorithms. Later developing will be based on c++ codes.
- It can do ray tracing with several specific ice crystal shape (see next section) and display the result.
- Arbitrary orientation of crystals, including uniform distributed in an angle range, uniform distributed on a sphere, Gaussian distributed with given mean and standard deviation.
- Multi-wave result visualization. It reads the binary file produced by C++ version and visulize the result. It depends on my another project Spectrum Renderer.
- Crystal shape visualization.
- Hexagonal prism/plate.
Shape parameters are:
ratio = height / radii
. - Pyramidal.
Shape parameters are:
ratios = [height1, height2, height3] / radii
, where heights are measured along c-axis, from top to bottom.
- Add more crystal shapes.
- Add custom crystal shapes. Maybe compact with
.obj
file format.