Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I have no idea about DirectX and didn't ever work with that.
I want load my object from 3dMax and have lighting and camera.
I don't need animation. I just want to move the camera around the object.
I have some experiences in C# and know this language.
I don't want use game engines.
where should I start?
Is there any tutorial in C# (not c++) for directx?
The directX SDK doesn't support C# natively and there is no native support in C# for any DirectX functionality.
But there are wrappers you could use, most commonly used project is http://sharpdx.org/.
Though also this project requires you to have some knowledge about how to use the DirectX API, it is not an easy task to get something up and running!
Anyways it might be worth a try ;)
And yes, if you download the SharpDX stuff, there are tons of examples coming with the package.
Instead of doing it yourself from scratch I would suggest to look into this response C# 3d model viewer
or maybe have a try with the free version of the Unity3d engine http://unity3d.com/.
You should probably not start with DirectX itself, but consider using a pre-built 3D engine that uses DirectX and has a .Net frontend. Something like Ogre or Irrlicht.
If you really do want to use raw DirectX, take a look at SlimDX - it's a .Net wrapper around the DirectX libraries (MS doesn't offer their own managed DirectX interface anymore) with lots of tutorials available.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I'm in the process of learning C# and have a firm grasp of Java, and almost two decades ago VB6. I'm jumping straight into Windows desktop applications and wonder what alternatives there are to WPF?
Anything recent, that would be more relevant to spend time learning?
I did find a thread here, but wonder if there has been any changes. For instance, Silverlight is all, but seemingly abandoned.
Background: I hold a BS degree in Computer science, but it has been about 5-years since I have been in the technology industry and would like to jump back into a programming career. As a start I would like to build a portfolio.
In general, WPF is the best option for Desktop development on Windows. There is nothing else that comes close.
The main "alternative" would be if you wanted to target Windows Store applications, in which case you'd use the Windows Store development model. This is still XAML based (as are all of the new Microsoft UI technologies), so WPF knowledge transfers over fairly well.
If you are solely looking at c# native UI development, I think your only alternative would be WinForms. Personally I think that WPF is a lot more flexible and easier to work with when you get a grasp on it, and it's very friendly to expansion if you want to write your own extensions. WinForms can arguably be more basic and easy to learn, but you won't achieve the same level of flexibility and extension.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I am developing a Windows GUI Application. I need a tool to create a prototype design. Please help me to find the best tools? Thanks.
Visio have some stencils for Windows GUI which can be used to prototype a design.
Another option is to use the Visual Studio designer (for either WPF or WinForms) and just layout the forms, without any code.
It really depends on whether you want a free tool or a paid for one, plus what technology you're going to use in the long run.
For winforms, Anders answer is probably best.
If you're aiming at using Silverlight or WPF then I'd recommend Expression Blend as you can produce a rough working GUI design and quickly transform it into working code.
Microsoft SketchFlow seems like a quite good tool.
You can create more or less working prototypes, the standard skin of the prototypes are pencil-sketch style to give the viewer a feeling that the prototype is just a prototype and not a working application.
If you want to show examples of final look'n feel you can just use the regular WinForms or WPF designer.
I use this one a lot. It's easy to put stuff together and there is a wealth of addons to meet your gui needs.
Balsamiq
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
How can I detect and select the face in the a photo of a person in a c# windows application?
Are there any existing libraries I can use?
You can try to implement it using AForge ( http://www.aforgenet.com/ ). It's a c# library for computer vision and artificial intelligence. And I found several threads on their forum about face recognition:
http://www.aforgenet.com/forum/viewtopic.php?f=4&t=591
http://www.aforgenet.com/forum/viewtopic.php?f=4&t=1557
http://www.aforgenet.com/forum/viewtopic.php?f=4&t=1317
Also you can use approach from this article - http://www.codeproject.com/KB/audio-video/face_detection.aspx
OpenCV .NET is what you are searching for.
Take a look here:
http://code.google.com/p/opencvdotnet/
You could try a pure C# Face Detection Library
Although there is a OpenCVDotNet to wrapper OpenCV with C# language, it seems very difficult for common users to implement Simple Face Detection/Face Recognition as a simple way.Now you don't need to worry about it, because there is a developer has built a pure C# Face Detection Library.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I have a WPF and C# application, and I want to know if it can be ported to silverlight. Is there a tool to analyse the dependencies and tell me what I can't use, and what I can ?
Thanks.
As far as I know there is not. The best way to find out is to create a Silverlight project and copy your code across, then start analysing all the build errors. It is not a great solution, but I don't know of any better way.
As an aside, there is a nice white paper that details the differences between WPF and Silverlight here:
http://wpfslguidance.codeplex.com/Release/ProjectReleases.aspx
I have not seen such tool, but there is WPF compatibility list on MSDN which i use.
I've just remembered that when I tried to port a C# app to Linux/Mono I used Moma analyser, it helps to identify issues you may have when porting a .Net application to Mono, and I know that Mono only implement Silverlight not WPF, so I will give it a try.
And you can see and change the data for what Moma consider to be implemented or not. In the Definition directory there is a 2.8-4.0-defs.zip file, inside there are 4 text files exception.txt, missing.txt, monotodo.txt, and version.txt, it is 3 lists of functions that will produce errors. So maybe someone can scrape the info about what Silverlight implements, and change the files accordingly.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
Is there C# (.NET) library for Lego Mindstorm NXT, which is up-to-date?
NXT.NET for LEGO Mindstorms
last update 18.04.2008
http://nxtnet.codeplex.com/
MindSqualls
last update 05.06.2007
http://www.mindsqualls.net/
Lego .NET
last update 07.04.2005
http://www.dcl.hpi.uni-potsdam.de/research/lego.NET/weblog/
I know, there is MS Robotic studio, but my question is not about that.
I made the source code for the NXT.NET library available on CodePlex, but unfortunately it is true that the development of the library has stalled :(
You can find the source code here for download:
http://nxtnet.codeplex.com/releases/view/12686
As far as I can tell, There is no source code available for NXT.NET for LEGO Mindstorms despite the project being hosted on codeplex. The library is not really complete yet - and it would seem that development has stalled.
The MindSqualls library has not been updated recently, but still appears fairly complete and usable. Some recent modifications are available elsewhere.
You've said you aren't interested in MS Robotics Studio but that works well with Lego NXT. Personally, I would find it had to justify using something else other than "for the challenge" of doing so.
The microsoft robotics SDK (for .net) is compatible with mindstorms.
I used AForge.NET for my project. (http://www.aforgenet.com/)
The last update was February 23, 2012.
It makes controlling the Lego Mindstorm NXT very easy.
http://www.aforgenet.com/framework/features/lego_robotics.html#nxt
You can just send down real-time / Direct commands to the NXT in its native format. You don't necessarily need the NXT library.
It sounds like you are using the library, however it can be easily augmented by just sending a command to the com port that the NXT is connected up with. Here is a great tutorial on the NXT direct commands:
http://www.robotappstore.com/Knowledge-Base/Programming-LEGO-NXT-Mindstorms/92.html
-Hope this helps!
I tried to use MRDS, and could not do it. The whole system with services and many twists in most cases only complicates everything.
Now I try to understand AForge and MindSqualls, until they look much better.