Mesh Deform

Blitz3D Forums/Blitz3D Programming/Mesh Deform

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

As I said, handles returned by blitz are pointers to 'control structures' that blitz uses to manage them internally. You don't get pointers to the actual memory address where the raw data is stored - be it banks, meshes, whatever. Run this:
	bank1 = CreateBank(10000)
	bank2 = CreateBank(10000)

	Print "Bank 1 handle: " + bank1
	Print "Bank 2 handle: " + bank2
	Print "   Difference: " + Abs(bank1 - bank2)
	
	WaitKey()
	End


The difference between the two bank handles is only 64 so they can't possibly be pointing directly at the bank mem as each is 10000 bytes in size. :)

Blitz is a language that appeals to beginners too, remember, so giving them the ability to randomly poke around *anywhere* in memory wouldn't be such a great idea. :)