![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
| |
| | #1 (permalink) |
| | Model3DGroup behavior I have 2 identical surfaces, one at -z and other at +z location. They both have a transparent Material on the front side and a non-transparent BackMaterial on the other side. <Model3DGroup> <AmbientLight ... /> <DirectionalLight .../> <DirectionalLight .../> <GeometryModel3D x:Name="Side1">...</GeometryModel3D> <GeometryModel3D x:Name="Side2">...</GeometryModel3D> </Model3DGroup> When I rotate this model group around the y-axis, the behavior appears to be different depending on the order the GeometryModel3D shows up on the list. The first one seems to be non-transparent. I can reverse the order and the other surface become non-transparent. Is this the expected behavior or am I doing something wrong? |
My System Specs![]() |
| | #2 (permalink) |
| | RE: Model3DGroup behavior Expected behavior for Version 1 of WPF. You will need to sort the geometries per render cycle. I have a simple example of this at http://www.therhogue.com/WinFX - collageview sample. "PT" wrote: > I have 2 identical surfaces, one at -z and other at +z location. They both > have a transparent Material on the front side and a non-transparent > BackMaterial on the other side. > > <Model3DGroup> > <AmbientLight ... /> > <DirectionalLight .../> > <DirectionalLight .../> > <GeometryModel3D x:Name="Side1">...</GeometryModel3D> > <GeometryModel3D x:Name="Side2">...</GeometryModel3D> > </Model3DGroup> > > When I rotate this model group around the y-axis, the behavior appears to be > different depending on the order the GeometryModel3D shows up on the list. > The first one seems to be non-transparent. I can reverse the order and the > other surface become non-transparent. Is this the expected behavior or am I > doing something wrong? > |
My System Specs![]() |
| | #3 (permalink) |
| | RE: Model3DGroup behavior Thanks for the help. This is some heavy lifting. Especially since I'm making a spinning cube. "TheRHogue" wrote: > Expected behavior for Version 1 of WPF. You will need to sort the geometries > per render cycle. > > I have a simple example of this at http://www.therhogue.com/WinFX - > collageview sample. > > "PT" wrote: > > > I have 2 identical surfaces, one at -z and other at +z location. They both > > have a transparent Material on the front side and a non-transparent > > BackMaterial on the other side. > > > > <Model3DGroup> > > <AmbientLight ... /> > > <DirectionalLight .../> > > <DirectionalLight .../> > > <GeometryModel3D x:Name="Side1">...</GeometryModel3D> > > <GeometryModel3D x:Name="Side2">...</GeometryModel3D> > > </Model3DGroup> > > > > When I rotate this model group around the y-axis, the behavior appears to be > > different depending on the order the GeometryModel3D shows up on the list. > > The first one seems to be non-transparent. I can reverse the order and the > > other surface become non-transparent. Is this the expected behavior or am I > > doing something wrong? > > |
My System Specs![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| IE7 behavior | Vista performance & maintenance | |||
| Odd behavior of WMP GUI | Vista music pictures video | |||
| rdp behavior | Vista General | |||
| Smart-quote behavior: Is current behavior ideal? | PowerShell | |||