Search found 8 matches
- Wed May 02, 2007 8:59 pm
- Forum: Beginners Help
- Topic: Problem with loading terrain node from an .irr file
- Replies: 2
- Views: 202
- Wed May 02, 2007 6:02 pm
- Forum: Beginners Help
- Topic: Problem with loading terrain node from an .irr file
- Replies: 2
- Views: 202
Problem with loading terrain node from an .irr file
Hi, I try to load the terrain.irr example file from irrEdit folder by using : smgr->loadScene("terrain.irr"); but I get : Could not create scene node of unknown type : terrain. What might it be wrong? I use irrlicht 1.3, doesn't irrlicht 1.3 support the terrain node in an .irr file? Thanks...
- Fri Jan 19, 2007 9:15 am
- Forum: Beginners Help
- Topic: Problem with terrain texture filtering
- Replies: 19
- Views: 770
To Spintz : Yes it's the same shader code from my other post. It occured to me that it might be a filtering problem, I am not quite sure about that. The code is here : float4x4 matViewProjection; struct VS_INPUT { float4 Position : POSITION0; float2 inTxr1 : TEXCOORD0; }; struct VS_OUTPUT { float4 ...
- Thu Jan 18, 2007 9:01 pm
- Forum: Beginners Help
- Topic: Problem with terrain texture filtering
- Replies: 19
- Views: 770
I forgot to upload two screenshots which show the pixelated terrain.
Thanks again.
http://www.geocities.com/gabrielk42/Pos ... rrain1.JPG
http://www.geocities.com/gabrielk42/Pos ... rrain2.JPG
Thanks again.
http://www.geocities.com/gabrielk42/Pos ... rrain1.JPG
http://www.geocities.com/gabrielk42/Pos ... rrain2.JPG
- Thu Jan 18, 2007 8:53 pm
- Forum: Beginners Help
- Topic: Problem with terrain texture filtering
- Replies: 19
- Views: 770
Problem with terrain texture filtering
I render the terrain using the IterrainSceneNode and doing the following: scene::ITerrainSceneNode *terrain = m_Smgr->addTerrainSceneNode("E:\\Program Files\\Mitsos\\irrlicht-1.2\\media\\terrain-heightmap.bmp"); terrain->setScale(core::vector3df(30.0f, 1.5f, 30.0f)); terrain->setMaterialFl...
- Wed Jan 17, 2007 9:29 pm
- Forum: Beginners Help
- Topic: Problem with HLSL shader and terrain scene node
- Replies: 4
- Views: 499
Thanks a lot for the answer. It worked by using the static keyword and this syntax for the samplers: // Ground texture sampler Texture0 : register(s0) = sampler_state { MIPFILTER = LINEAR; MAGFILTER = LINEAR; MINFILTER = LINEAR; }; // Grass texture sampler Texture1 : register(s1) = sampler_state { M...
- Wed Jan 17, 2007 6:07 pm
- Forum: Beginners Help
- Topic: Problem with HLSL shader and terrain scene node
- Replies: 4
- Views: 499
Thanks for the answer but it didn't work again. I can't understand what's wrong since the shader works fine in RenderMonkey. I made a simple texture blending before with two textures which worked perfectly in Irrlicht but now that I have 3 textures nothing happens. Perhaps it has something to do wit...
- Tue Jan 16, 2007 10:01 pm
- Forum: Beginners Help
- Topic: Problem with HLSL shader and terrain scene node
- Replies: 4
- Views: 499
Problem with HLSL shader and terrain scene node
Hi, I am new to this forum. I am dealing with the HLSL for the first time so I made this for texture blending using a heightmap: float4x4 matViewProjection; struct VS_INPUT { float4 Position : POSITION0; float2 inTxr1 : TEXCOORD0; }; struct VS_OUTPUT { float4 Position : POSITION0; float2 inTxr1 : TE...