isidisi Posted June 22, 2010 Share Posted June 22, 2010 Render to any graphics context to create Windowed applications and tools. This is a feature of Leadwerks that appears in the documentation features section. But how to select the graphic context Leadwerks is going to use to render? Graphics() creates a new window, not allowing to specify a custom precreated window.... I want to create a Windowed 3d tool, and for this I want to specify the render window (and not create a new window)... how can I do this? Thanks for your help Quote Link to comment Share on other sites More sharing options...
Canardia Posted June 22, 2010 Share Posted June 22, 2010 You can use CreateCustomBuffer() to use an existing window: http://www.leadwerks.com/wiki/index.php?title=Buffers#CreateCustomBuffer Or you can make your own Windowed GUI in OpenGL. I would prefer own GUI, since then you are not dependant on the OS look, but can have your own look and feel, like in Blender or 3DSMax. Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■ Link to comment Share on other sites More sharing options...
isidisi Posted June 22, 2010 Author Share Posted June 22, 2010 You can use CreateCustomBuffer() to use an existing window: http://www.leadwerks.com/wiki/index.php?title=Buffers#CreateCustomBuffer Or you can make your own Windowed GUI in OpenGL. I would prefer own GUI, since then you are not dependant on the OS look, but can have your own look and feel, like in Blender or 3DSMax. Thanks a lot I'll try it this is what I was sarching for :-D I want to have a window with a panel with 3D render, and some standard window controls. Thanks a lot :-D Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.