Random hair color

Maxon Cinema 4D (Export script developed by abstrax, Integrated Plugin developed by aoktar)

Moderators: ChrisHekman, aoktar

Post Reply
snaffy
Licensed Customer
Posts: 11
Joined: Sun May 28, 2017 1:28 am

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!
User avatar
aoktar
Octane Plugin Developer
Posts: 16066
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye
Contact:

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
zoppo
Licensed Customer
Posts: 304
Joined: Wed Dec 09, 2015 10:37 am
Location: München
Contact:

C4D 2025 | Win10
snaffy
Licensed Customer
Posts: 11
Joined: Sun May 28, 2017 1:28 am

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 205 times
User avatar
aoktar
Octane Plugin Developer
Posts: 16066
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye
Contact:

You're doing it wrong. Check picture and sample.
Attachments
HAIR_EXAMPLE.rar
(128.11 KiB) Downloaded 340 times
a1.jpg
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
snaffy
Licensed Customer
Posts: 11
Joined: Sun May 28, 2017 1:28 am

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!
User avatar
aoktar
Octane Plugin Developer
Posts: 16066
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye
Contact:

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
zoppo
Licensed Customer
Posts: 304
Joined: Wed Dec 09, 2015 10:37 am
Location: München
Contact:

Look at this:
Image
Attachments
HAIR_EXAMPLE_solution.zip
(6.28 MiB) Downloaded 484 times
C4D 2025 | Win10
snaffy
Licensed Customer
Posts: 11
Joined: Sun May 28, 2017 1:28 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
Post Reply

Return to “Maxon Cinema 4D”