Heightmapping Question
Just a quick question to do with the heightmapping tutorials:
Why is the heightmap data stored in an array of bytes?? What is the significance of bytes?????
It''s a dumb question i know, but if any1 can help me out with this it''d be great
There is no significance.
Bytes are simply smaller than floats, so less memory is taken up. Since the precision of floats (or some other type) isn''t needed in the demo, byte makes sense.
Bytes are simply smaller than floats, so less memory is taken up. Since the precision of floats (or some other type) isn''t needed in the demo, byte makes sense.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement