Vertex Colors workaround (standalone Octane)

Forums: Vertex Colors workaround (standalone Octane)
Houdini Integrated Plugin

Moderator: juanjgon

Vertex Colors workaround (standalone Octane)

Postby PolderAnimation » Tue Jul 10, 2018 7:39 am

PolderAnimation Tue Jul 10, 2018 7:39 am
*This example is for Octane Standalone and Houdini BUT the idea of mapping color to uvsets should work in all applications.*

When we where working on a project using Houdini we needed the vertex colors to go to Octane standalone.
Unfortunately octane does not support vertex colors so the first option was texture baking the whole sequence, but that was slow an not accurate enough.

Image

So we came up with a workaround that is faster and 100% accurate.
What we did:

We mapped the color to the height of a single uv sets.
We did this for the channels RGB (so a total of 3 us sets are used).
Apparently if you use a uv height of exactly 1 or 0 octane starts repeating the texture from the top so we scaled the uv grid a tiny bit that it will go from 0.005 to .995.

In Octane I multipled each color with a static ramp and then added them all together.

I attached my hip file and orbx.

Cheers,
Sander Kamermans
Attachments
vertexColors.rar
(73.92 KiB) Downloaded 22 times
Win 10 64bit | 5 x 1080ti | i7 4770 | 32GB
User avatar
PolderAnimation
Licensed Customer
Licensed Customer
 
Posts: 203
Joined: Mon Oct 10, 2011 10:23 am
Location: Netherlands

Return to Houdini


Who is online

Users browsing this forum: No registered users and 1 guest

Sat Oct 20, 2018 8:07 pm [ UTC ]