|
|||||||
![]() |
|
|
Thread Tools |
|
||||
|
'SCATTER and DROP' with 'zTrack'
Use this tool to SCATTER objects like rocks,plants,or anything else (generate copies 'like [Alt-D]', with random position,size and rotation), and 'Drop' them onto a ground(Landscape) mesh. zTrack: Orients selected objects (probably cards) toward the object named "Camera" but only rotates their Z axis, so the cards remain upright. Great for trees and forests. ('Drop to Ground' and 'zTrack' by: Harkyman) Code:
|
||||
|
#1
|
||||
|
|
|
||||
|
Hey many thanks indeed. I've been after something like this for a while.
Cheers, Sonix.
............................................
'Please do not feed this monkey' | Click here to find the Unofficial Car Material Library, and my Blender works. For my most recent work, click here. |
||||
|
#2
|
|
||||
|
huh.......have you ever used vue d'esprit by any chance?
It has this exact function which is incredibly useful. I take it that the scattered objects drop until they intersect with another mesh, that right?
............................................
'It's like wrestling a pig, both of you end up dirty but the pig enjoys it.' -- Theeth on debating conspiracy theorists. |
||||
|
#3
|
|
|||
|
cool script. now what would be cool for big forests (with card-method) would be to align the z-axis to the camera. harkyman has a script like that. so what do you think about integrating it into 1 tool?
............................................
Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us! Calvin (from Calvin&Hobbes), Strip Nr. 2\'840 in the works: http://www.blender3d.ch/ |
|||
|
#4
|
|
||||
|
Neat!
I proposed something like this in the Beast forums more than a year back! (Beast forum) Can't wait to try it out! |
||||
|
#5
|
|
||||
|
I'm glad my script was useful!
I have another script that applies random (the range is user-defined) scaling and rotation to objects as well: http://www.harkyman.com/randomizer.py.txt The camera tracking script, called zTrack is excellent if you're using cards (like I did in my last barn picture): http://www.harkyman.com/zTrack.py.txt Feel free to incorporate, if you think they're appropriate.
............................................
Roland -- Check out The Beast! Are you ready to take the next step in Blender? Animating with Blender: How to Create Short Animations from Start to Finish |
||||
|
#6
|
|
||||
|
Thank you sharing nice scripts!
............................................
- See how the world goes around, you've got to help yourself. |
||||
|
#7
|
|
|||
|
Cool, ty :)
|
|||
|
#8
|
|
||||
Thanks for the nice reactions.@ M@dcow: Yes i have Vue Esprit 3.1 installed on my pc @ Chimera: Good idea, i'll see what i can do. @ Harkyman: Thanks a lot
|
||||
|
#9
|
|
||||
|
'Scatter and Drop' updated with 'zTrack'.
|
||||
|
#10
|
|
|||
|
awesome
now we have one asskicking tool.
............................................
Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us! Calvin (from Calvin&Hobbes), Strip Nr. 2\'840 in the works: http://www.blender3d.ch/ |
|||
|
#11
|
|
||||
|
don't forget randomize rotation by jms
Code:
............................................
Here's a nodes tutorial on Using UV mapping to define material values: http://blenderartists.org/forum/showthread.php?t=73088 And here's another nodes tutorial on how to do a custom sequence wipe: http://blenderartists.org/forum/showthread.php?t=90989 |
||||
|
#12
|
|
||||
|
Quote:
Quote:
............................................
'It's like wrestling a pig, both of you end up dirty but the pig enjoys it.' -- Theeth on debating conspiracy theorists. |
||||
|
#13
|
|
||||
|
This script looks incredibly useful, but could someone please explain me how can I save the script from the posted example in this thread? If I select it and make copy and past it looses all the indentations...
EnV
............................................
EnV ------------------------------------------------------ Time to start to change my signature and... err... |
||||
|
#14
|
|
|||
|
Quote:
http://www.blender3d.ch/linkson/scatndrop.py
............................................
Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us! Calvin (from Calvin&Hobbes), Strip Nr. 2\'840 in the works: http://www.blender3d.ch/ |
|||
|
#15
|
|
||||
|
Thanks a lot!
EnV
............................................
EnV ------------------------------------------------------ Time to start to change my signature and... err... |
||||
|
#16
|
|
|||
|
Just wondering, but right now I can't drop duplicated/copied objects to the ground mesh, only the original...
Is this intentional or a bug? Perhaps you could add the Z-Track/ Drop to ground to the beast plugin(its opensource and I believe availible to develope)... It just seems that 99% of this is redudent with beast being around.... Just some thoughts ![]() keep up the good work! |
|||
|
#17
|
|
||||
|
Quote:
Copies/objects must be selected, and fill in the correct 'Ground name' |
||||
|
#18
|
|
||||
|
Quote:
[>] Transform > Apply Size/rotation [ Ctrl-A ] [!] |
||||
|
#19
|
|
|||
|
Thanks, I think that was it... generally I was getting my objects duplicated too far out so I sized up ground to "catch" them.
Thanks! |
|||
|
#20
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|