Re: Height maps

steve ([email protected])
Tue, 9 May 1995 17:11:16 GMT0BST


> Gridded Surface {
> fields [ SoSFLong numRowValues, SoSFLong numColumnValues,
> SoSFFloat rowStartValue, SoSFFloat columnStartValue,
> SoSFFloat rowDelta, SoSFFloat columnDelta, SoMFFloat elevations
> ]
> }

Great idea - how about calling it ElevationGrid - grid
implies rectangular spacing, surface does not. Also, keep the field
names short.

ElevationGrid {
fields [ SoSFLong numRow, SoSFLong numColumn,
SoSFFloat rowStart, SoSFFloat columnStart,
SoSFFloat rowDelta, SoSFFloat columnDelta, SoMFFloat elevations
]
numRow = 0
numColumn=0
rowStart=0
columnStart=0
rowDelta=1
columnDelta=1
elevation -1
}

>>-------------------------------------<<
Steve Ghee ( [email protected] )
Director of Technology

Division Ltd
19 Apex Court
Woodlands
Almondsbury
Bristol, UK
BS12 4JT
Tel : +44 1454 615554
Fax : +44 1454 615532
>>-------------------------------------<<