// Open the depth map in their full size on another form private void pbxDepthMap_Click(object sender, EventArgs e) { if (pbxDepthMap.Image != null) { frmImage textureForm = new frmImage(gpbDepthMap.Text, bmDepthMap, frmImage.ImageType.DepthMap, normalMap); textureForm.Show(); } }
// Open the texture in their full size on another form private void pbxTexture_Click(object sender, EventArgs e) { if (pbxTexture.Image != null) { frmImage textureForm = new frmImage(gpbTexture.Text, bmTexture, frmImage.ImageType.Texture, normalMap); textureForm.Show(); } }