Sprite3D Tips

Share your advanced PureBasic knowledge/code with the community.
Shannara
Addict
Addict
Posts: 1808
Joined: Thu Oct 30, 2003 11:19 pm
Location: Emerald Cove, Unformed

Sprite3D Tips

Post by Shannara »

Here are a few tips I found out while using Sprite3D(). These are tried and true.

01. If you are going to render any kind of text onto screen, always render it between Start3D() and Stop3D(). This gave me over 20 FPS boost.

02. If you are using any kind of special FX such as DisplayRGBFilter(), DO NOT use Start/StopSpecialFX(). This function does not work if you use 3D sprites. Unfortunately, when using such effects, it lowered my FPS from 400 to 50.

03. On some video cards, it is slower to render a few big surfaces then alot of small surfaces. On the GeForce FX, it's the exact opposite.

Thats all for now, I'll add in more as I run across them, or remember them :D