Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / Dark Lights - Getting started

Author
Message
Omikron
20
Years of Service
User Offline
Joined: 12th Mar 2004
Location: UK
Posted: 4th Jul 2006 21:29 Edited at: 4th Jul 2006 21:30
Just getting to grips with the Dark Lights plugin, basically my first effort involves one spot light pointing downward at a sphere, which should cast a round shadow on a flat plain below it.

It doesn't quite work the way i intended. It's probably a schoolboy error, but would appreciate a few pointers.

(I've a feeling it could be to do with the angle setting on the spotlight?!)

Picture & code included



Attachments

Login to view attachments
Paul Johnston
TGC Developer
22
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 4th Jul 2006 22:17
I've commented all the changes I've made, the only problem with using plains is the need for the fourth parameter to be 1 which fixes some texturing issues.

Omikron
20
Years of Service
User Offline
Joined: 12th Mar 2004
Location: UK
Posted: 4th Jul 2006 22:28
Superb!

10/10 for response time too!

Comforting to know I was *almost* there on my very first effort.

I think where i was getting confused was the angle in the LM SET SPOT LIGHT, I was treating it as a POINT OBJECT/POINT CAMERA command where you specify the global coords of the destination.

Would it be quite easy to put in an alternate command that can treat spotlight directions as POINT AT-style for remedials like me for the next update?

If not, fear not. It's a great plugin and I forsee i've had my money's worth already!

Login to post a reply

Server time is: 2024-11-22 06:01:02
Your offset time is: 2024-11-22 06:01:02