same as in Maya:
1) number of vertices on the source and target should be identical
2) order of vertices should also be identical -- for this reason, when blending in Maya, one often ends up copying the source shape and modifying it to generate the target shape rather than modelling it from scratch -- just to make sure that order of vertices remains the same.
If you are indeed looking for a definition that works with Meshes, this methodology should work for you:
1) get vertices of source and target (count and order should match)
2) get the vertices for each face of the mesh (identifying the index of vertices that create a face. For Rhino, they will either be 3 or 4)
3) draw lines between source and target vertices.
4) sample one point on every line based on the blend amount. Implying that a 50% value would give you the midpoint on each line, 0 would give the start point, and 100% would give the end point.
5) these new points are the vertices of your desired shape. use the information you generated in step (1) to recreate mesh faces.…
ole size)
The problem I am seeing from what I hope to achieve is that there are too many holes. It seems the script continues until I can't fit in any more circles. Can we limit the overal number as a percentage or a maximum number of circles that can be generated = say 50 or 100. Can that be dynamically controlled?…
ider with a current value of 50 and an upper limit of 75.
Or:
25,50,75
Which would output slider with a lower limit of 25, a current value of 50 and an upper limit of 75.
Maybe spaces would be easier than commas.
Then maybe follows an optional letter for slider type:
0 5 10 f
Would be lower limit = 0, current value = 5, upper limit = 10, and it's a floating point slider.
It may sound like a lot of trouble but I hate editing sliders, lol.…
Added by Brian Harms at 2:28am on December 20, 2011
icture you can see what I mean, this is just with randome reduce, it should be like this:
->If the last object is (1) then is a 50% chance that the next one is also (1)
-->If the last two objects are (1) then is a 40% chance that the next one is also (1)
--->If the last three objects are (1) then is a 30% chance that the next one is also (1)
---->If the last four objects are (1) then the next object must be (2)
->If the last object is (2) then is a 50% chance that the next one is also (2)
-->If the last two objects are (2) then is a 30% chance that the next one is also (2)
--->If the last three objects are (2) then is a 10% chance that the next one is also (2)
---->If the last four objects are (2) then the next object must be (1)
It would be nice if it is possible to change the number how many objects should be tested and the percent values.
Has anybody an idea how I can do this?
Best Regards
…