delaneyj / three.net

C# port of Three.js
MIT License
79 stars 25 forks source link

WinForms instead PencileGamingWindow? #6

Open Guenther123 opened 6 years ago

Guenther123 commented 6 years ago

Hi, Nice project, i want to imbedd it into my c# CAD program, but how can i use it with the regular C# Winforms Designer and not a PencilGamingWindow? (maby that it gets into something like a Picturebox that i can use in the Designer) Any help would be great :)

delaneyj commented 6 years ago

Its been a while since I looked at this. Honestly not sure how to create a GL Context in a form. https://www.codeproject.com/articles/16051/creating-an-opengl-view-on-a-windows-form shows a way to do it in managed C++ which should be portable to C# pretty easily.