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

Adding double side for mesh #12

Merged
merged 2 commits into from
May 8, 2023
Merged

Conversation

ethanweber
Copy link
Collaborator

@ethanweber ethanweber commented May 8, 2023

This doesn't work at the moment, but if you could help me get it to work that would be great. :) Currently, it's only rendering one side of the mesh. The images below illustrate what I mean.

image

image

@ethanweber ethanweber requested a review from brentyi May 8, 2023 06:33
@ethanweber
Copy link
Collaborator Author

Thanks! Merge whenever you like. :)

@brentyi
Copy link
Collaborator

brentyi commented May 8, 2023

Ok!!

I should improve (or at least document) this workflow, but to summarize I:

  • Ran sync_message_defs.py, which updates viser/client/src/WebsocketMessages.tsx based on the message dataclass fields
  • Ran yarn run build in viser/client, which updates the build outputs in viser/client/build/, this is where the HTTP server that gets printed serves files from
    • If I'm changing stuff on the client side I usually just use the default React server, yarn run start in viser/client, and then manually enter the websocket port via the UI.

@brentyi brentyi changed the title [WIP] Adding double side for mesh Adding double side for mesh May 8, 2023
@brentyi brentyi merged commit eed8b09 into main May 8, 2023
@tancik tancik deleted the ethan/mesh-material-side-param branch May 26, 2023 17:09
yzslab pushed a commit to yzslab/viser that referenced this pull request Oct 20, 2024
* trying to add mesh double side

* Sync message defs + built client

---------

Co-authored-by: Brent Yi <[email protected]>
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

Successfully merging this pull request may close these issues.

2 participants