Search found 45 matches

by JRS
Wed Oct 01, 2008 2:26 pm
Forum: Beginners Help
Topic: Texture Splatting/ Multitexture
Replies: 1
Views: 643

Texture Splatting/ Multitexture

Hi, I'm back again.

My project is quite done right now. If you wanna see it, just look at:
http://pille.iwr.uni-heidelberg.de/~gameengine2/index.html
It's all German, but maybe I will redo it in Englisch, if I'll have time.

Now I have one more question:
As I'm using arras ShTlTerrainSceneNode, I ...
by JRS
Tue Aug 05, 2008 2:47 pm
Forum: Beginners Help
Topic: Creating mesh based on heightmap.
Replies: 9
Views: 871

Hi,

sorry that I answer this late.
Ok what I want to do:

My terrain is based on some Points. I calculated height for each pixel wrote the height into a matrix. This matrix is named buffer16[].
The I gave this matrix via SetHeight() to the ShTlTerrainSceneNode and tada: I have my terrain.
As far as ...
by JRS
Mon Aug 04, 2008 11:32 am
Forum: Beginners Help
Topic: Creating mesh based on heightmap.
Replies: 9
Views: 871

yeah would be great if arras could comment ;)
by JRS
Mon Aug 04, 2008 11:17 am
Forum: Beginners Help
Topic: Creating mesh based on heightmap.
Replies: 9
Views: 871

I knew you would be the one answering :P

Thank you.
Ok, I could do this... But could is not CAN ;) Well at least I'll try. But it would be way easier to have a mesh. Is it possible to set multiple terrain Node in one prg?
What I want to do is this:

As you know, I got some satellite data. I read ...
by JRS
Mon Aug 04, 2008 10:35 am
Forum: Beginners Help
Topic: Creating mesh based on heightmap.
Replies: 9
Views: 871

Creating mesh based on heightmap.

Hi,

I'm back again ;)
Special "hi" to JP, because he always answers my questions :)

Now I have another question :P again and again and again...

Is it possible to create a mesh in Irrlicht based on an heightmap?
Again there's my problem with the water in my terrain. As you know, I have a matrix ...
by JRS
Fri Aug 01, 2008 10:59 am
Forum: Beginners Help
Topic: Next step in my project
Replies: 6
Views: 369

Well, I think that I've got another problem:

It looks like that my algorithm to check whether a given point is inside or outside the given polygon doesn't work correctly.

I thought that the algorithm is to check whether a given point is on the "right hand side" of the nearest vector connecting two ...
by JRS
Thu Jul 31, 2008 1:40 pm
Forum: Beginners Help
Topic: Next step in my project
Replies: 6
Views: 369

Ok,

based on example 8 I now have this code:

IAnimatedMesh mesh = smgr.GetMesh(
path + "terrain-heightmap.bmp");

mesh = smgr.AddHillPlaneMesh("myHill",
new Dimension2Df(20, 20),
new Dimension2D(90, 90), new Material(), 1,
new Dimension2Df(0, 0),
new Dimension2Df(10, 10));

ISceneNode ...
by JRS
Thu Jul 31, 2008 12:48 pm
Forum: Beginners Help
Topic: Next step in my project
Replies: 6
Views: 369

Well, thanks!

I'll try. Sorry for the questions but I'm not into making water at the moment...
But I will be soon ;)
Then I'll be back
by JRS
Thu Jul 31, 2008 12:06 pm
Forum: Beginners Help
Topic: Next step in my project
Replies: 6
Views: 369

Next step in my project

After the radar works the next problem appears :(

First I'll describe my project a little bit.

I have real satellite data of a terrain an want to visualize it.
The data is a lot of stuff like hight, boundary, landuse... First, of course, I took a look at hight and made an heightmap out of some ...
by JRS
Thu Jul 31, 2008 11:12 am
Forum: Project Announcements
Topic: Realistic water scene node
Replies: 255
Views: 344588

sry
by JRS
Thu Jul 31, 2008 11:09 am
Forum: Project Announcements
Topic: Realistic water scene node
Replies: 255
Views: 344588

..
by JRS
Thu Jul 31, 2008 8:28 am
Forum: Beginners Help
Topic: Radar in Arras Demo
Replies: 17
Views: 762

It's relative to (0,0)
And I finally got it. It works just great.

Thanks to all you guys for your help! If anybody is interested just ask and I'll post my code!

Have a nice day!
by JRS
Thu Jul 31, 2008 5:56 am
Forum: Beginners Help
Topic: Radar in Arras Demo
Replies: 17
Views: 762

Yeah ok, I got this.
But to what point can I set the RELATIVE position?
Is it from (0,0) like an vector or can I give over an certain point?
If this works, as I hope it'll be great!

Thanks
Jan
by JRS
Wed Jul 30, 2008 9:20 pm
Forum: Beginners Help
Topic: Radar in Arras Demo
Replies: 17
Views: 762

Ok, thanks I'll try this.
But what argument should I give to SetRelativePostition?
I know that it take a const core::rect< s32 > but what is it?
I think I have to study this option tomorrow...

It should be, if the camera moves something like (x,y,z) then the dot should move (x/10,z/10)...

Hope I ...
by JRS
Wed Jul 30, 2008 8:06 pm
Forum: Beginners Help
Topic: Radar in Arras Demo
Replies: 17
Views: 762

Finally it nearly works!

My only problem is the movement part.
I got this:

core::position2d<s32> movement;
movement=core::position2d<s32>(terrainWidth*tileSize/20, terrainHeight*tileSize/20);
movement=(core::position2d<s32>((s32)camera.getPosition().X/10,(s32)camera.getPosition().Z/10)-movement ...