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

Rendering an Entity as a Wireframe #234

Open
antongit opened this issue Dec 3, 2020 · 3 comments
Open

Rendering an Entity as a Wireframe #234

antongit opened this issue Dec 3, 2020 · 3 comments
Labels
enhancement New feature or request help wanted Extra attention is needed VL.Stride Wrapper for 3d game engine Stride

Comments

@antongit
Copy link
Member

antongit commented Dec 3, 2020

For the Material's Tessellation helppatch I want to draw a sphere with a Material (which has a Tessellation), but in Wireframe.
The HowTo Render a Mesh in Wireframe.vl helppatch shows how to draw wireframes with MeshRenderer.
So, do I have to use SphereMesh + MeshRenderer + RenderEntity?
But where to connect the Material in this case?

@antongit antongit added enhancement New feature or request help wanted Extra attention is needed labels Dec 3, 2020
@antongit antongit changed the title Rendering Enitties as Wireframe Rendering Entity as Wireframe Dec 3, 2020
@antongit antongit changed the title Rendering Entity as Wireframe Rendering an Entity as a Wireframe Dec 4, 2020
@tebjan
Copy link
Member

tebjan commented Dec 11, 2020

This is currently not possible for individual entities in the stride engine. We would need to extend the material class a bit for that. shouldn't be hard, since culling is already exposed. the implementation would be basically the same.

at the moment it is only possible to add a pipeline processor to the rendering system that switches all entities to wireframe.

@tebjan
Copy link
Member

tebjan commented Dec 11, 2020

see also: stride3d/stride#698

@antongit
Copy link
Member Author

I see.
But for now, is it possible to add wireframe rendering to the whole scene?

@joreg joreg transferred this issue from vvvv/VL.Stride Mar 1, 2023
@joreg joreg added the VL.Stride Wrapper for 3d game engine Stride label Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed VL.Stride Wrapper for 3d game engine Stride
Projects
None yet
Development

No branches or pull requests

3 participants