www.jpct.net

jPCT - a 3d engine for Java => Support => Topic started by: qcrist on September 08, 2011, 07:23:18 pm

Title: How slow is FrameBuffer.getOutputBuffer()
Post by: qcrist on September 08, 2011, 07:23:18 pm
How slow is FrameBuffer.getOutputBuffer()?

When I used this method, I did not see any major performance changes.
Title: Re: How slow is FrameBuffer.getOutputBuffer()
Post by: EgonOlsen on September 08, 2011, 08:06:05 pm
Depends on the renderer, the graphics hardware, the OS, the drivers...when using the software renderer, it's free. When using the hardware renderer, it isn't. But there's no fixed delay that it causes...it simply depends on a lot of things. If you can avoid it, then avoid it.
Title: Re: How slow is FrameBuffer.getOutputBuffer()
Post by: qcrist on September 08, 2011, 08:08:22 pm
Ok.


How mutch faster is the ogl renderer than the software renderer?
Title: Re: How slow is FrameBuffer.getOutputBuffer()
Post by: EgonOlsen on September 08, 2011, 08:12:23 pm
That depends on the scene and if compiled objects are being used or not. I would say something between 10 times and a 1000+ times faster.