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

add support LineStrip for PrimitiveType #62

Closed
SivanChan opened this issue Jan 15, 2025 · 2 comments
Closed

add support LineStrip for PrimitiveType #62

SivanChan opened this issue Jan 15, 2025 · 2 comments

Comments

@SivanChan
Copy link

I have a project requirement where I need to extend polylines into polygons. A typical approach is to use line segment strips to generate polygons in a geometry shader. However, it was discovered that nvrhi's PrimitiveType does not support LineStrip.
This is a very useful feature and I hope it can be added.

@GaelCathelin
Copy link
Contributor

GaelCathelin commented Jan 15, 2025

Hello SivanChan,

I posted several days ago an issue (#61) where I link to several small fixes and features additions, including adding the line strip primitive. I only did the Vulkan backend though but this feature is really trivial to expose.

@apanteleev
Copy link
Collaborator

#64 is merged, closing this issue.
Thanks @GaelCathelin !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants