473,770 Members | 2,104 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Game Programming

What's the deal with DirectX from a .NET point of view?
Nov 15 '05 #1
10 1705
n!
> What's the deal with DirectX from a .NET point of view?

That's not very specific :) What did you want to know about it? It's very
good, I'm using it to work on a C# learning project (screenshot:
http://www.btinternet.com/~nfactorial/heightpic.jpg).

There's also a newsgroup for managed DirectX
(microsoft.publ ic.win32.progra mmer.directx.ma naged).

n!
Nov 15 '05 #2
Depends on what you want to do. A lot of things are possible but some aren't
and possibly never will be ( like writing filters )

Yves

"C# Learner" <cs****@learner .here> schreef in bericht
news:5t******** *************** *********@4ax.c om...
What's the deal with DirectX from a .NET point of view?

Nov 15 '05 #3
"The deal is" that DirectX 9.0b has a managed interface available to C# and
C++.NET and VB.NET developers. The managed interface is only managed at the
API level--where you're running your C# (or other managed) code, whereas
it's still native & unmanaged internally, so the end result is that DirectX
9 is pretty fast even in C# and even using Direct3D, etc.

For more info, visit http://msdn.microsoft.com/directx/

Jon
"C# Learner" <cs****@learner .here> wrote in message
news:5t******** *************** *********@4ax.c om...
What's the deal with DirectX from a .NET point of view?

Nov 15 '05 #4
n!
> Depends on what you want to do. A lot of things are possible but some
aren't
and possibly never will be ( like writing filters )


What do you mean by 'filters'? It's certainly possible to write image
processing filters using shaders and Direct3D :)

n!
Nov 15 '05 #5
"n!" <nf********@nom ailplease.com> wrote:
What's the deal with DirectX from a .NET point of view?


That's not very specific :) What did you want to know about it? It's very
good, I'm using it to work on a C# learning project (screenshot:
http://www.btinternet.com/~nfactorial/heightpic.jpg).


Nice.

Do you know where I might find some sample code on the Web? Samples
of just using DirectX in C#.
Nov 15 '05 #6
Download the full SDK. It is chock full of all kinds of excellent C# samples
of nearly everything previously only sampled in C++!

Jon
"C# Learner" <cs****@learner .here> wrote in message
news:nn******** *************** *********@4ax.c om...
"n!" <nf********@nom ailplease.com> wrote:
What's the deal with DirectX from a .NET point of view?


That's not very specific :) What did you want to know about it? It's very
good, I'm using it to work on a C# learning project (screenshot:
http://www.btinternet.com/~nfactorial/heightpic.jpg).


Nice.

Do you know where I might find some sample code on the Web? Samples
of just using DirectX in C#.

Nov 15 '05 #7
"Jon Davis" <jo*@REMOVE.ME. PLEASE.jondavis .net> wrote:
Download the full SDK. It is chock full of all kinds of excellent C# samples
of nearly everything previously only sampled in C++!

Jon


Thanks Jon, will do.
Nov 15 '05 #8
Be sure to get the Summer 2003 version of the SDK.
"C# Learner" <cs****@learner .here> wrote in message
news:do******** *************** *********@4ax.c om...
"Jon Davis" <jo*@REMOVE.ME. PLEASE.jondavis .net> wrote:
Download the full SDK. It is chock full of all kinds of excellent C# samplesof nearly everything previously only sampled in C++!

Jon


Thanks Jon, will do.

Nov 15 '05 #9
"C# Learner" <cs****@learner .here> wrote in message
news:nn******** *************** *********@4ax.c om...
"n!" <nf********@nom ailplease.com> wrote:

Do you know where I might find some sample code on the Web? Samples of just using DirectX in C#.


Check out this fine sample:
http://www.codeproject.com/cs/media/...asion%7C%2Enet

Markus
Nov 15 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
3879
by: the_philospher | last post by:
I am a beginner programmer learning c++. i have read some useful information about programming games (which is my goal) on gamedev.net, particularly "how do i program games" http://www.gamedev.net/reference/design/features/makegames/. the article suggests first programming a tetris clone, then moving on to "breakout", "pacman", and a super mario style game.. My question is, how long should it realistically take me to be able to...
11
2560
by: enki | last post by:
I am writing a game and I am having trouble with moving the character on the map. Here is what I have right now. It involves win32 programming but that not my problem. I would like some suggestions how I can make my code better. If you need more code I will post it. I am in early devlopment of the game. map.h:
2
2590
by: Hans Kamp | last post by:
As a programming exercise I try to program a game. In my case it is called BugEater. The purpose is that you are a snake. It moves automatically but you can control it with the keys on your keyboard. In the field where your snake is, there are candies that you must eat. The more candies you eat, the longer you get. You win if you eat all 10 candies without dying more than 3 times in one level. In that case a time bonus is added to your...
2
4463
by: ck388 | last post by:
I was wondering if anyone could answer a couple of questions regarding developing games. I would like to create one for fun on my spare time. I want to know what type of technologies I would have to use. Basically I want to create a sort of board game (for mutual funds). I want to animate things like money (like have a pile of money in the middle of the board, then pay money to each player, where the chips/money would move to the...
5
1374
by: john andrew | last post by:
-- hello If I wanted to do some game programming with C++ and openGL/directx do I need to know MFC /VCL . Can I just know C++ and bypass these extras and use just C++ with added libraries, no GUI ?
0
1840
by: Jeff Rush | last post by:
At PyCon this year we're going to have a multi-day game programming clinic and challenge. This is a first-time event and an experiment to find those in the Python community who enjoy playing and creating games. Python has several powerful modules for the creation of games among which are PyGame and PyOpenGL. On Friday evening, Phil Hassey will give an introduction to his game Galcon, an awesome high-paced multi-player galactic...
10
3847
by: Max Kubierschky | last post by:
Hello, I'm planning to give a game programming course for kids of mixed age. For this, I am looking for an open source 2D game development kit. I am also willing to participate in the development of the development kit. Features I'd like to see - Possibility to construct simple games via drag and drop without programming - Integration into an IDE - Based on Java or Python
4
4436
by: COHENMARVIN | last post by:
Are there any good sources on video game programming in vb.net? Is "DirectX" a set of libraries for video game programmers? The reason I ask is that I'd like to convert a board game into a computer game. Its a game with up to 4 players, so it seems like it would be hard to do. After all, a computer doesn't have up to 4 mouses. And its a board game where pieces move on the board, so I'd have to keep redrawing the board but with squares...
10
2019
by: Michael Lubker | last post by:
Any people that use Python as the predominant language for their game development here? ~Michael
0
1023
by: smartx | last post by:
Hi, I would like to share my knowledge as a game programmer, really game programming is hard, I don't want to disappoint you, the important point to become a game programmer is to love game programming, this way you will reach your target, also you need to be patient, don't stop on the half of the road, like you are building a great building and when you leave it like you destroy what you built, sure because what you learn needs a practice...
0
9591
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10228
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10057
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10002
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8883
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6676
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5312
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3970
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3575
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.