# TRIANGLE\_STRIP lighting problem

**URL:** <https://discourse.processing.org/t/triangle-strip-lighting-problem/38348>\
**Category:** Coding Questions\
**Created:** [August 14, 2022, 3:20am UTC](https://discourse.processing.org/t/triangle-strip-lighting-problem/38348 "2022-08-14T03:20:12Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![jafal](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jafal/32/19112_2.png) [@jafal](https://discourse.processing.org/u/jafal)\
**Post date:** [August 14, 2022, 11:26pm UTC](https://discourse.processing.org/t/triangle-strip-lighting-problem/38348/6 "2022-08-14T23:26:40Z")

</div>

Hi  
I am not sure what you mean but look at this

> [@Quad\_Strip: Okay, but how to do a line break in a bigger grid with Quad\_Strip?](https://discourse.processing.org/t/quad-strip-okay-but-how-to-do-a-line-break-in-a-bigger-grid-with-quad-strip/28623):
>
> Hello all, the reference has Quad\_Strip, but only for one line of quads. How can I make a bigger grid of QUAD\_STRIP? Actually, the main problem is the line break at the end of one line in the grid. I don’t want the right side to be connected with the left side of the next line in the grid. Part of a MUCH bigger project, but here is an example. As you can see, the values are in MyResults, which is a 2D array (grid) of PVector. I struggle with the vertexPV() command . Or do I have to say en…

> [@Quad\_Strip: Okay, but how to do a line break in a bigger grid with Quad\_Strip?](https://discourse.processing.org/t/quad-strip-okay-but-how-to-do-a-line-break-in-a-bigger-grid-with-quad-strip/28623/2):
>
> Hi @Chrisir , I would just use QUADS. int resolution = 32; PVector[] points = new PVector[resolution \* resolution]; color[] colors = new color[resolution \* resolution]; float scale = 250.0; void setup() { size(720, 405, P3D); int len = points.length; for (int i = 0; i \< len; ++i) { points[i] = new PVector(); } } void draw() { surface.setTitle(nfs(frameRate, 1, 1)); background(#202020); perspective(PI / 3.0, -width / (float)height, 0.001, 1000.0); camera( hei…

---

_[View the full topic](https://discourse.processing.org/t/triangle-strip-lighting-problem/38348)._
