-
Notifications
You must be signed in to change notification settings - Fork 349
Description
Hello,
I'm trying to render a mesh by passing in vertices, triangle indices, and vertex colors using the OpenGLRenderer'
s render_mesh
function.
I can see the geometry being rendered correctly, but the colors is off.
I assume the colors input to the render_mesh function takes in float array of size (N,3) where N is the number of vertices, and rgb value range between 0-1?!
And the value I get with renderer.get_pixels(left_color_pixel, split_up_tiles=False, mode="rgb", use_uint8=True)
gives RGB pixel value in range 0-255?
I also tested not sending the colors input to the render_mesh function and get the similar rendered image when passing in my vertices colors.
Am I missing anything?
Thank you!!
Attaching the color images I rendered with open3d on the same input format, and also the blue mesh I got when rendered with OpenGLRenderer.