jersmi's picture

Why does this most basic comp using Make Mesh with Values produce a black screen?

And a really stupid newb question -- what precisely is an element in this context?

Comments

To use the Parabox Make Mesh

jstrecker's picture
Submitted by

To use the Parabox Make Mesh with Values node, you need to understand the basics of meshes. I would recommend spending some time reading or watching videos to understand the background.

To answer your immediate questions: For the node to output a non-empty mesh, it needs at least 3 vertices (Positions and Elements) as inputs. Elements are indices into Positions (0 refers to the 1st item in Positions, 1 refers to the 2nd item in Positions, etc.) that have to do with how the mesh is assembled.

marioepsley I know very

Bodysoulspirit's picture
Submitted by

marioepsley I know very little about meshes, I should give Jaymie's link a deep read too, but when you wanna have a basic understanding of a mesh's structure, you can use the Parabox Get Mesh Values to know more. From the output ports you can see one way of feeding the "Texture" port for a square (see composition 1).

Feeding only the texture list works fine for unlit shaders, but when you wanna shade with lit shaders etc, one should also feed the other ports it seems (see composition 2)