Skip to content

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.

@brentyi brentyi force-pushed the main branch 9 times, most recently from 6ea47b3 to 7a6ab4a Compare May 25, 2024 07:14
@brentyi brentyi force-pushed the main branch 5 times, most recently from dcd992b to cd3c214 Compare June 7, 2024 03:20
@brentyi brentyi force-pushed the main branch 2 times, most recently from be9fb67 to a704ac6 Compare July 31, 2025 11:08
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.

4 participants