Trying to make a script for night shots

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Display Modes
  11 November 2013
Trying to make a script for night shots

I've come out to idea creating a script which will automatically place (for now) vraysphere lights into selected floor.
So here it is algorythm i want to use for this
1. create bounding box for whole "floor"
2. divide box into segments (which you will determine) , each face-segment resulting box in the future will be a placeholder for light
3. check intersections of all of the "placeholder" with floor walls geometry , delete thus which are intersecting
4. create light in each "placeholder"
in result we will have controllable quantity of lights (by controlling segments of box) and we will not have intersecting lights with geometry.
If you guys can help me optimizing this stuff , maybe you have any better ideas of making this - it will be great ! Thanks a lot !
  11 November 2013
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 09:50 PM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.