Hello
Seems like shadows are more a render-time issue. In that case the TGeo package does not have to deal with that at all, am I right ? Then my question changes to. How do I access those properties ? Apparently OpenGL does not support shadow rendering directly. But GLUT has examples on how to use the stencil buffer which seems to be an appealing option. It would be nice to see shadows projected on any type of surface. Like an sphere. Anyway, I have no clue on how to access those tools.
I am guessing that through the EVE set of classes one should find it's way to the GL internals.
thanks,
John Idarraga
On Thu, 2009-11-12 at 12:13 -0500, John Idarraga wrote:
> Hello people,
>
> A question regarding the TGeo package. Suppose you define a volume (a
> box for example) and then, say, somehow you define a light source. You
> want to see the shadow of that image in a given plane in the space. And
> better, you want to know the area of that shadow in that particular
> plane. Those algorithms exist, and I wonder if they are included in the
> TGeo package.
>
> bests,
>
> John Idarraga
>
>
Received on Thu Nov 12 2009 - 18:44:10 CET
This archive was generated by hypermail 2.2.0 : Fri Nov 13 2009 - 11:50:04 CET