iat-cener / tonatiuh

A Monte Carlo ray tracer for the optical simulation of solar concentrating systems
http://iat-cener.github.io/tonatiuh/
GNU General Public License v3.0
54 stars 14 forks source link

Diffuse surface material #118

Open antoine-zurcher opened 1 year ago

antoine-zurcher commented 1 year ago

Hi,

From what I see in the software, I only have specular materials available. What if I would like to simulate the reflection on a white diffuse wall. Is it possible to modify the parameters of the specular material to reach the desired diffuse material ?

Thank you for your help,

Antoine

vg-cyi commented 1 year ago

You can try a rough material in a newer version: https://github.com/CST-Modelling-Tools/TonatiuhPP

The relevant code is here: https://github.com/CST-Modelling-Tools/TonatiuhPP/blob/master/source/kernel/material/MaterialRough.cpp

rough

antoine-zurcher commented 1 year ago

Thank you for the reply.

What tool do you use to install Tonatiuh PP on Windows since there is no .exe file on the corresponding git ?

vg-cyi commented 1 year ago

https://github.com/CST-Modelling-Tools/TonatiuhPP/releases

antoine-zurcher commented 1 year ago

Okay my bad, thanks !

amutuberria commented 1 year ago

Hello, we have already developed this material for diffuse surfaces but it is not available in the current Tonatiuh release. We have no objection to share it with you, please let us know how to contact you.