Hayden Posted April 20, 2020 Share Posted April 20, 2020 (edited) Hi everyone, I'm trying to do something quite simple but i'm struggling with it. I have an imported pile of sticks, i want to take this pile and copy each stick to a different point on a grid, i know how to do this using the method of having each stick have its own geo node and pluging those into a switch and copy stamping them onto a grid, but i want to achieve this result without having each stick be its own node, as there are 214 individuals this would make for a very crowded network. Could anybody help me out? I have attatched my current set up, I am guessing I need to specify in the copy stamp that for each point it needs to select one of the 214 points which are being fed into it, but i'm not sure how to command this expression? Thanks in advance! Dbrs_wood_twig_T_rfkkwaa_LOD0.obj Edited April 20, 2020 by Hayden Quote Link to comment Share on other sites More sharing options...
Ultraman Posted April 20, 2020 Share Posted April 20, 2020 check hip file maybe help .. partition.hip Quote Link to comment Share on other sites More sharing options...
anim Posted April 20, 2020 Share Posted April 20, 2020 in H18 just use variant attribute to pick which packed primitive to copy onto point see the example (points have just variant attrib to illustrate, but obviously vary pscale, orient, etc as you need) ts_copy_random_stick.hip 1 Quote Link to comment Share on other sites More sharing options...
Hayden Posted April 20, 2020 Author Share Posted April 20, 2020 1 hour ago, anim said: in H18 just use variant attribute to pick which packed primitive to copy onto point see the example (points have just variant attrib to illustrate, but obviously vary pscale, orient, etc as you need) ts_copy_random_stick.hip Thanks Tomas! I have looked through your scene and understand how you are getting the variant attrib, but i'm struggling to work out how to use that value to tell the copy to points which value it should use for each point, at the moment I am still getting either the whole pile or the same 1 stick on each point, how do i give a different variant attrib to each scatter point? Thanks Quote Link to comment Share on other sites More sharing options...
anim Posted April 20, 2020 Share Posted April 20, 2020 50 minutes ago, Hayden said: I have looked through your scene and understand how you are getting the variant attrib, but i'm struggling to work out how to use that value to tell the copy to points which value it should use for each point in other words you are not using H18 if the file didnt work for you Quote Link to comment Share on other sites More sharing options...
Hayden Posted April 20, 2020 Author Share Posted April 20, 2020 49 minutes ago, anim said: in other words you are not using H18 if the file didnt work for you Ah yes i'm on 17.5 Quote Link to comment Share on other sites More sharing options...
Hayden Posted April 23, 2020 Author Share Posted April 23, 2020 Does anybody have any ideas how I might acheive this in 17.5? Thanks. Quote Link to comment Share on other sites More sharing options...
Noobini Posted April 23, 2020 Share Posted April 23, 2020 (edited) hey what about using H18 (even NC)...do your business...file out bgeo then in H17, read in the bgeo ? Edited April 23, 2020 by Noobini Quote Link to comment Share on other sites More sharing options...
Valent Posted April 23, 2020 Share Posted April 23, 2020 @Hayden, Hey, this should work as a workaround for 17.5 copy_to_points_for_17_5.hip Quote Link to comment Share on other sites More sharing options...
Valent Posted April 23, 2020 Share Posted April 23, 2020 also as an autonomous hda) but you have to specify the number of variants copy_to.hda Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.