SUBSCRIBE The SideFX mailing list is a great place to make contact with Houdini users. To subscribe, send us an email with no subject and the word subscribe in the body.
[Sidefx-houdini-list] Rescaling Packed primitive in DOP
Thursday, 5 May 2016 Thu, 5 May '16
Hey Olivier, If you are using packed objects, i.e in DOPs each ice cube fragment is represented by a single point, should you not be able to use pscale for this? Verzonden van mijn HTC ----- Reply message ----- Van: "Javier Mero?o" <javiermerono at hotmail.com> Aan: "sidefx-houdini-list at sidefx.com" <sidefx-houdini-list at sidefx.com> Onderwerp: [Sidefx-houdini-list] Rescaling Packed primitive in DOP Datum: do, mei 5, 2016 22:47 Hi Olivier,I don?t get the warning but you are indeed right about the pieces not touching the ground.Dang, I didn?t noticed it from the perspective view as I was doing it in a hurry. :( In case you don?t solve it, I will give another go tomorrow. Maybe what the other guys are suggesting is a better idea? regards, Javier Mero?o
Date: Thu, 5 May 2016 19:32:01 +0200 From: facialdeluxe at gmail.com To: sidefx-houdini-list at sidefx.com; alex at dznd.net Subject: Re: [Sidefx-houdini-list] Rescaling Packed primitive in DOP Hi Javier, Thank you for the hip. I'm having a weird error message when opening it : "Skipping unregnized parameter "inheritpivot". The pieces scaling does work, but they are not touching the ground, as if they were keeping their original size for collision. On Thu, May 5, 2016 at 7:13 PM, <voices at krypton.mediacatch.com> wrote: > > I think you can scale down your packed geo by modifying the transform > intrinsic. something like this: > > int pt = vertexprim(geoself(), pointvertex(geoself(), @ptnum)); > matrix3 mat = primintrinsic(geoself(), "transform", pt); > mat *= 0.5; > setprimintrinsic(geoself(), "transform", pt, mat); > > > > > > > Quoting Javier Mero?o <javiermerono at hotmail.com>: > > Hi Olivier,I tried on a quick example and just did it using a ForEach >> inside the SopSolver and scaling each piece using the centroid as pivot. It >> is actually using the "Packed" point position and seems to work very well, >> at least for this simple example.For some reason, I couldn?t make it work >> on the new For Each Loops but it worked with a Subnet. Must be my mistake. >> https://dl.dropboxusercontent.com/u/87988909/SOP_SolverScaleTest.hiplc >> Hope it helps. It?s just a quick turnaround to see if it saves you some >> time.regards, >> Javier Mero?o >> >> Date: Thu, 5 May 2016 17:23:53 +0200 >>> From: facialdeluxe at gmail.com >>> To: sidefx-houdini-list at sidefx.com >>> Subject: [Sidefx-houdini-list] Rescaling Packed primitive in DOP >>> >>> Here's my scenario : >>> I have a box, falling onto an ice-cube. When the box falls on it, the ice >>> cube explodes. >>> >>> The ice-cube is paked-fractured (pre fractured). >>> The RBD explosion is superb, everything is superb and under control. >>> The Ice-cube has its pieces exploding and flying through the air, and >>> then >>> they are falling down on the floor, bouncing all around. >>> >>> Ok. >>> >>> Now, for "visual" reasons, I'd like to scale down the size of the pieces >>> while they are in the air, and have them fall down (smaller) on the >>> floor. >>> >>> ATM, in dop I'm using a Solver-Sop with an AttributeVOP inside with an >>> Xform. >>> My problem is I can't find a usable pivot to have the pieces scaling >>> around >>> their actual (and dop-updated) position. >>> >>> So, how could I have a packed RBD with the pieces having their size >>> changing ? >>> >>> Thank's ! >>> _______________________________________________ >>> Sidefx-houdini-list mailing list >>> Sidefx-houdini-list at sidefx.com >>> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list >>> >> >> >> >> Libre de virus. www.avast.com >> >> >> >> _______________________________________________ >> Sidefx-houdini-list mailing list >> Sidefx-houdini-list at sidefx.com >> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list >> > > > > _______________________________________________ > Sidefx-houdini-list mailing list > Sidefx-houdini-list at sidefx.com > https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list > _______________________________________________ Sidefx-houdini-list mailing list Sidefx-houdini-list at sidefx.com https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-listLibre de virus. www.avast.com _______________________________________________ Sidefx-houdini-list mailing list Sidefx-houdini-list at sidefx.com https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list