State:New|TargetRelease:No Target|icon_bug|icon_katana|database:public|Resolution:Fixed|BugID:434047|
Problem summary
ParentChildContraints resolve only at the instanceSource location and not relative to each instance location.
Customer reported version
Katana 3.2v4
Customer reported platform
CentOS7
Steps to reproduce
1) Add a CameraCreate, two PrimitiveCreate, and a LocationCreate to the Node Graph and merge them
2) Change the location of PrimitiveCreate nodes to /root/world/geo/source/primitive and /root/world/geo/source/parent
3) Between the LocationCreate and the Merge node, connect the following: AttributeSet-->Transform3D
4) In the LocationCreate node, change the type parameter to instance locations field to: /root/world/geo/set/instance
5) In AttributeSet, set the following parameters:
paths: /root/world/geo/set/instance
atributeName: geometry.instanceSource
attributeType: string
stringValue: /root/world/geo/source
6) In Transform3D, set the first value of the translate parameter to 5 and path to: /root/world/geo/set/instance
7) Downstream of the Merge node, connect the following: RenderSettings-->GafferThree-->ParentChildConstraint
8) In GafferThree, change the location to /root/world/geo/source/lgts and add a cylinder light, setting the translate Y to 5
9) In ParentChildConstraint ,set the basePath parameter to the Scene Graph location of the disk light and target path to /root/world/geo/source/parent
10) Downstream of the Merge and ParentChildConstraint nodes connect a LookFileBake. Merge into 'orig' port and ParentChildConstraint into 'default'.
11) In LookFileBake, change rootLocations to /root/world/geo/source and the saveTo Parameter to /tmp/testBake.klf
12) Downstream of the RenderSettings node, connect a new branch consisting of the following: AttributeSet1-->LookFileAssign-->LookFileResolve-->LookFileLightAndConstraintActivator
13) In AttributeSet1, set the following parameters:
paths: /root/world/geo/source
atributeName: type
attributeType: string
stringValue: instance source
14) In LookFileAssign, set CEL to /root/world/geo/source and the asset parameter to /tmp/testBake.klf
15) Bake the lookfile via the LookFileBake node
16) Position the camera so that the primitive is in view
17) Set the View Scene Graph Flag to the LookFileLightAndConstraintActivatorand start a Preview Render (Ctrl + P)
Expected behaviour
ParentChildConstraints should resolve correctly relative to each instance, translating constarined items along the x-axis by +5.
Actual behaviour
ParentChildConstraints gets resolved at the instanceSource's location only, leaving the cylinder light linstance at the origin.
Workaround
Use other constraint types, such as PointConstraint and OrientConstraint
Reproduced by support
This bug has been reproduced in:
3.6v1 - CentOS7 - Windows 10
3.5v3 - CentOS7 - Windows 10
3.5v1 - CentOS7 - Windows 10
3.2v4 - CentOS7 - Windows 10
3.1v1 - CentOS7 - Windows 10
3.0v1 - CentOS7 - Windows 10
2.5v1 - CentOS7
2.0v1 - CentOS7
Earliest version tested
2.0v1 - CentOS7
- This issue appears to be in all versions of the product
We're sorry to hear that
Please tell us why