Hi there,
I'm trying to use example 12 (TerrainRendering) to show pavement of road;
I have a problem with quality,
My project has big texture (2000x2500 pixels) and the Height map with the same dimensions. I need to create high-quality 3D output for it, high FPS is not necessary.
Could you help me with that?
Thank you,
Alex.
Example 12 - increase quality of terrain
-
- Posts: 1215
- Joined: Tue Jan 09, 2007 7:03 pm
- Location: Leuven, Belgium
For creating something like a road you don't want to use one massive texture
You'd get the best results by using something like texture splatting (I've seen a texture splatting shader around here the last couple of days, check the code snippets forum)
Also, try to stick with power-of-two textures at all times, and power-of-two + 1 textures for heightmaps (eg. 257x257, 513x513, etc.)
You'd get the best results by using something like texture splatting (I've seen a texture splatting shader around here the last couple of days, check the code snippets forum)
Also, try to stick with power-of-two textures at all times, and power-of-two + 1 textures for heightmaps (eg. 257x257, 513x513, etc.)
Why are you using an lod of 255? Seven is tops in any case but 6 for a patch size of 65
Code: Select all
// if you think real code is always interresting, read this line again
-
- Posts: 1215
- Joined: Tue Jan 09, 2007 7:03 pm
- Location: Leuven, Belgium
To let the LOD algorithm work correctly your heightmap should always be POT + 1 (so in your case 1025x1025)RainBoy wrote:I've tried to load texture 2048x2048 and height map as 1024x1024
All works pretty good on ATI 5850 with MaxLOD = 255 and patchSize = 65 or 129
You should check this page under 'Detailed Description' http://irrlicht.sourceforge.net/docu/cl ... _node.html
Re: Example 12 - increase quality of terrain
Thank you for the answers, guys )
Also i have an another question - http://irrlicht.sourceforge.net/forum/v ... =1&t=44877
I will be very appreciate to you if you can help me in that case too.
Also i have an another question - http://irrlicht.sourceforge.net/forum/v ... =1&t=44877
I will be very appreciate to you if you can help me in that case too.