<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>Kit3D - a 3D C# graphics engine for Microsoft Silverlight</title><link>http://kit3d.codeplex.com/project/feeds/rss</link><description>Kit3D is a 3D graphics engine written to work with Microsoft Silverlight.  The library is currently written in C&amp;#35; &amp;#40;and also there is a JavaScript version for 1.0&amp;#41; and supports 3D perspective projection and affine texture mapping.  This library allows anyone to easily create 3D content for their Silverlight application.  The library API matches the System.Windows.Media.Media3D namespace of WPF, so people familiar with 3D in WPF will feel right at home using Kit3D.</description><item><title>New Post: Does this kit3d support windows phone 8 projects</title><link>http://kit3d.codeplex.com/discussions/418084</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am making a simple rotation and translation of 3d object in windows phone 8 . Can i make use of kit3d library to work in it?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thankyou&lt;/p&gt;
&lt;/div&gt;</description><author>SinhaOjas</author><pubDate>Tue, 25 Dec 2012 19:01:41 GMT</pubDate><guid isPermaLink="false">New Post: Does this kit3d support windows phone 8 projects 20121225070141P</guid></item><item><title>Source code checked in, #94877</title><link>http://kit3d.codeplex.com/SourceControl/changeset/changes/94877</link><description>Upgrade&amp;#58; New Version of LabDefaultTemplate.xaml. To upgrade your build definitions, please visit the following link&amp;#58; http&amp;#58;&amp;#47;&amp;#47;go.microsoft.com&amp;#47;fwlink&amp;#47;&amp;#63;LinkId&amp;#61;254563</description><author>Project Collection Service Accounts</author><pubDate>Mon, 01 Oct 2012 22:38:35 GMT</pubDate><guid isPermaLink="false">Source code checked in, #94877 20121001103835P</guid></item><item><title>Source code checked in, #94876</title><link>http://kit3d.codeplex.com/SourceControl/changeset/changes/94876</link><description>Checked in by server upgrade</description><author>Project Collection Service Accounts</author><pubDate>Mon, 01 Oct 2012 22:31:06 GMT</pubDate><guid isPermaLink="false">Source code checked in, #94876 20121001103106P</guid></item><item><title>New Post: Transformation of sreen coordinated to model coordinates in Silverlight using Kit3D</title><link>http://kit3d.codeplex.com/Thread/View.aspx?ThreadId=243145</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;agreed, I got the mesh. now I need to update mesh.positions by some value, (which is going to be the EndPt.X-startPat.X, similar for Y and Z), So I need to know the startPt and endpt w.r.t to model.&lt;/p&gt;
&lt;p&gt;How to get startPt and endPt?&lt;/p&gt;
&lt;p&gt;Below is the sample code for the condition I am talking&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Point3D pt1 = new Point3D(0, 0, 0);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Point3D pt2 = new Point3D(0.5, 0, 0);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Point3D pt3 = new Point3D(0, 0.5, 0);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mesh.Positions.Add(pt1);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mesh.Positions.Add(pt2);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mesh.Positions.Add(pt3);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mesh.TriangleIndices.Add(0);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mesh.TriangleIndices.Add(1);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mesh.TriangleIndices.Add(2);&lt;/p&gt;
&lt;p&gt;suppose I am clicking mouse at the 2nd vertex (0.5, 0, 0), so my start point should be Point3D(0.5, 0, 0). How to get it?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Dushyant&lt;/p&gt;
&lt;/div&gt;</description><author>dushyant1000</author><pubDate>Tue, 25 Jan 2011 13:30:05 GMT</pubDate><guid isPermaLink="false">New Post: Transformation of sreen coordinated to model coordinates in Silverlight using Kit3D 20110125013005P</guid></item><item><title>New Post: Transformation of sreen coordinated to model coordinates in Silverlight using Kit3D</title><link>http://kit3d.codeplex.com/Thread/View.aspx?ThreadId=243145</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;On MouseLeftButtonDown event,&lt;/pre&gt;
&lt;pre&gt;&lt;pre&gt;// The point in screen
Point3D testPoint3D = new Point3D((float)currMousePos.X, (float)currMousePos.Y, 0);

// the orientation vector
Vector3D testDirection3D = new Vector3D((float)currMousePos.X, (float)currMousePos.Y, 10);

// pt and vec params
PointHitTestParams pointparams = new PointHitTestParams(currMousePos);

Kit3D.Windows.Media.VisualTreeHelper.HitTest(viewport3d, null, HTResult, pointparams);&lt;/pre&gt;
&lt;pre&gt;&lt;br&gt;&lt;/pre&gt;
&lt;pre&gt;The 3rd parameter of HitTest is a callback function with prototype: HitTestResultBehavior HTResult(HitTestResult res);&lt;/pre&gt;
&lt;pre&gt;So&lt;/pre&gt;
&lt;pre&gt;&lt;pre&gt;public HitTestResultBehavior HTResult(HitTestResult res)
{
    RayHitTestResult rayResult = res as RayHitTestResult;
    
    if(rayResult != null)
    {
        RayMeshGeometry3DHitTestResult rayMeshResult = rayResult as RayMeshGeometry3DHitTestResult;
        
        if(rayMeshResult != null)
        {
             hitgeometry = rayMeshResult.ModelHit as GeometryModel3D; // global GeometryModel3D var
             hitmesh = rayMeshResult.MeshHit as MeshGeometry3D; // global MeshGeometry3D var

             // whatever logic you want to hitted model
        }
    }

}&lt;/pre&gt;
&lt;br&gt;&lt;/pre&gt;
&lt;br&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;/div&gt;</description><author>javpnunes</author><pubDate>Tue, 25 Jan 2011 10:18:52 GMT</pubDate><guid isPermaLink="false">New Post: Transformation of sreen coordinated to model coordinates in Silverlight using Kit3D 20110125101852A</guid></item><item><title>New Post: Transformation of sreen coordinated to model coordinates in Silverlight using Kit3D</title><link>http://kit3d.codeplex.com/Thread/View.aspx?ThreadId=243145</link><description>&lt;div style="line-height: normal;"&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;I am trying to implement drag and drop functionality in Silverlight using kit3d. I need to change triangle's vertex coordinates when mouse is released. For this I need to convert screen coordinates into model coordinates. Reverse in there in kit3d. Can anyone
 help me with sample code to do the same?&lt;br&gt;
Please note &amp;quot;HitTest&amp;quot; does not transform to model coordinates, you can see the ModelVisual3D.cs for the way model to screen transformation is done.&lt;br&gt;
&lt;br&gt;
Thanks in advance.&lt;br&gt;
Regards&lt;br&gt;
Dushyant&lt;/p&gt;
&lt;/div&gt;</description><author>dushyant1000</author><pubDate>Tue, 25 Jan 2011 02:54:58 GMT</pubDate><guid isPermaLink="false">New Post: Transformation of sreen coordinated to model coordinates in Silverlight using Kit3D 20110125025458A</guid></item><item><title>New Post: pixels to world coordinates in Kit3D</title><link>http://kit3d.codeplex.com/Thread/View.aspx?ThreadId=242571</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Can someone give me a sample code for converting mouse positions to world coordinates?&lt;/p&gt;
&lt;/div&gt;</description><author>dushyant1000</author><pubDate>Thu, 20 Jan 2011 12:14:28 GMT</pubDate><guid isPermaLink="false">New Post: pixels to world coordinates in Kit3D 20110120121428P</guid></item><item><title>New Post: Lighting...</title><link>http://kit3d.codeplex.com/Thread/View.aspx?ThreadId=40854</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;why dont you just upload the source to the patches section?&lt;/p&gt;
&lt;/div&gt;</description><author>shupacanucks</author><pubDate>Mon, 13 Dec 2010 01:59:58 GMT</pubDate><guid isPermaLink="false">New Post: Lighting... 20101213015958A</guid></item><item><title>New Post: Opacity with ImageBrush</title><link>http://kit3d.codeplex.com/Thread/View.aspx?ThreadId=235546</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;I didn't see any Opacity property on the DiffuseMaterial or Material objects.&amp;nbsp; I could set Opacity on the ModelVisual3D though!&amp;nbsp; :)&amp;nbsp; I think that may work then...&amp;nbsp; We'll see...&lt;/p&gt;
&lt;/div&gt;</description><author>jburchel</author><pubDate>Tue, 23 Nov 2010 05:58:23 GMT</pubDate><guid isPermaLink="false">New Post: Opacity with ImageBrush 20101123055823A</guid></item><item><title>New Post: Opacity with ImageBrush</title><link>http://kit3d.codeplex.com/Thread/View.aspx?ThreadId=235546</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Your code looks fine, maybe this is not possible yet in kit3d. Have you tried to set the material opacity directly?&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;/div&gt;</description><author>javpnunes</author><pubDate>Mon, 22 Nov 2010 10:19:19 GMT</pubDate><guid isPermaLink="false">New Post: Opacity with ImageBrush 20101122101919A</guid></item><item><title>New Post: Opacity with ImageBrush</title><link>http://kit3d.codeplex.com/Thread/View.aspx?ThreadId=235546</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for the efforts on this!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am trying to set Opacity on an ImageBrush for use with a Kit3DBrush, however, not seeing any transparency on my object.&amp;nbsp; Is Opacity property of the ImageBrush supported?&amp;nbsp; Maybe not, but hopefully so.&amp;nbsp; I am using it in the same way I used
 it in WPF so I think I used it correctly:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ImageBrush mapBrush = new ImageBrush();&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mapBrush.ImageSource = new BitmapImage(new Uri(@&amp;quot;images\EarthMap10k.jpg&amp;quot;, UriKind.Relative));&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mapBrush.Opacity = .2;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Kit3DBrush kit3dMapBrush = new Kit3DBrush(mapBrush, 600, 400);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DiffuseMaterial mapMat = new DiffuseMaterial(kit3dMapBrush);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; geomod.Material = mapMat;&amp;nbsp; //new DiffuseMaterial(new Kit3DBrush(new SolidColorBrush(Colors.Blue)));&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; geomod.BackMaterial = mapMat;&lt;/p&gt;
&lt;p&gt;In WPF this same approach allows me to display a partially transparent globe so I can see the back side of the globe through the sphere.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you, and hope to see more soon!&amp;nbsp; The Viewport2DVisual3D would be awesome!&lt;/p&gt;
&lt;p&gt;Jon&lt;/p&gt;
&lt;/div&gt;</description><author>jburchel</author><pubDate>Mon, 22 Nov 2010 07:11:24 GMT</pubDate><guid isPermaLink="false">New Post: Opacity with ImageBrush 20101122071124A</guid></item><item><title>New Post: 3D File Format Support?</title><link>http://kit3d.codeplex.com/Thread/View.aspx?ThreadId=230069</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;i had the same question ,can we use 3D file format .mb&amp;nbsp; with kit3d?&lt;/p&gt;
&lt;/div&gt;</description><author>autivrushali</author><pubDate>Fri, 29 Oct 2010 05:28:51 GMT</pubDate><guid isPermaLink="false">New Post: 3D File Format Support? 20101029052851A</guid></item><item><title>New Post: How it works?</title><link>http://kit3d.codeplex.com/Thread/View.aspx?ThreadId=232525</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hi all, i've seen this project and it's very powerful.&lt;/p&gt;
&lt;p&gt;But i've noticed the lack of documentation, there's nothing that explain &lt;strong&gt;
how it works&lt;/strong&gt;, but only &lt;strong&gt;how to use it&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Would be nice to use some class diagram, sequence diagram, other papers, etc..&lt;/p&gt;
&lt;p&gt;Anything about it?&lt;/p&gt;
&lt;p&gt;Thank you for replies&lt;/p&gt;
&lt;/div&gt;</description><author>tharnadar</author><pubDate>Wed, 27 Oct 2010 15:10:29 GMT</pubDate><guid isPermaLink="false">New Post: How it works? 20101027031029P</guid></item><item><title>New Post: 3D File Format Support?</title><link>http://kit3d.codeplex.com/Thread/View.aspx?ThreadId=230069</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Can Kit3D import any sort of 3D file (.mb, .obj, .3ds, .dxf, .max, .xaml, etc)? I would like to use several 3D files, converting is no problem. I heard something about .3DS files being able to be used.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;kittykittyraw&lt;/p&gt;&lt;/div&gt;</description><author>kittykittyraw</author><pubDate>Thu, 07 Oct 2010 22:32:55 GMT</pubDate><guid isPermaLink="false">New Post: 3D File Format Support? 20101007103255P</guid></item><item><title>New Post: Credits?</title><link>http://kit3d.codeplex.com/Thread/View.aspx?ThreadId=230058</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Do I have to credit Kit3D when I use it in a project?&lt;/p&gt;&lt;/div&gt;</description><author>kittykittyraw</author><pubDate>Thu, 07 Oct 2010 21:09:49 GMT</pubDate><guid isPermaLink="false">New Post: Credits? 20101007090949P</guid></item><item><title>Created Issue: No "Transform" for "PerspectiveCamera" [14304]</title><link>http://kit3d.codeplex.com/workitem/14304</link><description>I am in need of a &amp;#34;Transform&amp;#34; property on the &amp;#34;PerspectiveCamera&amp;#34; just like in the &amp;#34;System.Windows.Media.Media3D.Camera&amp;#34;.  Are there any plans to include this in future releases.  If not, can anybody help with implementing this &amp;#34;Transform&amp;#34; property in my application.  Thanks&lt;br /&gt;</description><author>kendbrih</author><pubDate>Thu, 23 Sep 2010 20:53:44 GMT</pubDate><guid isPermaLink="false">Created Issue: No "Transform" for "PerspectiveCamera" [14304] 20100923085344P</guid></item><item><title>Source code checked in, #57274</title><link>http://kit3d.codeplex.com/SourceControl/changeset/changes/57274</link><description>Checked in by server upgrade</description><author>_TFSSERVICE</author><pubDate>Wed, 28 Jul 2010 22:13:23 GMT</pubDate><guid isPermaLink="false">Source code checked in, #57274 20100728101323P</guid></item><item><title>New Post: Silverlight 3D RotatingCubes</title><link>http://kit3d.codeplex.com/Thread/View.aspx?ThreadId=221392</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;In Kit3d, is there any way to&amp;nbsp;add the ViewPort3D in the Canvas insted of Grid. In this application the ViewPort3D calss added in the Gird (Refer to RotatingCubes.xaml). I have tried to add the existing Grid in the Canvas, however adding grid in the canvas does not dispaly anything on the screen.&lt;/p&gt;&lt;/div&gt;</description><author>milindgajare</author><pubDate>Mon, 26 Jul 2010 10:52:20 GMT</pubDate><guid isPermaLink="false">New Post: Silverlight 3D RotatingCubes 20100726105220A</guid></item><item><title>New Post: Silverlight Rubik's Cube</title><link>http://kit3d.codeplex.com/Thread/View.aspx?ThreadId=216831</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;&lt;span&gt;Silverlight Rubik's Cube&lt;br&gt;&lt;/span&gt;3D interactive&lt;/p&gt;
&lt;p&gt;&lt;a href="http://sildev.net/#demo2"&gt;http://sildev.net/#demo2&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Project Source code link???&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>fikretakin</author><pubDate>Tue, 22 Jun 2010 07:02:24 GMT</pubDate><guid isPermaLink="false">New Post: Silverlight Rubik's Cube 20100622070224A</guid></item><item><title>New Post: Do you have plan to support Material group?</title><link>http://kit3d.codeplex.com/Thread/View.aspx?ThreadId=211885</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Have you had a look at Balder (&lt;a href="http://balder.codeplex.com"&gt;http://balder.codeplex.com&lt;/a&gt;)&lt;/p&gt;&lt;/div&gt;</description><author>adept</author><pubDate>Fri, 21 May 2010 17:12:43 GMT</pubDate><guid isPermaLink="false">New Post: Do you have plan to support Material group? 20100521051243P</guid></item></channel></rss>