Scene rendered to a C# Form Control? Is it Possible?

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
itguru80
Posts: 12
Joined: Fri Feb 18, 2005 9:13 am
Contact:

Scene rendered to a C# Form Control? Is it Possible?

Post by itguru80 »

Hi,
I posted a similar question on the beginner's forum, but have been unable to get an answer, so I thought I'd ask the experts!!!

I want to develop a windows app in C# where the 3D graphics will be rendered to a Control on the Form. But I don't know if it's possible?

This way I can use all the standard .NET Windows Tools, but have a powerful and fast 3D graphics display also!!!

Am I dreaming here or can someone show me how to do this?

Thanks,

Peter
Pete
Life is wonderful
x4861
Posts: 24
Joined: Fri Feb 18, 2005 10:19 am

Post by x4861 »

I don't think it is possible without altering Irrlicht library code. You must change a couple of things in CIrrDeviceWin32.cpp (mainly create another constructor and a custom createDevice function), then recompile Irrlicht DLLs. I haven't tried it myself, but looking at code this seems to be the case.
Guest

Post by Guest »

Thanks for the help,

the only thing is that I'm not a C++ programmer, I only know C# and Java, so this is a bit out of my league.

It would be a nice feature to add to the .NET library tho wouldn't it? ;-)

Peter
cartoonit
Posts: 286
Joined: Mon Nov 15, 2004 6:36 pm

Post by cartoonit »

I would have thought if you know C# or Java then C++ is similar, just with pointers :D
eXodus
Posts: 320
Joined: Tue Jan 04, 2005 10:07 am
Location: Canada
Contact:

Post by eXodus »

Start learning C++ and you'll soon prefer it to Java. Trust me...
Guest

Post by Guest »

Actually I prefer to concentrate on functionality when I am programming, not the specifics of the language.

C++ is powerful, but to easy to make a mistake, do the dereferencing of a pointer wrong, or whatever. Even experienced C++ programmers have to really think about what they are doing when they are programming.

In Java/C#, you concentrate on the logic (the fun part if you ask me) and let the garbage collector do the tidy up for you!!

C++ purists will hate this type of comment, but hey, each to their own!!!!
Post Reply