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
Cinema4d User
petz's Avatar
Patrick Eischen
Join Date: Jan 2005
Posts: 263
Send a message via MSN to petz
XPresso: For each object in hierarchy -> Random value ?


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?

Attached Images
File Type: jpg Bildschirmfoto 2012-10-05 um 18.02.23.jpg (49.4 KB, 31 views)
"Someday, you'll be cool!"
Old 10-05-2012, 04:21 PM   #2
Some guy
Srek's Avatar
CGSociety Member
Björn Dirk Marl
Technical Design
Maxon Computer GmbH
Friedrichsdorf, Germany
Join Date: Sep 2002
Posts: 11,442
Put an object index node inbetween and use the index to feed the random seed
- -
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
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
Society of Digital Artists

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

All times are GMT. The time now is 07:45 PM.

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