1.    30 Mar 2006 #1
    PT Guest

    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 SpecsSystem Spec

  2.    30 Mar 2006 #2
    TheRHogue Guest

    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 SpecsSystem Spec

  3.    31 Mar 2006 #3
    PT Guest

    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 SpecsSystem Spec


Similar Threads
Thread Forum
Polymorphic behavior ?
I trying rewrite some nant tasks in powershell. NAnt doesn't really have the concept of a function and this makes reuse via global properties and...
PowerShell
IE7 behavior
Frequently, when closing IE7, a dialog pops up saying the IE has stooped working. It provides 2 options, check for a solution on-line and restart...
Vista performance & maintenance
More strange behavior
I just upgraded to the latest version 14.0.8050.1202 and some strange things are happening. First, I don't seem to be saving my Sent messages. I...
Live Mail
Odd behavior of WMP GUI
When I double-click an audio file, the audio begins playing, but the WMP GUI doesn't display. Similarly, when I double-click a video file, the audio...
Vista music pictures video
rdp behavior
Hi all, When trying to connect from Vista to windows server via rdp, In the 'Log on to' the local computer instead of the domain name. (in XP it...
Vista General
Smart-quote behavior: Is current behavior ideal?
Since early in the beta, PowerShell has treated smart quote characters as interchangeable with their ASCII counterparts. In other words, all of the...
PowerShell
ModelVisual3D & Model3DGroup
Hi there, I copies some examples from the November Windows SDK to test further on "Avalon". I can't solve the following XAML's problem. ...
Avalon

Our Sites
  • Ten Forums
  • Eight Forums
  • Seven Forums
  • PC Help Forum
  • Help Me Bake
  • Site Links
  • Contact Us
  • Privacy and Cookies
  • About Us
    Windows Vista Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

    Designer Media Ltd
    All times are GMT -5. The time now is 19:33.
    .