Hi Folks, I am using A7 and C-script. PROBLEM:- I want to lower the ambient light in a room so that MY lights work better. I have put camera.ambient=25; (as per 'example' in manual BUT get keyword unknown camera.ambient ??? what am I doing wrong please?
Hello Malice, Thanks for your reply and advice. You suggest I include acknex.h - I thought that was for lite_c only? (tried using it, but got the same result -not known !)
The command camera.ambient=100; also appears in A6.40, which I thought was using C-script. Using C-script, how would you lower the ambient light in a room please? Hopefully, David
Acknex umgibt uns...zwischen Dir, mir, dem Stein dort... "Hey Griswold ... where u gonna put a tree that big ?" 1998 i married my loved wife ... Sheeva from Mortal Kombat, not Evil-Lyn as might have been expected rayp.flags |= UNTOUCHABLE;
I am pretty sure camera ambient used to work in old versions/ C-script, too. I used to use it for my own projects. Maybe the error lies somewhere else (line above/ below camera.ambient, maybe you wrote it outside of a function like a var definition?).
"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual
camera.ambient even compiles in lite-c without errors btw
Acknex umgibt uns...zwischen Dir, mir, dem Stein dort... "Hey Griswold ... where u gonna put a tree that big ?" 1998 i married my loved wife ... Sheeva from Mortal Kombat, not Evil-Lyn as might have been expected rayp.flags |= UNTOUCHABLE;
Thanks for all your help you guys - much appreciated. The problem was solved by putting my own lights in the room scene - and the 'ambient' disappeared !!!