Page 1 of 1

Data channel

Posted: Fri Sep 06, 2024 3:30 pm
by remKa
Hello,

How would you use the map channel output from data channel into an Octane Material ?

Exemple here : https://www.youtube.com/watch?v=wU__4j7EGtI

Thank you in advance

Re: Data channel

Posted: Mon Sep 09, 2024 10:48 am
by paride4331
Hi remKa,
Do you already have a scene set up with this workflow that we can test?
Paride

Re: Data channel

Posted: Mon Sep 09, 2024 12:14 pm
by remKa
Sure, here you go

Re: Data channel

Posted: Tue Sep 10, 2024 11:49 pm
by neonZorglub
remKa wrote:Sure, here you go
Hi remKa,

Thanks for the sample.

I'm not familiar with the Data Channel modifier, but I could see a few things:
-The final operator is currently set as a Vertex output, that sets the result in a Map channel of the object.
That's good, and usable by Octane.
(but the value Channel Num in your sample was set to 1, it seems to conflict with the default UV channel, so I set it to Channel Num 2)
Note that in this case, we need to select only 1 of the 3 components : X, Y or Z ..
(I'm not sure how to output 3 components if we want a color output : maybe add more operators, and select Y, Z for green, blue, or use another operator that could set a color channel directly..)

We can check with the Tools/Channel Info window that there are actually some data in the selected Channel
(in this case, ID '2:map')

Now, adding an Octane Geometry Properties modifier, we can tell Octane how to use this channel:
In the Channel Setting tab, we can use channels as UVs, Color, or Float.
In this case, we can set Octane Color 1 :
'Channel' as Map Channel
and Map Channel as 2

This is now usable by a 'Color vertex attribute' Octane texture (in the Geometric group)

As we selected the X component in the Data Channel modifier operator, it appears as red color only. (see DataChannel04.max)

(we can also use a 'Greyscale vertex attribute' Octane texture, if we use a Float channel in the Octane Geometry Properties modifier : see DataChannel05.max)

You could use some of the Utility group textures to change / merge / pick to assign channels to color (DataChannel06.max)


Some other applications could be to use those channels as vector, and use those as input of a displacement map, but you'll need to have the Data Channel modifier operators setup for this..

I hope that helps,
Thanks
DataChannel04.png
DataChannel_oct.zip
(5.11 MiB) Downloaded 45 times

Re: Data channel

Posted: Wed Sep 11, 2024 9:37 am
by remKa
Fantastic, thank you very much for your time !