Hello,
I am working on a project to create a simluation of a football (or soccer ball) flight after it has been kicked. This includes velocity, spin, etc in 2D and then 3D.
The software that this needs to intergrate with is written in VC++. Thus the sim needs to be able to access some data/variables from this software.The simulation needs to be embedded within the control software (running on XP Tablet) and automatically displayed rather than a seperate executable.
I have programming experience, but not in Directx, so I am trying to find out whether using Directx is the best option.
Does anyone have any opinions on this Or other programming options. Maybe Java
Thanks in advance.

Creating a simulation using Direct3D
koko_han
Peter Stromquist
Its certainly possible to do in DirectX, however there is an added learning curve of an API and the 3d concepts. If you only need 3 fixed viewpoints as in the example then its probably easier to do using good old GDI with a little bit of 3d knowledge espceially since 2 of the viewpoints are 2d.
But if you want an arbitrary viewpoint then you will need to use a proper 3d environment like DirectX.
So display multiple views as you want you can use the SetViewport as Greg mentioned but that only allows you to divide up a single DirectX Control (directx can draw to any window or rectangular control). If you want multiple controls then you need to create multiple devices (easy) or create extra swapchains (best performance - though your app is so lightweight it probably won't matter)
Jefke
prasanf
The control software is written in VC++. Thanks for your answer.
The image at the link below shows the basic concept I am trying to create (Win32 app):
http://www.bissy.org/uploaded_images/screen3%20cut.jpg
My other concern: is it possible to create multiple directx apps like this and embed them all in a single win32 application
Or, would a better idea be to create a full directx application and split that up into the 3 various still camera views Is that possible
Sorry if the answers are obvious, but as I said before I have not programmed in directx before and need to find out it's capabilites if I decide to use it.
Thanks.
Steven Somer
Thanks, GDI would be a good idea for the time being, seeing as yes there are a couple of 2D views.
Thanks for the help.