Trouble accessing vertex colors 2022.1_27.1 (3.4.1)

Forums: 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)

Trouble accessing vertex colors 2022.1_27.1 (3.4.1)

Postby rray » Tue Mar 21, 2023 10:03 pm

rray Tue Mar 21, 2023 10:03 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
User avatar
rray
Licensed Customer
Licensed Customer
 
Posts: 37
Joined: Sat May 06, 2017 8:43 pm

Re: Trouble accessing vertex colors 2022.1_27.1 (3.4.1)

Postby linograndiotoy » Sat Apr 01, 2023 10:37 am

linograndiotoy Sat Apr 01, 2023 10:37 am
That's been fixed in the upcoming version.
linograndiotoy
OctaneRender Team
OctaneRender Team
 
Posts: 1155
Joined: Thu Feb 01, 2018 7:10 pm

Re: Trouble accessing vertex colors 2022.1_27.1 (3.4.1)

Postby rray » Sat Apr 01, 2023 7:06 pm

rray Sat Apr 01, 2023 7:06 pm
Thank you for letting me know!
Core i7 980 x GTX 980
User avatar
rray
Licensed Customer
Licensed Customer
 
Posts: 37
Joined: Sat May 06, 2017 8:43 pm

Re: Trouble accessing vertex colors 2022.1_27.1 (3.4.1)

Postby linograndiotoy » Wed Apr 26, 2023 7:05 am

linograndiotoy Wed Apr 26, 2023 7:05 am
Sure!
linograndiotoy
OctaneRender Team
OctaneRender Team
 
Posts: 1155
Joined: Thu Feb 01, 2018 7:10 pm

Re: Trouble accessing vertex colors 2022.1_27.1 (3.4.1)

Postby rray » Thu May 11, 2023 4:26 pm

rray Thu May 11, 2023 4:26 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
User avatar
rray
Licensed Customer
Licensed Customer
 
Posts: 37
Joined: Sat May 06, 2017 8:43 pm

Re: Trouble accessing vertex colors 2022.1_27.1 (3.4.1)

Postby opstyix » Thu May 11, 2023 9:03 pm

opstyix Thu May 11, 2023 9:03 pm
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.
opstyix
Licensed Customer
Licensed Customer
 
Posts: 20
Joined: Tue Jul 30, 2019 6:47 am

Re: Trouble accessing vertex colors 2022.1_27.1 (3.4.1)

Postby rray » Thu May 11, 2023 10:38 pm

rray Thu May 11, 2023 10:38 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
Licensed Customer
 
Posts: 37
Joined: Sat May 06, 2017 8:43 pm

Re: Trouble accessing vertex colors 2022.1_27.1 (3.4.1)

Postby rray » Fri May 12, 2023 11:01 pm

rray Fri May 12, 2023 11:01 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
User avatar
rray
Licensed Customer
Licensed Customer
 
Posts: 37
Joined: Sat May 06, 2017 8:43 pm

Return to Bug Reports


Who is online

Users browsing this forum: No registered users and 4 guests

Tue Apr 16, 2024 1:49 pm [ UTC ]