> When I input the following commands into the root interpreter, nothing > happens, or at least from all i can tell, am i doing something horribly > wrong with TPolylLine3D? > > Mike > > // code > > CINT/ROOT C/C++ Interpreter version 5.13.83, Dec 2 1998 > Type ? for help. Commands must be C++ statements. > Enclose multiple statements between { }. > root [0] new TCanvas("c","c",500,500) > (class TCanvas*)0x84c9968 > root [1] TPolyLine3D track(2); > root [2] track.SetPoint(0,0,0,0); > root [3] track.SetPoint(1,20,20,20); > root [4] track.Draw(); > root [5] Please have look at: $ROOTSYS/tutorials/basic3D.C example. What you missed is a definition of the range of your 3D view. Hope this helps, Valery
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:36 MET