简体   繁体   中英

Is there a way to make a box reflective in vpython?

I need to find a way to make a box in Vpython reflect everything around it. Is there an attribute in vpython's box class to make it reflective?

I've tried box.shinniness because I saw that that was an attribute. No luck.

by_mirror = box(pos=vector(0, 0, 0), shinniness=1)

Setting the shininess only affects the "spotlight" aspects of the lights. There isn't a way to make a mirror.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM