RE: TGeo shadows,

From: Fine, Valeri <fine_at_bnl.gov>
Date: Thu, 12 Nov 2009 14:36:52 -0500


In theory you can try the Coin3D-based ROOT plugin. Ths Coint3D provides the
http://doc.coin3d.org/Coin/classSoShadowGroup.html SoShadow group can be added to the scene graph rendering the ROOT 3D objects
See http://root.bnl.gov/QtRoot/How2Install4Unix.html to install However ... no real life example exists yet ;-) So, your contribution will be highly appreciated.

http://pos.sissa.it//archive/conferences/050/023/ACAT_023.pdf see http://www.star.bnl.gov/public/comp/vis also

Best Regards

                         Valeri Fine


Brookhaven National Laboratory
Upton, NY 11973, USA
Phone: +1 631 344 7806
Fax: +1 631 344 4206
E-mail: fine_at_bnl.gov

> -----Original Message-----
> From: owner-roottalk_at_root.cern.ch [mailto:owner-roottalk_at_root.cern.ch]
On
> Behalf Of John Idarraga
> Sent: Thursday, November 12, 2009 12:44 PM
> To: roottalk (Mailing list discussing all aspects of the ROOT system.)
> Subject: Re: [ROOT] TGeo shadows,
>
> 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 - 20:36:59 CET

This archive was generated by hypermail 2.2.0 : Thu Nov 12 2009 - 23:50:04 CET