Notifications
Clear all

[Closed] docking any window to perspective view – maxscript

We’ve got a external renderer that is standalone application,
it’s a simple window with a opengl viewport that shows the rendering image in realtime.

We communicate with the renderer through telnet, so we can send commands in realtime to the renderer (we can change materials, camera positions etc while it’s rendering).

One thing we do not have – is to enable “docking” in the viewport,to make it look just like the
activeshade in 3dsmax.

I’m wondering if there is any way to achieve this with maxscript?

I’m aware that one can dock floating rollouts etc which are created in maxscript,
but we have a standalone window that we want to dock.

12 Replies
 lo1

Haven’t tested it, but try this script from Håvard Schei

http://folk.ntnu.no/havardsc/site/wordpress/?p=456

ah, yes, I forgot about that one, I remember I saw that one some time ago, I’ll test and post when done. thanks!

it’s a bit buggy, but I think this will do the job.
I’ll do some more testing and implementation with this one.

also this uses a dll, is it possible to do the same thing with pure maxscript?..

 lo1

It is possible with a dynamically compiled assembly, not sure about pure maxscript.

dynamically compiled assembly – I’m not exactly sure how that works, but it sounds good, since one does not have to depend on someone elses closed source dll.

 lo1

there are many examples in threads on this forum

… deleted as double-post

Håvard Schei gives wrong link to my original idea. Here is the right one:
http://forums.cgsociety.org/showpost.php?p=6343507&postcount=1

Hey Denis, im confused
In the comment section you want me to change the link to
http://forums.cgsociety.org/showpost.php?p=6024257&postcount=6
and in this thread you want it to be this (which i have not seen before):
http://forums.cgsociety.org/showpost.php?p=6343507&postcount=1

It is the former link I used in my script, but the second link is basically doing the same thing as I did pinvoking the user32.dll

Page 1 / 2