Solved

3D Model Browser in C#.NET

Posted on 2013-11-20
5
1,206 Views
Last Modified: 2013-12-09
Hi, I'm using VS C#.NET 2010. I would like to create a "browser" where I can view a 3D model. The model's file format is FBX. I would like to have the ability to see (and if possible) rotate a 3D model within a viewable are - much like a picture control.

The problem is that I can do it with a picture, but I don't know what type of control would handle a 3D object. It would definitely have to be a control that is not 2 dimensional like a picture control, but that has some degree of depth.

Has anyone ever seen anything like this that you can recommend a way to accomplish this?

Thanks,
Fulano
0
Comment
Question by:Mr_Fulano
  • 3
  • 2
5 Comments
 
LVL 2

Accepted Solution

by:
ddurgaprasad earned 500 total points
ID: 39665264
Normally ,viewer is any Form in NET terminology.You have two pieces to accomplish in this specific query.First,you need a parser that has the ability to read the model-FBX in this case.
Seondly,you have render(draw) this model in NET Form,which you are calling browser.

Since the task is related to reading a graphic object , rendering it and interacting with it ,OpenGL is preferred.I suggest you to go through a basic applications of OpenGL like below.
The first example shows the 3D interaction basics using C# and OpenGL(Tao).The second one has an example to load the model(VRML) and render in 3D.

1)http://www.codeproject.com/Articles/23739/OpenGL-3D-Navigation-with-Tao-and-C
2)http://www.codeproject.com/Articles/82/A-small-VRML-viewer-using-OpenGL-and-MFC

Wiki says "Autodesk provides a C++ FBX SDK that can read, write, and convert to/from FBX files.".You may want to grab that SDK to read FBX format and render it using OpenGL
0
 

Author Comment

by:Mr_Fulano
ID: 39671803
Hi ddurgaprasad, thank for the suggestions. Your second option is very interesting. I did some further research and think that what I want to do can always be accomplished with XNA. I'm looking further into this, but one of the two options may work.

I'm going to leave this question open for a couple more days in case someone else on the forum has done this and may have additional thoughts. - Thank you none the less for your help.

Fulano
0
 
LVL 2

Expert Comment

by:ddurgaprasad
ID: 39677273
Fulano

 XNA is a good choice.Flip side is,MS is stopping active development of XNA framework.
 If  you have long term objective then you may need to think about alternatives.

durgaprasad
0
 

Author Comment

by:Mr_Fulano
ID: 39684371
Hi durgaprasad, wow…thanks for the heads up on that. I didn't know that MS was discontinuing support. -- OK, well maybe your first set of suggestions were best. I need to mull this over a bit, so let me get to work and make a decision.

I'll get back to you shortly.

Thanks again,
Fulano
0
 

Author Closing Comment

by:Mr_Fulano
ID: 39707527
Very good answer. Thank you very much for your help.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Summary Displaying images in RichTextBox is a common requirement with limited solutions available. Pasting through clipboard or embedding into RTF content only support static images.  This article describes how to insert Windows control objects int…
In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now