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 CLOSED
 
Thread Tools Search this Thread Display Modes
Old 11 November 2013   #1
Trying to make a script for night shots

Hello
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 !
 
Old 11 November 2013   #2
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.
 
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
CGSociety
Society of Digital Artists
www.cgsociety.org

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

All times are GMT. The time now is 01:03 AM.


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