SAPIEN icon indicating copy to clipboard operation
SAPIEN copied to clipboard

Question about the function camera.get_normal_rgba() in past version

Open isabella4444x opened this issue 1 year ago • 2 comments

Hi, I want to use SAPIEN 3.0 version ,and find function camera.get_normal_rgba() which is used in 0.8 Version disappeared. [https://github.com/TritiumR/Where2Explore/blob/656f3a470ddc18885980aadd1ab316414fc3c90a/code/camera.py#L78] And I can't find the documention for 0.8 version . So do you know is there any similar method ? Thanks a lot!

isabella4444x avatar Jul 08 '24 11:07 isabella4444x

@fbxiang

StoneT2000 avatar Jul 08 '24 21:07 StoneT2000

The method should be get_picture("Normal") assuming the shader you are using has the "Normal" texture. The default one should be fine.

fbxiang avatar Jul 08 '24 21:07 fbxiang