0

Model Comparison

Anonymous 10 years ago 0
This discussion was imported from CodePlex

pggarland wrote at 2012-12-03 20:02:

I have a couple of questions.

1. Why does the ModelViewer example app use ModelVisual3D instead of HelixVisual3D?

2. I would like to load up 2 models into a HelixViewport3D, and use a slider to change opacity between the 2, for comparison purposes.  I would have to use a switch to manipulate 1 model at a time.  Any thoughts as to the best way to accomplish this?

Thanks,

Paul


objo wrote at 2012-12-03 21:20:

1. Use ModelVisual3D to show models loaded from the supported file formats, use HelixVisual3D to show 3D helix models.

2. I suggest you use DiffuseMaterials on your models, and bind the opacity property of the brushes

http://msdn.microsoft.com/en-us/library/system.windows.media.brush.opacity.aspx
http://msdn.microsoft.com/en-us/library/system.windows.media.media3d.diffusematerial.aspx