Page 1 of 1

i need help with customizing ITerrainSceneNode for my needs

Posted: Wed Sep 19, 2007 1:17 am
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

Posted: Thu Sep 20, 2007 12:34 pm
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

Posted: Thu Sep 20, 2007 1:05 pm
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) !!! ;)

Posted: Thu Sep 20, 2007 3:58 pm
by wREAKAILDRON
no im sorry, the dimension are some wierd irregular directions, somewhere around 743 by 540
________
Dc Medical Marijuana Dispensary