Page 1 of 1

Colored Mesh.

Posted: Tue Dec 10, 2013 12:37 am
by panguyen
Hey guys.

so I have this colored mesh i created in Rhino. and i'm trying to render it in Octane rhino plugin but it only shows up white. do you know if its possible to render the colored mesh??

so the process is that i make the mesh, i run a code that colors all the vertices and then want to be able to render those colors you see in my image in octane... let me know if you guys have any clues on what is needed.
It seems to render fine in standard rhino render and vray.

best.
testcolor.jpg

Re: Colored Mesh.

Posted: Tue Dec 10, 2013 1:22 am
by face_off
Octane sets the color of each vertex according to the material, rather than the vertex color. So assign a material to your mesh and set the color in the Octane material. Version 1.20.1.24 onwards of the plugin lets you assign the mesh to a layer and the layer color will be used by Octane.

Paul

Re: Colored Mesh.

Posted: Tue Dec 10, 2013 11:13 am
by panguyen
hmmm.... i guess that thing is i don't know how to create such a complex map/texture?

i'm generating the colors from the code i'm writing and its more or less apart of the mesh and not a material.
SO i'm trying to render it with out setting a material. Vray and brazil so forth seem to do this fine? and 3dsmax seems to render it fine as well?

Re: Colored Mesh.

Posted: Tue Dec 10, 2013 11:47 am
by face
Vertex colors aren“t supported from Octane.
You have to make a UV-Texture and bake the color information in Rhino into it.

face

Re: Colored Mesh.

Posted: Sun Dec 22, 2013 12:53 am
by newske
Hi !

I had the same problem in this project.
I solved it by using the open source tool 'MeshLab' to convert the vertex colours to textures and save as a mapped image, as face suggests. How to do easily?

A brief instruction:

Rhino:
  • Save as a .VMRL (including vert. colours).
MeshLab:
  • 1. Go to 'File > Import Mesh...'.
    2. Go to 'Filters > Texture > Parametrization: Trivial Per-Triangle' (if you get an error about the inter-triangle border being too much increase the texture dimension).
    2. Go to 'Filters > Texture > Transfer Vertex Attributes? to Texture (between 2 meshes)', the output .png will be saved in the same directory as your model.
    4. Go to 'File > Export Mesh As' (we're resaving the .obj so it includes the new UVW coordinates).
Hope that helps!

Newske