Random hair color

Forums: Random hair color
Maxon Cinema 4D (Export script developed by abstrax, Integrated Plugin developed by aoktar)

Moderator: aoktar

Random hair color

Postby snaffy » Sat Sep 15, 2018 9:40 pm

snaffy Sat Sep 15, 2018 9:40 pm
Greetings,
I am using 3.08.3 and C4D 18. After following this tutorial https://vimeo.com/129971509 In the last example using XP Trail - he manages to generate random colors on the hairs. I can't do this, they just all appear as one color. I noticed others complaining in the comments they had the same issue.

Is there a way to generate random colors on the hair object with Octane? Thanks!
snaffy
Licensed Customer
Licensed Customer
 
Posts: 11
Joined: Sun May 28, 2017 1:28 am

Re: Random hair color

Postby aoktar » Sun Sep 16, 2018 8:49 am

aoktar Sun Sep 16, 2018 8:49 am
Sorry but didn't you checked manual?
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
User avatar
aoktar
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 15957
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye

Re: Random hair color

Postby zoppo » Sun Sep 16, 2018 10:39 am

zoppo Sun Sep 16, 2018 10:39 am
C4D 2023 | Win10
User avatar
zoppo
Licensed Customer
Licensed Customer
 
Posts: 298
Joined: Wed Dec 09, 2015 10:37 am
Location: München

Re: Random hair color

Postby snaffy » Sun Sep 16, 2018 6:11 pm

snaffy Sun Sep 16, 2018 6:11 pm
Thanks for the feedback....Yes I checked the manual, but I couldn't seem to find the answer. I also downloaded those examples previously, thanks Zoppo...in those examples the hair is being generated from the XP trail object with the Object tag....I am trying to randomize the color of the actual hair object. Maybe I'm just missing something? I have included a file....that demonstrates my problem. Thanks!
Attachments
HAIR_EXAMPLE.zip
(6.69 MiB) Downloaded 166 times
snaffy
Licensed Customer
Licensed Customer
 
Posts: 11
Joined: Sun May 28, 2017 1:28 am

Re: Random hair color

Postby aoktar » Sun Sep 16, 2018 9:46 pm

aoktar Sun Sep 16, 2018 9:46 pm
You're doing it wrong. Check picture and sample.
Attachments
HAIR_EXAMPLE.rar
(128.11 KiB) Downloaded 298 times
a1.jpg
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
User avatar
aoktar
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 15957
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye

Re: Random hair color

Postby snaffy » Sun Sep 16, 2018 10:57 pm

snaffy Sun Sep 16, 2018 10:57 pm
Thanks for response! However I as I mentioned I am trying to randomize on the actual Hair Object......Not on the XPtrail with an Octane object tag as you have done here...Reason being I need finer control over the thickness and other hair properties etc.
I know it can be done this way...but can this be achieved with the hair object? Like in that original video I posted? I am looking for it to be exactly like the sample you sent except with the hair object. Thanks for your time!
snaffy
Licensed Customer
Licensed Customer
 
Posts: 11
Joined: Sun May 28, 2017 1:28 am

Re: Random hair color

Postby aoktar » Mon Sep 17, 2018 12:59 am

aoktar Mon Sep 17, 2018 12:59 am
You can do with hair objects, but xparticle is not assigning uv mapping to generated hair. It's the reason why you cannot do that.
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
User avatar
aoktar
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 15957
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye

Re: Random hair color

Postby zoppo » Mon Sep 17, 2018 7:54 am

zoppo Mon Sep 17, 2018 7:54 am
Look at this:
Image
Attachments
HAIR_EXAMPLE_solution.zip
(6.28 MiB) Downloaded 437 times
C4D 2023 | Win10
User avatar
zoppo
Licensed Customer
Licensed Customer
 
Posts: 298
Joined: Wed Dec 09, 2015 10:37 am
Location: München

Re: Random hair color

Postby snaffy » Tue Sep 18, 2018 2:24 am

snaffy Tue Sep 18, 2018 2:24 am
Wow! Thanks Zoppo. The Object tag is still determining the thickness value....but this at least still allows you access to the other hair properties I wanted. Awesome!!! Thanks again
snaffy
Licensed Customer
Licensed Customer
 
Posts: 11
Joined: Sun May 28, 2017 1:28 am

Return to Maxon Cinema 4D


Who is online

Users browsing this forum: No registered users and 27 guests

Thu Apr 18, 2024 5:01 am [ UTC ]