title: Fill an triangle over a 3D Numpy array (Python)
body: <p>I have an array defined as:</p>
  
  <pre><code>    arrayXYZ=np.full((1000,1200,1500),np.uint8(0))
  </code></pre>
  
  <p>I want to fill triangles inside that array with the value "np.uint8(255)".</p>
  
  <p>Each triangle is defined with 3 3D integer vertex points (x1,y1,z1),(x2,y2,z2),(x3,y3,z3) each.</p>
  
  <p>I want to have that arrayXYZ in memory and not displayed.</p>
  
  <p>How to do that the best way and fast enough?</p>
  
  <p>Thanks,</p>
  
  <p>Luis Gonçalves</p>