"Julia" <nomail@nomail> wrote:
> "Tor Olav Kristensen" <tor### [at] TOBEREMOVEDgmailcom> wrote:
> > Ash Holsenback <no### [at] spamcom> wrote:
> > > On 12/5/20 12:41 PM, Tor Olav Kristensen wrote:
> > > > You have hidden your light source inside at least one opaque sphere.
> > > > So I think that your problem is not a lack of shadows...
> > >
> > > i think the 1st sphere after the light source is the sun... lol didn't
> > > account for that 2nd object
> > Ok. After re-indenting I see that the last sphere (the moon ?) is in the union
> > with the earth sphere - and it is moved away from the origin, so the light
> > source is inside a single opaque sphere only.
> > So your suggestion to use looks_like (the sun sphere) for the light source is
> > the way to go.
> > --
> > Tor Olav
> > http://subcube.com
> > https://github.com/t-o-k
> oh.. i shoud have said that its an amimation of the sum, the earth and the moon
> i think the probem is created by the finishes im using
> because if i change it from ambient it's bearly wisible
> thanks anyway, i will try to figure out something
First you have to find the problem with the light source that Ash hinted at.
You can read about the light source here:
When you have fixed it you can (just for testing) remove the whole sun sphere
and remove all your ambient statements.
Now you should be able to see shadows from your light source (because the opaque
sun sphere is no longer there to block its light).
Thereafter you can bring back your sun sphere and study the the looks_like
If you still have problems you may come back here and show what you have tried.
(But please indent your code better so that it is easier for us to read your
Post a reply to this message