<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Changing the glass surface of lamp object in Visualization</title>
    <link>https://community.graphisoft.com/t5/Visualization/Changing-the-glass-surface-of-lamp-object/m-p/266174#M10267</link>
    <description>Wow, Thanks David! i'll definitely use it as a starting point.&lt;BR /&gt;
&lt;BR /&gt;
best regards&lt;BR /&gt;
John</description>
    <pubDate>Tue, 05 May 2015 16:55:23 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-05-05T16:55:23Z</dc:date>
    <item>
      <title>Changing the glass surface of lamp object</title>
      <link>https://community.graphisoft.com/t5/Visualization/Changing-the-glass-surface-of-lamp-object/m-p/266172#M10265</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;Hi all, in correlation with this topic:&lt;BR /&gt;
&lt;A href="http://archicad-talk.graphisoft.com/viewtopic.php?t=47429" target="_blank"&gt;&lt;LINK_TEXT text="http://archicad-talk.graphisoft.com/vie ... hp?t=47429"&gt;http://archicad-talk.graphisoft.com/viewtopic.php?t=47429&lt;/LINK_TEXT&gt;&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
i also wanted to change the glass surface of my lamp objects&lt;BR /&gt;
so that it will luminate in the cinerender rendering&lt;BR /&gt;
and i face the same problem, the glass surface setting is greyed out.&lt;BR /&gt;
&lt;BR /&gt;
The problem is, the scene contains not just one or two lamps on the ceiling,&lt;BR /&gt;
but a lot of different types of lamps scattered across my building model,&lt;BR /&gt;
so although adding disc shaped area light under each and every one of them, one by one, is a doable workaround,&lt;BR /&gt;
it's still too cumbersome, ineffective and time consuming,&lt;BR /&gt;
not to mention the possibilities of errors that might arise.&lt;BR /&gt;
&lt;BR /&gt;
so i chose one of the recessed spot 18 lamp that i had in my model&lt;BR /&gt;
and saved it as a new custom object in order to be able to edit its parameter setting in the GDL editor&lt;BR /&gt;
(based on my knowledge that default library parts are read only).&lt;BR /&gt;
&lt;BR /&gt;
but when i scrolled to the surface parameter, the option for glass surface was still greyed out&lt;BR /&gt;
(along with some other parameters)&lt;BR /&gt;
&lt;BR /&gt;
also, another solution that is out of the question is&lt;BR /&gt;
changing the default "glass - clear" surface setting to simulate that of "glass - lamp" setting&lt;BR /&gt;
because that will make my default glass object for every library parts to glow.&lt;BR /&gt;
&lt;BR /&gt;
can anybody help me find a solution for this problem?&lt;BR /&gt;
i'd rather save every lamp object as a custom object,&lt;BR /&gt;
edit its parameters once and be able to use it across multiple projects&lt;BR /&gt;
than to add additional area light every time i add a lamp into my model.&lt;BR /&gt;
&lt;BR /&gt;
Best regards&lt;BR /&gt;
John&lt;BR /&gt;
&lt;BR /&gt;
*PS: i don't know whether this question should go into the rendering section or GDL section&lt;/R&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;IMG src="http://community.graphisoft.com/t5/image/serverpage/image-id/73103i0AD1CCCC819CC4F9/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Recessed spot 18 - CUSTOM.jpg" title="Recessed spot 18 - CUSTOM.jpg" /&gt;</description>
      <pubDate>Thu, 11 May 2023 09:43:26 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Visualization/Changing-the-glass-surface-of-lamp-object/m-p/266172#M10265</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-11T09:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the glass surface of lamp object</title>
      <link>https://community.graphisoft.com/t5/Visualization/Changing-the-glass-surface-of-lamp-object/m-p/266173#M10266</link>
      <description>&lt;BLOCKQUOTE&gt;John wrote:&lt;BR /&gt;but when i scrolled to the surface parameter, the option for glass surface was still greyed out&lt;BR /&gt;
(along with some other parameters)&lt;/BLOCKQUOTE&gt;
In the Parameter Script at Line 59 is the code:
&lt;PRE&gt;if (gs_light_switch) then lock "matGlass"&lt;/PRE&gt;
So if the Light is on, the glass parameter is locked. You can comment out this line of code to disable it.&lt;BR /&gt;
&lt;BR /&gt;
In the 3D Script at Line 41 is the code:
&lt;PRE&gt;If not(gs_light_switch) Then
	material matGlass

	addz zzyzx/10
	CYLIND zzyzx/8,a/2-sow
	del 1
endif&lt;/PRE&gt;
So if the light is on, the Glass Material (Surface) parameter is not used. This will need to be altered.&lt;BR /&gt;
Then in the 3D Script at Line 105 a macro is called which is adding something when the lamp is on, but I cannot easily figure it out without getting into the macro.&lt;BR /&gt;
This should get you started.&lt;BR /&gt;
&lt;BR /&gt;
David</description>
      <pubDate>Tue, 05 May 2015 12:31:14 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Visualization/Changing-the-glass-surface-of-lamp-object/m-p/266173#M10266</guid>
      <dc:creator>David Maudlin</dc:creator>
      <dc:date>2015-05-05T12:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the glass surface of lamp object</title>
      <link>https://community.graphisoft.com/t5/Visualization/Changing-the-glass-surface-of-lamp-object/m-p/266174#M10267</link>
      <description>Wow, Thanks David! i'll definitely use it as a starting point.&lt;BR /&gt;
&lt;BR /&gt;
best regards&lt;BR /&gt;
John</description>
      <pubDate>Tue, 05 May 2015 16:55:23 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Visualization/Changing-the-glass-surface-of-lamp-object/m-p/266174#M10267</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-05T16:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the glass surface of lamp object</title>
      <link>https://community.graphisoft.com/t5/Visualization/Changing-the-glass-surface-of-lamp-object/m-p/361697#M10268</link>
      <description>&lt;P&gt;Did you manage to solve the issue of the glass in the spot light?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2022 10:47:14 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Visualization/Changing-the-glass-surface-of-lamp-object/m-p/361697#M10268</guid>
      <dc:creator>Ant Mag</dc:creator>
      <dc:date>2022-11-10T10:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the glass surface of lamp object</title>
      <link>https://community.graphisoft.com/t5/Visualization/Changing-the-glass-surface-of-lamp-object/m-p/381384#M24249</link>
      <description>&lt;P&gt;basically you just need to turn off the light then add a new spot light if you don't want to edit the gdl.&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 08:53:06 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Visualization/Changing-the-glass-surface-of-lamp-object/m-p/381384#M24249</guid>
      <dc:creator>ryejuan</dc:creator>
      <dc:date>2023-05-25T08:53:06Z</dc:date>
    </item>
  </channel>
</rss>

