ThreadBoard ArchivesSite FeaturesActiveworlds SupportHistoric Archives |
aw_terrain_set (Sdk)
aw_terrain_set // SdkgrimbleJun 4, 2002, 4:37pm
A few people seem to have successfully implemented terrain functions in
bots, so I have a feeling I'm missing something, BUT ... Does anyone find that the first aw_terrain_set call after an aw_terrain_delete_all doesn't work? Grims grimbleJun 4, 2002, 5:35pm
Geesh! This is getting to me now!
aw_data can return a maximum of 255 bytes of data according to the help files (which must be true as the length value is only 1 byte). Yet aw_data is used to retrieve 128 shorts for a line of page terrain heights (256 bytes) ... has anyone tried this or is my brain just mush from trying to get my head around this? [View Quote] andrasJun 4, 2002, 5:48pm
I was pushing it's limit and provided 500 elevation points in one call - still works (tho I use the aw_terrain_set() command)
Andras [View Quote] grimbleJun 4, 2002, 6:17pm
Sorry, my mistake. I should have put this as a separate thread. This is on
aw_terrain_query in the AW_EVENT_TERRAIN_DATA event handler. Thanks for the pointer on the first part though. Grims [View Quote] grimbleJun 6, 2002, 10:32am
|