[Sidefx-houdini-list] promoting ramps.
muhittin.bilginer at googlemail.com
Thu Nov 27 05:42:21 EST 2008
Thanks for the advice man! :)
But I am not sure if this is going to work for me...
I want to control an attribute based on the length of a curve....
1) I assign UVs to my curve (Rows and Col.)
2) So now "U" is from 0 to 1
3) I bring the U in VOPSOPs... I run it through a ramp and output it as an
attribute... lets say "clength"
U was (for 4 random points on the curve):
CLENGHT is (for the same 4 random points on the curve)
So this ramp is at my VOPSOP level... and I cannot promote it to my HDA
level... Well I can... But it does not sync when new edit poits are added at
the HDA level.
So what should I do? I am sorry I cannot test it right now... I guess, I
will read in the ramp from the HDA with the "chramp()" expression... and I
guess I will multiply it with the U component of the UV attribute?
But in the help:
| chramp("/obj/geo1/popnet1/color1", 0.33, 1)
Returns second component of the evaluated ramp value at a position
What if I need the entire ramp? :)
Not only position: 0.33
Sorry if I am way too confused...
On Wed, Nov 26, 2008 at 9:24 PM, Pablo Giménez Pizarro
<pablogipi at gmail.com>wrote:
> Hi Mumu.
> Well if you have problems with the ramps as a workaround why not
> create a float ramp from scratch for your HDA, then I guess that you
> have any parameter into the HDA that currently is using the internal
> (promoted ) ramp, instead of have an internal one just refer from the
> parameter into you HDA (chramp()) to the ramp in the HDA interface, so
> basically you don't need to promote a ramp, just use a ramp at the HDA
> level into the HDA.
> This makes sense?
> PS: missing Houdini a lot, snif, snif .... :)
> El 26/11/2008, a las 10:19, Muhittin Bilginer escribió:
> > Hi,
> > Is there an efficient way of promoting a float ramp from a VOPSOP,
> > deep
> > inside an HDA... to the surface level. I have managed to do that by
> > keeping
> > the point numbers on the ramp limited to a certain number. (ex: have
> > 10
> > points at the HDA level and have 10 points at the VOPSOP level)
> > Ofcourse as
> > soon as extra points are added at the HDA level... everything goes
> > wrong. I
> > also had to link all values manually for each point. It kind of
> > works but it
> > is obviously not effecient. Any ideas?
> > Cheers.
> > _______________________________________________
> > Sidefx-houdini-list mailing list
> > Sidefx-houdini-list at sidefx.com
> > https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
> Un saludo
> Best Regards
> Pablo Giménez
> pablogipi at gmail.com
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
More information about the Sidefx-houdini-list