Solar Wind 3D Sample

This sample for Silverilght 5 uses the new 3D features to draw the Earth with day and night transitions, atmosphere layers, and population density overlays. It demonstrates advanced concepts like mipmaps, texture blending, multiple drawing passes, sampler states...

C# (10.4 MB)
 
 
 
 
 
4.4 Star
(8)
9,131 times
Add to favorites
9/12/2011
E-mail Twitter del.icio.us Digg Facebook
<UserControl x:Class="SolarWind.AboutDialog"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400" Width="350" Height="250">

    <Border BorderBrush ="DarkGray" BorderThickness="2">
        <Border Background="White">
            <Grid x:Name="LayoutRoot" Margin="5">
                <StackPanel>
                    <TextBlock Text="Image Credits" HorizontalAlignment="Center"/>
                    <Rectangle Height="2" Margin="3" Fill="LightGray"/>
                    <TextBlock Text="" TextWrapping="Wrap"/>
                    <RichTextBox TextWrapping="Wrap" IsReadOnly="True" BorderBrush="Transparent">
                        <Paragraph>Earth Textures;
                            <Hyperlink TargetName="_blank" NavigateUri="http://visibleearth.nasa.gov/">
                                NASA Visible Earth
                            </Hyperlink>
                            <LineBreak/>
                            <LineBreak/>
                            <Hyperlink TargetName="_blank" NavigateUri="http://www.nasaimages.org/luna/servlet/detail/nasaNAS~22~22~128782~236989:?cic=NVA2%7E30%7E30%2CnasaNAS%7E22%7E22%2CNVA2%7E19%7E19%2CnasaNAS%7E20%7E20%2CNVA2%7E18%7E18%2CNVA2%7E49%7E49%2CNVA2%7E16%7E16%2CNVA2%7E8%7E8%2CNVA2%7E48%7E48%2CNVA2%7E15%7E15%2CNVA2%7E47%7E47%2CNVA2%7E9%7E9%2CNVA2%7E14%7E14%2CNVA2%7E46%7E46%2CNVA2%7E13%7E13%2CNVA2%7E45%7E45%2CNVA2%7E44%7E44%2CNVA2%7E43%7E43%2CNVA2%7E42%7E42%2CnasaNAS%7E2%7E2%2CNVA2%7E41%7E41%2CnasaNAS%7E4%7E4%2CNSVS%7E3%7E3%2CnasaNAS%7E5%7E5%2CNVA2%7E29%7E29%2CnasaNAS%7E6%7E6%2CNVA2%7E28%7E28%2CnasaNAS%7E7%7E7%2CNVA2%7E27%7E27%2CNVA2%7E26%7E26%2CnasaNAS%7E8%7E8%2CNVA2%7E25%7E25%2CNVA2%7E57%7E57%2CNVA2%7E24%7E24%2CnasaNAS%7E9%7E9%2CNVA2%7E56%7E56%2CNVA2%7E23%7E23%2CNVA2%7E55%7E55%2CNVA2%7E22%7E22%2CNVA2%7E54%7E54%2CNVA2%7E21%7E21%2CNVA2%7E53%7E53%2CnasaNAS%7E16%7E16%2CNVA2%7E20%7E20%2CNVA2%7E52%7E52%2CNVA2%7E51%7E51%2CnasaNAS%7E13%7E13%2CNVA2%7E50%7E50%2CnasaNAS%7E12%7E12%2CnasaNAS%7E10%7E10%2CNVA2%7E33%7E33%2CNVA2%7E31%7E31%2CNVA2%7E32%7E32%2CNVA2%7E34%7E34%2CNVA2%7E1%7E1%2CNVA2%7E35%7E35%2CNVA2%7E36%7E36%2CNVA2%7E37%7E37%2CNVA2%7E38%7E38%2CNVA2%7E39%7E39">
                                NGC 281: A Bustling Hub of Star Formation
                            </Hyperlink>
                            <LineBreak/>
                            X-ray: NASA/CXC/CfA/S.Wolk et al; Optical: NSF/AURA/WIYN/Univ. of Alaska/T.A.Rector
                        </Paragraph>
                    </RichTextBox>
                    <TextBlock Text=" "/>
                    <TextBlock Text="3D Feature Team" HorizontalAlignment="Center"/>
                    <Rectangle Height="2" Margin="3" Fill="LightGray"/>
                    <RichTextBox TextWrapping="Wrap" IsReadOnly="True" BorderBrush="Transparent">
                        <Paragraph>
                            <Hyperlink TargetName="_blank" NavigateUri="http://aarononeal.info">
                                Aaron Oneal
                            </Hyperlink>, Jordan Parker, Andrew Cox, Meisam Syed, Keith Mahoney, Brian Love, John Mulhausen
                        </Paragraph>
                    </RichTextBox>
                    <TextBlock Text=" "/>
                    <Button Content="Close" Click="CloseDialog" HorizontalAlignment="Center" VerticalAlignment="Bottom"/>
                </StackPanel>
            </Grid>
        </Border>
    </Border>
</UserControl>