material primitive editing setup