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

Demonstrating nerf example with nerfacc #2

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Demonstrating nerf example with nerfacc #2

wants to merge 6 commits into from

Conversation

hangg7
Copy link
Collaborator

@hangg7 hangg7 commented Mar 25, 2023

Nerf example working. Currently just streaming with some hard-coded resolution.

@hangg7
Copy link
Collaborator Author

hangg7 commented Mar 25, 2023

Screencast from 03-24-2023 08:13:27 PM.webm
Screencast from 03-24-2023 08:15:29 PM.webm

After the screencast I tried the new frame styling, so camera visual will look better than what's shown in the videos. Leave the tweaking for the future!

client.add_gui_text("Info", initial_value=f"Client {id}", disabled=True)

camera = client.get_camera()
server.set_background_image(render_image_from_camera(camera))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI to support multiple clients, you can call client.set_background_image() instead of server.set_background_image(); this will send the message to just one client instead of every client 🙂

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right! Just fixed

@brentyi brentyi force-pushed the main branch 2 times, most recently from 8fb03b5 to d5f8bda Compare April 8, 2023 10:26
@brentyi brentyi force-pushed the main branch 4 times, most recently from 5889b1b to 3bf8cac Compare April 14, 2023 08:16
@liruilong940607
Copy link

Oh this is pretty cool! Would it makes sense to have viser supported in nerfacc and put a link here? This would avoid copying that huge chain of code to this repo and make things clean here.

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.

3 participants