Does anyone know how the following could be done:

Essentially the overlapped parts are removed.
It would be awesome if someone knows how to do this.
Moderator: Moderators
Code: Select all
local function YourVertFunction()
for angle=0,2*math.pi*3/4,math.pi/32 do
gl.Vertex(x+r*math.cos(a),y,z+r*math.sin(a))
end
end
gl.BeginEnd(GL.LINE_LOOP,YourVertFunction)