|
Post by wesley on May 21, 2012 22:01:55 GMT -5
hi, is it possible to output rib archive that records relative transformation rather than absolute transformation? I think changing Transform to concatTransform in rib can do the trick, so that I can prepare some crowd assets and then populate (for 3delight, duplicate the rib archive node and translate it elsewhere) that crowd quickly in a scene. Using Transform makes the crowd always appear in the same position, no matter what transformation is above the rib archive.
|
|
|
Post by Yeah YANG on May 22, 2012 11:15:40 GMT -5
There is a transform info in rib is that can be used?? And the points on mesh are deformed by bones in world space. AttributeBegin # { Attribute "identifier" "name" [ "|pCube1|pCubeShape1" ] Attribute "displacementbound" "sphere" [ 1 ] ConcatTransform [ 1 0 0 0 0 1 0 0 0 0 1 0 3.73144 1.0786586 5.4766983 1 ] ShadingInterpolation "smooth" Surface "McdTxtPlastic" "Ks" [ 0 ] "Kd" [ 0.8 ] "Ka" [ 1 ] "roughness" [ 0.1 ] "diffusecolor" [ 0.5 0.5 0.5 ] "specularcolor" [ 0 0 0 ] "mapname" [ "" ] PointsGeneralPolygons [ 1 1 1 1 1 1 ] [ 4 4 4 4 4 4 ] [ 2 3 1 0 4 5 3 2 6 7 5 4 0 1 7 6 3 5 7 1 4 2 0 6 ] "vertex point P" [ -0.66770714 -1.0786586 0.54506766 0.66770714 -1.0786586 0.54506766 -0.66770714 1.0786586 0.54506766 0.66770714 1.0786586 0.54506766 -0.66770714 1.0786586 -0.54506766 0.66770714 1.0786586 -0.54506766 -0.66770714 -1.0786586 -0.54506766 0.66770714 -1.0786586 -0.54506766 ] hi, is it possible to output rib archive that records relative transformation rather than absolute transformation? I think changing Transform to concatTransform in rib can do the trick, so that I can prepare some crowd assets and then populate (for 3delight, duplicate the rib archive node and translate it elsewhere) that crowd quickly in a scene. Using Transform makes the crowd always appear in the same position, no matter what transformation is above the rib archive.
|
|
|
Post by eddgarpv on May 23, 2012 8:56:57 GMT -5
I did a small test exporting rib archive, reading with 3delight and duplicating these nodes with transformations and it works... can you post a scene or rib which isn't working?
|
|
|
Post by wesley on May 26, 2012 10:15:13 GMT -5
I think I got Transform inside the rib archive instead of ConcatTransform, anyway I'll try again and will also try to ignore the transform in rib archive by using delightGeoAttrib node in 3delight for maya.
|
|