Polygon angles
Hello,
I was wondering if there is a way of creating on-the-fly polygons with some of the angles greater than 180 degrees. The description of viz.POLYGON is: "Creates a polygon. Each vertex provides a point for the polygon. Each of the inside angles created by linking the vertices must be acute." Surely there must be a way of creating concave on-the-fly objects! Thanks in advance, G |
Does using viz.LINE_STRIP work for the shape you want to create?
|
Hi Jeff,
I too am trying to create concave polygons on-the-fly and am wondering how viz.LINE_STRIP can help me? I see that I can create a concave wireframe shape but am wondering how that can be "filled in" to form a poly?? |
Hello,
I could use the line strip, but that left me with only the perimeter of the shape I wanted. Now I am creating the opposite shape of what I want with viz.Polygon and then use the negative space for the shape I want. Also, I have used viz.QUADS to create a shapes which viz.polygon won't let you create because of concave angles. Hope that helped! |
All times are GMT -7. The time now is 04:42 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC