Notifications
Clear all

[Closed] getViewportDIB() Hide other windows?

Is there an easy way to get the viewport Image without capturing any floating windows on top?

6 Replies

both viewport.getViewportDib() and gw.getViewportDib() shouldn’t capture any windows on top of a viewport

Hmm I was using Viewport.getViewportDIB() which does capture the windows on top (Max2014 Nitrous DX11), but gw.getViewportDIB() doesn’t…

Cheers! That was a lot easier than I thought it would be!

 lo1

Has something to do with windows interface (aero, desktop composition, etc.).

When something or other is on, Viewport.getViewportDIB() will capture the windows on top.

1 Reply
(@polytools3d)
Joined: 11 months ago

Posts: 0

I can’t manage to reproduce it.

 lo1

I remember it was on windows 7 and max2014, that might be relevant.

1 Reply
(@denist)
Joined: 11 months ago

Posts: 0

i remember its too, but can’t reproduce it on my machine now … windows7, max 2014