tag:blogger.com,1999:blog-1076643699683521890.comments2015-08-24T23:42:42.305+11:00code4kxoofx - Alexandre MUTELhttp://www.blogger.com/profile/05096938106073079832noreply@blogger.comBlogger209125tag:blogger.com,1999:blog-1076643699683521890.post-5268765121558845072015-05-19T01:00:12.266+11:002015-05-19T01:00:12.266+11:00I'd love to see an update to this in 2015 but ...I'd love to see an update to this in 2015 but this time utilising batching techniques where possible.Ziplock9000https://www.blogger.com/profile/09972489304867190127noreply@blogger.comtag:blogger.com,1999:blog-1076643699683521890.post-87582838973686476632015-01-27T00:03:23.940+11:002015-01-27T00:03:23.940+11:00I had a similar problem and created a Visual Studi...I had a similar problem and created a Visual Studio extension to speed up my workflow, maybe it is also helpful for you: https://visualstudiogallery.msdn.microsoft.com/d9552425-000f-468e-8b80-1c86447a5fb8 Anonymoushttps://www.blogger.com/profile/14752039583709302233noreply@blogger.comtag:blogger.com,1999:blog-1076643699683521890.post-56451647930594499462014-11-27T01:55:18.976+11:002014-11-27T01:55:18.976+11:00I like what you've done to add custom projects...I like what you've done to add custom projects to SharpDX, and have been trying to do the same thing to my c++ game project, to switch between dx9 and dx11.<br /><br />The bit I am struggling with is actually defining the custom platforms in the first place.<br /><br />When I open the SharpDX.sln, and look at one of the c# projects, I see all your custom platforms in the configuration manager pulldown. However I've tried both being smart, and lifting your .targets directly and no matter what I try I can't get any custom platforms to show up for my .vcxproj project.<br /><br />Is this something which is unique to .csproj? Or what are the bits you actually need to define/declare to get a custom Platform showing up?<br /><br />Cheers<br /><br /><br />AndyAnonymoushttps://www.blogger.com/profile/15986049293423221111noreply@blogger.comtag:blogger.com,1999:blog-1076643699683521890.post-71164984135687579862014-11-17T09:13:19.863+11:002014-11-17T09:13:19.863+11:00i cant get it to work with a c++ win32 application...i cant get it to work with a c++ win32 application on microsoft visual studios 2013. i am trying to play a file from my computer files. help please!<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1076643699683521890.post-23697710602987300172014-11-10T06:03:33.066+11:002014-11-10T06:03:33.066+11:00Superb work.....really helped me out....keep upSuperb work.....really helped me out....keep upAnonymoushttps://www.blogger.com/profile/06192528965829177631noreply@blogger.comtag:blogger.com,1999:blog-1076643699683521890.post-52057613964245527682014-10-02T04:46:41.121+11:002014-10-02T04:46:41.121+11:00With Windows 10 Technical Preview you can give fed...With Windows 10 Technical Preview you can give feddback to Mictosoft, they say: "If you're a PC expert or an IT pro, come on a journey with us and be part of creating the best Windows yet". Borderless windows, more desktops, new icons and you can now paste into command prompt with Ctrl+V. FINALLY.killyhttps://www.blogger.com/profile/00123784045740489884noreply@blogger.comtag:blogger.com,1999:blog-1076643699683521890.post-2937710619541386182014-09-09T01:26:07.421+11:002014-09-09T01:26:07.421+11:00it works . thanks lotit works . thanks lotudayangahttps://www.blogger.com/profile/14706856315001003357noreply@blogger.comtag:blogger.com,1999:blog-1076643699683521890.post-30019952404300799472014-07-31T07:26:59.821+11:002014-07-31T07:26:59.821+11:00Can we see some updated numbers, using Developer P...Can we see some updated numbers, using Developer Preview 3 ?sega19https://www.blogger.com/profile/08167742309953455344noreply@blogger.comtag:blogger.com,1999:blog-1076643699683521890.post-17612545473605332752014-07-05T02:42:26.691+11:002014-07-05T02:42:26.691+11:00Hi, it would be awesome if you could repeat this t...Hi, it would be awesome if you could repeat this test in VS2013 where cpblk has been fixed, please ;)Harry Singletonhttps://www.blogger.com/profile/13486919608384100430noreply@blogger.comtag:blogger.com,1999:blog-1076643699683521890.post-49352027440811554872014-07-01T12:45:29.890+11:002014-07-01T12:45:29.890+11:00Thanks Pooya for your feedback. Indeed, I'm gl...Thanks Pooya for your feedback. Indeed, I'm glad to see that the new "Developper Preview 3" is improving some benchmarks here. I have added a disclaimer at the beginning of this post to emphasize about the preview cyclexoofx - Alexandre MUTELhttps://www.blogger.com/profile/05096938106073079832noreply@blogger.comtag:blogger.com,1999:blog-1076643699683521890.post-29118455662758114772014-07-01T12:16:52.398+11:002014-07-01T12:16:52.398+11:00Hi Alexandre,
My name is Pooya Zandevakili and I ...Hi Alexandre,<br /><br />My name is Pooya Zandevakili and I am one of the developers from the .Net Native team at Microsoft. More specifically, I work on code generation and optimizations for both C++ and (now) C#.<br /><br />Thank you for sharing this information. I would like to re-emphasize a point that you have mentioned as well: .Net Native is still in preview and there is still work to be done. We are actively working to make sure that it meets the high quality standards that our customers demand and we will definitely be drilling into the benchmark data you have reported. Community feedback like this is very helpful, so once again thank you. I would also like to encourage you to keep up with our (frequently-released) developer previews as we continually add new improvements. In fact, we just released our third Developer Preview today incorporating other community feedback regarding code quality, which you might find interesting:<br /><br />Developer Preview 3: http://go.microsoft.com/fwlink/?LinkID=393600<br /><br />Thank you again and best regards,<br />Pooya<br />Anonymoushttps://www.blogger.com/profile/13420436834010752010noreply@blogger.comtag:blogger.com,1999:blog-1076643699683521890.post-56355113776749560752014-06-25T08:59:27.770+11:002014-06-25T08:59:27.770+11:00Link is fixedLink is fixedxoofx - Alexandre MUTELhttps://www.blogger.com/profile/05096938106073079832noreply@blogger.comtag:blogger.com,1999:blog-1076643699683521890.post-4708071993712829192014-06-25T01:42:19.574+11:002014-06-25T01:42:19.574+11:00Anybody knows if the source is available from some...Anybody knows if the source is available from somewhere else? The link is dead and the author doesn't seem to be responding.Anonymoushttps://www.blogger.com/profile/15722005670385922105noreply@blogger.comtag:blogger.com,1999:blog-1076643699683521890.post-22494646880272999032014-06-24T19:57:48.986+11:002014-06-24T19:57:48.986+11:00Thanks for your effort. I'm putting a lot of h...Thanks for your effort. I'm putting a lot of hope in RyuJIT as it is getting to be a promissing compiler for Managed DirectX game developing.Anonymoushttps://www.blogger.com/profile/01049409615916049315noreply@blogger.comtag:blogger.com,1999:blog-1076643699683521890.post-1945404558310094152014-05-05T01:59:23.370+11:002014-05-05T01:59:23.370+11:00i can't download sourcei can't download sourceAnonymoushttps://www.blogger.com/profile/11939959773050940159noreply@blogger.comtag:blogger.com,1999:blog-1076643699683521890.post-91094579820038010722014-02-27T02:28:27.555+11:002014-02-27T02:28:27.555+11:00HI,
I would to test the code you have posted but ...HI, <br />I would to test the code you have posted but the link is brocken. Can you post it again? <br /><br />Thanks for your help.Anonymoushttps://www.blogger.com/profile/00744994072449480243noreply@blogger.comtag:blogger.com,1999:blog-1076643699683521890.post-38015104897329341452013-11-05T14:01:15.675+11:002013-11-05T14:01:15.675+11:00After having a similar problem, I've done the ...After having a similar problem, I've done the same, but it's working and I have no idea why I didn't have to change my host code. Should I be making the same class (or struct) in my host code and shooting that over as a Resource? Is it only because the texture is the first parameter in the class that it's getting mapped correctly?George Rhttps://www.blogger.com/profile/18403145487473100921noreply@blogger.comtag:blogger.com,1999:blog-1076643699683521890.post-24704004710283879612013-07-19T00:35:20.092+11:002013-07-19T00:35:20.092+11:00IPrintDialogCallback inherits from IUnknown, so yo...IPrintDialogCallback inherits from IUnknown, so you need to implement IUnknown methods as well as part of the vtable, so in total you will have 6 methods to implement. It can get a bit more complex as you could need to respond to IObjectWithSite on QueryInterface. <br /><br />When dealing with inheritance, It requires a bit more infrastructure than what is described in this post.<br /><br />In SharpDX this is done through all "Shadows" objects ( for example, https://github.com/sharpdx/SharpDX/blob/master/Source/SharpDX.Direct2D1/TessellationSinkShadow.cs).<br /><br />Though just hacking the sample above with all required methods is somewhat straightforward, but will require that you dig more into IUnknown.xoofx - Alexandre MUTELhttps://www.blogger.com/profile/05096938106073079832noreply@blogger.comtag:blogger.com,1999:blog-1076643699683521890.post-45913207260686639152013-07-16T06:15:33.607+11:002013-07-16T06:15:33.607+11:00Hi,
Just wondering if you could lend me some help....Hi,<br />Just wondering if you could lend me some help. I'm trying to use DialogEx and setting lpCallback. I believe lpCallback requires an IPrintDialogCallback. so I am thinking something similar to what you defined above.<br /><br />musclesonvacationhttps://www.blogger.com/profile/09677966009384333688noreply@blogger.comtag:blogger.com,1999:blog-1076643699683521890.post-67143050003813032472013-06-21T23:12:22.008+11:002013-06-21T23:12:22.008+11:00i got here by accident, so accident or not (: i ha...i got here by accident, so accident or not (: i have done that :<br /><br />did not know as to what to be replaced instead here <br />if (IntPtr.Size==8) gen.Emit(Opcodes.Unaligned, 1);<br />so i tried onece without that line(commented it) <br />though no condition at all is bad for the country (:<br /><br /><br />and i've implemented system.buffer.blockcopy.aspx to extent ...(: (third from the right)<br /><br />BlcSz cpblk memcpy ArrCpy BufBlcp CustCpy MrshlCpy (actually its a mistake<br /> 4----362----180----92 228 165 137<br /><br />8 881 374 194 493 609 287<br />.... ......<br /> ...... ...... <br />cause the headers are misplaced Cpblck is first header but memcpy is first parameter in console.WriteLine ({memcpy}{cpblck}{}{}{}<br /> Console.WriteLine("{0}-----{1}-----{2}-----{3}-----{4}-----{5}-----{6}", blockSize, (long)memCpyOut, (long)copyMemoryOut, << i've just replaced "\t" with<br />"-----"<br />but thats how the parameters was originaly so insted <br /><br /> more accurate would be (:<br />BlcSz memcpy cpblk ArrCpy BufBlcp CustCpy MrshlCpy (actually its a mistake<br /> 4 362 180 92 228 165 137<br /><br /> 8 881 374 194 493 609 287<br /><br />so this is how the plot goes <br /><br />BlcSz memcpy cpblk ArrCpy BufBlcp CustCpy MrshlCpy<br /><br />--4-----362------82------92------228------165-----138<br /><br />--8-----869-----169-----194------491------617-----288<br /><br />--16---1600-----751-----378------939-----1007-----560<br /><br />--32---2711----1422-----737-----1782-----1444----1109<br /><br />--64---4705----2711----1447-----3316-----1910----2112<br /><br />--128---7901----4740----2770-----5818-----1592----3720<br /><br />-256---14545----8205----5039----10000-----2214----6736<br /><br />-512---13617---12307----8533----14222-----2452---10491<br /><br />-1024--14883---16410---12800----18285-----2601---14883<br /><br />-2048--21333---19393---16000----20000-----2529---17297<br /><br />-4096--22857---22068---19393----22068-----2560---20645<br /><br />-8192--23703---22857---22068----23703-----2591---22857<br /><br />-16384-23703---22068---19393----20645-----2591---22068<br /><br />-32768-18823---18823---18823----18823-----2490---18285<br /><br />-65536-18823---19393---18823----18823-----2480---18823<br /><br />131072-19393---19393---18285----18285-----2500---18823<br /><br />262144--6095----5981---10322----10666-----2490----5981----------here everyone falls<br /><br />but less impact on bufferCopy()<br /><br />-524288-----6037-----6037-----10491-----10491-----2500-----5871<br /><br />1048576-----6037-----6095-----10666-----10491-----2500-----6037<br /><br />2097152-----6037-----6095-----10322-----10000-----2480-----6153<br /><br />4194304-----6095-----6037------9846------9846-----2344-----6095<br /><br />8388608-----5663-----6274------7804------8101-----2327-----6274<br /><br />16777216----6213-----6464------6400------7111-----2335-----6464<br /><br />33554432----6153-----6597------6530------6808-----2335-----6597<br /><br />67108864----5333-----6464------6464------6530-----2269-----6336<br /><br />and here i think there was somthing bad happend to my test (:<br /><br />134217728------9223372036854775808------9223372036854775808------922337203685477<br />5808<<---nochange to this one though]-----9223372036854775808------9223372036854775808------9223372036854775808<br /><br />268435456------9223372036854775808------9223372036854775808------922337203685477<br />5808------9223372036854775808------9223372036854775808------9223372036854775808<br /><br />536870912------9223372036854775808------9223372036854775808------922337203685477<br />5808------9223372036854775808------9223372036854775808------9223372036854775808<br /><br /><br /><br /><br />i replaced counter iteration with 30(was counting <20) <br />so i think i will stick to Buffer.Copy();Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1076643699683521890.post-71467190490495879742013-06-21T22:36:47.026+11:002013-06-21T22:36:47.026+11:00This comment has been removed by the author.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1076643699683521890.post-90922903315548145602013-05-27T02:08:18.244+11:002013-05-27T02:08:18.244+11:00I'm trying to Loop the demo mp3 sound.
The ef...I'm trying to Loop the demo mp3 sound.<br /><br />The effect I'm trying to get is Background Music while the user is using the program, so it will play until the user closes the prompt. Any ideas on how I can edit the files to achieve this?<br /><br />A play.Loop where I can call it in any file to continuously play any background sound (or close the previous one and loop this one). <br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1076643699683521890.post-5557098125811413942013-05-26T16:53:46.661+11:002013-05-26T16:53:46.661+11:00Still Works great Alexandre. How would I get this ...Still Works great Alexandre. How would I get this to Loop at the end <br />of the song or 1-2 seconds after it ended?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1076643699683521890.post-11583861229493169162013-04-26T07:36:39.181+11:002013-04-26T07:36:39.181+11:00Love this. I'm using it in my deferred shading...Love this. I'm using it in my deferred shading engine, to select the materials based on an index, so i don't have to loop trough each option. Really nice indeedAnonymoushttps://www.blogger.com/profile/08984912295176156794noreply@blogger.comtag:blogger.com,1999:blog-1076643699683521890.post-18050566624997780502013-04-05T16:01:30.072+11:002013-04-05T16:01:30.072+11:00Hi, I have been using this and it's been very ...Hi, I have been using this and it's been very helpful. Thanks very much for posting it. :) I think I may have found/fixed a small problem: I noticed that my Name_array's were coming through empty. I compared float_array with Name_array, and tried changing [XmlElement("Name")] to [XmlText] on the Name_array._Text_ property. This seems to have fixed the problem.Anonymousnoreply@blogger.com