3D-objects rendering on a canvas

Hello,

I am trying to draw solid 3D-objects on a canvas (the same result
which is produced by TViewerX3D after typing “r” command).
I can not do that and found on the web the following:

root.cern.ch/root/roottalk/roottalk03/4253.html

Is it still true and it is not possible to do that? :frowning:

Sincerely,
Sergei.

The only way to get the equivalent of “R” is to use the ray tracing algorithm. See the tutorial geodemo.C

We are currently looking into the possibility to have direct OpenGL rendering in a TPad (TPadGL).

Meanwhile I strongly suggest to use our new GL viewer for viewing
any 3-D object.

Rene

Thanks, Rene :slight_smile: