Reply
Reply
 
Thread Tools Display Modes
Ryan Smith's Avatar
Old (#1)
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..
A.K.A Virtuosic -- Demo Reel --

3DMotive Releases
Advanced Mesh Paint with UDK -- UDK Materials Part 1 --Tileable Textures in Zbrush

Technical Artist - Gearbox
Offline , polygon, 661 Posts, Join Date Sep 2007, Location Dallas, Texas  
   Reply With Quote

LoTekK's Avatar
Old (#2)
Ok, that's just sexy. Will you perchance be including the source with the release? Would be fun to have a look at some of the stuff you're doing here
FlowMap Painter v0.9.2

teckArtist.com
LoTekK.com

"Has anyone really been far even as decided to use even go want to do look more like?" -DKK
Offline , dedicated polycounter, 1,398 Posts, Join Date Jan 2006, Location Singapore Send a message via MSN to LoTekK Send a message via Skype™ to LoTekK  
   Reply With Quote

tom.drin's Avatar
Old (#3)
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.
Offline , null, 21 Posts, Join Date Feb 2006, Location Czech republic  
   Reply With Quote

Ryan Smith's Avatar
Old (#4)
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.
A.K.A Virtuosic -- Demo Reel --

3DMotive Releases
Advanced Mesh Paint with UDK -- UDK Materials Part 1 --Tileable Textures in Zbrush

Technical Artist - Gearbox
Offline , polygon, 661 Posts, Join Date Sep 2007, Location Dallas, Texas  
   Reply With Quote

LoTekK's Avatar
Old (#5)
Quote:
Originally Posted by Virtuosic View Post
LotekK -- yes i'm going to be releasing the source code for this.
Cheers, definitely looking forward to checking it out
FlowMap Painter v0.9.2

teckArtist.com
LoTekK.com

"Has anyone really been far even as decided to use even go want to do look more like?" -DKK
Offline , dedicated polycounter, 1,398 Posts, Join Date Jan 2006, Location Singapore Send a message via MSN to LoTekK Send a message via Skype™ to LoTekK  
   Reply With Quote

Hayden Zammit's Avatar
Old (#6)
How bout you make it not just for max and Maya as well!?! Looks pretty awesome.
Offline , polygon, 610 Posts, Join Date Mar 2009,  
   Reply With Quote

chrisradsby's Avatar
Old (#7)
Ah sweeeet! Can't wait to try it out!
Environment Artist
Currently working on:
The Division
Portfolio: http://christofferradsby.com/

Latest Project: http://www.polycount.com/forum/showpost.php?p=1979900&postcount=43
Offline , card carrying polycounter, 1,936 Posts, Join Date Sep 2009, Location Sweden/Malmö  
   Reply With Quote

T.Bull's Avatar
Old (#8)
Looks very promising...

Last edited by T.Bull; 01-13-2012 at 05:41 AM..
Offline , vertex, 33 Posts, Join Date May 2010, Location Mülheim/Ruhr - Germany Send a message via ICQ to T.Bull  
   Reply With Quote

d1ver's Avatar
Old (#9)
Wow, Ryan, awesome stuff. That look very interesting to fiddle around with. When can we expect a release?
Offline , dedicated polycounter, 1,592 Posts, Join Date Jan 2008, Location Santa Monica, California Send a message via Skype™ to d1ver  
   Reply With Quote

MeintevdS's Avatar
Old (#10)
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
Offline , triangle, 467 Posts, Join Date Jan 2010, Location Netherlands Send a message via Skype™ to MeintevdS  
   Reply With Quote

ZacD's Avatar
Old (#11)
Really nice, looks very artist friendly, can't wait to try it out.
Offline , I love typing, 8,913 Posts, Join Date Jul 2009, Location Columbus Ohio Send a message via MSN to ZacD  
   Reply With Quote

Alphavader's Avatar
Old (#12)
Really nice, thanks !
Did you plan a maya version ?=
Offline , polygon, 678 Posts, Join Date Jul 2011,  
   Reply With Quote

Hugh's Avatar
Old (#13)
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
Offline , veteran polycounter, 2,557 Posts, Join Date Dec 2009, Send a message via Skype™ to Hugh  
   Reply With Quote

haiddasalami's Avatar
Old (#14)
Nice stuff. Quick question is this based on L-systems? looking forward to the release.
Offline , card carrying polycounter, 2,207 Posts, Join Date Nov 2009, Location Toronto  
   Reply With Quote

Chunkey's Avatar
Old (#15)
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!
Chris Allison

Offline , polygon, 538 Posts, Join Date Oct 2004, Location Hampshire, UK Send a message via MSN to Chunkey  
   Reply With Quote

Gannon's Avatar
Old (#16)
Awesome, Thanks for sharing.
Looking for work, Check out my portfolio and drop me a message!

Portfolio: www.3DRebar.com
Offline , polycounter, 929 Posts, Join Date Dec 2008, Location Montreal,Quebec Send a message via AIM to Gannon Send a message via MSN to Gannon  
   Reply With Quote

Lazurah's Avatar
Old (#17)
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?
Offline , null, 22 Posts, Join Date Sep 2011, Location Pittsburgh  
   Reply With Quote

cptSwing's Avatar
Old (#18)
i think porting it over to .mel isn't as easy as it sounds, dear maya users
Offline , dedicated polycounter, 1,633 Posts, Join Date Aug 2011, Location Berlin  
   Reply With Quote

yodude87's Avatar
Old (#19)
subscribed wonderful work there
Offline , polygon, 552 Posts, Join Date Apr 2011, Location Somewhere in Europe :P  
   Reply With Quote

Sean VanGorder's Avatar
Old (#20)
What is this shit?

I fell asleep on my keyboard and scripted a better tool than this.
Environment Artist | Visceral Games
ArtStation
Twitter
Offline , Captain Recap, 1,877 Posts, Join Date May 2009, Location Foster City, CA Send a message via AIM to Sean VanGorder Send a message via Skype™ to Sean VanGorder  
   Reply With Quote

slipsius's Avatar
Old (#21)
If only it were for maya. haha.

Looks very well built. Well done!
Stefan Lipsius
| 3d Animator | Looking For Work | Latest Project: Dragon Age: Inquisition |
Offline , veteran polycounter, 2,888 Posts, Join Date Apr 2009, Location Toronto, Ontario  
   Reply With Quote

Shogun3d's Avatar
Old (#22)
Quote:
Originally Posted by Sean VanGorder View Post
What is this shit?

I fell asleep on my keyboard and scripted a better tool than this.
nice, dude. very nice.
Will Kowach - Shogun3d
-Lead Environment Artist
- Phosphor Games
Offline , dedicated polycounter, 1,326 Posts, Join Date Dec 2008, Location Chicago, IL  
   Reply With Quote

Joel Fällbom's Avatar
Old (#23)
nm, inside jk xD

Last edited by Joel Fällbom; 01-13-2012 at 10:30 AM..
Offline , null, 24 Posts, Join Date Mar 2008, Location Sweden  
   Reply With Quote

Crash's Avatar
Old (#24)
I can fart louder than you Virt.
BAM!
Offline , triangle, 405 Posts, Join Date Oct 2004, Location Umeå, Sweden  
   Reply With Quote

Sean VanGorder's Avatar
Old (#25)
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 ;)
Environment Artist | Visceral Games
ArtStation
Twitter
Offline , Captain Recap, 1,877 Posts, Join Date May 2009, Location Foster City, CA Send a message via AIM to Sean VanGorder Send a message via Skype™ to Sean VanGorder  
   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.

Copyright 1998-2014 Polycount