Search found 42 matches

by Delight
Sat Jun 30, 2007 10:33 am
Forum: Beginners Help
Topic: SceneNode Rotation
Replies: 1
Views: 272

SceneNode Rotation

I have a problem with rotating my scene node correctly. The task is: I have a target, where the unit should go. So I set up the direction vector by substracting the position of the scene node from the target - nothing difficult until here. But how can I get the rotation out of this vector? The nativ...
by Delight
Thu Jun 28, 2007 9:33 pm
Forum: Project Announcements
Topic: War of the Mages (Krieg der Magier)
Replies: 16
Views: 2507

I'll think about it, but one good suggestion: Carl Granberg - Programming an RTS Game with Direct 3D is very helpful (some c++ and direct 3d tutorials should be done before).
by Delight
Thu Jun 28, 2007 11:09 am
Forum: Project Announcements
Topic: War of the Mages (Krieg der Magier)
Replies: 16
Views: 2507

Well currently I am rewriting the code. I am not happy about the tile based pathfinding and want to implement polygon based pathfinding. Overmore the terrain generation and texturing will be changed. I think I'll use precomputed heightmaps and textures (which will be done similar to now, but will al...
by Delight
Sun Jun 24, 2007 8:55 am
Forum: Project Announcements
Topic: War of the Mages (Krieg der Magier)
Replies: 16
Views: 2507

Georgians problem has to do with the map.hlsl shader. When you change Output.RGBColor = (c1 + c2 + c3) * l; to Output.RGBColor = (c1 + c2 + c3); the terrain should be visible( but without fog). Perhaps I reduce the amount of the terraintextures - then it is possible to render the terrain with 4 text...
by Delight
Sat Jun 23, 2007 4:59 pm
Forum: Project Announcements
Topic: War of the Mages (Krieg der Magier)
Replies: 16
Views: 2507

The way I see it I have to fix a lot of bugs. The terrain uses some features and I have to implement some fallbacks... But the x1300pro should render the terrain - my radeon 9700 does it too and I think the x1300pro is much better... What does the console say?
by Delight
Sat Jun 23, 2007 7:31 am
Forum: Project Announcements
Topic: War of the Mages (Krieg der Magier)
Replies: 16
Views: 2507

Mmmh that's strange. I know from three guys that the prog is working on their pcs... One question: What type of graphic card do you have? It should support 5 texture stages and if it doesn't - well I don't know how the program handles this...
by Delight
Fri Jun 22, 2007 8:22 pm
Forum: Project Announcements
Topic: War of the Mages (Krieg der Magier)
Replies: 16
Views: 2507

Today I build a first "playable" demo. Nothing worldshaking, but the things, which are already implemented, can be discovered now. The minimap isn't done, but the basic pathfinding should work. Group movement and formations are still missing. If you move more than one unit, then they'll al...
by Delight
Mon Jun 18, 2007 7:15 pm
Forum: Advanced Help
Topic: More than 4 textures... [solved]
Replies: 18
Views: 1737

by Delight
Mon Jun 18, 2007 7:13 pm
Forum: Project Announcements
Topic: War of the Mages (Krieg der Magier)
Replies: 16
Views: 2507

War of the Mages (Krieg der Magier)

My project is still in the pre alpha stage but anyway I want to post some screenshots. It's called "Krieg der Magier" ("War of the mages" in english, but the title looses elegancy translating it..) and is a real time strategy game. Some further information can be found here . I'l...
by Delight
Sat Jun 16, 2007 6:58 am
Forum: Beginners Help
Topic: Please,how I can rotate a SceneNode without know angles? ...
Replies: 1
Views: 220

Perhaps you could use the DotProduct: C# Vector3D Vec1 = new Vector3D( 1,0,0); Vector3D Vec2 = new Vector3D( x, y, z ); Vector3D tempVec = new Vector3D( Vec2.x, Vec2.y, 0 ); float zAngle = 90.0f - (float)(Math.Acos(-Vec1.DotProduct( tempVec ) / tempVec.Length)) * NewMath.RADTODEG; Vec1 = new Vector3...
by Delight
Thu Jun 14, 2007 3:12 pm
Forum: Advanced Help
Topic: Lot of terrain
Replies: 10
Views: 937

Creating or wrapping the tile based terrain from the code snippets forum would be better than setting indices up to INT32...
by Delight
Tue Jun 12, 2007 12:20 pm
Forum: Irrlicht.NET
Topic: Need help on Tutorial 3
Replies: 8
Views: 9926

It's not possible with Irrlicht.Net as far as I know. Take a look at IrrlichtNETCP - it's a wrapper which has CustomSceneNode support. In the Sdk is also an example
by Delight
Sat Jun 09, 2007 2:48 pm
Forum: Advanced Help
Topic: More than 4 textures... [solved]
Replies: 18
Views: 1737

I'll post some pictures in the announcements, when the project is ready to be shown. Don't like these posts, where are only some good screenshots given, but no functionality is implemented. I'll work on this first
by Delight
Fri Jun 08, 2007 11:01 am
Forum: Advanced Help
Topic: More than 4 textures... [solved]
Replies: 18
Views: 1737

I made some further tests. Setting the constant down works perfectly, but setting it to 5 crashes the application every time - even when I set the only first or second texture stage. The SetMaterialTexture(int, texture) doesn't seem to be the problem. The scene.DrawAll() is the problem. When I comme...
by Delight
Thu Jun 07, 2007 5:02 pm
Forum: Advanced Help
Topic: More than 4 textures... [solved]
Replies: 18
Views: 1737

So you got it working by setting the Max texture constant to 8? What could be the matter, that it's not working for me. The hardware shouldn't be the problem. As I already told I got a directX example with more than 4 textures working...