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

[request] number of segments #52

Closed
drcmda opened this issue Jun 5, 2020 · 7 comments
Closed

[request] number of segments #52

drcmda opened this issue Jun 5, 2020 · 7 comments

Comments

@drcmda
Copy link
Contributor

drcmda commented Jun 5, 2020

I would like to configure the number of segments of the surface plane, similar to

new PlaneBufferGeometry(1, 1, 32, 32) // 32 x 32 segments/vertices

so that we can warp the surface like so: https://codesandbox.io/s/r3f-drei-meshwobblematerial-g5373

currently if i pass that wobbly material to troika it behaves very rigid: https://codesandbox.io/s/r3f-drei-meshwobblematerial-rwmrx i guess that's because the surface behaves like a plane with 1x1 segments.

can this be done somehow?

@lojjic
Copy link
Collaborator

lojjic commented Jun 5, 2020

Cool idea! Should be pretty easy.

@lojjic
Copy link
Collaborator

lojjic commented Jun 5, 2020

Quick-n-dirty prototype: Kapture 2020-06-05 at 10 29 43

I'll clean it up and publish after real work. ;)

@drcmda
Copy link
Contributor Author

drcmda commented Jun 5, 2020

yay! im making a poor mans awwwards starter kit with this one :-P

lojjic added a commit that referenced this issue Jun 6, 2020
Issue #52. This allows each glyph quad to be given more geometric
detail, to enable vertex shader transforms etc.
@drcmda
Copy link
Contributor Author

drcmda commented Jun 8, 2020

is this in 0.27.1? glyphGeometryDetail doesn't seem to have any effect ...

@lojjic
Copy link
Collaborator

lojjic commented Jun 8, 2020

Sorry not published yet, just in master

@drcmda
Copy link
Contributor Author

drcmda commented Jun 9, 2020

any idea when its going up? :-D

@lojjic
Copy link
Collaborator

lojjic commented Jun 9, 2020

v0.28.0 just published.

@lojjic lojjic closed this as completed Jun 9, 2020
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

2 participants