Hi all,
I am involved in a photovoltaic project and I thought it would be useful to optimize the positions of the single panels, so that they shadow each other as little as possible over the whole year. While finding and adapting the code for the irradiation and the sun position in the sky has been trivial, I am having some problems with the shadowing stuff.
Is it possible to use some function in Panda3D to easily calculate the area of the shadowed surface on an arbitrary plane (i.e. solar panel)? Or at least where do the objects store the information which triangle of the mesh is in shadow?
It might sound relatively easy at first, but when you consider shadows from different sources that project on the same surface, as well as arbitrary positions of the objects, then the whole calculation gets really messy. So I would really appreciate any help in this direction.