Colored Mesh.

Rhino 3D (Export script developed by SamPage; Integrated Plugin developed by Paul Kinnane)

Moderator: face_off

Post Reply
panguyen
Licensed Customer
Posts: 4
Joined: Wed Oct 23, 2013 12:05 am

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
User avatar
face_off
Octane Plugin Developer
Posts: 15714
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

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
Win7/Win10/Mavericks/Mint 17 - GTX550Ti/GT640M
Octane Plugin Support : Poser, ArchiCAD, Revit, Inventor, AutoCAD, Rhino, Modo, Nuke
Pls read before submitting a support question
panguyen
Licensed Customer
Posts: 4
Joined: Wed Oct 23, 2013 12:05 am

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?
User avatar
face
Octane Plugin Developer
Posts: 3204
Joined: Sat Mar 06, 2010 2:10 pm
Location: Germany

Vertex colors aren´t supported from Octane.
You have to make a UV-Texture and bake the color information in Rhino into it.

face
Win10 Pro, Driver 378.78, Softimage 2015SP2 & Octane 3.05 RC1,
64GB Ram, i7-6950X, GTX1080TI 11GB
http://vimeo.com/user2509578
newske
Licensed Customer
Posts: 126
Joined: Sat Nov 03, 2012 11:51 pm

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
Octane for Rhino | Windows 8.1 x64 | i7-3820 OC | GTX970 4GB OC & GTX 560 Ti 1GB OC | 32GB DDR3
Post Reply

Return to “Rhinoceros 3D”