---------- Forwarded message ----------
From: Daniel Guilliams <dani...@iastate.edu>
Date: Wed, Jun 9, 2010 at 2:26 PM
Subject: Re: Fwd: Ship Export
To: David Kabala <djkab...@gmail.com>


David,

Here is the patch and a quick explanation of the error.

Collada <instance_node> patch:  This patch fixes an error with occurrences
<instance_node> in .dae file importing. Pre-patch, whenever an
<instance_node> was instantiated, the node which the <instance_node> was
referencing (or instancing, as it were) would not show up in the scene.
 This was because the subtree containing the original geometry was being
removed from its parent node, and then being placed under the instanced
node.  For the instances after the first, the subtree containing the
geometry was cloned, so there wasn't any problem.  This patch ensures that
all occurrences of <instance_node> perform a clone instead of simply moving
the subtree from the original node that the <instance_node> is instancing.

A simple example is included.
The file has 3 lipid heads total, two of which are instanced off of the
first.  Pre-patch, only the two instanced lipid heads showed up, and the
lipid head those two were instanced from did not. Material is a phong
shader, from the <profile_COMMON> scheme.

Dan
From e4d7e07a7770a4af544983fd7126e65a50e220d9 Mon Sep 17 00:00:00 2001
From: Daniel Guilliams <dani...@.vrac.iastate.edu>
Date: Wed, 9 Jun 2010 14:03:15 -0500
Subject: [PATCH] Fixed: Collada Instance Node error, where the instanced node 
was inadvertantly being removed from the scene.

---
 Source/System/FileIO/Collada/OSGColladaNode.cpp |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/Source/System/FileIO/Collada/OSGColladaNode.cpp 
b/Source/System/FileIO/Collada/OSGColladaNode.cpp
index 0f20bc7..a385862 100644
--- a/Source/System/FileIO/Collada/OSGColladaNode.cpp
+++ b/Source/System/FileIO/Collada/OSGColladaNode.cpp
@@ -187,14 +187,14 @@ ColladaNode::createInstance(ColladaInstanceElement 
*colInstElem)
 
     NodeUnrecPtr retVal = NULL;
 
-    if(getInstStore().empty() == true)
-    {
-        retVal = _topN;
-    }
-    else
-    {
+   // if(getInstStore().empty() == true)
+   // {
+   //     retVal = _topN;
+   // }
+   // else
+   // {
         retVal = cloneTree(_topN);
-    }
+   // }
 
     editInstStore().push_back(retVal);
 
@@ -399,6 +399,7 @@ ColladaNode::handleNode(domNode *node)
         colNode = dynamic_pointer_cast<ColladaNode>(
             ColladaElementFactory::the()->create(node, getGlobal()));
 
+        colNode->setVisualScene(_visualScene);
         colNode->read();
     }
 
-- 
1.6.5.1.1367.gcd48

<?xml version="1.0" encoding="utf-8"?>
<COLLADA xmlns="http://www.collada.org/2005/11/COLLADASchema"; version="1.4.1">
  <asset>
    <contributor>
      <author>danielg</author>
      <authoring_tool>OpenCOLLADA2010 x64</authoring_tool>
      <comments>
			ColladaMaya export options: 
			bakeTransforms=0;relativePaths=1;copyTextures=0;exportTriangles=0;exportCgfxFileReferences=1;
			isSampling=0;curveConstrainSampling=0;removeStaticCurves=1;exportPolygonMeshes=1;exportLights=1;
			exportCameras=1;exportJointsAndSkin=1;exportAnimations=1;exportInvisibleNodes=0;exportDefaultCameras=0;
			exportTexCoords=1;exportNormals=1;exportNormalsPerVertex=1;exportVertexColors=1;exportVertexColorsPerVertex=1;
			exportTexTangents=0;exportTangents=0;exportReferencedMaterials=1;exportMaterialsOnly=0;
			exportXRefs=1;dereferenceXRefs=1;exportCameraAsLookat=0;cameraXFov=0;cameraYFov=1;doublePrecision=0
		</comments>
      <source_data>file:///C:/Users/danielg/Desktop/CgFX%20Test/lblTest.dae</source_data>
    </contributor>
    <created>2010-06-09T14:11:29</created>
    <modified>2010-06-09T14:11:29</modified>
    <unit name="centimeter" meter="0.01"/>
    <up_axis>Y_UP</up_axis>
  </asset>
  <library_materials>
    <material id="phong1" name="phong1">
      <instance_effect url="#phong1-fx"/>
    </material>
  </library_materials>
  <library_effects>
    <effect id="phong1-fx">
      <profile_COMMON>
        <technique sid="common">
          <phong>
            <emission>
              <color>0 0 0 1</color>
            </emission>
            <ambient>
              <color>0 0 0 1</color>
            </ambient>
            <diffuse>
              <color>0.6589267 0.6672 0.253536 1</color>
            </diffuse>
            <specular>
              <color>0.5 0.5 0.5 1</color>
            </specular>
            <shininess>
              <float>27.108</float>
            </shininess>
            <reflective>
              <color>0 0 0 1</color>
            </reflective>
            <reflectivity>
              <float>0.5</float>
            </reflectivity>
            <transparent opaque="RGB_ZERO">
              <color>0 0 0 1</color>
            </transparent>
            <transparency>
              <float>1</float>
            </transparency>
          </phong>
          <extra/>
        </technique>
      </profile_COMMON>
    </effect>
  </library_effects>
  <library_geometries>
    <geometry id="lipid" name="lipid_geo">
      <mesh>
        <source id="lipid-positions" name="lipid-positions">
          <float_array id="lipid-positions-array" count="222">1.61467 1.304794 1.100842 0.995789 1.415627 -1.456039 1.504517 4.048523 1.075321 0.941132 4.037056 -1.453869 -1.024048 3.997078 1.638889 -1.58754 3.985611 -0.890301 -0.972122 1.375587 1.64106 -1.585464 1.254082 -0.90984 1.732407 0.915314 -0.253861 1.62796 4.475121 -0.28149 -1.728226 4.40683 0.466511 -1.687408 0.857239 0.443668 2.038239 2.754913 1.39769 1.289032 2.748268 -1.959919 0.323837 4.448586 1.770941 -0.424011 4.433365 -1.585918 -1.319321 2.695198 2.144939 -2.0681 2.671364 -1.212669 0.441376 0.889046 1.77804 -0.396271 0.883507 -1.58823 2.186081 2.754921 -0.393871 -0.060852 4.970367 0.09251 -2.215897 2.665359 0.578892 0.03476 0.290947 0.0965 -0.509064 2.700089 -2.107182 0.479324 2.720192 2.2922 -1.653244 0.386925 0.092529 -1.581512 0.671143 -0.85701 -0.74913 0.405319 -1.33033 -0.488281 0.00705 -0.17091 1.638397 0.664047 1.071941 1.721725 0.38298 0.12241 0.81752 0.364578 1.545259 0.57309 -0.044174 0.385849 -2.344635 -4.915031 0.192612 -2.247589 -4.920662 -0.682419 -1.496368 -4.963493 -1.139839 -1.254181 -4.955658 -0.049019 1.779419 -4.890236 0.77076 1.866806 -4.95266 -0.104691 1.021606 -4.887352 1.22233 0.785583 -4.962364 0.141682 -1.993225 -5.869881 -0.03363 -2.063766 -5.893524 -0.578518 -1.539825 -5.895767 -0.745949 -1.428253 -5.892593 -0.17416 1.564743 -5.798897 0.664509 1.617828 -5.84182 0.126671 1.098724 -5.801674 0.941769 0.954254 -5.854126 0.278599 1.363327 -2.555023 0.495449 1.593872 -2.515709 1.599541 2.37175 -2.471878 1.137321 2.460297 -2.498077 0.236141 -2.380341 -1.83242 -0.013298 -1.284882 -1.873543 -0.26704 -1.518265 -1.881599 -1.367588 -2.294601 -1.839378 -0.91077 -2.316864 -1.354233 -0.043541 -1.212357 -1.42688 -0.29813 -1.447784 -1.40387 -1.40876 -2.230103 -1.331566 -0.949211 -2.38382 -2.477333 0.013081 -1.300995 -2.5121 -0.238098 -1.53157 -2.526001 -1.325741 -2.301849 -2.489861 -0.87579 1.521454 -1.969681 1.60751 2.305008 -1.899925 1.141472 2.394775 -1.951912 0.23312 1.289444 -2.035019 0.494431 1.57692 -3.093788 1.54953 2.347733 -3.056396 1.091759 2.435165 -3.076324 0.198952 1.348541 -3.125641 0.455929</float_array>
          <technique_common>
            <accessor source="#lipid-positions-array" count="74" stride="3">
              <param name="X" type="float"/>
              <param name="Y" type="float"/>
              <param name="Z" type="float"/>
            </accessor>
          </technique_common>
        </source>
        <source id="lipid-normals" name="lipid-normals">
          <float_array id="lipid-normals-array" count="864">0.7300068 -0.6430207 -0.2315479 0.4496151 -0.568321 -0.6890991 0.5362799 0.010911 -0.8439698 0.9758604 0.01985501 -0.2174911 0.5362799 0.010911 -0.8439698 0.4261258 0.5861397 -0.6890987 0.6756532 0.7210003 -0.1537901 0.9758604 0.01985501 -0.2174911 0.6756532 0.7210003 -0.1537901 0.677212 0.591248 0.437961 0.8437957 0.01716799 0.5363898 0.9758604 0.01985501 -0.2174911 0.8437957 0.01716799 0.5363898 0.7881209 -0.364375 0.4960809 0.7300068 -0.6430207 -0.2315479 0.9758604 0.01985501 -0.2174911 0.6756532 0.7210003 -0.1537901 0.4261258 0.5861397 -0.6890987 -0.1681421 0.7038321 -0.6901802 -0.020342 0.9997931 0 -0.1681421 0.7038321 -0.6901802 -0.7007003 0.5632133 -0.4379612 -0.704421 0.692921 0.15379 -0.020342 0.9997931 0 -0.704421 0.692921 0.15379 -0.4496151 0.568321 0.6890991 0.139374 0.710089 0.69018 -0.020342 0.9997931 0 0.139374 0.710089 0.69018 0.677212 0.591248 0.437961 0.6756532 0.7210003 -0.1537901 -0.020342 0.9997931 0 -0.704421 0.692921 0.15379 -0.7007003 0.5632133 -0.4379612 -0.843795 -0.017168 -0.536391 -0.9758604 -0.01985501 0.2174911 -0.843795 -0.017168 -0.536391 -0.7726479 -0.3961299 -0.4960809 -0.7032468 -0.6721827 0.2315479 -0.9758604 -0.01985501 0.2174911 -0.7032468 -0.6721827 0.2315479 -0.4261258 -0.5861397 0.6890987 -0.5362791 -0.010911 0.8439702 -0.9758604 -0.01985501 0.2174911 -0.5362791 -0.010911 0.8439702 -0.4496151 0.568321 0.6890991 -0.704421 0.692921 0.15379 -0.9758604 -0.01985501 0.2174911 -0.374215 -0.8006979 0.4678099 -0.5887402 -0.7116632 -0.3833022 0.273867 -0.7875111 -0.552108 0.5903157 -0.7195266 0.3657988 -0.08127998 -0.6595278 -0.7472728 0.4496151 -0.568321 -0.6890991 0.7300068 -0.6430207 -0.2315479 0.020342 -0.9997931 0 0.4335551 -0.7881331 -0.4368941 0.629787 -0.6708869 0.3915089 -0.202078 -0.801066 0.563434 -0.5875403 -0.7130544 -0.3825572 0.108039 -0.655677 0.747272 -0.4261258 -0.5861397 0.6890987 -0.7032468 -0.6721827 0.2315479 0.020342 -0.9997931 0 -0.08127998 -0.6595278 -0.7472728 -0.7726479 -0.3961299 -0.4960809 -0.843795 -0.017168 -0.536391 -0.2174461 -0.004424002 -0.9760624 -0.843795 -0.017168 -0.536391 -0.7007003 0.5632133 -0.4379612 -0.1681421 0.7038321 -0.6901802 -0.2174461 -0.004424002 -0.9760624 -0.1681421 0.7038321 -0.6901802 0.4261258 0.5861397 -0.6890987 0.5362799 0.010911 -0.8439698 -0.2174461 -0.004424002 -0.9760624 0.5362799 0.010911 -0.8439698 0.4496151 -0.568321 -0.6890991 -0.08127998 -0.6595278 -0.7472728 -0.2174461 -0.004424002 -0.9760624 0.108039 -0.655677 0.747272 0.7881209 -0.364375 0.4960809 0.8437957 0.01716799 0.5363898 0.2174461 0.004424002 0.9760624 0.8437957 0.01716799 0.5363898 0.677212 0.591248 0.437961 0.139374 0.710089 0.69018 0.2174461 0.004424002 0.9760624 0.139374 0.710089 0.69018 -0.4496151 0.568321 0.6890991 -0.5362791 -0.010911 0.8439702 0.2174461 0.004424002 0.9760624 -0.5362791 -0.010911 0.8439702 -0.4261258 -0.5861397 0.6890987 0.108039 -0.655677 0.747272 0.2174461 0.004424002 0.9760624 -0.7032468 -0.6721827 0.2315479 -0.7726479 -0.3961299 -0.4960809 -0.8221533 -0.2194791 -0.5252552 -0.7442332 -0.5164551 0.4235461 -0.7726479 -0.3961299 -0.4960809 -0.08127998 -0.6595278 -0.7472728 0.07328499 -0.4998209 -0.8630229 -0.8221533 -0.2194791 -0.5252552 -0.08127998 -0.6595278 -0.7472728 0.020342 -0.9997931 0 0.5675733 -0.7447444 0.3510222 0.07328499 -0.4998209 -0.8630229 0.020342 -0.9997931 0 -0.7032468 -0.6721827 0.2315479 -0.7442332 -0.5164551 0.4235461 0.5675733 -0.7447444 0.3510222 0.7300068 -0.6430207 -0.2315479 0.7881209 -0.364375 0.4960809 0.830401 -0.185856 0.525254 0.7646241 -0.4857561 -0.423546 0.7881209 -0.364375 0.4960809 0.108039 -0.655677 0.747272 -0.05289299 -0.5023899 0.8630219 0.830401 -0.185856 0.525254 0.108039 -0.655677 0.747272 0.020342 -0.9997931 0 -0.536809 -0.767216 -0.351021 -0.05289299 -0.5023899 0.8630219 0.020342 -0.9997931 0 0.7300068 -0.6430207 -0.2315479 0.7646241 -0.4857561 -0.423546 -0.536809 -0.767216 -0.351021 -0.7442332 -0.5164551 0.4235461 -0.8221533 -0.2194791 -0.5252552 -0.8033761 0.305471 -0.5111501 -0.6186407 0.1388489 0.7733076 -0.8221533 -0.2194791 -0.5252552 0.07328499 -0.4998209 -0.8630229 0.3530031 -0.141422 -0.9248723 -0.8033761 0.305471 -0.5111501 0.07328499 -0.4998209 -0.8630229 0.5675733 -0.7447444 0.3510222 0.7727159 -0.3843509 0.5051579 0.3530031 -0.141422 -0.9248723 0.5675733 -0.7447444 0.3510222 -0.7442332 -0.5164551 0.4235461 -0.6186407 0.1388489 0.7733076 0.7727159 -0.3843509 0.5051579 0.7646241 -0.4857561 -0.423546 0.830401 -0.185856 0.525254 0.8199159 0.240141 0.5196829 0.628802 0.124658 -0.767508 0.830401 -0.185856 0.525254 -0.05289299 -0.5023899 0.8630219 -0.369555 -0.112767 0.9223409 0.8199159 0.240141 0.5196829 -0.05289299 -0.5023899 0.8630219 -0.536809 -0.767216 -0.351021 -0.8055662 -0.2916801 -0.5157381 -0.369555 -0.112767 0.9223409 -0.536809 -0.767216 -0.351021 0.7646241 -0.4857561 -0.423546 0.628802 0.124658 -0.767508 -0.8055662 -0.2916801 -0.5157381 -0.6292217 -0.2370139 0.7402058 -0.8266959 -0.194877 -0.5278229 -0.5887402 -0.7116632 -0.3833022 -0.374215 -0.8006979 0.4678099 -0.8266959 -0.194877 -0.5278229 0.4055149 -0.215961 -0.8882109 0.273867 -0.7875111 -0.552108 -0.5887402 -0.7116632 -0.3833022 0.4055149 -0.215961 -0.8882109 0.836165 -0.143142 0.52947 0.5903157 -0.7195266 0.3657988 0.273867 -0.7875111 -0.552108 0.836165 -0.143142 0.52947 -0.6292217 -0.2370139 0.7402058 -0.374215 -0.8006979 0.4678099 0.5903157 -0.7195266 0.3657988 0.6507297 -0.1953669 -0.7337456 0.8330669 -0.167555 0.5271859 0.629787 -0.6708869 0.3915089 0.4335551 -0.7881331 -0.4368941 0.8330669 -0.167555 0.5271859 -0.3854708 -0.2164499 0.8969737 -0.202078 -0.801066 0.563434 0.629787 -0.6708869 0.3915089 -0.3854708 -0.2164499 0.8969737 -0.836469 -0.126762 -0.533152 -0.5875403 -0.7130544 -0.3825572 -0.202078 -0.801066 0.563434 -0.836469 -0.126762 -0.533152 0.6507297 -0.1953669 -0.7337456 0.4335551 -0.7881331 -0.4368941 -0.5875403 -0.7130544 -0.3825572 -0.3873269 -0.007880998 0.9219087 -0.843795 -0.017168 -0.536391 -0.8439161 0.05850101 -0.5332761 -0.4025958 -0.06652097 0.9129576 0.843795 0.017168 0.536391 -0.3873269 -0.007880998 0.9219087 -0.4025958 -0.06652097 0.9129576 0.8425257 -0.07680197 0.5331528 0.670072 0.013634 -0.7421709 0.843795 0.017168 0.536391 0.8425257 -0.07680197 0.5331528 0.6578053 0.02059801 -0.7529064 -0.843795 -0.017168 -0.536391 0.670072 0.013634 -0.7421709 0.6578053 0.02059801 -0.7529064 -0.8439161 0.05850101 -0.5332761 0.843795 0.017168 0.536391 -0.670072 -0.013634 0.7421709 -0.6575941 0.036163 0.7525041 0.8437937 0.003258999 0.5366578 0.3873269 0.007880998 -0.9219087 0.843795 0.017168 0.536391 0.8437937 0.003258999 0.5366578 0.4025578 -0.06571598 -0.9130327 -0.843795 -0.017168 -0.536391 0.3873269 0.007880998 -0.9219087 0.4025578 -0.06571598 -0.9130327 -0.8438979 -0.02204 -0.5360509 -0.670072 -0.013634 0.7421709 -0.843795 -0.017168 -0.536391 -0.8438979 -0.02204 -0.5360509 -0.6575941 0.036163 0.7525041 0.8367523 -0.09418304 0.5394212 -0.6487968 0.130376 0.7497098 -0.670072 -0.013634 0.7421709 0.843795 0.017168 0.536391 0.3900971 -0.141057 -0.9099051 0.8367523 -0.09418304 0.5394212 0.843795 0.017168 0.536391 0.3873269 0.007880998 -0.9219087 -0.8406298 0.06837498 -0.5372769 0.3900971 -0.141057 -0.9099051 0.3873269 0.007880998 -0.9219087 -0.843795 -0.017168 -0.536391 -0.6487968 0.130376 0.7497098 -0.8406298 0.06837498 -0.5372769 -0.843795 -0.017168 -0.536391 -0.670072 -0.013634 0.7421709 0.8437318 0.05444199 0.5339969 -0.6623962 0.04335601 0.7478982 -0.6292217 -0.2370139 0.7402058 0.836165 -0.143142 0.52947 0.3977591 -0.065106 -0.9151771 0.8437318 0.05444199 0.5339969 0.836165 -0.143142 0.52947 0.4055149 -0.215961 -0.8882109 -0.843403 -0.057508 -0.534195 0.3977591 -0.065106 -0.9151771 0.4055149 -0.215961 -0.8882109 -0.8266959 -0.194877 -0.5278229 -0.6623962 0.04335601 0.7478982 -0.843403 -0.057508 -0.534195 -0.8266959 -0.194877 -0.5278229 -0.6292217 -0.2370139 0.7402058 0.8397069 0.09579998 0.534523 -0.3954719 -0.06895798 0.9158857 -0.3873269 -0.007880998 0.9219087 0.843795 0.017168 0.536391 0.652109 0.07144899 -0.7547509 0.8397069 0.09579998 0.534523 0.843795 0.017168 0.536391 0.670072 0.013634 -0.7421709 -0.8368473 -0.11733 -0.5347152 0.652109 0.07144899 -0.7547509 0.670072 0.013634 -0.7421709 -0.843795 -0.017168 -0.536391 -0.3954719 -0.06895798 0.9158857 -0.8368473 -0.11733 -0.5347152 -0.843795 -0.017168 -0.536391 -0.3873269 -0.007880998 0.9219087 0.7926989 -0.334249 0.5098099 -0.4110771 -0.03656001 0.9108672 -0.3854708 -0.2164499 0.8969737 0.8330669 -0.167555 0.5271859 0.6487932 -0.07323901 -0.7574322 0.7926989 -0.334249 0.5098099 0.8330669 -0.167555 0.5271859 0.6507297 -0.1953669 -0.7337456 -0.7936178 0.3279129 -0.5124879 0.6487932 -0.07323901 -0.7574322 0.6507297 -0.1953669 -0.7337456 -0.836469 -0.126762 -0.533152 -0.4110771 -0.03656001 0.9108672 -0.7936178 0.3279129 -0.5124879 -0.836469 -0.126762 -0.533152 -0.3854708 -0.2164499 0.8969737</float_array>
          <technique_common>
            <accessor source="#lipid-normals-array" count="288" stride="3">
              <param name="X" type="float"/>
              <param name="Y" type="float"/>
              <param name="Z" type="float"/>
            </accessor>
          </technique_common>
        </source>
        <source id="lipid-lipid-lipid-lipid-lipid-map1" name="lipid-lipid-lipid-lipid-lipid-map1">
          <float_array id="lipid-lipid-lipid-lipid-lipid-map1-array" count="330">0.098005 0.39519 0.167998 0.425186 0.197335 0.502413 0.106156 0.50174 0.167872 0.577846 0.099613 0.602531 0.001848 0.50191 0.019131 0.418001 0.020617 0.577846 0.020814 0.380678 0.076097 0.364216 0.016765 0.23064 0.069652 0.227504 0.017007 0.197265 0.069476 0.195637 0.01966 0.163272 0.071641 0.162006 0.038349 0.057191 0.08932 0.053456 0.044535 0.004556 0.07585 0.001992 0.367355 0.605632 0.435614 0.646133 0.443302 0.725129 0.34558 0.703354 0.402802 0.793388 0.323806 0.801076 0.247859 0.681579 0.288359 0.613321 0.255547 0.760576 0.524609 0.60118 0.445613 0.576495 0.426843 0.500559 0.531152 0.500389 0.444475 0.41749 0.523279 0.39451 0.622331 0.501061 0.592868 0.576495 0.447551 0.38355 0.502835 0.367092 0.592994 0.423835 0.442182 0.267743 0.494913 0.266526 0.444421 0.238256 0.496674 0.238766 0.446458 0.200402 0.498209 0.201227 0.457716 0.058843 0.508662 0.059281 0.463765 0.001992 0.49549 0.003286 0.051353 0.775362 0.047222 0.743638 0.077717 0.73389 0.084217 0.767181 0.144079 0.730188 0.151776 0.648519 0.221769 0.606233 0.242168 0.705793 0.226598 0.736578 0.159095 0.751292 0.040493 0.73389 0.037453 0.765204 0.010321 0.781346 0.001848 0.742736 0.138388 0.606233 0.130413 0.687935 0.060699 0.730188 0.040485 0.630606 0.319412 0.208662 0.25063 0.185682 0.224213 0.102614 0.314999 0.102783 0.298308 0.236081 0.25017 0.219622 0.253745 0.026677 0.322003 0.001992 0.419725 0.102111 0.40108 0.179337 0.255498 0.340563 0.210042 0.335429 0.401 0.026677 0.250827 0.368291 0.205689 0.364916 0.249291 0.405786 0.204494 0.40277 0.248451 0.547714 0.204777 0.544329 0.244821 0.60193 0.214325 0.60118 0.729656 0.392626 0.798446 0.415437 0.824821 0.499346 0.734035 0.499176 0.750936 0.361652 0.799074 0.378114 0.795289 0.575282 0.72703 0.599967 0.629309 0.499849 0.647954 0.422622 0.789147 0.22494 0.834835 0.228076 0.648034 0.575282 0.792715 0.193072 0.838046 0.194701 0.791042 0.159442 0.835957 0.160707 0.756593 0.055698 0.800704 0.054627 0.759999 0.00238 0.78713 0.001992 0.925688 0.961881 0.826106 0.996884 0.827539 0.969466 0.894904 0.945971 0.786852 0.8689 0.851054 0.863361 0.782584 0.84114 0.846304 0.837447 0.781622 0.803601 0.84461 0.800296 0.781017 0.661655 0.844443 0.657999 0.800339 0.60566 0.833202 0.603669 0.631754 0.998008 0.533851 0.963675 0.550697 0.943532 0.618201 0.967033 0.557019 0.826796 0.621825 0.830322 0.557079 0.796438 0.621361 0.798454 0.554777 0.763239 0.61845 0.764824 0.536481 0.65699 0.599399 0.66108 0.544453 0.604882 0.583064 0.607762 0.637444 0.638002 0.737004 0.603669 0.735747 0.634644 0.668383 0.658146 0.772165 0.771355 0.707722 0.774881 0.775327 0.803223 0.711407 0.805239 0.773179 0.836854 0.70987 0.838439 0.737876 0.945404 0.674926 0.944688 0.722331 0.996868 0.683686 0.996795 0.523594 0.970732 0.45609 0.947237 0.463497 0.864627 0.52816 0.866249 0.461687 0.838713 0.525763 0.838521 0.460002 0.801562 0.523327 0.801027 0.448993 0.659265 0.512503 0.659099 0.456279 0.604935 0.48957 0.604882</float_array>
          <technique_common>
            <accessor source="#lipid-lipid-lipid-lipid-lipid-map1-array" count="165" stride="2">
              <param name="S" type="float"/>
              <param name="T" type="float"/>
            </accessor>
          </technique_common>
        </source>
        <vertices id="lipid-vertices" name="lipid-vertices">
          <input semantic="POSITION" source="#lipid-positions"/>
        </vertices>
        <polylist material="phong1SG" count="72">
          <input semantic="VERTEX" source="#lipid-vertices" offset="0"/>
          <input semantic="NORMAL" source="#lipid-normals" offset="1"/>
          <input semantic="TEXCOORD" source="#lipid-lipid-lipid-lipid-lipid-map1" offset="2" set="0"/>
          <vcount>4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4</vcount>
          <p>8 0 0 1 1 1 13 2 2 20 3 3 13 4 2 3 5 4 9 6 5 20 7 3 9 8 5 2 9 8 12 10 6 20 11 3 12 12 6 0 13 7 8 14 0 20 15 3 9 16 21 3 17 22 15 18 23 21 19 24 15 20 23 5 21 25 10 22 26 21 23 24 10 24 26 4 25 29 14 26 27 21 27 24 14 28 27 2 29 28 9 30 21 21 31 24 10 32 30 5 33 31 17 34 32 22 35 33 17 36 32 7 37 34 11 38 35 22 39 33 11 40 35 6 41 40 16 42 36 22 43 33 16 44 36 4 45 37 10 46 30 22 47 33 42 48 51 43 49 52 44 50 53 45 51 54 19 52 55 1 53 56 8 54 57 23 55 58 47 56 61 46 57 62 48 58 63 49 59 64 18 60 65 6 61 66 11 62 67 23 63 68 19 64 69 7 65 70 17 66 71 24 67 72 17 68 71 5 69 75 15 70 76 24 71 72 15 72 76 3 73 81 13 74 77 24 75 72 13 76 77 1 77 78 19 78 69 24 79 72 18 80 90 0 81 91 12 82 92 25 83 93 12 84 92 2 85 96 14 86 97 25 87 93 14 88 97 4 89 102 16 90 98 25 91 93 16 92 98 6 93 99 18 94 90 25 95 93 11 96 35 7 97 34 27 98 38 26 99 39 7 100 70 19 101 69 28 102 73 27 103 74 19 104 55 23 105 58 29 106 59 28 107 60 23 108 111 11 109 112 26 110 113 29 111 114 8 112 0 0 113 7 30 114 9 31 115 10 0 116 91 18 117 90 32 118 94 30 119 95 18 120 125 23 121 126 33 122 127 32 123 128 23 124 139 8 125 140 31 126 141 33 127 142 26 128 39 27 129 38 61 130 41 58 131 42 27 132 74 28 133 73 60 134 79 61 135 80 28 136 153 29 137 154 59 138 155 60 139 156 29 140 114 26 141 113 58 142 115 59 143 116 31 144 10 30 145 9 67 146 11 68 147 12 30 148 95 32 149 94 66 150 100 67 151 101 32 152 128 33 153 127 69 154 129 66 155 130 33 156 142 31 157 141 68 158 143 69 159 144 34 160 48 35 161 47 43 162 49 42 163 50 35 164 87 36 165 86 44 166 88 43 167 89 36 168 162 37 169 161 45 170 163 44 171 164 37 172 122 34 173 121 42 174 123 45 175 124 39 176 18 38 177 17 46 178 19 47 179 20 38 180 108 40 181 107 48 182 109 46 183 110 40 184 136 41 185 135 49 186 137 48 187 138 41 188 150 39 189 149 47 190 151 49 191 152 51 192 132 50 193 131 73 194 133 70 195 134 52 196 104 51 197 103 70 198 105 71 199 106 53 200 14 52 201 13 71 202 15 72 203 16 50 204 146 53 205 145 72 206 147 73 207 148 55 208 118 54 209 117 62 210 119 63 211 120 56 212 158 55 213 157 63 214 159 64 215 160 57 216 83 56 217 82 64 218 84 65 219 85 54 220 44 57 221 43 65 222 45 62 223 46 59 224 116 58 225 115 54 226 117 55 227 118 60 228 156 59 229 155 55 230 157 56 231 158 61 232 80 60 233 79 56 234 82 57 235 83 58 236 42 61 237 41 57 238 43 54 239 44 63 240 120 62 241 119 34 242 121 37 243 122 64 244 160 63 245 159 37 246 161 36 247 162 65 248 85 64 249 84 36 250 86 35 251 87 62 252 46 65 253 45 35 254 47 34 255 48 67 256 101 66 257 100 51 258 103 52 259 104 68 260 12 67 261 11 52 262 13 53 263 14 69 264 144 68 265 143 53 266 145 50 267 146 66 268 130 69 269 129 50 270 131 51 271 132 71 272 106 70 273 105 40 274 107 38 275 108 72 276 16 71 277 15 38 278 17 39 279 18 73 280 148 72 281 147 39 282 149 41 283 150 70 284 134 73 285 133 41 286 135 40 287 136</p>
        </polylist>
      </mesh>
      <extra>
        <technique profile="OpenCOLLADAMaya">
          <originalMayaNodeId>lipid_geo</originalMayaNodeId>
          <double_sided>1</double_sided>
        </technique>
      </extra>
    </geometry>
  </library_geometries>
  <library_visual_scenes>
    <visual_scene id="VisualSceneNode" name="lblTest">
      <node id="Lipid_GRP" name="Lipid_GRP" type="NODE">
        <translate sid="translate">0 0 0</translate>
        <rotate sid="rotateZ">0 0 1 0</rotate>
        <rotate sid="rotateY">0 1 0 0</rotate>
        <rotate sid="rotateX">1 0 0 0</rotate>
        <scale sid="scale">1 1 1</scale>
        <node id="lipid8" name="Lipid" type="NODE">
          <translate sid="translate">0 0 0</translate>
          <translate sid="scalePivot">0.038239 -0.4627 0.092509</translate>
          <scale sid="scale">1 1 1</scale>
          <translate sid="scalePivotInverse">-0.038239 0.4627 -0.092509</translate>
          <instance_geometry url="#lipid">
            <bind_material>
              <technique_common>
                <instance_material symbol="phong1SG" target="#phong1"/>
              </technique_common>
            </bind_material>
          </instance_geometry>
          <extra>
            <technique profile="OpenCOLLADAMaya">
              <originalMayaNodeId>Lipid</originalMayaNodeId>
            </technique>
          </extra>
        </node>
        <extra>
          <technique profile="OpenCOLLADAMaya">
            <originalMayaNodeId>Lipid_GRP</originalMayaNodeId>
          </technique>
        </extra>
      </node>
      <node id="Lipid_GRP1" name="Lipid_GRP1" type="NODE">
        <translate sid="translate">-4 0 0</translate>
        <scale sid="scale">1 1 1</scale>
        <instance_node url="#lipid8"/>
        <extra>
          <technique profile="OpenCOLLADAMaya">
            <originalMayaNodeId>Lipid_GRP1</originalMayaNodeId>
          </technique>
        </extra>
      </node>
      <node id="Lipid_GRP21" name="Lipid_GRP21" type="NODE">
        <translate sid="translate">-4 -8 0</translate>
        <rotate sid="rotateZ">0 0 1 -180</rotate>
        <scale sid="scale">1 1 1</scale>
        <instance_node url="#lipid8"/>
        <extra>
          <technique profile="OpenCOLLADAMaya">
            <originalMayaNodeId>Lipid_GRP21</originalMayaNodeId>
          </technique>
        </extra>
      </node>
    </visual_scene>
  </library_visual_scenes>
  <scene>
    <instance_visual_scene url="#VisualSceneNode"/>
  </scene>
</COLLADA>
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to