Jump to content

Add points to packed geo


Recommended Posts

Hello!

I am trying for a while now to add certain points to a packed mesh, I need the specific positions of those points on that mesh but I dont seem to find a way to merge them together. So in other words what I am trying to find is a way to pack an object with a specific amount and specific placed points and not just 1 point at the origin or centroid. What I want to accomplish is that the points follow a wire with a pointdeform and then bend the feather according to the wire simulation but now the points and the mesh are not "glued" together so only the points follow and the mesh stays stiff. 

 

Thank you for reading :) 

 

image.png.16aea0c17d8ca52ef3ae978a3463bb2e.png

Link to comment
Share on other sites

Hello,

Packed primitives (if this is what you are using), are just a way to encapsulate your geometry so that, precisely, you only manipulate it like a solid object, using only one point (and one primitive, that contains that point) to bear all the attributes required for a RBD simulation, for example.

So if you want to work again on the base geomatry, you have to « unpack » your packed object, with the unpacked node.

Why are you using packed geomtery ? Is it for simulation purpose ? For instancing ? Depending on that, maybe it will be easier to work only on the unpacked mesh. You can also use your sim and the attributes P, V and W from your packed prim and apply them to other meshes than the packed one (separate animation from the feather from you sim).

With more info on what you are trying to achieve, we may be able to help you more :-)

Link to comment
Share on other sites

Hey! Thank you for the quick answer!

So why I packed is because my feather excist out +-4000 points (in "low poly") and I want to make a full feathered animal(over 10 000 feathers) with an animation and simulation. Or do you think there is a better way to prevent crashing my laptop? ;) 

And in my head the simple solution would be if I could get the geomety of the feather but packed with only a certain amount of point that can follow the wire simulation(see picture) so what I am atually looking for is to add points on a fixed position to a packed geo. I am fairly new to houdini and I feel like I sometimes miss a simple solution because I just didnt know a certain node existed.

image.thumb.png.8c9bd8b7422c5f804d59653a4cc71fe2.png

Link to comment
Share on other sites

I understand better. You want to simulate all 10000 feathers using wire solver (each wire containting only a few points to represent a low version of each feather ?), and instance and pointdeform a packed version of a feather on each wire ?

If yes, I would then make the wire sim first, and afterward loop over each wire (divide and conquer : you replace memory problem by using more space on disk), pointdeform my highres feather and save it to disk (.bgeo), and use it later as a "packed disk sequence primitive" (File Sop setup on packed disk sequencet). And depending on your computer strength, to save time, I would do it by bunch of 1000 wires (you can handle 1000 feathers at a time ? 4 million points is not killing a good laptop), and you would reach 10 sequences of 1000 feathers that you just need to load later for rendering...

If not, if you want to only animate one template feather (but I doubt it if your animal is moving), it is even easier : save your animation of one pointdeformed feather to disk (.bgeo), and instance it on your animal through a File Sop setup on Packed Disk Sequence.

All apologizes if I make you loose your time and does not answer correclty / understand correctly your problem, but your this topic is quite interesting :-)

Edited by StepbyStepVFX
Link to comment
Share on other sites

No I am superglad that you are willing to help! I will definitely try it out since I am making this for my graduation work so the more research I do the more the teachers like me ;) even if it doesnt work out it is the research that counts :D 

Link to comment
Share on other sites

1 hour ago, MargotDS said:

No I am superglad that you are willing to help! I will definitely try it out since I am making this for my graduation work so the more research I do the more the teachers like me ;) even if it doesnt work out it is the research that counts :D 

Indeed, this is in this kind of situation that you learn the most ! Let me know if « divide and conquer » works on your problem.

 

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.

Guest
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...