tag:blogger.com,1999:blog-563071785757928434.post1920119346152159343..comments2024-02-21T08:31:04.853+01:00Comments on Kodierer [Coder]: Matrix3DEx 1.0 - When PlaneProjection is not enoughRene Schultehttp://www.blogger.com/profile/12777157871967896549noreply@blogger.comBlogger28125tag:blogger.com,1999:blog-563071785757928434.post-35567885895610553782013-02-14T16:50:47.401+01:002013-02-14T16:50:47.401+01:00Rene, please contact me @ jnixon@microsoft. I woul...Rene, please contact me @ jnixon@microsoft. I would like to talk with about this project asap. I also reached out to you on Linked In. jerrynixonhttps://www.blogger.com/profile/06978720385628364065noreply@blogger.comtag:blogger.com,1999:blog-563071785757928434.post-26739399806261184392012-11-30T08:48:31.797+01:002012-11-30T08:48:31.797+01:00No WinRT support, but you can easily port it. No WinRT support, but you can easily port it. Rene Schultehttps://www.blogger.com/profile/12777157871967896549noreply@blogger.comtag:blogger.com,1999:blog-563071785757928434.post-78268760435146054482012-11-30T08:39:34.872+01:002012-11-30T08:39:34.872+01:00Does Matrix3DEx supports winrt?Does Matrix3DEx supports winrt?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-563071785757928434.post-54130374068898240512010-12-08T16:58:38.867+01:002010-12-08T16:58:38.867+01:00First I want to say. Great job! The code is very c...First I want to say. Great job! The code is very clean. I like it.<br /><br />I’m considering using this library to create a 3d panorama whit hotspots.<br /><br />Can you help me on my way by giving me some pointers how to use this library for this purpose.<br /><br />TimAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-563071785757928434.post-2606840707844153892010-11-12T11:29:31.201+01:002010-11-12T11:29:31.201+01:00its really good work but I am not able to apply it...its really good work but I am not able to apply it on a simple object...<br />as I am new to silverlight so can u help me out??<br />I have create a simple project with just a single image on main grid and now I want to test all these effects individually on that Image so how can I do that???<br />Please help me....Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-563071785757928434.post-57415968148202090352010-10-01T13:03:36.392+02:002010-10-01T13:03:36.392+02:00yes, very nice! Just give us the source code! Plea...yes, very nice! Just give us the source code! Please.QnA site for developershttp://www.askingdev.comnoreply@blogger.comtag:blogger.com,1999:blog-563071785757928434.post-30867480642525626882010-05-03T19:30:02.465+02:002010-05-03T19:30:02.465+02:00Ok I've just tested it with EnableRedrawRegion...Ok I've just tested it with EnableRedrawRegions = true: no flickering :-)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-563071785757928434.post-56451413042656679982010-05-03T16:08:40.297+02:002010-05-03T16:08:40.297+02:00I didn't test it with EnableRedrawRegions = tr...I didn't test it with EnableRedrawRegions = true. So is it possible that my image is cached but it isn't GPU accelerated? :-OAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-563071785757928434.post-84114758706462803812010-05-03T15:45:31.488+02:002010-05-03T15:45:31.488+02:00Ah, OK. Is it faster? See the frames per second (1...Ah, OK. Is it faster? See the frames per second (1st field top left corner).<br />You should also enable EnableRedrawRegions = true. If it works you won't see any flickering.Rene Schultehttps://www.blogger.com/profile/12777157871967896549noreply@blogger.comtag:blogger.com,1999:blog-563071785757928434.post-63865276372747819042010-05-03T15:30:15.001+02:002010-05-03T15:30:15.001+02:00No sorry, I've tried it only with IE8. My test...No sorry, I've tried it only with IE8. My test has been very simple: one rotating image with CacheMode set to 'BitmapCache'. I've set EnableCacheVisualization to 'true'; my image was in its natural colour!!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-563071785757928434.post-42731645262176427272010-05-03T14:56:55.394+02:002010-05-03T14:56:55.394+02:00That sounds great. Have you tried it with differen...That sounds great. Have you tried it with different browsers? Ho do they behave? And what is the speed up?Rene Schultehttps://www.blogger.com/profile/12777157871967896549noreply@blogger.comtag:blogger.com,1999:blog-563071785757928434.post-4464773069694627112010-05-03T14:20:46.537+02:002010-05-03T14:20:46.537+02:00I've just tried GPU acceleration in Silverligh...I've just tried GPU acceleration in Silverlight 4: an Image with PlaneProjection or Matrix3DProjection assigned to Projection property is GPU accelerated! :-)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-563071785757928434.post-64813921453570898952010-04-27T19:16:13.527+02:002010-04-27T19:16:13.527+02:00It depends how often you refresh the WriteableBitm...It depends how often you refresh the WriteableBitmap. If you render it often it's slow, if not it should be fast. The implementation should be straight forward, just try it.Rene Schultehttps://www.blogger.com/profile/12777157871967896549noreply@blogger.comtag:blogger.com,1999:blog-563071785757928434.post-43067050119089004422010-04-27T17:42:49.212+02:002010-04-27T17:42:49.212+02:00do you think rendering the image controls' par...do you think rendering the image controls' parent container (Canvas) to a WriteableBitmap is a fast solution?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-563071785757928434.post-37926996979112895552010-04-21T20:06:53.112+02:002010-04-21T20:06:53.112+02:00I'm not sure about the SL 4 HW acceleration ei...I'm not sure about the SL 4 HW acceleration either. I will try to clarify this and come back to you.<br /><br />Have you tried the approach I suggested in an earlier comment? (Rendering the Image controls' parent container (Canvas))<br />You can render the container to a WriteableBitmap:<br /><br />var wb = new WriteableBitmap(myCanvas, null);Rene Schultehttps://www.blogger.com/profile/12777157871967896549noreply@blogger.comtag:blogger.com,1999:blog-563071785757928434.post-22645847230650264282010-04-21T18:04:05.995+02:002010-04-21T18:04:05.995+02:00Ok, perspective transformation is a non-affine tra...Ok, perspective transformation is a non-affine transformation (i was wrong), but if you use PlaneProjection or Matrix3DProjection you obtain different effects. I think, but I'm not sure, that Silverlight4 introduced HW acceleration only for for PlaneProjection. I have to use Matrix3DProjection.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-563071785757928434.post-19488287110634046082010-04-21T10:41:36.620+02:002010-04-21T10:41:36.620+02:00As I wrote, the Silverlight 4 release candidate in...As I wrote, the Silverlight 4 release candidate introduced HW acceleration for perspective transformations. And a perspective transformation is a non-affine transformation. <br />See MSDN for details about "Silverlight Hardware Acceleration": http://msdn.microsoft.com/en-us/library/ee309563(v=VS.95).aspx<br /><br />Or do you have other information regarding the SL4 HW acceleration?Rene Schultehttps://www.blogger.com/profile/12777157871967896549noreply@blogger.comtag:blogger.com,1999:blog-563071785757928434.post-75462540624145986792010-04-19T11:59:12.165+02:002010-04-19T11:59:12.165+02:00I've just seen that Silverlight4 introduced HW...I've just seen that Silverlight4 introduced HW acceleration for PlaneProjection and then for affine transformations. I need to apply non-affine transformations to my images to obtain a 3D effect (with perspective). I'm using Matrix3DProjection class for it. hopeless :-(Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-563071785757928434.post-69100948573449350592010-04-17T20:26:47.276+02:002010-04-17T20:26:47.276+02:00Yes, this should be faster. I guess your images ar...Yes, this should be faster. I guess your images are children of a Canvas or any other container. You can render the container to a WriteableBitmap:<br /><br />var wb = new WriteableBitmap(myCanvas, null);<br /><br />If Silverlight 4 is an option for you, you should try the improved GPU acceleration. The release candidate introduced HW acceleration for perspective transformations. The final Silverlight 4 build is available since Thursday.<br />You just have to enable it and use a BitmpaCache for each Image control. Here's an article that explains how to use the GPU acceleration that was introduced in Silverlight 3 (it's the same for SL 4).<br /><br />http://dotnetslackers.com/articles/silverlight/discovering-silverlight3-deep-dive-into-gpu-acceleration.aspxRene Schultehttps://www.blogger.com/profile/12777157871967896549noreply@blogger.comtag:blogger.com,1999:blog-563071785757928434.post-79251957558487208392010-04-17T09:20:54.574+02:002010-04-17T09:20:54.574+02:00Yes I want to use a 2.5D perspective transformatio...Yes I want to use a 2.5D perspective transformation. I tested this solution: a lot of images with Matrix3DProjection applied to them, but it's very slow. So I would like to draw a lot of images with 2.5D perspective on a WriteableBitmap: i think this solution has to be faster. is it possible? <br />thanks<br />LitAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-563071785757928434.post-79904574060533737052010-04-16T20:47:04.166+02:002010-04-16T20:47:04.166+02:00Hi Lit,
that's possible. You can use the Writ...Hi Lit,<br /><br />that's possible. You can use the WriteableBitmap constructor or its Render method to apple a 2D (!) transformation before rendering:<br /><br />var wb = new WriteableBitmap(myImageControl, myTransform);<br /><br />See MSDN for details:<br />http://msdn.microsoft.com/en-us/library/dd638675%28v=VS.95%29.aspx<br /><br />Or do you want to use a 2.5D perspective transformation?Rene Schultehttps://www.blogger.com/profile/12777157871967896549noreply@blogger.comtag:blogger.com,1999:blog-563071785757928434.post-68054088878295580002010-04-16T17:54:22.630+02:002010-04-16T17:54:22.630+02:00Is There a way to appy a non-affine transform to t...Is There a way to appy a non-affine transform to two-dimensional image and reneder it on a WriteableBitmap? <br />thanks a lot<br />LitAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-563071785757928434.post-8260620008204102832010-03-11T00:27:12.104+01:002010-03-11T00:27:12.104+01:00I got it now Thank Rene
I forgot to look at the s...I got it now Thank Rene<br /><br />I forgot to look at the source code tab. I went to download tab and got Matrix3DEx 1.0.2.0<br /><br />I like your project, now i get to play with 3D. Over the past year i only use System.Drawing which is 2D.<br /><br />PaulAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-563071785757928434.post-13905167179848450432010-03-10T23:59:29.714+01:002010-03-10T23:59:29.714+01:00Hi Paul,
this is the announcement of the open sou...Hi Paul,<br /><br />this is the announcement of the open source project Matrix3DEx which is hosted at CodePlex INCLUDING the sample code of course. Just follow the link above.Rene Schultehttps://www.blogger.com/profile/12777157871967896549noreply@blogger.comtag:blogger.com,1999:blog-563071785757928434.post-84965769892364852602010-03-10T23:55:49.111+01:002010-03-10T23:55:49.111+01:00Could you post project source? I'm kinda new t...Could you post project source? I'm kinda new to silverlight. I'm waiting for version 4 coming with database.<br /><br />PaulAnonymousnoreply@blogger.com