Unity window integrated in WPF based application on PC: is it feasible ?

Hi,

I need to develop a 3d application to integrate in an existing windows presentation foundation application.
Is this technically feasible? Can a unity window be integrated in a winform?
If so, can i expect the WPF components to displayed over the 3d scene?
Tks for any insight
Unisip

You can add a web Browser in your WPF Project.

Haven’t tried the webbrowser approach yet. I guess it would make the communication between wpf and unity a bit tedious, huh?
I tried using a windowsformshost component, embedding the unity webplayer activex. That works fine except one little nasty detail : sendmessage to unity works, but calls to ExternalCall in unity never triggers the activeX method in the windowsformshost component. It’s pretty odd, because a similar integration in windows forms (not wpf) works fine, including two ways communication between the activex and the windows form app.

Has anyone been more successful with wpf?
If interested, i can post both the windows forms and the wpf test project

Unisip

Share it, please.

OK, I tried by myself and it works fine. No problem with SendMessage and OnExternalCall.