Results 1 to 4 of 4

Thread: <double_sided>

  1. #1
    Junior Member
    Join Date
    Sep 2007
    Location
    Armenia
    Posts
    6

    <double_sided>

    Hi,

    My question is about the undocumented <double_sided> element.
    Look at this:
    </profile_COMMON>
    .........
    <extra>
    <technique profile="GOOGLEEARTH">
    <double_sided>1</double_sided>
    </technique>
    </extra>
    </profile_COMMON>

    This file is rendered ok in GoogleEarth but not in my parser app.
    The problem is that the effects that has no textures in them are rendered above the textures such that these textures become invisible.
    Next, the effects with textures in them have the abovementioned <double_sided> element. So I'm almost sure that by considering this element GoogleEarth draws those textures correctly.

    Do you know how to handle <double_sided> element?
    What does its content ( 1 ) means?
    Is there any <one_sided> element by default?

    Your answers will be highly appreciated!
    Thanks very much.
    --
    Arman

  2. #2
    Senior Member
    Join Date
    Jan 2006
    Location
    Foster City, CA
    Posts
    540
    The <double_sided> element used by Google there looks to be a standard xs:boolean type. So "1" or "true" means render double-sided, and "0" or "false" means render single-sided.

  3. #3
    Junior Member
    Join Date
    Sep 2007
    Location
    Armenia
    Posts
    6
    Thanks for your input.
    Anyway do you know how this <double_sided> element can help with drawing the textures above the materials?
    Currently what I have is that my materials are drawn above the textures, and I don't know how to handle this element...
    --
    Arman

  4. #4
    Senior Member
    Join Date
    Jan 2006
    Location
    Foster City, CA
    Posts
    540
    Sorry, I'm not familiar with that problem. It sounds like it could be a bug in your renderer. Can you render textured Collada models from other sources (Max, SoftImage, etc) ok?

Posting Permissions

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