Path to existing render product

Hi there,

I have a render product i created with a custom writer:

 rep.WriterRegistry.register(CustomWriter)

        rp = rep.create.render_product(cam_path, resolution)

        self.writer = rep.WriterRegistry.get(self.WRITER_NAME)

        self.writer.initialize( session_output_path = session_output_path,
                                rgb_output_path = rgb_directory_path, 
                                seg_output_path = segmented_directory_path, 
                                depth_output_path = depth_directory_path,
                                metadata_path = data_directory_path,
                                annotation_data = annotation_data,
                                colorizedSegmented = colorizedSegmentation,
                                depthData = generateDepthData
                                )

        self.writer.attach(render_products = [rp], trigger=None)

Now I want to call Camera() with the render_product_path parameter.

How can I get the path to the render product that I created earlier?

Thank you

1 Like