[vtkusers] render window refresh
Nigel Mcfarlane
Nigel.Mcfarlane at luton.ac.uk
Tue May 2 05:38:22 EDT 2006
Andrew,
Thanks for your reply. In fact, the problem is not std::cin itself - it's the act of moving the console window during a rendering loop. You can see this in the example tutorial/step2, if you slow the loop down a bit. Majeed Amjad has pointed out that that the render window seems to stop by itself after a while, and I can confirm that I get this too, if I've previously moved the console window.
I can confirm a much earlier posting that changing the executable's compatibility mode to NT works, but is hardly a satisfactory solution.
Why doesn't the simple render loop work robustly, and what do people do to get round it ?
Nigel
>>> andrew.amaclean at gmail.com >>>
Have you tried changing cout to vtkstd::cout ?
Andrew
-----Original Message-----
From: vtkusers-bounces+andrew.amaclean=gmail.com at vtk.org
[mailto:vtkusers-bounces+andrew.amaclean=gmail.com at vtk.org] On Behalf Of
vtkusers-request at vtk.org
Sent: Tuesday, 2 May 2006 02:01
To: vtkusers at vtk.org
Subject: vtkusers Digest, Vol 25, Issue 1
Send vtkusers mailing list submissions to
vtkusers at vtk.org
To subscribe or unsubscribe via the World Wide Web, visit
http://www.vtk.org/mailman/listinfo/vtkusers
or, via email, send a message with subject or body 'help' to
vtkusers-request at vtk.org
You can reach the person managing the list at
vtkusers-owner at vtk.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of vtkusers digest..."
_______________________________________________
This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list