|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
vtkImageWriter not writing what I see on the screen?Hi all,
I'm just learning VTK and trying to write a sequence of frames to disk like this: http://pastebin.ca/1664023 I do see my cone rotating on the screen, but the screenshots I get are all of the same first frame... I'm clearly missing something here, thanks for any help! AW _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ Follow this link to subscribe/unsubscribe: http://www.vtk.org/mailman/listinfo/vtkusers |
|
|
Re: vtkImageWriter not writing what I see on the screen?How are you making the screen shots?
On Mon, Nov 9, 2009 at 4:39 PM, Anders Wallin <anders.e.e.wallin@...> wrote: > Hi all, > > I'm just learning VTK and trying to write a sequence of frames to disk > like this: > http://pastebin.ca/1664023 > > I do see my cone rotating on the screen, but the screenshots I get are > all of the same first frame... > I'm clearly missing something here, thanks for any help! > > AW > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ Follow this link to subscribe/unsubscribe: http://www.vtk.org/mailman/listinfo/vtkusers |
|
|
Re: vtkImageWriter not writing what I see on the screen?On Tue, Nov 10, 2009 at 8:50 AM, Bill Lorensen <bill.lorensen@...> wrote:
> How are you making the screen shots? Here is an example that takes a screenshot every time you press the 's' key. http://www.rpi.edu/~doriad/VTK_List/KeyPressScreenshot/ It's in c++ - I'm not sure how helpful that will be for python? Thanks, David _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ Follow this link to subscribe/unsubscribe: http://www.vtk.org/mailman/listinfo/vtkusers |
|
|
Re: vtkImageWriter not writing what I see on the screen?Anders,
Add a call to w2if.Modified() after the renWin.Render() and before the lw.Write() calls. The render window state has changed, but this is not reflected in the pipeline state. - Wes
On Tue, Nov 10, 2009 at 9:19 AM, David Doria <daviddoria%2Bvtk@...> wrote:
-- Wesley D. Turner, Ph.D. Kitware, Inc. Technical Leader 28 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4920 _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ Follow this link to subscribe/unsubscribe: http://www.vtk.org/mailman/listinfo/vtkusers |
|
|
Re: vtkImageWriter not writing what I see on the screen?> Add a call to w2if.Modified() after the renWin.Render() and before the
> lw.Write() calls. The render window state has changed, but this is not > reflected in the pipeline state. thanks! this works now. For fun I produced this animation: http://www.youtube.com/watch?v=lcfLVduK-L0 I did it by first making a bunch of PNG files, then converting to JPG and finally assembling into a DIVX file using mencoder. Does anyone else have good tips/tricks on making movies with VTK? AW _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ Follow this link to subscribe/unsubscribe: http://www.vtk.org/mailman/listinfo/vtkusers |
| Free embeddable forum powered by Nabble | Forum Help |