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

Question: ExtrudeGeometry in Troisjs #112

Closed
Taso69 opened this issue Dec 12, 2021 · 1 comment
Closed

Question: ExtrudeGeometry in Troisjs #112

Taso69 opened this issue Dec 12, 2021 · 1 comment
Labels
documentation Improvements or additions to documentation
Milestone

Comments

@Taso69
Copy link

Taso69 commented Dec 12, 2021

I'm trying to display a field of stars (simple five-pointed star polygon), and I can't seem to be able to make with the available geometries.
Looking at three.js, I would be able to do this with an ExtrudeGeometry or a ShapeGeometry (+ InstancedMesh), however these geometries are not available directly in trois.

Is there a specific reason for this ?
Is there another way I'd be able to achieve this with what's available in trois ?

@klevron klevron added documentation Improvements or additions to documentation enhancement New feature or request labels Dec 15, 2021
@klevron klevron added this to the 0.3.4 milestone Jan 24, 2022
@klevron
Copy link
Member

klevron commented Jan 24, 2022

It could be useful, I'll try to add this to the next release.

But you can still use a custom geometry, like this : https://github.com/troisjs/flower

klevron added a commit that referenced this issue Feb 3, 2022
@klevron klevron removed the enhancement New feature or request label Feb 16, 2022
@klevron klevron closed this as completed Feb 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants