Rivets

   4199   7   1
User Avatar
Member
3 posts
Joined: Feb. 2019
Offline
Hey guys,

I'm trying to model a lamp-post to then attach to then copy to a number of points on a spline. Ideally I want to have a light attached to the geometry rather than hand placing lights.

I've read here that a rivet could perform the job - https://www.sidefx.com/forum/topic/16450/?page=1#post-77817 [www.sidefx.com]

I am struggling though to get it working properly, could anyone help me diagnose why? I've attached two images to show my process.

Attachments:
1.PNG (57.6 KB)
2.PNG (399.9 KB)

User Avatar
Member
540 posts
Joined: Nov. 2016
Offline
What are the error messages? Do you have the up and N attributes on your point?
User Avatar
Member
738 posts
Joined: Dec. 2006
Offline
I think you need at least 3 points for a rivet. Have you tried sticky?
Sean Lewkiw
CG Supervisor
Machine FX - Cinesite MTL
User Avatar
Member
540 posts
Joined: Nov. 2016
Offline
mrCatfish
I think you need at least 3 points for a rivet. Have you tried sticky?

It will still work as a position constraint with one or two points, but you won't have orientation unless you have the x and z axis attributes on your point(s) (usually N and up).
User Avatar
Member
3 posts
Joined: Feb. 2019
Offline
Thanks for the replies guys.

Tanto
What are the error messages? Do you have the up and N attributes on your point?
These are my error messages -
Error
Invalid point group top_point.
Error
No points available to attach the rivet object to.
Error
Error cooking transform of /obj/rivet1 (as child to world)

The top_point group is within my Geometry node but I cant really access rivets within the geo node so I'm not sure why it isnt being picked up

mrCatfish
I think you need at least 3 points for a rivet. Have you tried sticky?
Do you know how i can apply the different axis onto my point?

I get this error when i try sticky -

Error
Error cooking transform of /obj/lamp_post (as local)

Tanto
mrCatfish
I think you need at least 3 points for a rivet. Have you tried sticky?

It will still work as a position constraint with one or two points, but you won't have orientation unless you have the x and z axis attributes on your point(s) (usually N and up).

Based on my error message above it sounds as though your right here, but my light is stuck to the ground before I'm even worrying about any orientation. Is there a way to add the Y axis to the operation?
User Avatar
Member
738 posts
Joined: Dec. 2006
Offline
Can you post your hip file? If the group is not accessible from the dropdown in the rivet node, then it either isn't a point group or it just doesn't exist. Can you access the group via the drop-down or are you typing it in manually?
Sean Lewkiw
CG Supervisor
Machine FX - Cinesite MTL
User Avatar
Member
3 posts
Joined: Feb. 2019
Offline
Sure I'll upload it, I selected the group from the drop-down.

Attachments:
Rivet Troubleshoot.hipnc (986.9 KB)

User Avatar
Member
738 posts
Joined: Dec. 2006
Offline
Just toggle off “Use Point Vector Attributes for Rivet.” You don't have an up vector so it's failing. Since you are riveting a light, I assume you're not concerned about its exact orientation.

Also, put the full path to the group node: /obj/lamp_post/target_point. If you just put /obj/lamp_post it will point to whatever geo is displayed.. meaning that if you display geo before the group SOP, it will fail.
Edited by mrCatfish - Feb. 15, 2019 09:42:23
Sean Lewkiw
CG Supervisor
Machine FX - Cinesite MTL
  • Quick Links