Per-vertex color data from splines

Forums: Per-vertex color data from splines
Maxon Cinema 4D (Export script developed by abstrax, Integrated Plugin developed by aoktar)

Moderator: aoktar

Per-vertex color data from splines

Postby speltrong » Mon Jun 14, 2021 3:49 pm

speltrong Mon Jun 14, 2021 3:49 pm
Hi

Is it possible to get per-vertex color data from splines yet? This would particularly be helpful in x-particles where trail splines can change color based on certain criteria that would be very difficult to match with w-coordinate

Thanks!

-s
speltrong
Licensed Customer
Licensed Customer
 
Posts: 50
Joined: Wed Mar 29, 2017 6:08 pm

Re: Per-vertex color data from splines

Postby aoktar » Mon Jun 14, 2021 6:12 pm

aoktar Mon Jun 14, 2021 6:12 pm
There's not any attribute that contains color for vertexes of splines. xpTrail is a special object and latest build has support to read this data. See my example for that.
Attachments
xptrail.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: Per-vertex color data from splines

Postby speltrong » Mon Jun 14, 2021 7:47 pm

speltrong Mon Jun 14, 2021 7:47 pm
Thanks @aoktar!

Good to know that that's data that's specific to the xpTrails object and not the spline itself

-s
speltrong
Licensed Customer
Licensed Customer
 
Posts: 50
Joined: Wed Mar 29, 2017 6:08 pm

Re: Per-vertex color data from splines

Postby aoktar » Mon Jun 14, 2021 7:51 pm

aoktar Mon Jun 14, 2021 7:51 pm
speltrong wrote:Thanks @aoktar!

Good to know that that's data that's specific to the xpTrails object and not the spline itself

-s

Yes, do you know another method to paint splines?
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: Per-vertex color data from splines

Postby speltrong » Mon Jun 14, 2021 9:13 pm

speltrong Mon Jun 14, 2021 9:13 pm
You can change the display color of the spline. Redshift and Arnold can pull that data and you can feed it into the different channels.
speltrong
Licensed Customer
Licensed Customer
 
Posts: 50
Joined: Wed Mar 29, 2017 6:08 pm

Re: Per-vertex color data from splines

Postby aoktar » Mon Jun 14, 2021 9:35 pm

aoktar Mon Jun 14, 2021 9:35 pm
speltrong wrote:You can change the display color of the spline. Redshift and Arnold can pull that data and you can feed it into the different channels.

It's not for vertex painting, and using many hair nodes are bottleneck for performance.
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: Per-vertex color data from splines

Postby speltrong » Mon Jun 14, 2021 10:19 pm

speltrong Mon Jun 14, 2021 10:19 pm
got it - thanks!
speltrong
Licensed Customer
Licensed Customer
 
Posts: 50
Joined: Wed Mar 29, 2017 6:08 pm

Re: Per-vertex color data from splines

Postby Ofcourse » Thu Feb 22, 2024 4:01 pm

Ofcourse Thu Feb 22, 2024 4:01 pm
Hi @aoctar please are you aware of bug while I use a deformer with xpTrail object which has color stored please? With deformer the Octane does not render stored colors
Ofcourse
Licensed Customer
Licensed Customer
 
Posts: 19
Joined: Mon May 06, 2019 6:37 pm

Re: Per-vertex color data from splines

Postby aoktar » Thu Feb 22, 2024 5:19 pm

aoktar Thu Feb 22, 2024 5:19 pm
Ofcourse wrote:Hi @aoctar please are you aware of bug while I use a deformer with xpTrail object which has color stored please? With deformer the Octane does not render stored colors

Yes, check my past answers.
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

Return to Maxon Cinema 4D


Who is online

Users browsing this forum: jayroth2020 and 19 guests

Thu Apr 18, 2024 3:02 am [ UTC ]