instant-ngp
instant-ngp copied to clipboard
How to Export trained image ? ( Like albert.exr )
The example look very good, but how export the result to image format, like jpg or other ?
Thanks a lot for your work.
I believe it is possible to export the resulting image by running /scripts/run.py and specifying the save_mesh flag. But I haven't been able to get it running yet.
I don't really looking for mesh, but for result in bitmap file. I haven't looked in the sources for the scripts yet. But if somebody done, I will take it 👍
I added this to write the reconstructed image to out.png:
ref_image = read_image(args.scene)
image = testbed.render(ref_image.shape[1], ref_image.shape[0], 1, True)
write_image("out.png", image)