OpenGL and TPolyline3D

From: Diego Faso <faso_at_to.infn.it>
Date: Wed, 20 Sep 2006 14:18:25 +0200 (MET DST)


Hello, I'm using the root-GL-viewer and I have some questions related to the use of TPolyLine3D.
I can draw a TPolyLine3D, but the following methods seem to have no effect on in the GL-representation:

      line->SetLineStyle(...);
      line->SetLineWidth(...);

Is it possible to set these attributes?

The second problem is the following:
I need to draw a TPolyLine3D inside a volume, and I need the line to be visible from outside of the container volume. I attach the "geom_example_lines.C" as example: I'm drawing several lines, and I need to display all of them, while in my example all lines inside the "tube" volume are hidden.

I thank you in advance for your help.
Cheers
Diego



My machine setup:
 Gentoo Base System version 1.12.5
 kernel: 2.6.17-gentoo-r8
 root version: 5.13/02
 gcc version: 3.4.6

Received on Wed Sep 20 2006 - 14:24:38 MEST

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:32:01 MET