Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

Draw mesh faces and wireframe with different colors

$
0
0

@Gallo wrote:

Hello,

just a quick question : i have a VBO Mesh which i would like to draw faces with certain color + alpha and draw line contours (wireframe) using another color.

for now i am drawing both using mesh.drawFaces() and mesh.drawLines() but i can't use ofSetColor right ?

do i need to clone my mesh to assign vertices different colors and do a mesh.drawFaces() and clone.drawLines() to draw both with different colors or there is another way ?

thanks a lot for your help.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4929

Latest Images

Trending Articles



Latest Images