|
created TreeGen, a 3DS Max script that generates cheap realtime trees.
on 01-12-2012 03:09 AM
Hey guys, This is the thread for my TreeGen script. It's a free 3DS Max script that I thought i'd share with you all. It's the fruit of my MaxScript learning binge which i've been learning in my free time.
You can download the TreeGen Beta v0.97 here!
Here is a quick set of instructions for using the script.
To install: drag and drop the script into the max viewport. then go to Customize>CustomizeUserInterface, and you can find the script under the category "Tree Generator" just set a hotkey and you're good to go!
Adding Leaves: The script uses user selected leaf mesh, in which the position of the pivot point must be at the base of the leaf mesh, and the Z axis has to be pointing down the direction of the branch, and the Y axis should be pointing THROUGH the mesh, if that makes sense... you'll see that your leaf meshes look a bit strange on the branch if you don't do this.
Adding Materials: You add a material to the branch meshes by choosing one with the "Choose Bark Material" button in the bottom left.
I've noticed that sometimes the script will start to chug. I'm not sure why it does this, but that's why we have a beta! And that's also why i opened sourced it!
PS - If the script breaks and just delete your tree and restart the script and try not to do what you did until i fix it. Also, don't forget bug report!
Here is a screen shot of the UI in case anyone has any reference questions on it.
Thanks!
Last edited by Ryan Smith; 01-12-2012 at 04:43 PM..
|
, polygon,
649 Posts,
Join Date Sep 2007,
Location Dallas, Texas
|
It looks really cool and usable. Can wait to test it.
One posible feature request is to allow user to adjust normals of the leaves, so all the normals have same direction. -sometimes its handy
But as far as my experience go - normal adjusting is not well supported in max. There is only edit normals modifier - but once you merge two models, normals are reseted.
|
, null,
21 Posts,
Join Date Feb 2006,
Location Czech republic
|
Thanks guys
LotekK -- yes i'm going to be releasing the source code for this.
tom.drin - The script works by having the user select their already made leaf meshes... these meshes can have an edit normals modifier on them and it will work just fine. When you bake the tree, i'm not merging any meshes at all, everything remains seperate. you dont need to merge anything in order to get it into udk, you can leave the meshes as seperate elements.
|
, polygon,
649 Posts,
Join Date Sep 2007,
Location Dallas, Texas
|
Quote:
Originally Posted by Virtuosic
LotekK -- yes i'm going to be releasing the source code for this.
|
Cheers, definitely looking forward to checking it out 
|
, dedicated polycounter,
1,395 Posts,
Join Date Jan 2006,
Location Singapore
|
How bout you make it not just for max and Maya as well!?! Looks pretty awesome.
|
, triangle,
458 Posts,
Join Date Mar 2009,
|
Ah sweeeet! Can't wait to try it out! 
|
, dedicated polycounter,
1,644 Posts,
Join Date Sep 2009,
Location Sweden/Malmö
|
Looks very promising...
Last edited by T.Bull; 01-13-2012 at 05:41 AM..
|
, vertex,
30 Posts,
Join Date May 2010,
Location Mülheim/Ruhr - Germany
|
Wow, Ryan, awesome stuff. That look very interesting to fiddle around with. When can we expect a release?
|
, dedicated polycounter,
1,419 Posts,
Join Date Jan 2008,
|
Wow that looks impressive and useful, as a Maya user I can't wait until you go and learn MEL :p
It actually looks easy to use, something I've missed in previous tree gen tools I've seen. And for free too. Scripts like these make me wanna switch back to max 
|
, triangle,
407 Posts,
Join Date Jan 2010,
|
Really nice, looks very artist friendly, can't wait to try it out.
|
, polycounter, lvl. 13,
7,064 Posts,
Join Date Jul 2009,
Location Columbus Ohio
|
Really nice, thanks !
Did you plan a maya version ?=
|
, triangle,
416 Posts,
Join Date Jul 2011,
|
im a maya user 
Believe in yourself! Have faith in your abilities!
Without a humble but reasonable confidence in your own powers you cannot be successful or happy.
- Norman Vincent Peale
|
, card carrying polycounter,
2,366 Posts,
Join Date Dec 2009,
Location Johnson City,TN
|
Nice stuff. Quick question is this based on L-systems? looking forward to the release.
|
, dedicated polycounter,
1,856 Posts,
Join Date Nov 2009,
Location Toronto
|
Wow, nice! Going to make life a bit easier for a lot of peeps, myself included!
Will be waiting with baited breath for the release, that's for sure! 
|
, polygon,
526 Posts,
Join Date Oct 2004,
Location Hampshire, UK
|
Awesome, Thanks for sharing.
|
, polygon,
722 Posts,
Join Date Dec 2008,
Location Montreal,Quebec
|
This looks really cool. I can't wait to try it out
As for the bark texture, could you make your own tileable textures that would work with this tool?
|
, null,
22 Posts,
Join Date Sep 2011,
Location Pittsburgh
|
i think porting it over to .mel isn't as easy as it sounds, dear maya users 
|
, polycounter,
1,286 Posts,
Join Date Aug 2011,
Location Berlin
|
subscribed  wonderful work there
|
, triangle,
493 Posts,
Join Date Apr 2011,
Location Somewhere in Europe :P
|
What is this shit?
I fell asleep on my keyboard and scripted a better tool than this.
|
, Polycount.com Editor,
1,748 Posts,
Join Date May 2009,
Location Redwood City, CA
|
Quote:
Originally Posted by Sean VanGorder
What is this shit?
I fell asleep on my keyboard and scripted a better tool than this.
|
nice, dude. very nice.
|
, dedicated polycounter,
1,305 Posts,
Join Date Dec 2008,
Location Chicago, IL
|
Lol, note to self: Don't fake hate on a good friend on a public forum.
<3 Good stuff virt
p.s. I do have a job ;)
|
, Polycount.com Editor,
1,748 Posts,
Join Date May 2009,
Location Redwood City, CA
|
Quote:
Originally Posted by Sean VanGorder
Lol, note to self: Don't fake hate on a good friend on a public forum.
<3 Good stuff virt
p.s. I do have a job ;)
|
lol owned faces... i figured it was a inside joke...what noobs 
Believe in yourself! Have faith in your abilities!
Without a humble but reasonable confidence in your own powers you cannot be successful or happy.
- Norman Vincent Peale
|
, card carrying polycounter,
2,366 Posts,
Join Date Dec 2009,
Location Johnson City,TN
|
Quote:
Originally Posted by Sean VanGorder
Lol, note to self: Don't fake hate on a good friend on a public forum.
<3 Good stuff virt
p.s. I do have a job ;)
|
i like doing this to mLichy, hes such a nob!
|
, triangle,
255 Posts,
Join Date Aug 2009,
Location North East England
|
nm, inside jk xD
Last edited by Joel Fällbom; 01-13-2012 at 10:30 AM..
|
, null,
21 Posts,
Join Date Mar 2008,
Location Sweden
| Thread Tools |
|
|
| Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Copyright 1998-2012 A. Risch
|