<?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: Calculation of trasparency in shadow casting GDL command in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Calculation-of-trasparency-in-shadow-casting-GDL-command/m-p/27478#M35647</link>
    <description>OK.  The plot thickens.  (And, is it Zolt or Balazs? &lt;E&gt;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/E&gt; )&lt;BR /&gt;
&lt;BR /&gt;
The image I generated used only the skyobject and sunobject, and had only lamps enabled.&lt;BR /&gt;
&lt;BR /&gt;
Your settings have the sun, ambient, camera all at 100% and have lamps enabled too.  Generally, you never want to use the Camera light as it tends to ruin the lighting of a scene.  In this case, it is the camera light that seems to cause the problem.  Using your settings, I see the transparent areas as well.&lt;BR /&gt;
&lt;BR /&gt;
Turn the camera light off and render again.  Then, turn off the sun and ambient and insert a sunobject and skyobject - changing their default colors to yellow sun, etc.&lt;BR /&gt;
&lt;BR /&gt;
(Using LW effectively is not that easy or obvious ... hence the need for Dwight Atkinson's book, coming 'soon'.)&lt;BR /&gt;
&lt;BR /&gt;
See this message from Greg Kmethy of GS about a possible cause of what you are seeing:&lt;BR /&gt;
&lt;A href="http://archicad-talk.graphisoft.com/viewtopic.php?p=27388#27388" target="_blank"&gt;&lt;LINK_TEXT text="http://archicad-talk.graphisoft.com/vie ... 7388#27388"&gt;http://archicad-talk.graphisoft.com/viewtopic.php?p=27388#27388&lt;/LINK_TEXT&gt;&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Now, if you follow his link there, you'll see that defining a material for Lightworks in GDL is way more complex!&lt;BR /&gt;
&lt;BR /&gt;
I don't know what the "Write LGA  file" registry key might be for.  Also don't know of an easy way to retrieve the pixel dimensions of an image located in the library.&lt;BR /&gt;
&lt;BR /&gt;
Karl</description>
    <pubDate>Wed, 10 Aug 2005 03:55:48 GMT</pubDate>
    <dc:creator>Karl Ottenstein</dc:creator>
    <dc:date>2005-08-10T03:55:48Z</dc:date>
    <item>
      <title>Calculation of trasparency in shadow casting GDL command?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Calculation-of-trasparency-in-shadow-casting-GDL-command/m-p/27473#M35642</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;My question is: &lt;BR /&gt;
 &lt;BR /&gt;
How can I influence the shadow casting of transparent surfaces in  GDL billboard objects in case of using the Lightworks rendering engine? &lt;BR /&gt;
Are there any GDL commands for it?  &lt;BR /&gt;
 &lt;BR /&gt;
See problematic example below.&lt;BR /&gt;
Don't suggest me to cut around all the leaves instead of using Alpha channels...&lt;/T&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;IMG src="http://community.graphisoft.com/t5/image/serverpage/image-id/68859iF83148571609D527/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Billboard.jpg" title="Billboard.jpg" /&gt;</description>
      <pubDate>Sun, 07 Aug 2005 23:09:33 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Calculation-of-trasparency-in-shadow-casting-GDL-command/m-p/27473#M35642</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-08-07T23:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation of trasparency in shadow casting GDL command</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Calculation-of-trasparency-in-shadow-casting-GDL-command/m-p/27474#M35643</link>
      <description>&lt;BLOCKQUOTE&gt;Zoltán wrote:&lt;BR /&gt;How can I influence the shadow casting of transparent surfaces in  GDL billboard objects in case of using the Lightworks rendering engine?&lt;/BLOCKQUOTE&gt;

Where does the billboard object come from?</description>
      <pubDate>Mon, 08 Aug 2005 16:22:01 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Calculation-of-trasparency-in-shadow-casting-GDL-command/m-p/27474#M35643</guid>
      <dc:creator>Djordje</dc:creator>
      <dc:date>2005-08-08T16:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation of trasparency in shadow casting GDL command</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Calculation-of-trasparency-in-shadow-casting-GDL-command/m-p/27475#M35644</link>
      <description>I made it myself following the example of the "Intro to Object Making.pdf" cook-book found in the Graphisoft documentation folder of AC 9. (I added some extra functions as well). (BTW. there is an error in the book, it suggests for AC 9 users to use the hotline command instead of the line command in the 2D description however hotline without the line command is invisible.) &lt;BR /&gt;
It uses a picture of the AC 7.0 Library by default. See attachment.  &lt;BR /&gt;
But the situation is the same with all the billboard plants of any AC library.  &lt;BR /&gt;
Everything seems to be correct if in the photorendering the sun is situated  opposite to the camera, but if it is somewhere behind the camera, the above mentioned effect occurs.</description>
      <pubDate>Mon, 08 Aug 2005 20:48:40 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Calculation-of-trasparency-in-shadow-casting-GDL-command/m-p/27475#M35644</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-08-08T20:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation of trasparency in shadow casting GDL command</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Calculation-of-trasparency-in-shadow-casting-GDL-command/m-p/27476#M35645</link>
      <description>Hi Zoltan,&lt;BR /&gt;
&lt;BR /&gt;
I downloaded your object, and did not have any problems at all rendering it with Lightworks. See attached.  I just placed it and it worked.  Perhaps a screenshot of your LW rendering settings might help reveal what's happening for you.  If you are using sunobject and skyobject  (as I did below), post screenshots of there settings.&lt;BR /&gt;
&lt;BR /&gt;
Attached is straight out of AC.  (Normally I would desaturate the garish colors.)&lt;BR /&gt;
&lt;BR /&gt;
I just searched for all instances of HOTLINE in the Object Making book ... and I think you didn't understand what David was saying.  He does say the right thing each time, and in each example:  the hotline is an optional &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;addition &lt;E&gt;&lt;/E&gt;for AC9.  It is not a substitute for the LINE2 itself.&lt;BR /&gt;
&lt;BR /&gt;
Cheers,&lt;BR /&gt;
Karl</description>
      <pubDate>Tue, 09 Aug 2005 05:58:05 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Calculation-of-trasparency-in-shadow-casting-GDL-command/m-p/27476#M35645</guid>
      <dc:creator>Karl Ottenstein</dc:creator>
      <dc:date>2005-08-09T05:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation of trasparency in shadow casting GDL command</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Calculation-of-trasparency-in-shadow-casting-GDL-command/m-p/27477#M35646</link>
      <description>You or your machine seems to be a genius. I've been trying it with all the settings but nothing changed. I tried with Ligtworks and Z-buffer as well. See attachments. (It also contains the screenshot.) &lt;BR /&gt;
I also tried with a default library part from the 9 library. (Billboard tree 9 LW.jpg) the result is the same. &lt;BR /&gt;
The only way to get a correct render is using the old built in rendering motor and checking the use transparency button at the shadows setting. &lt;BR /&gt;
Could this depend on any hardware? I also had a look at my registry settings. I didn't find anything special in the LightWorks Rendering section. But what does the writ LGA file entry mean? &lt;BR /&gt;
Another question: with which GDL command can I get the proportion of a loaded images's sides? I want to write on option for the object the way that it automaticallly takes the correct "A" and "zzyzx" parameters.depending on the loaded image.&lt;BR /&gt;
BTW Thanks for explaining the hotline2 command. You were right I misunderstood it's functionality.&lt;BR /&gt;
I wish there would be a GDL Reference Guide printed in Hungarian like for 6.0... there is not even a pdf,  only in English. I'm still using my old 6.0 book, it looks like a salad...&lt;BR /&gt;
&lt;BR /&gt;
Balázs</description>
      <pubDate>Tue, 09 Aug 2005 22:59:19 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Calculation-of-trasparency-in-shadow-casting-GDL-command/m-p/27477#M35646</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-08-09T22:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation of trasparency in shadow casting GDL command</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Calculation-of-trasparency-in-shadow-casting-GDL-command/m-p/27478#M35647</link>
      <description>OK.  The plot thickens.  (And, is it Zolt or Balazs? &lt;E&gt;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/E&gt; )&lt;BR /&gt;
&lt;BR /&gt;
The image I generated used only the skyobject and sunobject, and had only lamps enabled.&lt;BR /&gt;
&lt;BR /&gt;
Your settings have the sun, ambient, camera all at 100% and have lamps enabled too.  Generally, you never want to use the Camera light as it tends to ruin the lighting of a scene.  In this case, it is the camera light that seems to cause the problem.  Using your settings, I see the transparent areas as well.&lt;BR /&gt;
&lt;BR /&gt;
Turn the camera light off and render again.  Then, turn off the sun and ambient and insert a sunobject and skyobject - changing their default colors to yellow sun, etc.&lt;BR /&gt;
&lt;BR /&gt;
(Using LW effectively is not that easy or obvious ... hence the need for Dwight Atkinson's book, coming 'soon'.)&lt;BR /&gt;
&lt;BR /&gt;
See this message from Greg Kmethy of GS about a possible cause of what you are seeing:&lt;BR /&gt;
&lt;A href="http://archicad-talk.graphisoft.com/viewtopic.php?p=27388#27388" target="_blank"&gt;&lt;LINK_TEXT text="http://archicad-talk.graphisoft.com/vie ... 7388#27388"&gt;http://archicad-talk.graphisoft.com/viewtopic.php?p=27388#27388&lt;/LINK_TEXT&gt;&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Now, if you follow his link there, you'll see that defining a material for Lightworks in GDL is way more complex!&lt;BR /&gt;
&lt;BR /&gt;
I don't know what the "Write LGA  file" registry key might be for.  Also don't know of an easy way to retrieve the pixel dimensions of an image located in the library.&lt;BR /&gt;
&lt;BR /&gt;
Karl</description>
      <pubDate>Wed, 10 Aug 2005 03:55:48 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Calculation-of-trasparency-in-shadow-casting-GDL-command/m-p/27478#M35647</guid>
      <dc:creator>Karl Ottenstein</dc:creator>
      <dc:date>2005-08-10T03:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation of trasparency in shadow casting GDL command</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Calculation-of-trasparency-in-shadow-casting-GDL-command/m-p/27479#M35648</link>
      <description>First: Let's stay at Zoltán (I have several names) &lt;BR /&gt;
 &lt;BR /&gt;
THX for the useful link. &lt;BR /&gt;
I combined the suggestions with the linked script. (It took about one hour understanding the DEFINE MATERIAL and IND commands. %-) Everything is fine. Actually my own billboard bushes function better then the AC library's &lt;E&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/E&gt; The correct material definition should be corrected in the object making cook-book.&lt;BR /&gt;
I'm getting confused. Not only the material definitions but also the lightening settings got complicated. (Or maybe the previously offered rendering options were too primitive but comfortable...) &lt;BR /&gt;
I tried once the skyobject but it strongly influences all the colors what I think is confusing together with the material definitions. At least I have good experiences with the sun object... &lt;BR /&gt;
BTW The Lightworks presentations cook-book contains explications only for few Lightscape definitions. There are hundreds of settings without any explication so I'm looking forward reeding Dwight Atkinson's book. I hope it will have a Hungarian translation once... &lt;BR /&gt;
So, the answer for my original question "Are there any GDL commands for it?" is that "Yes, in the material definitions."  &lt;BR /&gt;
Again thanks for your help!</description>
      <pubDate>Wed, 10 Aug 2005 22:52:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Calculation-of-trasparency-in-shadow-casting-GDL-command/m-p/27479#M35648</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-08-10T22:52:16Z</dc:date>
    </item>
  </channel>
</rss>

