Feb 27, 2007 22:21
BrainInfo->viewdata!?
I'm trying to write a brain for fun.
In brain.h the BrainInfo->viewdata states "view_width*view_height bytes of terrain data". In my case view_width is 29 and view_height is 29. So I should have about 841 bytes of viewdata. Although in reality I only have about 256 bytes of data, and I'm not sure this data is correct.
Does anyone really use the viewdata? It looks like all the samples just uses theWorld. Is that assumed to be 256 by 256? I don't see any parameters that define its size.
Thanks
In brain.h the BrainInfo->viewdata states "view_width*view_height bytes of terrain data". In my case view_width is 29 and view_height is 29. So I should have about 841 bytes of viewdata. Although in reality I only have about 256 bytes of data, and I'm not sure this data is correct.
Does anyone really use the viewdata? It looks like all the samples just uses theWorld. Is that assumed to be 256 by 256? I don't see any parameters that define its size.
Thanks