Cham wrote:How do I turn ON cloud shadows, with Celestia 1.5.0 ? And what is the SSC commands for Cloud bump maps ?
In the atmosphere code, I tried "CloudShadows true", "CloudShadow true", "Cloudshadows true" and "Cloudshadow true", none worked.
You first got to assign a key via a celx script like so
Code: Select all
-- start.celx
function slowgoto()
sel = celestia:getselection()
obs = celestia:getobserver()
if sel and obs then
obs:goto(sel, 15)
end
end
function togglecloudshadows()
t = celestia:getrenderflags()
t2 = {}
t2.cloudshadows = not t.cloudshadows;
celestia:setrenderflags(t2);
end
keyhandlers =
{
G = slowgoto,
V = togglecloudshadows,
}
function handlekey(k)
handler = keyhandlers[k.char]
if (handler ~= nil) then
handler()
return true
else
return false
end
end
celestia:registereventhandler("key", handlekey)
-- end
Once you run that script (e.g. by making start.celx the default startup script in celestia.cfg, then you toggle the cloud shadows by pushing SHIFT+V.
There is also a slowgoto binding which you may try out.
It's simple, isn't it
Oh yes: note cloudshadows ONLY work in the OpenGL 2.0 path!
Bye Fridger
PS: Note the cloudshadows still produce artefacts (bands in a certain distance...)
So don't report these. We know that already