i need help with customizing ITerrainSceneNode for my needs

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
wREAKAILDRON
Posts: 38
Joined: Tue Aug 21, 2007 6:54 pm
Contact:

i need help with customizing ITerrainSceneNode for my needs

Post by wREAKAILDRON »

Hi, i have this heightmap that i want to use, and its around 512 by 512 pixels large. When i input it into the terrain demo only a sliver of the map shows up. Can i get direction on how to maipulate the ITerrainSceneNode rendering dimension, and the level of detail attributes as well? :D
________
Marijuana Strain Green Crack
Last edited by wREAKAILDRON on Tue Feb 22, 2011 6:53 am, edited 1 time in total.
Bob Finnie
Posts: 49
Joined: Tue Jan 23, 2007 12:36 pm
Location: Bedford, UK

Post by Bob Finnie »

You say it is 'about' 512x512 in size?

is this the exact size?

remember, heightmaps need to be square so 512x512 should be fine.

check this by loading it in your paint program (psp or whatever and look at the image information) It needs to be square and fit to a power of 2.

Send the offending heightmap to my PM if you want me to check it out

Bob
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

Bob Finnie wrote:You say it is 'about' 512x512 in size?

is this the exact size?

remember, heightmaps need to be square so 512x512 should be fine.

check this by loading it in your paint program (psp or whatever and look at the image information) It needs to be square and fit to a power of 2.

Send the offending heightmap to my PM if you want me to check it out

Bob
this is not correct !!!
a heightmap dimension has to be 2^n+1 so it must be 513 x 513 !!! ;)
also 513 is way to big, the maximum was 129 x 129 (AFAIR) !!! ;)
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
wREAKAILDRON
Posts: 38
Joined: Tue Aug 21, 2007 6:54 pm
Contact:

Post by wREAKAILDRON »

no im sorry, the dimension are some wierd irregular directions, somewhere around 743 by 540
________
Dc Medical Marijuana Dispensary
Post Reply