GithubHelp home page GithubHelp logo

ezhangle / 3dsmax-windowmatic Goto Github PK

View Code? Open in Web Editor NEW

This project forked from adn-devtech/3dsmax-windowmatic

0.0 2.0 0.0 25 KB

3ds Max sample code showing how to capture an outside window process, into a 3ds Max viewport

License: MIT License

C++ 87.08% C 12.92%

3dsmax-windowmatic's Introduction

WindowMatik

Parenting a window from another program into a 3dsmax view.

Description:

The 3ds Max currently allows to replace one if its views with some views of other 3ds Max components through use of "Extended Viewports", but it is limited just to own components, while sometimes there is a need to have also another program at hand.

Implementation overview:

This idea was implemented as an utility plugin (might be better to have it as a GUP) and uses only the 3ds Max SDK capabilities. The window of program to be "integrated" into 3ds Max can be picked using a tool inspired from Microsoft Spy++, which is used to "sniff" other programs. After the necessary window handler is identified, the active view can be replaced with the view of the "handled" window.

Implementation details:

  1. Acquire information of other non 3ds Max windows and display this information into MAXScript Listener [WindowHunter part];
  2. Having a handler to an opened app (g.e. Notepad), place the edit view into one of active 3ds Max viewports [Mimiker part];
  3. Take WindowHunter info and pass it to Mimiker so it can display itself.

Defined a very simple interface:

Note: The VS solution is set to be compiled for 3ds Max 2018, but this approach works also for older 3ds Max versions, or at least with 2016 one.

3dsmax-windowmatic's People

Contributors

apprentice3d avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.