Trouble accessing vertex colors 2022.1_27.1 (3.4.1)

Sub forum for bug reports
Forum rules
Before posting a bug report, please check the following:
1. That the issue has not already been disclosed
2. That the issue is specific to this plugin, and not Octane in general (Try reproducing it in Standalone)
Bugs related to the Octane Engine itself should be posted into the Standalone Support sub-forum.


All bug reports should include the information below, along with a detailed description of the issue and steps to reproduce it.
A. Operating System, including version (i.e. Win 7, OSX 10.11.2, Ubuntu 14.04, etc.)
B. Graphics Card(s) model (i.e. GTX 580 - 3GB, TITAN, etc.)
C. RAM Capacity (i.e. 6 GB)
D. Nvidia driver version (i.e. 7.50, 7.5.22)
E. OctaneRender Standalone version, if installed (i.e. 2.24.2, 2.23, etc.)
F. OctaneRender plugin version (i.e. v2.25 - 2.21)
G. Host application version, including build number if available (i.e. 3ds Max 2016 Build 18.0)
Post Reply
User avatar
rray
Licensed Customer
Posts: 37
Joined: Sat May 06, 2017 8:43 pm

Hi

Looking forward to using the newest release soon. Right now I can't access the vertex colors on a mesh using the octane attribute nodes (Col, Col.001).
Wiring it directly using the octane Node view doesn't work either. Using Cycles, it works, the vertex colors show.

in the previous 2022.1_27.5_beta (3.3) it worked too.
Thanks for any hints!
Core i7 980 x GTX 980
linograndiotoy
OctaneRender Team
Posts: 1353
Joined: Thu Feb 01, 2018 7:10 pm

That's been fixed in the upcoming version.
User avatar
rray
Licensed Customer
Posts: 37
Joined: Sat May 06, 2017 8:43 pm

Thank you for letting me know!
Core i7 980 x GTX 980
linograndiotoy
OctaneRender Team
Posts: 1353
Joined: Thu Feb 01, 2018 7:10 pm

Sure!
User avatar
rray
Licensed Customer
Posts: 37
Joined: Sat May 06, 2017 8:43 pm

I tried rendering vertex colors in the latest version (Blender_Octane_Edition_2022.1_27.15_stable.exe)

Is it fixed already, maybe I did something wrong? Here's what I did:

Image

Using cycles, the colors are coming through:

Image
Core i7 980 x GTX 980
opstyix
Licensed Customer
Posts: 29
Joined: Tue Jul 30, 2019 6:47 am

Try to convert the domain from Face Corner to Vertex, you can do that from the drop-down arrow in the Color Attributes tab.
Last edited by opstyix on Fri May 12, 2023 12:10 am, edited 1 time in total.
User avatar
rray
Licensed Customer
Posts: 37
Joined: Sat May 06, 2017 8:43 pm

Thanks opstyix, that did help! It never occured to me that it might be because of that.

Now I just have to find out how to do that using python.

Maybe face corner color attributes will be supported again some day.
Core i7 980 x GTX 980
User avatar
rray
Licensed Customer
Posts: 37
Joined: Sat May 06, 2017 8:43 pm

in case someone needs it here's the code used to convert the vertex color storage type:

Code: Select all

     
for o in bpy.context.scene.objects:     
  bpy.context.view_layer.objects.active = o
  try:
    o.data.vertex_colors.active = o.data.vertex_colors["Col"]
    bpy.ops.geometry.color_attribute_convert(domain='POINT', data_type='BYTE_COLOR')
    o.data.vertex_colors.active = o.data.vertex_colors["Col.001"]
    bpy.ops.geometry.color_attribute_convert(domain='POINT', data_type='BYTE_COLOR')
  except:
    print(f"trouble converting vertex colors for {o.name}")
Core i7 980 x GTX 980
Post Reply

Return to “Bug Reports”