Hi list,
I am trying to make a small solar system in Gem (attached draft). I am wondering how I can put a point light source inside a Geo (eg. sun) and make it shine through that geo. For now I am placing the light source between sun and earth, which looks ok unless I change the camera position. Placing the light inside the sun geo and reducing alpha values of the sun geo does work for alpha values of 0.5 (values above _and_ below 0.5 will damp the light) but will also make the sun transparent.
How can I make the sun shine?
Thanks! Peter
I would use an "ambient" light for the sun. see attachment cheers c
Le 08/10/2017 à 13:52, Peter P. a écrit :
Hi list,
I am trying to make a small solar system in Gem (attached draft). I am wondering how I can put a point light source inside a Geo (eg. sun) and make it shine through that geo. For now I am placing the light source between sun and earth, which looks ok unless I change the camera position. Placing the light inside the sun geo and reducing alpha values of the sun geo does work for alpha values of 0.5 (values above _and_ below 0.5 will damp the light) but will also make the sun transparent.
How can I make the sun shine?
Thanks! Peter
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
I would use an "ambient" light for the sun. see attachment cheers
Thanks Cyrille! Great and easy solution!
I changed the patch a bit (attached) to not have the ambient light change all subsequent planets using [separator]s. By the way, does someone know if Gem is able to render the moon's shadow onto the earth even?
May the sun shine for all of you! P
Le 08/10/2017 à 14:40, Peter P. a écrit :
- cyrille henry ch@chnry.net [2017-10-08 14:06]:
I would use an "ambient" light for the sun. see attachment cheers
Thanks Cyrille! Great and easy solution!
I changed the patch a bit (attached) to not have the ambient light change all subsequent planets using [separator]s.
good
By the way, does
someone know if Gem is able to render the moon's shadow onto the earth even?
not easilly.
cheers c
May the sun shine for all of you! P
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list