Jump to content

Scattered Riprocedural Call.

Recommended Posts

Hello everyone!!

I am sure this is not a new problem, maybe the solution is obvious, but I have been thinking about it since last year Wink

I would like to place a variety of predefined rib files on specific locations defined by scattered points.

I found two approaches, but I am sure there must be more...

The ideal one would be using switch and copy nodes, as I have a level of control over the copied nodes. The second option seems to be more scripting oriented, which uses every position of scattered point, placing a GEO node with a procedural call in each point.

The problem is that the object merge SOP, when pointed to a GEO node with the RIProcedural call, does not work:

Warning: Invalid SOP specified.

Resulting on an empty render...and if I define a simple box inside but with a procedural call, it renders the box....Is there any RIB loader SOP that I could point to?

If I should use the second approach, how do I acces the TX, TY, and TZ vars of each scattered point so I can create a GEO with procedural call on each point using a script ?

The question is: How would be the best way to do it ?

Have a look to the tree I am using.

Scattered RiProcedural calls post at SideFX forums.

Thanks a lot and happy 2007 !!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...