; dxFlipMesh Example ; ---------------- dxGraphics3D 640,480 dxSetBuffer dxBackBuffer() camera=dxCreateCamera() light=dxCreateLight() ; Create sphere sphere=dxCreateSphere() ; Scale sphere dxScaleEntity sphere,100,100,100 ; Texture sphere with sky texture sky_tex=dxLoadTexture("media/sky.bmp") dxEntityTexture sphere,sky_tex ; dxFlip mesh so we can see the inside of it dxFlipMesh sphere dxColor 0,0,0 While Not dxKeyDown( 1 ) dxRenderWorld dxText 0,0,"You are viewing a flipped sphere mesh - makes a great sky!" dxFlip Wend End