Page 1 of 1

finding igs syntax and semantic tutorial

Posted: Tue Mar 29, 2011 7:46 pm
by moraton
hello,
I don't find a tutorial or a technical reference who can help me about the igs file syntax and semantic. Do anybody know where I can fint it?
For example if I have this piece of code:

Code: Select all

<background_settings>
  <background_material>
    <material>
      <name>background_material</name>
        <diffuse>
          <texture>
            <uv_set>albedo</uv_set>
            <path>C:\MyTexture.bmp</path>
            <exponent>1</exponent>
            <tex_coord_generation>
              <spherical>
                <rotation>
                  <axis_rotation>
                    <axis>0 0 0</axis>
                    <angle>1.6</angle>
                  </axis_rotation>
                </rotation>
           .... and so on ....
How can I set, for example, "<axis>" and "<angle>" parameters? What do they mean?

thanks for any kind of help!
bye!

Re: finding igs syntax and semantic tutorial

Posted: Wed Mar 30, 2011 4:50 am
by CTZn
Hi moraton, for what I can say axis is a 3d vector around wich the spherical projection is oriented/rotated, and angle is the amount of rotation expressed in radians.

1.6 radians ~= 90°+

Re: finding igs syntax and semantic tutorial

Posted: Wed Mar 30, 2011 9:15 pm
by moraton
CTZn wrote:Hi moraton, for what I can say axis is a 3d vector around wich the spherical projection is oriented/rotated, and angle is the amount of rotation expressed in radians.

1.6 radians ~= 90°+
Thank you, but what about the tutorial of igs syntax and semantic? Is there nothing?

Re: finding igs syntax and semantic tutorial

Posted: Thu Mar 31, 2011 10:13 am
by CTZn
Nothing official beside the technical documentation. Many code snippets can be found throughout the site, though. Check also the Indigo release threads where new functions were intoduced.

ISL is aimed at coders and operators with a former knowledge in shading bits.

Re: finding igs syntax and semantic tutorial

Posted: Thu Mar 31, 2011 8:56 pm
by galinette
Maybe you are just looking for the technical documentation, it can be found here:
http://www.indigorenderer.com/support

It's not totally up to date, though.

Etienne

Re: finding igs syntax and semantic tutorial

Posted: Fri Apr 01, 2011 12:29 am
by moraton
Thank you so much, now I understand how it work.

Thanks again

Re: finding igs syntax and semantic tutorial

Posted: Fri Apr 01, 2011 3:41 pm
by CTZn
I wasn't clear enough, sorry moraton: the technical reference PDF is also shipped with Indigo :)