Notifications
Clear all

[Closed] Floating Viewport

Hi there,

Based on my research, I’m guessing the answer to my question is “NO” but I’ll ask it anyway, just in case I missed something.

What I want to do is create a rollout UI that includes a live camera viewport. I can’t find a direct way to do this, but I have a tendency to overlook the obvious, so I’m hoping I’ve done so in this case.

Is there a way to create a floating camera view in a rollout?

Thanks,

Alec

5 Replies

Isn’t there a max command which gets the active viewport as a bitmap?

You could have a timer which grabs it every second and updates a scaled bitmap.

1 Reply
(@marcobrunetta)
Joined: 11 months ago

Posts: 0

gw.getViewportDIB()

I remember going down this path and I think it created a flashing effect when it was refreshing by the timer. An easy solution for that would be to accompany it with techno music

EDIT: Someone here just gave it a try and it seems alright. Performance might be a bit of an issue though.

 JHN

Anyone remember that thread, I seem to remember it was a dotnet window. It would be interesting to capture 2 viewports and do some anaglyph math on it, to quickly eyeball the zero parallax and positive and negative parallax depths.

-Johan

Jason the flashing is definitely a problem with imgtags. But if you use a bitmap element they don’t. Or at least that’s what my past self says… I usually trust him. ;D

http://forums.cgsociety.org/showpost.php?p=5106919&postcount=40

I figured out while working on my “Box Drawing” script was that IMGTags flicker, but bitmaps don’t.