CGTalk > Software > Maxon Cinema 4D
Login register
Thread Closed share thread « Previous Thread | Next Thread »  
 
Thread Tools Search this Thread Display Modes
Old 10-05-2012, 04:03 PM   #1
petz
Cinema4d User
 
petz's Avatar
portfolio
Patrick Eischen
Student
Luxembourg
 
Join Date: Jan 2005
Posts: 263
Send a message via MSN to petz
XPresso: For each object in hierarchy -> Random value ?

Hi,

I am using a Hierarchy Node to iterate over all my objects. Now for each object I want to generate a random Integer value and set this object's name to this integer value. The problem with my solution is that all objects do get the same random integer value assigned to it. How can I fix this?

Patrick
Attached Images
File Type: jpg Bildschirmfoto 2012-10-05 um 18.02.23.jpg (49.4 KB, 29 views)
__________________
"Someday, you'll be cool!"

www.patrickeischen.com
 
Old 10-05-2012, 04:21 PM   #2
Srek
Some guy
 
Srek's Avatar
CGSociety Member
portfolio
Björn Dirk Marl
Technical Design
Maxon Computer GmbH
Friedrichsdorf, Germany
 
Join Date: Sep 2002
Posts: 11,330
Put an object index node inbetween and use the index to feed the random seed
__________________
- www.bonkers.de -
The views expressed on this post are my personal opinions and do not represent the views of my employer.
 
Old 10-05-2012, 04:21 PM   #3
CGTalk Moderation
Expert
CGTalk Forum Leader
 
Join Date: Sep 2003
Posts: 1,066,478
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright ©2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 04:40 PM.


Powered by vBulletin
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd.