question

Tobias Gremmler avatar image
Tobias Gremmler asked ·

x-particles lines color from xpDisplayRender?

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!

x-particles
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Peter Horvath avatar image
Peter Horvath answered ·

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?

2 comments
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

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

0 Likes 0 ·
Peter Horvath avatar image Peter Horvath Tobias Gremmler ·
I will ask Insydium.
1 Like 1 ·
Peter Horvath avatar image
Peter Horvath answered ·

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.

10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Welcome to the Arnold Answers community.

This is the place for Arnold renderer users everywhere to ask and answer rendering questions, and share knowledge about using Arnold, Arnold plugins, workflows and developing tools with Arnold.

If you are a new user to Arnold Answers, please first check out our FAQ and User Guide for more information.

When posting questions, please be sure to select the appropriate Space for your Arnold plugin and include the plugin version you are using.

Please include images, scene and log files whenever possible as this helps the community answer your questions.

Instructions for generating full verbosity log files are available for MtoA, MaxtoA, C4DtoA, HtoA, KtoA, and Kick.

If you are looking for Arnold Documentation and Support please visit the Arnold Support site.

To try Arnold please visit the Arnold Trial page.

Bottom No panel present for this section.