<?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: Possible to change the surface origin? in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Possible-to-change-the-surface-origin/m-p/332559#M2678</link>
    <description>&lt;P&gt;That's perfect and makes it infinitely easier to understand than the reference guide.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks for your help&lt;/P&gt;</description>
    <pubDate>Thu, 17 Mar 2022 14:29:36 GMT</pubDate>
    <dc:creator>JGoode</dc:creator>
    <dc:date>2022-03-17T14:29:36Z</dc:date>
    <item>
      <title>Possible to change the surface origin?</title>
      <link>https://community.graphisoft.com/t5/GDL/Possible-to-change-the-surface-origin/m-p/332460#M2672</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to create an object which is essentially just a block which uses A, B and ZZYZX to set the dimensions. Is it possible to be able to change the surface texture origin to something that isn't 0, 0? I have looked through the GDL reference guide as I thought I had seen it in there before but I can't seem to find it!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2022 14:45:15 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Possible-to-change-the-surface-origin/m-p/332460#M2672</guid>
      <dc:creator>JGoode</dc:creator>
      <dc:date>2022-03-16T14:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: Possible to change the surface origin?</title>
      <link>https://community.graphisoft.com/t5/GDL/Possible-to-change-the-surface-origin/m-p/332466#M2673</link>
      <description>&lt;P&gt;Proper texture wrapping is a topic on its own...&lt;/P&gt;&lt;P&gt;Have a look at "coor{3}".&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2022 15:22:14 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Possible-to-change-the-surface-origin/m-p/332466#M2673</guid>
      <dc:creator>runxel</dc:creator>
      <dc:date>2022-03-16T15:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: Possible to change the surface origin?</title>
      <link>https://community.graphisoft.com/t5/GDL/Possible-to-change-the-surface-origin/m-p/332472#M2674</link>
      <description>&lt;P&gt;It looks like that is what I'm after, thank you! It is quite confusing so I'll have to try to wrap my head around it.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2022 17:09:42 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Possible-to-change-the-surface-origin/m-p/332472#M2674</guid>
      <dc:creator>JGoode</dc:creator>
      <dc:date>2022-03-16T17:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: Possible to change the surface origin?</title>
      <link>https://community.graphisoft.com/t5/GDL/Possible-to-change-the-surface-origin/m-p/332526#M2675</link>
      <description>&lt;P&gt;If you have the Cookbook 3 by David Nicholson-Cole, there is a good example of VERT/COOR in there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is a bit difficult because not only do you need to wok out how the co-ordinates work, you also specify the VERT/COOR command after the element you want to affect - not before like with a MUL, ADD or ROT command.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2022 01:45:27 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Possible-to-change-the-surface-origin/m-p/332526#M2675</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2022-03-17T01:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: Possible to change the surface origin?</title>
      <link>https://community.graphisoft.com/t5/GDL/Possible-to-change-the-surface-origin/m-p/332549#M2676</link>
      <description>&lt;P&gt;Do you have to use both Vert and coor{3}? All I'm trying to achieve is to move the origin of the surface along, x, y and z, and for the texture to wrap as it usually would.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2022 13:09:42 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Possible-to-change-the-surface-origin/m-p/332549#M2676</guid>
      <dc:creator>JGoode</dc:creator>
      <dc:date>2022-03-17T13:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: Possible to change the surface origin?</title>
      <link>https://community.graphisoft.com/t5/GDL/Possible-to-change-the-surface-origin/m-p/332553#M2677</link>
      <description>&lt;P&gt;Yes.&lt;/P&gt;
&lt;P&gt;VERT sets the co-ordinates and COOR does the wrapping.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is some code from my bath hop - only moves in x and y directions (not z, but that could be added in).&lt;/P&gt;
&lt;P&gt;It is old so is only COOR and not COOR{3}.&lt;/P&gt;
&lt;P&gt;I haven't looked into COOR{3{.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;	prism_ 5, hob_height,
		0,0,15,
		0,b,15,
		a,b,15,
		a,0,15,
		0,0,-1!,

VERT 0+tile_fill_origin_x,0+tile_fill_origin_y,0 !Origin
VERT 1+tile_fill_origin_x,0+tile_fill_origin_y,0 !X direction
VERT 0+tile_fill_origin_x,1+tile_fill_origin_y,0 !Y direction
VERT 0+tile_fill_origin_x,0+tile_fill_origin_y,1 !Z direction
COOR 2+256,1,2,3,4
body -1
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Barry.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2022 13:50:10 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Possible-to-change-the-surface-origin/m-p/332553#M2677</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2022-03-17T13:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: Possible to change the surface origin?</title>
      <link>https://community.graphisoft.com/t5/GDL/Possible-to-change-the-surface-origin/m-p/332559#M2678</link>
      <description>&lt;P&gt;That's perfect and makes it infinitely easier to understand than the reference guide.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks for your help&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2022 14:29:36 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Possible-to-change-the-surface-origin/m-p/332559#M2678</guid>
      <dc:creator>JGoode</dc:creator>
      <dc:date>2022-03-17T14:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: Possible to change the surface origin?</title>
      <link>https://community.graphisoft.com/t5/GDL/Possible-to-change-the-surface-origin/m-p/332561#M2679</link>
      <description>&lt;P&gt;No, If you use COOR{3} you don't need any VERTs. Thats because this command is self-sustained.&lt;/P&gt;&lt;P&gt;COOR{3} is basically&amp;nbsp; superset of vert and the old coor, since it now handles everything in the same command.&lt;/P&gt;&lt;P&gt;I think there is even a warning of some kind in the GDL reference manual displaying that COOR{3} superseeds all other methods and that VERT and COOR are deprecated. (Of course it still works, tho.)&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2022 14:47:38 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Possible-to-change-the-surface-origin/m-p/332561#M2679</guid>
      <dc:creator>runxel</dc:creator>
      <dc:date>2022-03-17T14:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: Possible to change the surface origin?</title>
      <link>https://community.graphisoft.com/t5/GDL/Possible-to-change-the-surface-origin/m-p/332618#M2680</link>
      <description>&lt;P&gt;Thanks, as I mentioned I have not looked at COOR{3} so wasn't aware of that.&lt;/P&gt;
&lt;P&gt;Looks like I need to start updating to COOR{3} then.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2022 02:07:59 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Possible-to-change-the-surface-origin/m-p/332618#M2680</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2022-03-18T02:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: Possible to change the surface origin?</title>
      <link>https://community.graphisoft.com/t5/GDL/Possible-to-change-the-surface-origin/m-p/332637#M2681</link>
      <description>&lt;P&gt;I always wonder if there is any impact in this.&lt;/P&gt;&lt;P&gt;GDL keeps all the old stuff viable, and breaking changes are rare. (well yeah, there was the purge of the possibility of param/master script for some commands, but otherwise?)&lt;/P&gt;&lt;P&gt;This kind of backwards compatibility is nice since you technically can still use&amp;nbsp; even 20 year old objects just fine. But still I'm wondering if this comes with a cost; like, do you have any benefit by updating your objects? You probably don't have to.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2022 10:45:45 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Possible-to-change-the-surface-origin/m-p/332637#M2681</guid>
      <dc:creator>runxel</dc:creator>
      <dc:date>2022-03-18T10:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: Possible to change the surface origin?</title>
      <link>https://community.graphisoft.com/t5/GDL/Possible-to-change-the-surface-origin/m-p/332964#M2682</link>
      <description>&lt;P&gt;Commands / globals become deprecated when they can't be adapted to a new feature or there is a bug which cannot be fixed without breaking compatibility.&lt;/P&gt;
&lt;P&gt;GDL is intended to be backwards compatible to AC 6.5&lt;/P&gt;
&lt;P&gt;COOR was retired because of new NURBS bodies.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 07:39:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Possible-to-change-the-surface-origin/m-p/332964#M2682</guid>
      <dc:creator>Peter Baksa</dc:creator>
      <dc:date>2022-03-22T07:39:08Z</dc:date>
    </item>
  </channel>
</rss>

