Solved

3D Model Browser in C#.NET

Posted on 2013-11-20
5
1,374 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

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…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

707 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