iMiniB3D - 2D usage best practices?

BlitzMax Forums/MiniB3D Module/iMiniB3D - 2D usage best practices?

TommyBear(Posted 2009) [#1]
Hi Guys,

Having a go at using iMiniB3D for 2D stuff on the iphone... Having some trouble with the projection. What are some of the best practices for getting it doing 2D well, perhaps using a quad mesh or a sprite?

Thanks!

Tommy.


ima747(Posted 2009) [#2]
What type of 3d as 2d are you trying to do? each object as a different sprite or drawing 2d as a texture on a single object?

So far I've only used 2d in iminib3d for HUD elements but I've been loving quad meshes.


simonh(Posted 2009) [#3]
Use sprites and set the SpriteRenderMode to 2, and iminib3d will automatically render all sprites using the same texture at once. Try and pack your sprite images into as few textures as possible, and use SpriteTexCoords to set the sprite UVs.


TommyBear(Posted 2009) [#4]
thanks guys!