J
Jonas Mumm
Guest
Hey all,
today I've started programming a system that allows me to draw planets with different layers in 2d.
For this matter I've used 2d primitives, and as I need many "round" edges for the planet I've added a variable that controls the number of sides the polygons are drawn with to make them appear round (very similar to draw_set_circle_precision).
Now what I stumbled across is that seemingly there's a limit of how many vertices can be put into a single primitive: When I increase my circle precision variable, the primitive is drawn incomplete once the vertex-count in that primitive surpasses ~1000.
I've checked my code multiple times for an error, but everything seemed fine.
I also made Gamemaker handle the drawing process within multiple seperate primitives, and everything worked as expected.
What I'm asking now is wether there's indeed a limit of how many vertices can be in a single primitive, and if so wether there is a meaningfull way to surpass that limit.
Any help is appreciated
today I've started programming a system that allows me to draw planets with different layers in 2d.
For this matter I've used 2d primitives, and as I need many "round" edges for the planet I've added a variable that controls the number of sides the polygons are drawn with to make them appear round (very similar to draw_set_circle_precision).
Now what I stumbled across is that seemingly there's a limit of how many vertices can be put into a single primitive: When I increase my circle precision variable, the primitive is drawn incomplete once the vertex-count in that primitive surpasses ~1000.
I've checked my code multiple times for an error, but everything seemed fine.
I also made Gamemaker handle the drawing process within multiple seperate primitives, and everything worked as expected.
What I'm asking now is wether there's indeed a limit of how many vertices can be in a single primitive, and if so wether there is a meaningfull way to surpass that limit.
Any help is appreciated