Processing –图形动画

I created a sphere, and on it, I put 3 kinds of lights. There are Spotlight, Point light, and Direction light. I stabilized the Direction light and fixed that on the bottom of the sphere. But the two other lights can move with the mouse.

And here is the code:

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注