<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blendables.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>3d samples</title><link>http://blendables.com/files/folders/3d_samples/default.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 (Build: 20416.853)</generator><item><title>Flip3D Advanced Sample</title><link>http://blendables.com/files/folders/3d_samples/entry464.aspx</link><pubDate>Fri, 02 May 2008 21:19:57 GMT</pubDate><guid isPermaLink="false">2098abcf-936f-4861-9e5b-4cba383fb9ce:464</guid><dc:creator>kurt.brockett</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;&lt;em&gt;by John Zolezzi&lt;/em&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;font face="Calibri" size="3"&gt;This sample mimics the Vista 3D program selector, except for the item fade as they disappear from view.&lt;/font&gt;&lt;/p&gt;&lt;font face="Calibri" size="3"&gt;&amp;nbsp;&lt;/font&gt; 
&lt;p class="MsoListParagraph" style="MARGIN:0in 0in 0pt 0.5in;TEXT-INDENT:-0.25in;mso-list:l0 level1 lfo1;"&gt;&lt;span style="FONT-FAMILY:Symbol;mso-fareast-font-family:Symbol;mso-bidi-font-family:Symbol;"&gt;&lt;span style="mso-list:Ignore;"&gt;&lt;font size="3"&gt;·&lt;/font&gt;&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri" size="3"&gt;Transition from 2D display to 3D.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="MARGIN:0in 0in 0pt 0.5in;TEXT-INDENT:-0.25in;mso-list:l0 level1 lfo1;"&gt;&lt;span style="FONT-FAMILY:Symbol;mso-fareast-font-family:Symbol;mso-bidi-font-family:Symbol;"&gt;&lt;span style="mso-list:Ignore;"&gt;&lt;font size="3"&gt;·&lt;/font&gt;&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri" size="3"&gt;Rotates items in both direction in 3D.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="MARGIN:0in 0in 0pt 0.5in;TEXT-INDENT:-0.25in;mso-list:l0 level1 lfo1;"&gt;&lt;span style="FONT-FAMILY:Symbol;mso-fareast-font-family:Symbol;mso-bidi-font-family:Symbol;"&gt;&lt;span style="mso-list:Ignore;"&gt;&lt;font size="3"&gt;·&lt;/font&gt;&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri" size="3"&gt;ItemsStack3DFlip control has dependency propertyies: ItemsTemplate, ItemsSource, ViewItemCount, IsViewing3DStack, SelectedItem, SelectedIndex, FrontItem&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="MARGIN:0in 0in 0pt 0.5in;TEXT-INDENT:-0.25in;mso-list:l0 level1 lfo1;"&gt;&lt;span style="FONT-FAMILY:Symbol;mso-fareast-font-family:Symbol;mso-bidi-font-family:Symbol;"&gt;&lt;span style="mso-list:Ignore;"&gt;&lt;font size="3"&gt;·&lt;/font&gt;&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri" size="3"&gt;ItemsStack3DFlip the following events: SelectionChanged, FrontItemChanged, IsViewing3DStackChanged.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="MARGIN:0in 0in 0pt 0.5in;TEXT-INDENT:-0.25in;mso-list:l0 level1 lfo1;"&gt;&lt;span style="FONT-FAMILY:Symbol;mso-fareast-font-family:Symbol;mso-bidi-font-family:Symbol;"&gt;&lt;span style="mso-list:Ignore;"&gt;&lt;font size="3"&gt;·&lt;/font&gt;&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri" size="3"&gt;Sample has a custom Layout to give the arc shape that Vista has.&amp;nbsp; It is not a StackLayout3D.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="MARGIN:0in 0in 0pt 0.5in;TEXT-INDENT:-0.25in;mso-list:l0 level1 lfo1;"&gt;&lt;span style="FONT-FAMILY:Symbol;mso-fareast-font-family:Symbol;mso-bidi-font-family:Symbol;"&gt;&lt;span style="mso-list:Ignore;"&gt;&lt;font size="3"&gt;·&lt;/font&gt;&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri" size="3"&gt;Custom model generator to resize the models as the control’s size changes.&amp;nbsp; This allows us to easily transition between 3D and 2D.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;We will continue to develop on this sample as the 3d progresses towards RTW.&lt;/p&gt;
&lt;p&gt;*This sample has been updated to work with the 3D Mix July CTP.&lt;/p&gt;</description><enclosure url="http://blendables.com/files/folders/464/download.aspx" length="436449" type="application/x-zip-compressed" /></item><item><title>Visual3DGeneratorSelector</title><link>http://blendables.com/files/folders/3d_samples/entry420.aspx</link><pubDate>Fri, 21 Mar 2008 00:03:08 GMT</pubDate><guid isPermaLink="false">2098abcf-936f-4861-9e5b-4cba383fb9ce:420</guid><dc:creator>kurt.brockett</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;&lt;em&gt;by John Zolezzi&lt;/em&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 10pt;"&gt;&lt;font face="Calibri" size="3"&gt;Visual3D Generator Sample&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 10pt;"&gt;&lt;font face="Calibri" size="3"&gt;Building off of the EllipseLayout3D sample, this sample shows how to create a different model based on a property from the item passed into ItemsControl3D.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;Instead of using the DataTemplate model generator seen in the EllipseLayout3D, we are going to create our own model generator.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 10pt;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;span style="mso-spacerun:yes;"&gt;See writeup available in .doc format within the .zip.&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;</description><enclosure url="http://blendables.com/files/folders/420/download.aspx" length="287254" type="application/x-zip-compressed" /></item><item><title>EllipseLayout3D</title><link>http://blendables.com/files/folders/3d_samples/entry419.aspx</link><pubDate>Thu, 20 Mar 2008 23:59:46 GMT</pubDate><guid isPermaLink="false">2098abcf-936f-4861-9e5b-4cba383fb9ce:419</guid><dc:creator>kurt.brockett</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;&lt;em&gt;by John Zolezzi&lt;/em&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 10pt;"&gt;&lt;font face="Calibri" size="3"&gt;EllipseLayout3D Sample&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;font face="Calibri" size="3"&gt;This sample shows how to create a circular path of 3D models that you can rotate with the mouse.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;The 3D is created in xaml with the classes found in Blendables 3D mix.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;Add ItemsControl3D to a Viewport3D and then set the layout, model generator and items to ItemsControl3D. &lt;/font&gt;&lt;/p&gt;&lt;font face="Calibri" size="3"&gt;&amp;nbsp;&lt;/font&gt; 
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;font face="Calibri" size="3"&gt;Blendables’ layout class EllipseLayout3D handles positioning the models in 3D space.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;To rotate the items around, you just need to change the direction of EllipseLayout3D’s FrontDirection vector as seen below:&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;&lt;font face="Calibri" size="3"&gt;&amp;nbsp;&lt;/font&gt;&lt;span style="FONT-SIZE:10pt;COLOR:#2b91af;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;AxisAngleRotation3D&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt; rotate = &lt;span style="COLOR:blue;"&gt;new&lt;/span&gt; &lt;span style="COLOR:#2b91af;"&gt;AxisAngleRotation3D&lt;/span&gt;(&lt;span style="COLOR:blue;"&gt;new&lt;/span&gt; &lt;span style="COLOR:#2b91af;"&gt;Vector3D&lt;/span&gt;(0, 1, 0), (deltaX / 2));&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;COLOR:#2b91af;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;RotateTransform3D&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt; trans = &lt;span style="COLOR:blue;"&gt;new&lt;/span&gt; &lt;span style="COLOR:#2b91af;"&gt;RotateTransform3D&lt;/span&gt;(rotate);&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;_EllipseLayout.FrontDirection = trans.Transform(_EllipseLayout.FrontDirection);&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 10pt;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 10pt;"&gt;&lt;font face="Calibri" size="3"&gt;ItemsControl3D needs to know how to generate models from the items that are passed in via the ItemsSource property.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;This property works just like WPF’s ItemsControl.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;Here we are using one of the pre-built model generators: DataTemplatedVisual3DGenerator.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;It allows you to use a DataTemplate and a default mesh to create all the models.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;It works in a similar fashion to ItemsControl’s ItemsTemplate property.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description><enclosure url="http://blendables.com/files/folders/419/download.aspx" length="285830" type="application/x-zip-compressed" /></item><item><title>StackLayout3D</title><link>http://blendables.com/files/folders/3d_samples/entry418.aspx</link><pubDate>Thu, 20 Mar 2008 23:57:04 GMT</pubDate><guid isPermaLink="false">2098abcf-936f-4861-9e5b-4cba383fb9ce:418</guid><dc:creator>kurt.brockett</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;&lt;em&gt;by John Zolezzi&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="mso-bidi-font-family:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;StackLayout3D provides a quick method of laying out items in a stack similar to StackPanel.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;To use this layout, set the ItemsControl3D’s Layout property to an instance of StackLayout3D. (see doc included in .zip)&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="FONT-SIZE:10pt;COLOR:blue;LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;/span&gt;&lt;span style="mso-bidi-font-family:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;StackLayout3D has properties to control which direction of the stack and additional padding between each item in the stack.&lt;/font&gt;&lt;/font&gt;&lt;/span&gt; 
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description><enclosure url="http://blendables.com/files/folders/418/download.aspx" length="285595" type="application/x-zip-compressed" /></item><item><title>Simple Flip3D</title><link>http://blendables.com/files/folders/3d_samples/entry414.aspx</link><pubDate>Tue, 18 Mar 2008 21:26:01 GMT</pubDate><guid isPermaLink="false">2098abcf-936f-4861-9e5b-4cba383fb9ce:414</guid><dc:creator>kurt.brockett</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;This sample utilizes StackLayout3D to emulate the Vista&amp;#39;s Flip3D feature.&amp;nbsp; Right now the flipping is hooked to a button and cycles through a set of images.&lt;/p&gt;
&lt;p&gt;We are working on a more complete sample which more closely follows the Flip3D look and feel, including transitioning from a layout into &amp;quot;Flip3D&amp;quot; and back.&lt;/p&gt;
&lt;p&gt;*This sample has been updated to work with the 3D Mix July CTP.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description><enclosure url="http://blendables.com/files/folders/414/download.aspx" length="219148" type="application/x-zip-compressed" /></item><item><title>3D Mix: GridLayout3D Sample</title><link>http://blendables.com/files/folders/3d_samples/entry392.aspx</link><pubDate>Wed, 12 Mar 2008 06:26:14 GMT</pubDate><guid isPermaLink="false">2098abcf-936f-4861-9e5b-4cba383fb9ce:392</guid><dc:creator>kurt.brockett</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;This is a two part example which shows of some of the features of the 3D mix using a GridLayout3D.&amp;nbsp; In addition to the sample code there is a doc included which explains in detail the code and feautres being used.&lt;/p&gt;
&lt;p&gt;More samples coming soon!&lt;/p&gt;
&lt;p&gt;Kurt&lt;/p&gt;
&lt;p&gt;*This sample has been updated to work with the 3D Mix July CTP.&lt;/p&gt;</description><enclosure url="http://blendables.com/files/folders/392/download.aspx" length="236010" type="application/x-zip-compressed" /></item></channel></rss>