SoftRas icon indicating copy to clipboard operation
SoftRas copied to clipboard

Render _image_size

Open quyanqiu opened this issue 4 years ago • 2 comments

Hi,I have read your rasterize code,I found that it seems that your code only support "square" image rendering because the parameter "image_size=256" is scalar but not a 2D vector. Actually I am writing a "smpl-overlay" program by your soft-rasterization, but input image is not square,so its hard to overlay 3d body model in original image with your code,do you have some suggestion for that. BTW,for square image,all works fine. And its excited that your rasterization is differentiable theoretically to make pixel level gradient backwards

quyanqiu avatar Dec 03 '19 09:12 quyanqiu

I have the same question regarding the rendering of non-square images.

ssjsusie avatar Apr 25 '21 14:04 ssjsusie

@ShichenLiu Any plan to set non-square images ?

ForrestPi avatar Jul 15 '21 09:07 ForrestPi