Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Blender Viewport Rendering #15

Open
zicklag opened this issue Jun 16, 2019 · 7 comments
Open

Custom Blender Viewport Rendering #15

zicklag opened this issue Jun 16, 2019 · 7 comments
Labels
enhancement New feature or request

Comments

@zicklag
Copy link
Member

zicklag commented Jun 16, 2019

In order to make it easier to preview my game and reduce development iteration time

As a game developer

I want to be able to have a live render preview for what my game's lights and materials will look like in the Blender viewport. Similar to how you can select the Eevee renderer and view it live in the viewport, except it will use our game's renderer and/or shaders.


This needs some investigation. Something to look at: Blender GPU Shader Modules.

@zicklag zicklag added the enhancement New feature or request label Jun 16, 2019
@zicklag zicklag added this to the 0.4 milestone Jun 16, 2019
@fu5ha
Copy link

fu5ha commented Jun 16, 2019

A possibility here might be to create a shared texture between the game and Blender, so the came could draw into it and then blender could draw that onto a textured quad or something using the GPU capabilities you linked, and then render the manipulation widgets and whatever else over top.

@zicklag
Copy link
Member Author

zicklag commented Jun 16, 2019

Yeah, that would be cool. It sounds like it could be just feasible enough and definitely worth investigation.

@Raj2032
Copy link

Raj2032 commented Jun 16, 2019

I would love to see that take place. Other game engines have it and it will be 100% a great idea to also have this feature.

@Raj2032
Copy link

Raj2032 commented Jun 16, 2019

@termhn

A possibility here might be to create a shared texture between the game and Blender, so the came could draw into it and then blender could draw that onto a textured quad or something using the GPU capabilities you linked, and then render the manipulation widgets and whatever else over top.

Sorry I didn't quite understand that, so if in object mode you want the models to use some special texture on it right?

@fu5ha
Copy link

fu5ha commented Jun 16, 2019

No. Basically the Arsenal engine would render the scene into an off-screen framebuffer that is shared with blender. Then Blender would draw this framebuffer onto its own viewport by just drawing a single rectangle across the whole screen. Finally, Blender would then draw the little manipulator tool thingies on top of that

@Raj2032
Copy link

Raj2032 commented Jun 16, 2019

@termhn I see mate that sounds great :)

@zicklag
Copy link
Member Author

zicklag commented Sep 10, 2019

Issue moved to Taiga: https://tree.taiga.io/project/zicklag-arsenal/us/90

@zicklag zicklag removed this from the 0.4 milestone Oct 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants