3-D and FillStyle

From: Dmitri Litvintsev (litvinse@cdfsga.fnal.gov)
Date: Wed Apr 28 1999 - 19:48:34 MEST


Hi Rooters, 

I seem to be failing to get 'filled' color 3-D 
shapes in the Canvas, it is always wireframe 
regardless of the 'SetFillStyle' I assign to it.

for example:

root [0] brik = new TBRIK("brik","brik","void",50,50,100);
root [1] brik->SetFillStyle(1001);
root [2] brik->SetFillColor(2);   
root [3] brik->SetLineColor(4);
root [4] node = new TNode("node","brik","brik");
root [5] node->cd()
root [6] node->SetFillStyle(1001);
root [7] node->SetFillColor(2);   
root [8] node->SetLineColor(4)
root [9] node->Draw()

opens default canvas with wireframed,  not filled box. Edges are blue. 

If I open x3d viewer and do 'hidden surface' mode, the box 
is solid blue (though I wanted to have red box with blue edges). 
 
Am I doing something wrong or this is what I should have expected?

thank you,
Dmitri Litvintsev

/----------------------------------------------------------\
| Tel:       (630) 840 3763                                |  
| FAX:       (630) 840 2968                                |      
| office:    164-O CDF Trailers                            |
| E-mail:    litvinse@fnal.gov                             |
\----------------------------------------------------------/



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:32 MET