Control over Light attributes - Grasshopper2024-03-28T16:05:25Zhttps://www.grasshopper3d.com/forum/topics/control-over-light-attributes?commentId=2985220%3AComment%3A1762512&xg_source=activity&feed=yes&xn_auth=noI tried ignoring the fact tha…tag:www.grasshopper3d.com,2017-06-02:2985220:Comment:17625342017-06-02T12:29:52.325ZGabriella Rossihttps://www.grasshopper3d.com/profile/GabriellaRossi
<p>I tried ignoring the fact that the baked light is "wrong" and rendering directly in Vray on gh but still ddnt respect the attributes. Thanks for the code, it will be my last resort</p>
<p>I tried ignoring the fact that the baked light is "wrong" and rendering directly in Vray on gh but still ddnt respect the attributes. Thanks for the code, it will be my last resort</p> Not sure if this really hel…tag:www.grasshopper3d.com,2017-06-02:2985220:Comment:17622882017-06-02T12:00:45.913ZPaul Poinethttps://www.grasshopper3d.com/profile/PaulPoinet
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2769294194?profile=original" target="_self"><img class="align-full" src="http://storage.ning.com/topology/rest/1.0/file/get/2769294194?profile=RESIZE_1024x1024" width="721"></img></a></p>
<p></p>
<p>Not sure if this really helps, but here is a script that modifies the intensity attribute of the light after it has been baked (note that it changes the attribute of ALL lights contained within the input layer).</p>
<p>Indeed, moving the slider that is on the gh canvas won't affect the displayed parameter in Rhino on the right. <br></br>I guess that if you further…</p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2769294194?profile=original" target="_self"><img width="721" src="http://storage.ning.com/topology/rest/1.0/file/get/2769294194?profile=RESIZE_1024x1024" width="721" class="align-full"/></a></p>
<p></p>
<p>Not sure if this really helps, but here is a script that modifies the intensity attribute of the light after it has been baked (note that it changes the attribute of ALL lights contained within the input layer).</p>
<p>Indeed, moving the slider that is on the gh canvas won't affect the displayed parameter in Rhino on the right. <br/>I guess that if you further render in VRay it will take into account what has been hardcoded in grasshopper, so maybe this is not a problem.</p> Could be, try checking your S…tag:www.grasshopper3d.com,2017-06-02:2985220:Comment:17625122017-06-02T10:58:04.913ZAnders Holden Deleuranhttps://www.grasshopper3d.com/profile/AndersHoldenDeleuran
<p>Could be, try checking your Service Release and make sure it's up to date (might be an issue with an earlier build of RhinoCommon).</p>
<p>Could be, try checking your Service Release and make sure it's up to date (might be an issue with an earlier build of RhinoCommon).</p> Are you sure that the object…tag:www.grasshopper3d.com,2017-06-02:2985220:Comment:17625102017-06-02T10:53:29.923ZPaul Poinethttps://www.grasshopper3d.com/profile/PaulPoinet
<p>Are you sure that the object you check in Rhino is the last that was generated with the script?<br/>If you want to update the properties of the object after it is baked, you will have to access and set it again (probably through its guid). In the script you have you can set the properties once and bake it. Afterwards you can't do any update that will affect the EXISTING object.<br/>I hope i make myself clear haha</p>
<p>Are you sure that the object you check in Rhino is the last that was generated with the script?<br/>If you want to update the properties of the object after it is baked, you will have to access and set it again (probably through its guid). In the script you have you can set the properties once and bake it. Afterwards you can't do any update that will affect the EXISTING object.<br/>I hope i make myself clear haha</p> ah no sorry I got what you me…tag:www.grasshopper3d.com,2017-06-02:2985220:Comment:17622652017-06-02T10:45:36.277ZPaul Poinethttps://www.grasshopper3d.com/profile/PaulPoinet
<p>ah no sorry I got what you mean now</p>
<p>ah no sorry I got what you mean now</p> wait, but what's the problem…tag:www.grasshopper3d.com,2017-06-02:2985220:Comment:17624172017-06-02T10:40:56.638ZPaul Poinethttps://www.grasshopper3d.com/profile/PaulPoinet
<p>wait, but what's the problem here? The intensity you set and the print you get are matching in the last picture you sent.</p>
<p>wait, but what's the problem here? The intensity you set and the print you get are matching in the last picture you sent.</p> Hey Anders, Paul
I don't kno…tag:www.grasshopper3d.com,2017-06-02:2985220:Comment:17622602017-06-02T10:17:48.540ZGabriella Rossihttps://www.grasshopper3d.com/profile/GabriellaRossi
<p>Hey Anders, Paul</p>
<p></p>
<p>I don't know if its a problem of my rhino then? I double checked also with an intensity <1...</p>
<p>very wierd</p>
<p>Hey Anders, Paul</p>
<p></p>
<p>I don't know if its a problem of my rhino then? I double checked also with an intensity <1...</p>
<p>very wierd</p> Yes, in your file if you set…tag:www.grasshopper3d.com,2017-06-02:2985220:Comment:17622492017-06-02T09:14:15.697ZPaul Poinethttps://www.grasshopper3d.com/profile/PaulPoinet
<p>Yes, in your file if you set the intensity > 1 it will just be set as the max value so 1. That's normal.<br/>For the color it print exactly what you set as input. So i think there is no problem here</p>
<p>Yes, in your file if you set the intensity > 1 it will just be set as the max value so 1. That's normal.<br/>For the color it print exactly what you set as input. So i think there is no problem here</p> Hi Gabriella, I'm not entirel…tag:www.grasshopper3d.com,2017-06-02:2985220:Comment:17620982017-06-02T07:45:57.170ZAnders Holden Deleuranhttps://www.grasshopper3d.com/profile/AndersHoldenDeleuran
<p>Hi <span>Gabriella, I'm not entirely sure I understood the issue, that said your code seems to work as expected for me. Perhaps it's the mapping from the 0.00-1.00 range in RhinoCommon to the 0-100 range in Rhino that's causing the issue for you, on the intensity property I mean:…<br></br><br></br><a href="http://storage.ning.com/topology/rest/1.0/file/get/2769293830?profile=original" target="_self"><img class="align-full" src="http://storage.ning.com/topology/rest/1.0/file/get/2769293830?profile=RESIZE_1024x1024" width="721"></img></a></span></p>
<p>Hi <span>Gabriella, I'm not entirely sure I understood the issue, that said your code seems to work as expected for me. Perhaps it's the mapping from the 0.00-1.00 range in RhinoCommon to the 0-100 range in Rhino that's causing the issue for you, on the intensity property I mean:<br/><br/><a href="http://storage.ning.com/topology/rest/1.0/file/get/2769293830?profile=original" target="_self"><img width="721" src="http://storage.ning.com/topology/rest/1.0/file/get/2769293830?profile=RESIZE_1024x1024" width="721" class="align-full"/></a><br/></span></p>