quizzy Posted June 20, 2002 Share Posted June 20, 2002 For 3D Studio MAX, a make grass script, excellent script by the way. Only disadvantages are: It's all geometry and it is a bit slow to generate the grass. Check this link for download.... interface: sample: [ June 20, 2002, 06:43 AM: Message edited by: quizzy ] Link to comment Share on other sites More sharing options...
nisus Posted June 20, 2002 Share Posted June 20, 2002 Hi quizzy, Very nice script I think. Unfortunately, I am not able to run it (because I use max3.1?) The scripts always stops at "update patchOfGrassObj" Have you tried it in 3.1? What are your results? rgds nisus Link to comment Share on other sites More sharing options...
quizzy Posted June 20, 2002 Author Share Posted June 20, 2002 I only tried it in MAX4.26... and my result you can see above, the little picture of grass, just a quick test. I don't have more time just now to test it, cause i'm going to net render a scene and then go home...hehehe Link to comment Share on other sites More sharing options...
TDP Posted June 22, 2002 Share Posted June 22, 2002 Updated: to 1.2 Ok.I found and fixed the problem with Max 3.x. Basically. Max 3.x doesn't like it if you have an empty mesh and you call attach to attach items to it. So.I modified the internal logic to handle that.I also included a new sample file which was readable by Max 3.x. http://tdp.nu/index.shtml Link to comment Share on other sites More sharing options...
nisus Posted June 22, 2002 Share Posted June 22, 2002 lovely! Link to comment Share on other sites More sharing options...
nisus Posted June 22, 2002 Share Posted June 22, 2002 unfortunately I got anohter error... the scripts stops at: obj.modifiers[ "cupping" ].BendAxis = 0 rgds nisus Link to comment Share on other sites More sharing options...
TDP Posted June 23, 2002 Share Posted June 23, 2002 Nisus could you please tell me more when what & how it accours? Link to comment Share on other sites More sharing options...
nisus Posted June 23, 2002 Share Posted June 23, 2002 Hi tdp, I do things like were described in the helpfile: I draw a plane (200x200, 4 segments)(surface), copy the plane (border), change the segments to 10 and add a noise modifier to the border. I press the button 'border' to select the border, and do the same with surface. I don't touch any settings yet and hit the "make this rocket fly". The script starts making a basic plane with a few modifier and stops. When I analyse the scene afterwards I got these three objects: * border * surface * TempGrassBlade: this exist of a plane, a uvwmap modifier, a taper, and a bend modifier called 'cupping' after this, the script pops up with the line obj.modifiers[ "cupping" ].BendAxis = 0 selected. Hope this helps you out a bit rgds nisus Link to comment Share on other sites More sharing options...
nisus Posted June 23, 2002 Share Posted June 23, 2002 Hi tdp, I forgot to mention that I don't see anything in the viewports anymore. I can 'see' objects when i hit 'H' (shortcut to the selection list) but that's it. I can't zoom anymore and all grids dissapear. rgds nisus Link to comment Share on other sites More sharing options...
quizzy Posted June 23, 2002 Author Share Posted June 23, 2002 Hey nisus, Try this: the border object must be a spline with a normal modifier onto it. the surface object can be a plane with a couple of modifiers.. This should work... (see picture above mq Link to comment Share on other sites More sharing options...
Frank Posted June 23, 2002 Share Posted June 23, 2002 Does It work with 3D Viz r4 Link to comment Share on other sites More sharing options...
quizzy Posted June 23, 2002 Author Share Posted June 23, 2002 Just try it, if it works it works, if its not working it doesn't work.. Link to comment Share on other sites More sharing options...
nisus Posted June 24, 2002 Share Posted June 24, 2002 Tnx quizzy, I've must have skipped it somehow... I'll give it a try rgds nisus Link to comment Share on other sites More sharing options...
quizzy Posted June 24, 2002 Author Share Posted June 24, 2002 okay... somewhere it says something with cupping or so... obj.modifiers[ "cupping" ].bendAxis = 0 something like this... well MAX 3 doesn't know the .bendaxis command, it should be .axis so it should look like this in the script: -- -- Add the first bend modifier -- addModifier obj (Bend name:"cupping") obj.modifiers[ "cupping" ].Axis = 0 obj.modifiers[ "cupping" ].Angle = 90 -- -- add the bend modifier -- addModifier obj (Bend()) obj.modifiers[ #bend ].gizmo.pos += [ 0, -fLength/2., 0 ] obj.modifiers[ #bend ].Axis = 1 obj.modifiers[ #bend ].direction = 90. -- -- Add the material modifier -- This should definitely solve your problems... Link to comment Share on other sites More sharing options...
quizzy Posted June 24, 2002 Author Share Posted June 24, 2002 Okay i've modified the script and it works now with 3d studio max 3.xxx Its true that max3 doesn't like attaching to empty meshes (numverts:0 numfaces:0) so I just said to the script to create 5 vertices, and that fixed the problem....I've put it on my script page.... quizzy's scripting page Link to comment Share on other sites More sharing options...
nisus Posted June 24, 2002 Share Posted June 24, 2002 Tnx quizzy, I'll give it a try. I guess I missed you on the boards, but I was in a meeting. Back behind my desk now, so maybe we'll meet in a while... rgds nisus Link to comment Share on other sites More sharing options...
skogskalle Posted January 22, 2004 Share Posted January 22, 2004 cant find the script on any of the linked websites... sounds great though. If anyone has it, I would appreciate if you could send it to my e-mail. skogskalle@hotmail.com thanks in advance!!! /Kalle Link to comment Share on other sites More sharing options...
quizzy Posted January 22, 2004 Author Share Posted January 22, 2004 http://tdp.nu/cgi-bin/plugsearch_r4.pl?search=makegrass Link to comment Share on other sites More sharing options...
skogskalle Posted January 23, 2004 Share Posted January 23, 2004 aah... I think I searched for it under "modeling"-scripts.... thanks quizzy! Link to comment Share on other sites More sharing options...
whori Posted June 20, 2008 Share Posted June 20, 2008 Hi quizzy, Very nice script I think. Unfortunately, I am not able to run it (because I use max3.1?) The scripts always stops at "update patchOfGrassObj" Have you tried it in 3.1? What are your results? rgds nisus why are you using old versions of max? what is your reasons? i am just curious:) Link to comment Share on other sites More sharing options...
Dave Buckley Posted June 20, 2008 Share Posted June 20, 2008 check when the posts were made, i think you'l find that this post is from the year 2002 Link to comment Share on other sites More sharing options...
whori Posted June 20, 2008 Share Posted June 20, 2008 check when the posts were made, i think you'l find that this post is from the year 2002 oops:D my bad now i fell like an idiot. total one Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now