Relative reference as Primitive Path issue

   211   4   1
User Avatar
Member
10 posts
Joined: 12月 2017
オフライン
Hi guys,
I'm getting issue with light when using relative reference as Primitive Path..
Light get ghost copy at (0,0,0) world position..

Thank you

Attachments:
issue.jpg (314.0 KB)

User Avatar
Member
9291 posts
Joined: 7月 2007
オフライン
what does your evaluated path look like? and does it point to a valid light prim on the stage?

since I see nothing wrong with using relative references to some parameters as long as your resulting string is a valid primpath
from the screenshot you may be missing one or more /'s before and inbetween your `chs()` references, but it all depends on what they evaluate to
Edited by tamte - 2025年10月9日 11:40:03
Tomas Slancik
CG Supervisor
Framestore, NY
User Avatar
Member
10 posts
Joined: 12月 2017
オフライン
Hi Tamte,
this is a scene to get the issue (Solaris)
I creat a template to easily creat Shot with automatise architecture.

Thank you.
Edited by Hip-Freak - 2025年10月9日 11:48:21

Attachments:
issue_PrimitivePath.hiplc (788.1 KB)

User Avatar
Member
9291 posts
Joined: 7月 2007
オフライン
do you mean that disconnected handle?

that's not due to your relative references building the path, but becaus your prim path doesnt start with /
you can notice that happens on your Light2 also

just prepend all your paths with / and see if it fixes your issue
Tomas Slancik
CG Supervisor
Framestore, NY
User Avatar
Member
10 posts
Joined: 12月 2017
オフライン
Great!!
Thank you Tamte, I didn't expect I forgot this /
  • Quick Links