 |
|
|
i got winrar on my pc and it shows me alist of al kinds of doc. things but how do i get the thing running plz reply
@COREGOD@
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
A couple months back I downloaded this with the intention of creating a glider simulation. I was immediately excited by it and it looked very promising.
The code took a lot of tweaking to even compile under .Net 2.0. What I finally realized is that while being a great intro to 3D game programming and flight simulation, the quality at the detailed level is not what I want.
So I set about systematically changing it piece by piece. Here's how it went:
1 - Replaced Direct Play with a UDP based client/server protocal based on the Code Project: "Gensis UDP Server Client". http://www.codeproject.com/cs/internet/Genesis.asp[^] 2 - Removed the keyboard input to use the system events as microsoft now suggests 3 - Removed the DirectInput Actions and created my own configurable Key & Button Action Mapper 4 - I created a joystick configuration dialog 5 - The graphics and the aerodynamics modeling where all mix-mashed together. I removed this whole sale, see the next two. 6 - The physics model has bugs (errors). I'm using the rigid body dynmics modeling from this site: http://www.gaffer.org/game-physics/physics-in-3d[^] 7 - The flight modelling is functional, but trivial. I've added a force build up model which will allow the creation or an arbitrary number of forces; liftingbodies (wings and tail surfaces), landing gear, thrust.
When I'm done I should have a first class simulation entirely in .Net 2.0/C#. Hopefully it may even be a bit easier to follow. I may write an article (or series) on it, respond if you would be interested.
-bruce
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
Hi Bruce, It's true my code wasn't great. I was never too happy about it since it was the efford of a couple days of coding I believe and it was to show how to use directx managed code (just came out).
I improved it alot since but I haven't worked in the project for more than a year. The last time I touched it looked like this: http://www.bocazas.com/airplanecool3.jpg[^] (the cabine was from a different game).
It still had alot of bugs and I would need to search through my harddrive to find the code. I decided not to post any updates until I was happy with the code.
I think you should post your glider simulation. Alot of .net libraries have been released since then and it will be great to see a much better implementation of a simulator
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
Wow, 2 days! I've spent 2 weeks and I dont even have anything that works right now.
I honestly think you did a remarkable job of combining a ton of off the wall services to create something provocative. And this was like 5 years ago when C# was brand new. My hats off, well done! Lets just kick it up a notch or three!
-bruce
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
I've made some good progress. The physics engine ported nicely from the C sample on Gaffer. I added force management, which includes lifting bodys and a configuration file format typed data set. It flys much more realistically now. I'm probably about ready to post an article once I get the example and source ready.
-bruce
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
Hi iam getting compiler errors like these... Any help will be great.
D:\code\C#\Games\Airplanewar02src\Form1.cs(195,4): error CS0117: 'Microsoft.DirectX.Direct3D.Light' does not contain a definition for 'Commit' D:\code\C#\Games\Airplanewar02src\Form1.cs(309,4): error CS1501: No overload for method 'Begin' takes '0' arguments c:\WINDOWS\Microsoft.NET\DirectX for Managed Code\1.0.2911.0\Microsoft.DirectX.Direct3DX.dll: (Related file) D:\code\C#\Games\Airplanewar02src\Form1.cs(311,4): error CS1501: No overload for method 'Draw' takes '7' arguments c:\WINDOWS\Microsoft.NET\DirectX for Managed Code\1.0.2911.0\Microsoft.DirectX.Direct3DX.dll: (Related file) D:\code\C#\Games\Airplanewar02src\Form1.cs(315,4): error CS1501: No overload for method 'Draw' takes '7' arguments c:\WINDOWS\Microsoft.NET\DirectX for Managed Code\1.0.2911.0\Microsoft.DirectX.Direct3DX.dll: (Related file) D:\code\C#\Games\Airplanewar02src\InputDevice.cs(103,4): warning CS0168: The variable 'ex' is declared but never used D:\code\C#\Games\Airplanewar02src\Landscape.cs(31,53): error CS0117: 'Microsoft.DirectX.Direct3D.MeshFlags' does not contain a definition for 'OptimizeAttrSort'
|
| Sign In·View Thread·PermaLink | 1.00/5 (1 vote) |
|
|
|
 |
|
|
 |
|
|
Hi everybody, I have some library and source in ANSI C, now I want to use it in C#. How can I do it ?
123
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
Pray.
Actually C# and C++ are really easy to port between, the only thing with C is that you have no classes, and C# is ALL classes, C++ is the perfect inbetween. So you will probably need to create classes with all static methods, as there is no where else to put your methods.
Christian
I have drunk the cool-aid and found it wan and bitter. - Chris Maunder
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
|
there is a exception when get to the followed sentence. can you tell me why
d3dDevice = new Device(0, DeviceType.Hardware, this, CreateFlags.SoftwareVertexProcessing, d3dpp);
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
|
it could be for lot of reasons, maybe your direct3d acceletaion is not enabled on the directx setup: go to start/run and type dxdiag make your on the tabs that direct3d is enabled.
anyway, i fixed lot of bugs already you are better downloading the lastest cvs from www.sourceforge.net/projects/airplanewar
hopefully i will release 0.3 soon and post it here too, it fixed all bugs from this version and huge improvement of quality 
Joaquin Grech
|
| Sign In·View Thread·PermaLink | 4.00/5 (1 vote) |
|
|
|
 |
|
|
 |
|
|
get the lastest cvs from www.sourceforge.net/projects/airplanewar it should be fixed, I haven't changed the code in a while since it seems nobody wants to help with the 3d design freely
unfortunately if nobody is able to help with that, i will discontinue the project since it is useless to create a flight simulator with flying boxes 
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
i am wondering, is this project still alive ? i've just installed visual studio 8 trial and tried to compile this after seeing it mentioned in the newsletter a month or so ago. after running exe and selecting host from the dplay box i get unhandled exception System.TypeLoadException in AirplaneWar.exe[324]
(??)
i would like to do some 3d modeling if it's still on...
v
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
vladeemer,
I replied to your email from sorceforge a couple of days ago. Yes, the project is still alive but the latest versions are in sourceforge project airplanewar
It would be great if you can do some 3d modeling since it is where i need the most help 
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
I've updated the project and downloaded DirectX9 SDK but I still can't find the DirectX Classes that are referenced.
Any ideas?
Bob Chief of the Sheep - Lead and others will follow. Follow others so you may ultimately lead.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
did you install the directx c# part? there is a separate download at microsoft specific to c#, maybe you need that one.
As for the trick with vs.net 2002 I don't know if that will give you trouble. What my friends usually do is just create a new project on 2002 and add all the .cs files and references to it. Remember to add the directx on the project references options.
Joaquin Grech
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
|
Thanks for the links for Directx9 C#. But it also appears that I need 1.1 .NET SDK which I can't install with .NET 2002 (I tried it). Looks like I'll have to wait until the .NET 2003 upgrade arrives. I'm pretty p!*&ed off though. Essentially my company has bought a product for £1000.00 for which Microsoft has not offered any support for. You HAVE to purchase an upgrade.
Microsoft ! This is digraceful.
Bob Chief of the Sheep - Lead and others will follow. Follow others so you may ultimately lead.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
bobsheep wrote: Thanks for the links for Directx9 C#.
Maybe I have missed something up to this point. Could you share the DirectX9 C# links.
Thx,
Wayne http://www.wcater.com
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
As far as I know you don't need the 1.1 sdk, only the framework.
Download the 1.1 framework from http://windowsupdate.microsoft.com also update your directx managed code if you haven't.
Try recreating the project as I said before (new project, add files...) you do not need the 1.1 sdk for anything to compile it. (maybe to run my .exe you do, but if you compile it yourself, you won't)
If fact, you don't even need vs.net to compile the project. The framework includes the compiler and everything, vs.net is just the IDE.
Joaquin Grech
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
I downloaded the c# Directx SDK but all it added was windows\microsoft.net\Managed Directx\v4.09.00.0900\ and somw xml files not code. Am I missing something?
Bob Chief of the Sheep - Lead and others will follow. Follow others so you may ultimately lead.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
I give up. After all it's Microsoft.
Bob Chief of the Sheep - Lead and others will follow. Follow others so you may ultimately lead.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
Actually, you can install .NET 1.1 and the SDK. No, you can't use it from VS.NET but nothing is stopping you from using the ol' command-line utility or even making your own Makefile. Hell, I still do that for a lot of projects, especially in mixed languages (both managed and unmanaged).
-----BEGIN GEEK CODE BLOCK----- Version: 3.21 GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++ -----END GEEK CODE BLOCK-----
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
btw, in vs.net install directx managed code sdk from microsoft open the project (or create it) and click project/add references then select microsoft.directx.whatever is in the project (directinput, direct3d, etc...)
compile 
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
I may have installed the wrong SDK. I'm trying the 222mb install.
Bob Chief of the Sheep - Lead and others will follow. Follow others so you may ultimately lead.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |