facebookresearch / pytorch3d

PyTorch3D is FAIR's library of reusable components for deep learning with 3D data
https://pytorch3d.org/
Other
8.7k stars 1.3k forks source link

Could pulsar renderer return "weight" of spheres? #1706

Open zydmu123 opened 9 months ago

zydmu123 commented 9 months ago

Hi, Pytorch3d's research team!

Thanks for your great work!

I am a beginner with the pulsar render and I'm a little confused about the function: In the description of pulsar renderer,for the para of "return_forward_info", it says: " The following channels alternate with the float encoded integer index of a sphere and its weight. They are the five spheres with the highest color contribution to this pixel color, ordered descending. Default: False."

However, when I tested it, the output value of those channels are obvious "depths", Did I misunderstand something very important? I'd like to konw how to get the "weight" of the spheres.

I'd really appreciate it if you could answer these questions. Many thanks for you!