Game programming

Moderators: None (Apply to moderate this forum)
Number of threads: 2047
Number of posts: 5331

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
How to combine Blender 3D animation with GUI software for CNC? Posted by adefadlee on 7 Feb 2009 at 8:13 PM
Hi, I'm now doing my final project. I make a GUI software to control the motion of the CNC machine.

I want to make the 3D animation on my software, which that if we give command to move the stepper motor, the box in the 3D animation is also moving, as far as how much bit that we send to move the stepper motor on the CNC machine.

I've tried to made the GUI using Microsoft Visual Studio, and made the 3D object with blender. My Question are:
1. What language should I use? C++, C#, or else?
2. How do I combine the 3D animation which I made by blender with the GUI software that I made by MS.Visual Studio? I want if we click the button in the GUI software, the stepper motor on the CNC machine move after 3D animation on the software move, as the simulation of the real movement on the CNC.

thanks a lot...
Report
Re: How to combine Blender 3D animation with GUI software for CNC? Posted by codyBane on 24 Mar 2009 at 10:07 AM
It's up to you which language you use. If performance is an issue or this will be running on a slower machine then I recommend C++. You can go with DirectX or OpenGL for the 3D aspects. DirectX is a microsoft product and may integrate a little easier with visual studio.

I'm assuming when you say Microsoft Visual Studio that means that you have Visual C++ at your disposal...

So either you can figure out how to display your 3D model in a window via DirectX or OpenGL, or you can rebuild your GUI in a game engine like CrystalSpace3D or the Ogre3D rendering engine. I'm positive one of those has a GUI toolkit that emulates the windows look.

Also have a quick look on google searching for the terms "code load blender model" and you'll find lots of examples.
CodyBane++,
web application development
Report
Re: How to combine Blender 3D animation with GUI software for CNC? Posted by attzc on 8 Jun 2009 at 8:31 PM
hi,
i have read your post regarding a cnc simulation.i am working on somthing similar.can you help me if you have succesfully simulated the cnc.



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.