Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hi, where is rasterize function? #1

Closed
mks0601 opened this issue May 8, 2019 · 1 comment
Closed

Hi, where is rasterize function? #1

mks0601 opened this issue May 8, 2019 · 1 comment

Comments

@mks0601
Copy link

mks0601 commented May 8, 2019

Hi, thanks for good work!

In soft_renderer/rasterize.py, a function, srf.rasterize, is called. But I cannot figure out where it is defined. Can you give me some help?

@ShichenLiu
Copy link
Owner

Hi,

Thanks for pointing this out. srf.rasterize is a prototype function that we used in previous versions. I just remove that part of the code to make it less confusing. Feeding soft_rasterize with dist_func, aggr_func_rgb and aggr_func_alpha setting to 'hard' is equivalent to standard rasterize function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants