ShichenLiu / SoftRas

Project page of paper "Soft Rasterizer: A Differentiable Renderer for Image-based 3D Reasoning"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how to deformation the mesh by using our target images

chongxian opened this issue · comments

Thanks for your sharing, This is a good project, but I create some target images and use the deformation.py, It's result is a error mesh. And I use the plane.obj to create some target images,It also return a error result. I guess maybe my input image format is error. but I don't know how to create input images for my target object.
And this image is your input format.
image
the below image is my input format.
image

Hi,

So the principle of making this work is to set your own rendering parameters exactly the same as that of the Softras. Specifically, please make sure that the camera intrinsics/viewing angles are not only the same, but also in the same order. The scale however doesn't really matter for the deformation.

Thanks for your reply.