[ROOT] simple geometry display question

From: Reddell, Brandon D (brandon.d.reddell@boeing.com)
Date: Mon Sep 22 2003 - 16:13:26 MEST


Hello,

I have a basic geometry question that I need help on.

Essentially I am trying to create a geometry that consists of a box inside of a box (using TBRIK) such as:

{
brik = new TBRIK("BRIK","BRIK","void",200,150,150);
brik->SetFillColor(2);
brik->Draw();
}

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?

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?

Any help would be greatly appreciated.

Brandon



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