Forum Groups
  All forums
    Help & Feedback
      Questions
      Work in progress
      Finished Art
      Non-Max related
    Community
      Offtopic
      News
    Hardware
    Photography


Featured Threads
  inspiration alert!!!
(36 replies)
  Indespensible MaxScripts, Plugins and 3rd Party Tools
(37 replies)
  The allmighty FREE Resources Thread !
(17 replies)
  spam alert!!!
(4886 replies)
  Maxforums member photo gallery index
(114 replies)
  Maxforums Member Tutorials
(89 replies)
  three cheers to maxforums...
(240 replies)
  101 Things you didnt know in Max...
(198 replies)
  A Face tutorial from MDB101 :D
(95 replies)
  Maxforums.org Members Gallery
(516 replies)
  SON OF POST YOURSELF
(637 replies)
  Dub's Maxscript Tutorial Index
(119 replies)

Maxunderground news unavailable

Integrate 3D Model Into Visual Studio C# 2010?
show user profile  psifreak
I'm working on some 3D models, I want to put them into a C# Windows Form Application I'm working on at the same time. Can anyone point me in the right direction on this? Not sure about compatibility or special adapters/code chunks I might need.
Thanks@
read 3823 times
2/26/2011 5:30:06 PM (last edit: 2/26/2011 5:30:06 PM)
show user profile  advance-software
If you want to write your own engine take a look at DirectX C# interfaces (google examples).

The other solution is to license an existing engine.
read 3817 times
2/26/2011 5:46:12 PM (last edit: 2/26/2011 5:47:10 PM)
show user profile  Kajico
why not use the xna framework since it already has prebuilt templates for this sort of thing?


(\/) (°,,,°) (\/) Woop woop woop!




read 3799 times
2/26/2011 8:20:42 PM (last edit: 2/26/2011 8:20:42 PM)
show user profile  Mr_Stabby
in order to have a 3d model in your application you first need something that will make sense of it or in short you first need an engine. Be it based on dx/opengl or any other graphics api (or none of them if you like) there is a whole bunch of steps between a file on your hdd to pixels on your screen and if you have any ambitions about doing something useful with these models i would suggest you commit yourself to one of the "building an engine in xxx using xxx from scratch" tutorials. While the boiler plate code required to get started does look rather mind numbing and uninteresting its actually the main thing you should focus on geting to know intimately because if you just copy paste your way through it you'll soon reach the end and go "now what?" without realizing you already just skipped over everything you need to know.

read 3782 times
2/27/2011 3:00:00 AM (last edit: 2/27/2011 3:00:00 AM)
show user profile  jareu
http://www.directxtutorial.com/tutorial9/b-direct3dbasics/dx9B.aspx

Check out the above.

The problem with visual studio is that it is essentially event based/message based, so you will have to use ASYNCgetkeystate instead of using keyboard messages.

also, you just need a HWND to render to, to implement the above tutorials. its rather easy once you get the hang of it.



He who says it cannot be done is interrupting the man doing it.

read 3762 times
2/28/2011 5:45:11 AM (last edit: 2/28/2011 5:45:11 AM)
show user profile  advance-software
> The problem with visual studio is that it is essentially event based/message based

That's windows, not vs.

A C/C++ graphics engine scripted via C# would be more efficient than an entire C# engine.

If you're writing something from scratch go with DirectX11 (or OpenGL if you need cross platform capability).

Note DX11 isn't compatible with WinXP - will have to use OGL or DX9 on that platform if required.

Not trying to disuade you from following this approach, but writing an entire graphics engine + tools from scratch is a lot of work.
Unless this is something you really want to do, there are easier options - ie. work with an existing engine.
read 3757 times
2/28/2011 9:28:52 AM (last edit: 2/28/2011 10:04:56 AM)
show user profile  Kajico
What about something along these lines?
http://www.codeproject.com/KB/game/XNA_and_WinForms.aspx

Basically a Windows Form with an XNA window to render through


(\/) (°,,,°) (\/) Woop woop woop!




read 3742 times
2/28/2011 10:21:49 AM (last edit: 2/28/2011 10:21:49 AM)
show user profile  psifreak
Thanks folks! It's not a video game I'm working on, I just want a 3D animation in a windows form app I'm working (for decoration mostly, but if I can add some minor activity to it that'd be great too). Just a short animation clip that I can loop, not intended to be interactive at this point, but depending on what I learn from these links and tips, we'll see. I should have mentioned I'm using Autodesk 3DS Max 2010 to make the 3D part. I just need a way to import it, and it looks like you guys hit it right on the head.
I honestly hadn't considered DirectX, it's been so long since I've even heard it mentioned it's crazy. Appreciated greatly folks!
read 3713 times
3/1/2011 5:00:14 PM (last edit: 3/1/2011 5:04:41 PM)
show user profile  Diya
I want to make a similar application like "psifreak" can i get a guideline for it asap.

read 1662 times
10/1/2013 10:05:21 AM (last edit: 10/1/2013 10:05:21 AM)
show user profile  Diya
@psifreak: Can i get the binary or source code of your application that you made or any thing that will give me the path that how i should progress in my project. originally i was making something else but recently the scope had been altered.i would be greatful for any kind of help :)
read 1615 times
10/1/2013 4:27:46 PM (last edit: 10/1/2013 4:27:46 PM)
show user profile  Dub.
Do you actually need 3D?

It kinda sounds like you just need to render your 3D out as a movie of some sort and play that back inside your app.

that is about 1000 times easier to do than full 3D.


read 1591 times
10/2/2013 12:06:01 AM (last edit: 10/2/2013 12:06:01 AM)
show user profile  LionDebt
Digging up old threads makes baby jesus cry.


read 1589 times
10/2/2013 12:17:18 AM (last edit: 10/2/2013 12:36:35 AM)
show user profile  Diya
@Dub.
Yes pretty much like that.
like load a 3D and move it around to see where it fits and get the idea as if how it would look in real.
can you kindly tell me the path or guideline for how to do that which tool to refer to ?
XNA gamestudio would do the trick ?
read 1548 times
10/6/2013 6:58:23 PM (last edit: 10/6/2013 6:58:23 PM)
show user profile  Mr_Stabby
it sounds like you're trying to implement interactive 3d rather than static to which you said "yes pretty much like that".. so which is it? :p

Also yes xna would do it and is probably one of the easier wrappers to set up.

read 1542 times
10/6/2013 8:49:59 PM (last edit: 10/6/2013 8:49:59 PM)
show user profile  gogodr
For XNA:
Start here http://xbox.create.msdn.com/en-US/education/tutorial/2dgame/getting_started
and then do this http://msdn.microsoft.com/en-us/library/bb203897.aspx
you should be able to learn the basics in a weekend.

there were some very good videotutorials for the old XNA
XNA Creators Club Online Beginner's Guide 2D and a 3D video tutorials series, but the videos has been taken down from the internet. I can't find them anywhere now.

edit:

this guy archived pretty much all the videos: http://www.youtube.com/user/XNAMktg2/videos

Hello there

beautiful ;3


read 1524 times
10/7/2013 2:31:12 AM (last edit: 10/7/2013 2:40:23 AM)
#Maxforums IRC
Open chat window


Support Maxforums.org