Rendering artifacts when using CSG operations through command bar and through Studio tools

left is union through command bar right is union through studio tools for first image



https://gyazo.com/475b6a56c4c4b69eebea6c331c9ee7c5.gif

when I make a union through the command bar it does this

script that does it:

local model=workspace.Model:Clone()
model.right.BrickColor=model.pie.BrickColor
model.left.BrickColor=model.pie.BrickColor
local plugin=PluginManager():CreatePlugin()
for deg=15,180-15,15 do
	local s=math.tan(math.rad(deg/2))*5
	local model=model:Clone()
	model.left.Size=Vector3.new(2,5,s)
	model.right.Size=Vector3.new(2,5,s)
	model.left.Position=Vector3.new(2.5,0,-s/2)
	model.right.Position=Vector3.new(2.5,0,s/2)
	local negate=plugin:Negate{model.right,model.left}
	negate[3]=model.pie
	local union=plugin:Union(negate)
	union.Name=tostring(360-deg)
	union.Position=Vector3.new(deg,0,0)
	union.Parent=workspace.Debris
end

accompanying model:
pies.rbxm (4.0 KB)

comparison:
csg effects.rbxl (17.5 KB)

3 Likes

Can this be a feature?


It even does it in blender. Left = expected, right = weird.

1 Like