camera instances

   3622   4   1
User Avatar
Member
14 posts
Joined: Oct. 2008
Offline
Hello everyone,

I'm trying to create a rig made of multiple cameras. I would like all the cameras to be instances/copies of a main camera, and the shape of the rig should be based on a curve.

I've tried to use the “Instance” node, but it seems to create instances of the camera geometry only and not the actual cameras (I can's look through them and they are not available to be used for rendering).

Any help would be greatly appreciated

Cheers
Sergio
User Avatar
Member
1391 posts
Joined: Dec. 2010
Offline
Yes , I think the only way is copy your main camera on the points with Scripting.
Also You can link parameters of the new cameras to main camera for instancing. 8)
https://www.youtube.com/c/sadjadrabiee [www.youtube.com]
Rabiee.Sadjad@Gmail.Com
User Avatar
Member
1391 posts
Joined: Dec. 2010
Offline
This is a very simple example about this , Just define your instance points and source camera , then press Build button , new cameras will generate on the instance points.
In this example I just use position of each points for each camera , but you can use point's vector (UP and N) for define camera's orientation , or you can connect Translate of each camera to it's instance point , So if instance points moving , the cameras moving too :idea:

Attachments:
JKCamera_Instance_Tool.hip (83.0 KB)

https://www.youtube.com/c/sadjadrabiee [www.youtube.com]
Rabiee.Sadjad@Gmail.Com
User Avatar
Member
575 posts
Joined: Nov. 2005
Offline
You can automate a lot with the opdigits(“.”) expression, for example You can link objects with that expression automated to their point on a geometry and pick up attributes with a expression like this point(“../pathtosop”, opdigits(“.”), “attribute”, 0)
  • Quick Links