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

Hide spherical light source in RayTracer renderings #537

Open
kaspar-gestalt opened this issue Jan 10, 2025 · 0 comments
Open

Hide spherical light source in RayTracer renderings #537

kaspar-gestalt opened this issue Jan 10, 2025 · 0 comments

Comments

@kaspar-gestalt
Copy link

Is there a way to hide a spherical light source when rendering with RayTracer?

lights = [
        {"pos": (3.73, 9.30, 6.56), "radius": 0.23, "color": (184.14, 160.43, 145.76)},
        {"pos": (9.27, 4.94, -1.45), "radius": 0.92, "color": (185.49, 133.48, 100.28)},
        {"pos": (5.33, 4.71, 1.67), "radius": 0.46, "color": (119.22, 120.90, 137.78)},
]

scene = gs.Scene(show_viewer=False, 
            vis_options = gs.options.VisOptions(
                show_world_frame = False,
                segmentation_level='entity',
                world_frame_size = 1.0,
                show_link_frame  = False,
                show_cameras     = False,
                plane_reflection = True,
            ),
            renderer=gs.renderers.RayTracer(
                lights=lights
            ),
    )

As of now, the light sources appear as big bright circles in my images.

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

1 participant