Draw object for mask

Hello,

I want to draw a simple object, which would be used to mask the output of the renderer.
I wanted to make a simple patch that would allow me to draw (pointedit) mesh. The problem is that I don’t how to set / draw simple object with 7 points in 2d.

What would be the easiest way to do that?

Why do I have to apply each time I change vertex coordinates for mesh to update?

Should I use mesh editor for that?

Thanks for help

Polygon (EX9.Geometry 2d) ? or use the point editor in orthogonal view…

Hi kundi,

…do you really need to draw? I mean, for simple straight line mask stuff (“7 points in 2d”), you could just use the VertexBuffer (EX9.Geometry Join) help file and add some points and indices. Like:

simple2dmask.v4p (19.4 kB)

Hello everyone, first time posting…

Is there a way to do the same polygon object mask with dx11 nodes? I am quite new to this and it seems that the required components have changed a bit so I am having a hard time replicating.

Thanks for the help!
Jake

Here is a DX11 version, it works but I’m not happy with what it gives when I choose Backcullsimple in the rasterizer.

simple2dmask_DX11.v4p (24.5 kB)

Thanks newemka!

I will check this out and see how it works. I was having a hard time getting started.

I am having trouble making meshes in general in vvvv from vertex positions. I guess I am not sure how the zip is working to integrate the vertex position with normals and texture coordinates.

I might be asking some more questions soon. I can’t find a good breakdown online.

Kind regards,
Jake