x


Unity3D OSX rendering in minimized / hidden window

I would like to run a headless / batchmode unity which renders the scene to a camera. However, because headless / batchmode disables the graphics context I have to run a normal mode of Unity.

However, I notice that if I take the window and minimize, hide or even place it behind other windows, the frame rate drops horribly. If the window is not covered up, but some small portion of it is indeed rendering to the screen, then it's frame rate is fine.

Is there any way to increase the frame rate when the window is not shown? Is this some OSX os layer optimization that can be disabled?

more ▼

asked Apr 04 '11 at 07:28 PM

AIResearcher gravatar image

AIResearcher
65 7 8 13

I'm still struggling with this issue... It is still slowing down Unity's rendering pipeline (maybe due to OSX) when trying to run Unity and not have it visible.

May 13 '11 at 06:43 PM AIResearcher
(comments are locked)
10|3000 characters needed characters left

1 answer: sort newest

OSX automatically shifts the GL context of the window dynamically. Once the window is no longer displayed on the primary monitor, OSX does not use the graphics acceleration tied to that monitor. If it is not displayed on any monitor, then OSX will shift it to a software implementation of OpenGL, thus possibly dropping the frame rate as well as possible enhancements or special shading, etc...

more ▼

answered May 15 '11 at 04:21 AM

AIResearcher gravatar image

AIResearcher
65 7 8 13

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x1198
x355
x185
x20
x11

asked: Apr 04 '11 at 07:28 PM

Seen: 1375 times

Last Updated: Apr 04 '11 at 07:28 PM