Weird Invisible Link

Post Reply
User avatar
clintonman
Captain
Posts: 5422
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Weird Invisible Link

Post by clintonman »

InvisibleLink.jpg
I wanted to see what would happen if I ran a script on an item inside a group. It worked when run on a group child item which was a surprise. The script will normally create a transparent purple line box and attach the box to the object when both are at the top level of the scene and not grouped in any way. The WldMatrix of the object is connected to the ObjMatrix of the purple box and the connection is visible in the link editor. The thing is there are no visible links between the two objects.

If you go inside KL18301, select KL18301_Drawer3 and move it in the 3D view, the UBX_KL18301_Drawer3 will move with it. :shock: With no visible connection between them.

I've never seen anything so mysterious. If you open the scene be careful, cause this is weird stuff.
Attachments
InvisibleLink.RsScn
(1.78 MiB) Downloaded 82 times
Clinton Reese

http://clintons3d.com
User avatar
trueBlue
Captain
Posts: 5208
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Weird Invisible Link

Post by trueBlue »

Very strange indeed :shock:
I can not Expand the UBX_KL18301_Drawer3-colonly's OwnerMatrix
It does not have a Material
The name for the ORA is CollisionTemplate
stan
Master Chief Petty Officer
Posts: 580
Joined: 21 May 2009, 17:20

Re: Weird Invisible Link

Post by stan »

I can not Expand the UBX_KL18301_Drawer3-colonly's OwnerMatrix
same for me but if you disconnect it from inside it will not move with the drawer. Reconnect and it will. Seems the matrix info is just in the outer connector not the transform node.
User avatar
trueBlue
Captain
Posts: 5208
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Weird Invisible Link

Post by trueBlue »

Go inside the UBX_KL18301_Drawer3-colonly object and disconnect all of the Transform's connectors
Go Outside and delete the OwnerMatrix
Funky OwnerMatrix.png
Funky OwnerMatrix.png (7.28 KiB) Viewed 1474 times
Note this is not normal as the OwnerMatrix should not be there when you disconnect the Transform
User avatar
clintonman
Captain
Posts: 5422
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Weird Invisible Link

Post by clintonman »

Here is a minimal demo. A cube and a grouped sphere. Run the script to try it out. It shows that the Node.ConnectTo can make connections that can't be shown in the link editor.

If you run the command

System.Trace(Node.LinkedInputNode(cube, "OwnerMatrix", 0))

it confirms the link from the cube to the sphere inside the group.
Attachments
Invisible Connection Demo.RsScn
(1.45 MiB) Downloaded 85 times
Clinton Reese

http://clintons3d.com
User avatar
trueBlue
Captain
Posts: 5208
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Weird Invisible Link

Post by trueBlue »

This is true for 2D encapsulated objects too
User avatar
spacekdet
Captain
Posts: 1798
Joined: 27 May 2009, 15:00
Type the number ten into the box: 10
Location: On the day shift at the Utility Muffin Research Kitchen
Contact:

Re: Weird Invisible Link

Post by spacekdet »

connex.jpg
User avatar
clintonman
Captain
Posts: 5422
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Weird Invisible Link

Post by clintonman »

I loved that show and book. Some of the connections were kind of tenuous but it was still good stuff.
Clinton Reese

http://clintons3d.com
User avatar
trueBlue
Captain
Posts: 5208
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Weird Invisible Link

Post by trueBlue »

There is Invisible Links with the VRay scripts too
Even more ODD :shock:, is the VRay Background script connecting an Input to an Input, verses an Output to an Input
Not sure how it even works, but it does

Code: Select all

Node.ConnectTo("%THIS_NAME%", "Background_Color", Space.CurrentScene() + "/PhotoRender", "Background Color")
Note: This screenshot shows no connections after running the above script
VRay Background Color.png
VRay Background Color.png (6.47 KiB) Viewed 1437 times
Post Reply