Jump to content

Render to any graphics context to create Windowed applications and tools.


isidisi
 Share

Recommended Posts

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

Link to comment
Share on other sites

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.

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...