BachiLi/redner

How to render uv coordinate map?

TaoHuUMD opened this issue · 1 comments

Hi,

Thanks for the excellent code!

I want to render uv coordinate map, any suggestions? How to access the fragments after Rasterizer ? Do I need to change the C++ render code?

Hi,

you can use the function render_g_buffer to render custom channels:

img = pyredner.render_g_buffer(scene = scene, channels = [pyredner.channels.uv])