Re: [ROOT] simple geometry display question

From: Olivier Couet (Olivier.Couet@cern.ch)
Date: Mon Sep 22 2003 - 17:13:45 MEST


Hi,

> 1) The SetFillColor doesn't seem to work on the canvas figure. 
> I also tried setting the style (SetFillStyle) to 1001 which is the code 
> for a solid. Is it not possible to fill a 3d object in on the canvas?

For the time being 3d object are rendered as wire frame in the canvas. So 
changing SetFillStyle will not help. We are currently working on some 
hidden line/hidden surface way to represent 3d object in the canvas.

> 2) When I go to the X3D viewer, and hit the 'r' key to make the objects solid, 
> the outer box hides the inner box. Is it possible to make the outer box 
> a wire frame---i.e., only show the hollow box edges at the same time of 
> viewing the inner box as a solid?

This is not possible with X3D.

have you tired to view with OpenGL ?

 Cheers,             Olivier 

-- 
Org:    CERN - European Laboratory for Particle Physics.
Mail:   1211 Geneve 23 - Switzerland                     Mailbox: J25910      
E-Mail: Olivier.Couet@cern.ch                            Phone:   +41 22 7676522
WWW:    http://cern.ch/Olivier.Couet/                    Fax:     +41 22 7677155



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:15 MET