Part of the Khronos Group
Results 1 to 2 of 2

Thread: Double-sided materials

  1. #1
    Junior Member
    Join Date
    Jun 2011
    Posts
    6

    Double-sided materials

    Hi all,

    I would like to see an example of usage for the DOUBLE_SIDED semantic attribute or name. In the specifications, there is an example:

    <newparam sid="blah">
    <semantic>DOUBLE_SIDED</semantic>
    <float>1.0</float>
    </newparam>

    Unfortunately, this has no context nor does it seem to work for me. What element is this embedded in? There is very little documentation for this feature, so I would appreciate a concrete example.

    I tried the following with no success.

    <effect id="Effect18986">
    <profile_COMMON>
    <newparam sid="doublesided">
    <semantic>DOUBLE_SIDED</semantic>
    <float>1</float>
    </newparam>
    <technique sid="Finishes_x0020_-_x0020_Interior_x0020_-_x0020_Gypsum_x0020_Wall_x0020_Board">
    <phong>
    <diffuse>
    <color>0.976471 0.976471 0.976471 1.000000</color>
    </diffuse>
    </phong>
    </technique>
    </profile_COMMON>
    </effect>

  2. #2
    Super Moderator
    Join Date
    Aug 2004
    Location
    California
    Posts
    773

    Re: Double-sided materials

    The application your developing or testing with has to support parameters in effects and that one in particular. I'm guessing it doesn't (yet) and so the parameter is ignored.

    You declare your <newparam> in the effect (or profile) and if you want to change its value then you can do that with a <setparam> in the appropriate material's <instance_effect>.

Similar Threads

  1. how to store double-precision values
    By rdiankov in forum Implementation Discussions
    Replies: 5
    Last Post: 01-09-2012, 11:11 PM
  2. How to create a double sided texture.
    By geosh in forum Content Discussions
    Replies: 7
    Last Post: 07-19-2011, 08:57 PM
  3. Collada Max 1.04 - UVmaps, map amount, 2-sided, etc ????
    By mirouille in forum Implementation Discussions
    Replies: 8
    Last Post: 07-11-2006, 07:39 PM
  4. materials
    By robthebloke in forum Design Discussions
    Replies: 4
    Last Post: 01-10-2006, 07:21 PM
  5. double sided geometry
    By kevt in forum Design Discussions
    Replies: 2
    Last Post: 10-31-2005, 05:05 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •