[vtkusers] Render Speed (I know.. asked by many already..!)
Ted Vu
lost_bits1110 at hotmail.com
Tue Apr 20 13:17:31 EDT 2004
Also, btw so if vtk is already using OpenGL, which vtk class do I look at to
see how it is using the OpenGL commands..?
Then from this info do you think I could just make my own vtk class which
woudl have a modified version of the Render() function and i would just
leaev out some of the unnecessary time consuming functions ? Or do you think
that this is ridiculous and vtk is already using the opengl functions
effeciently?
Sorry for all my emails but I truly appreciate your advice...........!! It
would really help me alot!!
Thank you again!!!!!!!!!!!!!!!!
>From: Lisa Avila <lisa.avila at kitware.com>
>To: "Ted Vu" <lost_bits1110 at hotmail.com>, vtkusers at vtk.org
>Subject: Re: [vtkusers] Render Speed (I know.. asked by many already..!)
>Date: Mon, 19 Apr 2004 22:31:23 -0400
>
>Hello Ted,
>
>First - a couple of questions:
>
>1) How big is your image?
>
>2) Are you measuring the render time just the first time the pipeline
>executes (which is usually slower than subsequent renders)?
>
>Your graphics card should be fine - but you may have too big an image (if
>you have a 1024x1024 image that you are rendering into a 256x256 window,
>for example, then you can first subsample the image for improved
>performance).
>
>Also - you are using a vtkWin32OpenGLRenderWindow - it is the concrete
>class created when you create a vtkRenderWindow (assuming you are on
>Windows and not using Mesa).
>
>Lisa
>
>
>At 05:33 PM 4/19/2004, Ted Vu wrote:
>>Hello
>>so my pipeline is just
>>ImageData->ImageMapToColors->ImageActor
>>
>>And using render->GetLastRenderTimeInSeconds it takes about 0.1 s to
>>render
>>
>>However, I am building a real-time application (VTK+C++) and I need this
>>to be much faster, (maybe 5 times)
>>Is there anything I can do to help this??
>>
>>How about using vtkWin32OpenGLRenderWindow?? Does this make things render
>>faster by basing the rendering on OpenGL?
>>
>>My graphics card is already pretty good, I belive its a 128MB Nvidia
>>GeForce
>>
>>I'd really like to stick to VTK for my application becuase its much easier
>>than directly using OpenGL.. but maybe I will have to resort to this?? If
>>anything can I make my own RenderWIndow class and call my own Render()
>>function where i will leave out the unnecessary computationally expensive
>>parts that are in it right now (or is this totally ridiculous and not
>>worth attempting?)
>>
>>Need some direction on how to go about this problem withouht having to buy
>>new hardware!!
>>Thanks for you help
>>t
>>
>>_________________________________________________________________
>>Stop worrying about overloading your inbox - get MSN Hotmail Extra
>>Storage!
>>http://join.msn.com/?pgmarket=en-us&page=hotmail/es2&ST=1/go/onm00200362ave/direct/01/
>>
>>_______________________________________________
>>This is the private VTK discussion list. Please keep messages on-topic.
>>Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
>>Follow this link to subscribe/unsubscribe:
>>http://www.vtk.org/mailman/listinfo/vtkusers
>
>
_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar get it now!
http://toolbar.msn.com/go/onm00200415ave/direct/01/
More information about the vtkusers
mailing list