[Closed] Fallof Mix curve access
I need to create points in my falloff map, and move them.
In maxscript help it says:
Falloff : TextureMap [left]<Falloff>.mixcurve SubAnim default: SubAnim:MixCurve
[/left]
[left]This mix curve determines the falloff.
[/left]
[left]
[/left]
[left]<Falloff.mixcurve>.curve_1 SubAnim default: SubAnim:Curve_1
[/left]
[left]The curve_1 SubAnim contains the mix curve points. You cannot create or access these points unless the point is animated. If a point is animated, you can access the point position using the .Point_X property of curve_1, where X in the point number.
[/left]
but I’ve got trouble understanding exactly how.
Do any of you have some script for this?
I just need to understand how to access a point to move it, and how to access next point.
Problem is that I’m doing something wrong, so I cannot access it like expected.
Unfortunately not.
My googling revealed that they have to be animated.
also someone mention that it cannot be done through maxscript.
But I hope there is a solution to this, it’s the only missing piece in my tool.
The best way I can think to access maps/materials that aren’t creatable/accessible through maxscript is to setup a simple material library with some already setup map(s)/mat(s). Then load that map/mat and you can access it as needed. This means you distribute on extra small file with your tool and can workaround the issue, like you currently have.
-Eric
I cannot do this because I’m depending on adjusting the curve through script…
hmm. strange that they complicate such a small thing like this.
Create a map in a material library that has 10 animated mix map vertices, you can then load that map, delete any you don’t need and adjust the rest, all through maxscript. The only difference is instead of creating the map from scratch you are loading it from disc. This is the only way (that I know of) you will get the control you want.
-Eric
yes, I guess this is what I’ll end up doing…
I do not like it, but now it seems like there’s no other way.
It’s certainly on my wishlist.
http://www.neilblevins.com/cg_tools/cg_wishlist/3dsmax/wishlist_maxscript_curves.htm
- Neil
If your tool is just for personal use you could use a BerconGradient.
http://www.ylilammi.com/BerconGradient.shtml
I think it can do everything a falloff map can do and more.
Dan
thanks for the info, but I do not want to depend on 3’rd party tools in this tool.
But It’s very useful information to others who are having same problem. so thanks for the info.