Cinema 4D Xpresso question

Forum for: Modelling, Texturing, Animation, Composting and the whole general usage of Cinema4D.

Moderators: Arkimed, natas, visualtricks, cappellaiomatto

Post Reply
  • Advertising
mauovernet
Posts: 19
Joined: Mon Jul 27, 2020 6:28 pm

Cinema 4D Xpresso question

Post by mauovernet »

hi
please where can i make a question using
Cinema 4D Xpresso
thansk and bless

i need to use xpresso to obtain a number between 1 and 10 ...then when the result is some number.... then choose an object to show
Image
in other words: .... I have 10 hidden objects, and according to the express result between 1 to 10, then show the object according to its number.
it is posible ? this ?
thansk and bless..... !!!!!
Attachments
Screen_Shot_2021-12-14_at_11.28.12_AM.png
Screen_Shot_2021-12-14_at_11.28.12_AM.png (22.59 KiB) Viewed 2805 times
User avatar
abe3d
Posts: 1110
Joined: Mon Dec 07, 2009 1:48 pm

Re: Cinema 4D Xpresso question

Post by abe3d »

Hi, sorry for my English ...
You can use this simple system which allows you, using a switch, to call up a specific object in the hierarchy.
Not knowing if you needed to generate random numbers for each frame I figured you needed a switch, if not, it's very easy to get rid of it.
Attachments
xpresso switch.jpg
xpresso switch.jpg (80.98 KiB) Viewed 2787 times
random switch.jpg
random switch.jpg (33.67 KiB) Viewed 2787 times
random switch.zip
(45.18 KiB) Downloaded 156 times
mauovernet
Posts: 19
Joined: Mon Jul 27, 2020 6:28 pm

Re: Cinema 4D Xpresso question

Post by mauovernet »

yes thanks a thousand
What I'm looking for is for my character within cinema 4D to randomly generate a different article.
for example: randomly change shirt, change hairstyle, change glasses, change cap.
For this, I have to create all the articles beforehand.
User avatar
abe3d
Posts: 1110
Joined: Mon Dec 07, 2009 1:48 pm

Re: Cinema 4D Xpresso question

Post by abe3d »

like this?
Rand.gif
Rand.gif (2.1 MiB) Viewed 2759 times
Xpresso.jpg
Xpresso.jpg (123.23 KiB) Viewed 2759 times
study it and if you have any questions, ask!
Attachments
Random Object hierarchy .zip
(68.93 KiB) Downloaded 157 times
mauovernet
Posts: 19
Joined: Mon Jul 27, 2020 6:28 pm

Re: Cinema 4D Xpresso question

Post by mauovernet »

JESUS !!!!!!!!! awesome ...
I suppose that when stopping the timeline, it generates a NEW CHARACTER?
..
let me study and i will answer
one more time thanks so much a lot !!!!!
bless and hug ....
  • Advertising
Post Reply