Re: Re: Different displays of TGeo Union in TPad/X3D and OpenGL

From: Andrei Gheata <Andrei.Gheata_at_cern.ch>
Date: Thu, 15 Feb 2007 13:49:44 +0100


Hi Brett,

No, this is not a feature, but a bug related to the visualization of this shape in GL. Visualization of TGeo composite shapes was implemented quite long ago by Timur Pocheptsov (the end remark in the class docs is no longer valid). Looks like some matrix it passed in a wrong way to GL interface, this is why you see the gap. I wonder if Timur can look into it. A geometry definition made with a simple macro (not by conversion via VGM) would also help.

Cheers,
Andrei

Brett Viren wrote:
> Hi Valeri,
>
> "Fine, Valeri" <fine_at_bnl.gov> writes:
>

>> Hi Brett, The documentation
>> http://root.cern.ch/root/htmldoc/TGeoCompositeShape.html
>> says,
>> "...
>> Visualization of such volumes is currently not implemented.
>> ..."
>>
>> I wondering if this is the reason for your observation.

>
> Ah, so it's a "feature"! It seems to work quite well in TPad and X3D.
>
> Is there some knob to increase ROOT's OpenGL resolution? It kind of
> looks like the gap shows up at a polygon boundary. If I can increase
> the polygon count, maybe the gap wil fill in?
>
> BTW, I hadn't yet seen the new format used by the reference doc you
> point to. Pretty cool!
>
> -Brett.
>
>
Received on Thu Feb 15 2007 - 13:55:20 CET

This archive was generated by hypermail 2.2.0 : Thu Feb 15 2007 - 23:50:01 CET