Page MenuHome

WIP: Support UV coordinates in CCG path of multires
Needs ReviewPublic

Authored by Sergey Sharybin (sergey) on Tue, Sep 24, 12:09 PM.



Store UVs in a loop custom data where indexing is done in a
grid element manner. This allows to extend attributes further
to support vertex colors as well.

Currently only default UV layer is sent to GPU.
This is something where i would hope to have help from Clement :)

Fixes T63581: Multires: textures not displayed in sculpt mode

Diff Detail

rB Blender
multires_ccg_uv_v2 (branched from master)
Build Status
Buildable 5071
Build 5071: arc lint + arc unit

Event Timeline

Another note: only works with flat shading. Smooth shading should be starightforward as well, but first would be nice to know if the approach is good in general and that we can indeed do all the required attributes from GPU_pbvh_grid_buffers_update().