# Having stroke highlight quad edges in 3D .obj?

**URL:** <https://discourse.processing.org/t/having-stroke-highlight-quad-edges-in-3d-obj/36648>\
**Category:** p5.js\
**Created:** [April 29, 2022, 6:55pm UTC](https://discourse.processing.org/t/having-stroke-highlight-quad-edges-in-3d-obj/36648 "2022-04-29T18:55:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![BandelierTapes](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/bandeliertapes/32/16139_2.png) [@BandelierTapes](https://discourse.processing.org/u/BandelierTapes)\
**Post date:** [April 29, 2022, 6:55pm UTC](https://discourse.processing.org/t/having-stroke-highlight-quad-edges-in-3d-obj/36648/1 "2022-04-29T18:55:40Z")

</div>

Hello there! I’m working on a project to display some simple geometries on a canvas. I have a 3D hexagonal prism I’ve made in Blender and I’d like to pretty it up a bit…

 ![hex_edges_example](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/3X/e/3/e3d194e0b044fae15f4a7d234f782cb7c7de6c6c.jpeg)

The left side of the image is how the hexagon is currently displayed with stroke() enabled (showing visible triangles). My question: is there a way to have the stroke highlight the edges more like how I’ve drawn on the right? I’m thinking working with quads might be doable for the sides, but no idea how to approach the top. Really, no idea how to approach this in general. Any help would be greatly appreciated!!

---

<div class="post-metadata">

**Author:** ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Post date:** [April 29, 2022, 7:34pm UTC](https://discourse.processing.org/t/having-stroke-highlight-quad-edges-in-3d-obj/36648/2 "2022-04-29T19:34:51Z")

</div>

try `noStroke(); lights();`

---

<div class="post-metadata">

**Author:** ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Post date:** [April 29, 2022, 8:36pm UTC](https://discourse.processing.org/t/having-stroke-highlight-quad-edges-in-3d-obj/36648/3 "2022-04-29T20:36:00Z")

</div>

Of course you can make the side as rectangles with vertex and the top too.
