(0000604)
|
Mathieu Malaterre
|
2004-02-02 16:41
|
|
Martin send me this email:
I just run "wish8.4 ./Cone6.tcl" (it can be "wish Cone6.tcl" or just
addition of four lines below to the script, it does not matter.
----------------------------
#!/bin/sh
# \
exec wish8.4 "$0" ${1+"$@"}
----------------------------
Then I put mouse cursor onto side of the box and I press left button.
I keep the button pressed (so one side oh the box is green) and
I move (at least) a bit the mouse cursor. The cone disappears. I can
move the box by keeping mouse cursor out of the box before it. Then
a reclick with cursor on a box side destroy the cone too.
When I play with the box then, the cone time to time appears.
When the cone appears for a moment I usually see it (partially)
out of the box. When I have a good luck, the cone appears just
when I release mouse button. Then I can move with it by mouse
out of the box. Even though the box and the cone are displaced
in such a case, they move synchronously then.
I have experience that doing the steps on faster (newer) computers
results in more time fraction with appeared cone. Usage of Pentium
200MHz (my old home PC) results in approximatelly 0-5% of time with
the cone on, 95-100% of time is the cone off.
However, the behavior should not be caused by hardware. Compiled
Cone6 (gained by cmake .;make in directory with Cone6.cxx) behaves
nicely - the cone does not disappear. Thus, I suppose, there is
something wrong in VTK-Tcl connection, the 0000187 bug?
Just a note on another issue, when I close compiled Cone6 application,
(not Cone6.tcl) e.g. by pressing q key, I get the following error:
----------------------------
Generic Warning: In /debian/stage/vtk-4.2.5/Common/vtkObjectBase.cxx, line
63
Trying to delete object with non-zero reference count.
Memory fault
----------------------------
But it is another, non-critical issue.
I use Debian/Linux unstable/testing branches, with tcl8.4, vtk4.2;
I really can see it on my computers (as an old Intel Pentium and new
AMD Athlon), and I can see that on the same HW, it is OK with compiled
example version. But I highly prefer to have Tcl version, since Tcl
is too nice language.
|
|