SimplyMaya Forums

Welcome to the forum, feel free to ask questions here.

Home / forum / Lounges / Maya Basics & Newbie Lounge / Random Object Placement
Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 19-06-2005, 08:46 PM   #1
errethakbe
Subscriber
 
Join Date: May 2005
Posts: 240
Thanks: 0
Thanked 1 Time in 1 Post
Default Random Object Placement

I have a plane and i want to duplicate an object at random parts and in groups (so they're not completely spread everywhere but somewhat clustered in parts)

is there an easy way to do this? i dont particularly feel like duplicating the object and placing them everywhere.

*edit* i also want them to be scaled randomly
errethakbe is offline   Reply With Quote
Old 20-06-2005, 09:05 AM   #2
Alan
Moderator
 
Alan's Avatar
 
Join Date: Oct 2002
Location: London, UK
Posts: 2,800
Thanks: 0
Thanked 5 Times in 5 Posts
Default

use MEL to randomly duplicate, place and scale them. Should be really simple and a good maya scripting exercise.


A
__________________
Technical Director - Framestore

Currently working on: Your Highness

IMDB
Alan is offline   Reply With Quote
Old 20-06-2005, 08:07 PM   #3
Dann
Registered User
 
Dann's Avatar
 
Join Date: Feb 2003
Location: Los Angeles
Posts: 695
Thanks: 0
Thanked 2 Times in 2 Posts
Default

I would use a particle system on a plane, but if you just want a script that will randomly afftect the translation, totation or scale of an object... you can use mine.

If you duplicate your object many times with an offset then you can run this script to randomize things so it doesn't look too neat and tidy.
Attached Files
File Type: zip rdnobj.zip (8.2 KB, 304 views)
Dann is offline   Reply With Quote
Old 21-06-2005, 02:47 AM   #4
aa2147339
Registered User
 
Join Date: Jun 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Thumbs up LLLLK

Quote:
Originally posted by Dann
I would use a particle system on a plane, but if you just want a script that will randomly afftect the translation, totation or scale of an object... you can use mine.

If you duplicate your object many times with an offset then you can run this script to randomize things so it doesn't look too neat and tidy.
aa2147339 is offline   Reply With Quote
Old 21-06-2005, 05:06 AM   #5
errethakbe
Subscriber
 
Join Date: May 2005
Posts: 240
Thanks: 0
Thanked 1 Time in 1 Post
Default

thanks a lot...i havent done anything with MEL yet, so it'd be a little difficult to create a script...but i'll probably just try it to learn.

i thought about using a particle system...i'll try that...and thanks for the script too
errethakbe is offline   Reply With Quote
New Thread

« Previous Thread | Next Thread »

Thread Tools

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

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

1 Month

$34

Month-to-month billing
$34/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
 
 

3 months

$87

Billing every 3 months
$29/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $5 per month or $15 in total compared to monthly billing with this package.

12 months

$288

Billing every 12 months
$24/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $10 per month or $120 in total compared to monthly billing with this package.

Your plan will automatically renew. You can cancel at any time via your PayPal account to avoid being charged again.

You can view the FAQ on our video plans here. You can contact us directly here. By clicking one of the buttons above, you agree to our Terms and Privacy Policy.