Community
Arnold for Maya Forum
Rendering with Arnold in Maya using the MtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

vertex color 3dsmax

11 REPLIES 11
Reply
Message 1 of 12
jasonkaehler
2395 Views, 11 Replies

vertex color 3dsmax

hi, i'm trying to convert my old material (#26) to new Arnold material. its being driven by vertex color node . This wiring doesn't seem to work...can anyone please help? Thanks!

1911-vertexcolor.jpg

11 REPLIES 11
Message 2 of 12
RGhost77
in reply to: jasonkaehler

In 2019 Max you can use OSL node "UVW Cahnnel" with Map Channel == 0 to get vertex color from object.


Royal Ghost | veda3d.com
Message 3 of 12
Anonymous
in reply to: jasonkaehler

Care to expand on this explanation? I can't get vertex colors to render at all with Arnold. And there is nothing in the documentation about vertex color support.

If a model only has vertex colors then it likely doesn't have UVW coordinates, which my models do not, which I assume is why "UVW channel" OSL node is not doing anything.

Any ideas on how to fix this problem?

Message 4 of 12
RGhost77
in reply to: jasonkaehler

Vertex color == vertex uvw coordinate, where R==U, G==V,B==W. So if you have vertex color on object that you have UVW mapping on it.
Vertex color map channel it's just custom name of UVW channel 0.

4217-3dsmax-2019-07-24-18-46-01.png

4218-3dsmax-2019-07-24-18-47-13.png


Royal Ghost | veda3d.com
Message 5 of 12
madsd
in reply to: jasonkaehler

Made a video, maybe this will help, atleast I show how to paint vertex colors and render them.
You can use the OSL UVW channel map and set it to the channel you export the vertex colors to, which can be any, by default 0 as already mentioned.

https://knowledge.autodesk.com/support/3ds-max/getting-started/caas/screencast/Main/Details/2a01656f...

Message 6 of 12
Anonymous
in reply to: jasonkaehler

Thanks for the reply. I kind of understand what you're saying, but I don't know if it helps me.

I've got an imported object with vertex colors only. No UVW mapping. It displays the vertex colors fine in the viewport.

4222-vtexcoloredmesh.jpg

I created a shader OSL UVW CHANNEL (map channel 0) piped into the base color of an arnold standard surface.

4223-osluvwchannel.jpg

Render in Arnold 2019 and 2020

4224-blackrender.jpg`

Ideas? Thanks

Message 7 of 12
madsd
in reply to: jasonkaehler

please upload a section of the wheele with green paint on.
We can check if your data sits in a different channel or quickly narrow down the workflow issue.

Message 8 of 12
Anonymous
in reply to: jasonkaehler

Awesome, thanks.

Attached is the wheel.

I did watch your video actually. Maybe I'm missing something simple.

Here is additional info on the origin of the mesh:

1) Mesh created from FARO point cloud data in CloudCompare.

2) Exported as a PLY

3) Imported into Meshlab

4) Exported as a DAE

5) Imported into 3DS Max.

I even used the vertex paint modifier and painted on top of my existing vertex colors. I still get a black render. 😞

Thanks!

wheel-fortroubleshoot-01.zip

Message 9 of 12
RGhost77
in reply to: jasonkaehler

4228-3dsmax-2019-07-24-23-52-26.png

wheel-fortroubleshoot-02.zip

It's works as expected. Please check attached scene.

p.s. In your scene you not assign Material #3 to the wheel, and Base color value must be 1.0 not 0.


Royal Ghost | veda3d.com
Message 10 of 12
Anonymous
in reply to: jasonkaehler

OMG, thank you.

I guess I mistakenly changed the base color to zero while watching Mads' video, where he actually just changes the reflection to zero.

Thanks!!

Message 11 of 12
nintenjo64
in reply to: jasonkaehler

Sorry to jump on this old thread but i can get my Vertex colours to show in the viewport and in my renders (i was using the arnold User Data with channel uv_0) but the colors dont seem to match in the viewport (and on the mesh itself the colors are on the left) but in the render the colors seem to be in a different color space? Any idea? 

nintenjo64_0-1711535646952.png

 

Message 12 of 12
nintenjo64
in reply to: madsd

Great video, but you dont show the vertex colours in the viewport..  As i suspect the colours your painting on the mesh dont match the colors you see in the render (at least thats the issue im having). 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report