Tutorials in c#

Announce new projects or updates of Irrlicht Engine related tools, games, and applications.
Also check the Wiki
ElricDog
Posts: 5
Joined: Thu May 26, 2005 11:53 pm

Tutorials in c#

Post by ElricDog »

Hi,
Today i landed on Irrlicht, few hours ago.
I'm a fan of Ogre but i love c#, and Axiom is growing so slow and not clear.
I was following Irrlicht developing but since today i never try to develop anything with it.
Now i'm surprised. Its fast, robust and well structurated.
I managed to port the sample 11 (parallax bumpmapping).
I have had to add some missing functionalities to .NET dll like:
- MeshManipulator class
- CreateMeshWithTangents
- MakePlanarTextureMapping
- MakeNormalMapTexture of driver class

I want to port all samples and make the necessari changes to .NET dll and i want to know if someone has been doing this before.

Later i will try to find some inet hard disk space to put the code & bins of tut 11 in c#.

sorry for my english. :roll:
Elric / Anaconda
r2d2
Posts: 211
Joined: Mon Nov 24, 2003 5:22 pm

Post by r2d2 »

Great work dude! Keep it up!
If you still need space you can put the files up on mine. I got unlimited traffic.
R2D2's Irrlicht Mods
Messed up with my database so the page is not working at the moment -.-
CPU: Core 2 Quad Q6700RAM: 4096 mb Graphics: Radeon 4850 512mb Sound: on board InternetConnection: DSL
ElricDog
Posts: 5
Joined: Thu May 26, 2005 11:53 pm

Post by ElricDog »

I have managed to run my web server and i have uploaded my first tutorial port. Is the tuto 02.Quake3Map_cs.

Test it if you want (please readme the txt file first).

I'm finishing some incomplete stuff and i will upload 11.PerPixelLighting_cs later.

thx r2d2 i have sended a pm.

http://www.elric.ws/irrlicht/elric%20tutorials.zip
Elric / Anaconda
niko
Site Admin
Posts: 1759
Joined: Fri Aug 22, 2003 4:44 am
Location: Vienna, Austria
Contact:

Re: Tutorials in c#

Post by niko »

Nice that you like Irrlicht.
ElricDog wrote: I'm a fan of Ogre but i love c#, and Axiom is growing so slow and not clear.
Yep, Irrlicht.NET is growing slow as well. But I'm trying to get faster/better. :) Nice work, btw! :)
katoun
Posts: 239
Joined: Mon Nov 15, 2004 9:39 am
Location: Romania
Contact:

Post by katoun »

Hello,
I am a C++ lover and today I had a look to the Irrlicht.NET.
I was 'terraafied' at fist and then got the sintax abit.

There is one question in my mind though:
What benefites gives C# over C++ if there are some?
The ansuer would surely determin me to learn C# or not.
Kat'Oun
ElricDog
Posts: 5
Joined: Thu May 26, 2005 11:53 pm

Post by ElricDog »

New tutorials release.

http://www.elric.ws/irrlicht/elric%20tutorials.zip

I added tuto 11.PerPixelLighting_cs.
Its almost finished (read the txt on zip).
I cleaned the structure to allow a faster development of tutorials port.

Its amazing how fast is the learning curve of Irrlicht.

katoun: c# vs c++.
Imho i thing that c++ is old obsolete language. c# is the future. Easy to learn, Powerful, Versatile, Robust, with a lot of new functionalities that helps alot. Microsoft (Skynet :p) is launching a great campaing to kill java and similar competitors. Few weeks ago they release a free c# ide/compiler for nonprofit developers.
On the other hand c++ is faster, is well known, and a lot of people loves it.
If you know delphi, c# is to c++ the same that is delphi to pascal.

My level of english don't allow me to explain all the things that i could say. Simply give it a try.
Elric / Anaconda
ctt
Posts: 8
Joined: Wed Mar 16, 2005 11:15 pm

Post by ctt »

Good work ElricDog. One problem that I had with Irrlicht.NET is that when the memory usage goes too high.. then the C# garbage collector kicks in and sometimes the SceneManager gets released. This causes the whole program to crash since the SceneManager is Null to the .NET framework. Any solutions/suggestions?
ElricDog
Posts: 5
Joined: Thu May 26, 2005 11:53 pm

Post by ElricDog »

ctt thx,

I'm to newbie to irrlicht.NET to say you whats the problem. Maybe you can send me the project and i could take a look and post a solution.

send a pm to me.
Elric / Anaconda
ElricDog
Posts: 5
Joined: Thu May 26, 2005 11:53 pm

Post by ElricDog »

New release.
I added tuto 04 Movement & 07 Collision.
Sources of patched NET dll are included this time.

Next release will take some time. My girlfriend is going to kill me :oops:

http://www.elric.ws/irrlicht/elric%20tutorials.zip
Elric / Anaconda
Duncan Mac Leod
Posts: 64
Joined: Sun May 22, 2005 3:06 pm
Location: Germany
Contact:

Post by Duncan Mac Leod »

ElricDog wrote:New release.
I added tuto 04 Movement & 07 Collision.
Sources of patched NET dll are included this time.

Next release will take some time. My girlfriend is going to kill me :oops:

http://www.elric.ws/irrlicht/elric%20tutorials.zip
Hi Elric!

EXCELLENT WORK...

I have applied your Patches to our custom build - works like a charm!

Hope, you are writing all the missing .net features...

THANK YOU,
Duncan
--
Tucan Entertainment
Guest

Post by Guest »

Hi! I am new with this engine and wish test this tutorials.

But I get some buid errors:

F:\Irrlicht\examples.net\07.Collision_cs\Example.cs(79): 'Irrlicht.Scene.ISceneNode' does not contain a definition for 'TriangleSelector'

F:\Irrlicht\examples.net\07.Collision_cs\Example.cs(208): Operator '+' cannot be applied to operands of type 'Irrlicht.Core.Vector3D' and 'Irrlicht.Core.Vector3D'

F:\Irrlicht\examples.net\07.Collision_cs\Example.cs(210): 'Irrlicht.Scene.ISceneManager' does not contain a definition for 'SceneCollisionManager'

F:\Irrlicht\examples.net\07.Collision_cs\Example.cs(227): 'Irrlicht.Scene.ISceneManager' does not contain a definition for 'SceneCollisionManager'

F:\Irrlicht\examples.net\11.PerPixelLighting_cs\Example.cs(56): 'Irrlicht.GUI.IGUIEnvironment' does not contain a definition for 'AddImage'

F:\Irrlicht\examples.net\11.PerPixelLighting_cs\Example.cs(88): 'Irrlicht.Scene.ISceneManager' does not contain a definition for 'MeshManipulator'

F:\Irrlicht\examples.net\11.PerPixelLighting_cs\Example.cs(106): 'Irrlicht.Video.IVideoDriver' does not contain a definition for 'MakeNormalMapTexture'

F:\Irrlicht\examples.net\11.PerPixelLighting_cs\Example.cs(118): 'Irrlicht.Scene.ISceneManager' does not contain a definition for 'MeshManipulator'

F:\Irrlicht\examples.net\11.PerPixelLighting_cs\Example.cs(149): 'Irrlicht.Scene.ISceneManager' does not contain a definition for 'MeshManipulator'

F:\Irrlicht\examples.net\11.PerPixelLighting_cs\Example.cs(152): 'Irrlicht.Scene.ISceneManager' does not contain a definition for 'MeshManipulator'

F:\Irrlicht\examples.net\11.PerPixelLighting_cs\Example.cs(155): 'Irrlicht.Scene.ISceneManager' does not contain a definition for 'MeshManipulator'

F:\Irrlicht\examples.net\11.PerPixelLighting_cs\Example.cs(163): 'Irrlicht.Video.IVideoDriver' does not contain a definition for 'MakeNormalMapTexture'

Any help please?

Sergio Cossa
Argentina
Guest

Post by Guest »

OK, I could already build the application without problems.
I had some mistaken references.

Excelentes ejemplos, muchas gracias Elric!!

Sergio Cossa
Argentina
Galaxy613
Posts: 20
Joined: Wed Jun 01, 2005 12:46 am
Location: USA, VA
Contact:

Post by Galaxy613 »

Thanks a bunch Elric!!!! :D That translated 04.Movement example helped a TON!

This really sucks that I have no one to help me with C# IRRLicht :< seems like everyone uses C++ and nothing but C++, if I try to search the forums I only get stuff about C++, NOTHING to help me with what I need help with.
Image
Guest

Post by Guest »

Links are broken.

*grabs gun, pulls trigger*
shurijo
Posts: 148
Joined: Sat Feb 21, 2004 3:04 am

Post by shurijo »

Great work :)

Any chance you've tackled tutorial 12 yet? I was doing fine unti I ran into ITerrainSceneNode which doesn't seem to exist in the Irrlicht.NET.dll yet.
Post Reply