Page 1 of 1
landscape plugin1 height data & LOD
Posted: Thu Jan 06, 2005 7:57 pm
@plug-in creator(s) (I don't known who is/are) or well-informed people
Where do you store land vertex data(I mean the variable)??Can these datas changed??
How I can set the maximum LOD for land(e.g. setting the LOD to a lower value even if i'm close to it)..
Thanks in Advice and sorry for may poor english..
Posted: Fri Jan 07, 2005 12:58 am
Hi, I will asume your talking about PagingLandScape plugin, right?
Could you elavorate a little?
Version 1 or 2?
What are you planning on doing?
anything you wanted to add....
Posted: Wed Jan 19, 2005 6:14 pm
Sorry for taking so long in answering.
THe plugin version is 1,and I want to set the maximum LOD In land rendering because of polycount and visual pleasure.
e.g. I wish a landscape to have InitLOD=6, but also MaxLOD=6,without impropving polycount when the camera come closer..
Iwant(wish) to know where (and how) the land data is stored in memory to change the height at run time..
Posted: Wed Jan 19, 2005 7:22 pm
Ok, I want to start by saying that currently V1 is deprecated and that you should be moving into v2.
Anyway, v1 doesn´t support dinamic height modifications, but here is your answer:
Take a look at the class OgrePagingLandScapePageData2D.h and his actual implementation in OgrePagingLandScapePageData2D_HeightField.h
There you can see the height date stored in the mImage member of that class.
But improving the plugin in order to support dinamic height is not that easy, since you will need to tell the plugin to rebuild the renderables if you change the height.
Anyway, good luck, and ask if you need more advice.