beeemtee Posted July 24, 2009 Share Posted July 24, 2009 Hi, i just began to fool around with custom lights and i already have three questions: is it possible to alter the place of a light in the illuminate loop, for example to set one to be the last one? is it possible to pass custom parameters to the light from the illum-loop, for example the accumulated light on that point in the time of evaluation? is it possible to write custom area lights in vex or that belongs to the domain of the hdk? i think i had a fourth one but i forgot it thanks bmt Quote Link to comment Share on other sites More sharing options...
sam.h Posted July 24, 2009 Share Posted July 24, 2009 I would also be interested in knowing if you can get a parameter from a light in an illuminance loop ... Quote Link to comment Share on other sites More sharing options...
mrice Posted July 28, 2009 Share Posted July 28, 2009 is it possible to alter the place of a light in the illuminate loop, for example to set one to be the last one? AFAIK no, not unless you want to post-process the IFD. The order seems to be fixed to the order in which the lights were created. I'd like to be wrong about this though! is it possible to pass custom parameters to the light from the illum-loop, for example the accumulated light on that point in the time of evaluation? You can export parameters from a light shader just as you would in a surface shader, then import them in an illuminance loop with the "limport" function or a light variable import vop. is it possible to write custom area lights in vex or that belongs to the domain of the hdk? Not sure about that, but you can instance lights to geometry to create a custom area light. Quote Link to comment Share on other sites More sharing options...
edward Posted July 29, 2009 Share Posted July 29, 2009 AFAIK no, not unless you want to post-process the IFD. The order seems to be fixed to the order in which the lights were created. I'd like to be wrong about this though! I haven't tried but does it work if you drag reorder the light objects in the network editor's list view when sorted by "user defined"? Quote Link to comment Share on other sites More sharing options...
mrice Posted July 29, 2009 Share Posted July 29, 2009 I haven't tried but does it work if you drag reorder the light objects in the network editor's list view when sorted by "user defined"? I didnt think that worked, but it actually does if I close the scene and open it again after changing the order. Quote Link to comment Share on other sites More sharing options...
beeemtee Posted August 10, 2009 Author Share Posted August 10, 2009 Thanks! It was really helpful. bmt Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.