x-particles lines color from xpDisplayRender?

x-particles lines color from xpDisplayRender?

gremmler
Participant Participant
880 Views
4 Replies
Message 1 of 5

x-particles lines color from xpDisplayRender?

gremmler
Participant
Participant

Hi, I am trying to get the display color from a xpDisplayRender object that shows fields. This video explains the workflow for the standard renderer from minute 18:40 till the end:
https://www.youtube.com/watch?v=EOSe3xbJRQg&t=452s

According to the Arnold Tag, the object is interpreted as curve, so I was hoping it works similar to xpTrail. But somehow the colors don’t show up in Arnold. Thanks for any suggestions!

0 Likes
881 Views
4 Replies
Replies (4)
Message 2 of 5

peter.horvath6V6K3
Advisor
Advisor

Unfortunately as far as I see, the X-Particles API does not have support for the xpDisplayRender object, like it does for xpTrail, thus colors can not be exported to Arnold. Do other third-party renderers support it?

0 Likes
Message 3 of 5

gremmler
Participant
Participant

Thanks for your reply. It is supported by Cycle4D, but this renderer is from the same company who is doing x-Particles.

0 Likes
Message 4 of 5

peter.horvath6V6K3
Advisor
Advisor
I will ask Insydium.
0 Likes
Message 5 of 5

peter.horvath6V6K3
Advisor
Advisor

Actually, this should work natively. If you set the mode to 'Segmented Spline', like in the video, it generates individual splines with the Display Color set to match the viewport display of the FlowField. You can read that color via a user_data_rgb shader, just set display_color as the Attribute.

0 Likes