power of 2
power of 2
Ok, I just tested out Waponez ll on my old pc, that has an old voodoo card. But I noticed the sprites for that game don't all use the power of 2. I know it's necessary to use the power of 2 for textures (including Sprite3D) but does this not include regular sprites as well? I believe I know the answer but am surprised as I thought all game graphics used power of 2.
www.posemotion.com
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Even the vine knows it surroundings but the man with eyes does not.
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Even the vine knows it surroundings but the man with eyes does not.
-
DarkDragon
- Addict

- Posts: 2348
- Joined: Mon Jun 02, 2003 9:16 am
- Location: Germany
- Contact:
Re: power of 2
Sprites didn't have to be Power of 2 in the DirectX7 subsystem. I don't if it is still like this with DirectX9, but I don't think so as PureBasic doesn't use DirectDraw there anymore IIRC.
bye,
Daniel
Daniel
Re: power of 2
So are you saying DirectX9 displays your sprite on a single poly similar to Sprite3D?DarkDragon wrote:Sprites didn't have to be Power of 2 in the DirectX7 subsystem. I don't if it is still like this with DirectX9, but I don't think so as PureBasic doesn't use DirectDraw there anymore IIRC.
www.posemotion.com
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Even the vine knows it surroundings but the man with eyes does not.
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Even the vine knows it surroundings but the man with eyes does not.
-
DarkDragon
- Addict

- Posts: 2348
- Joined: Mon Jun 02, 2003 9:16 am
- Location: Germany
- Contact:
Re: power of 2
Yes I think so. I'm not very familar with DirectX but I thought they'd removed DirectDraw since DX9.J. Baker wrote:So are you saying DirectX9 displays your sprite on a single poly similar to Sprite3D?DarkDragon wrote:Sprites didn't have to be Power of 2 in the DirectX7 subsystem. I don't if it is still like this with DirectX9, but I don't think so as PureBasic doesn't use DirectDraw there anymore IIRC.
bye,
Daniel
Daniel
Re: power of 2
Thanks and I believe you're right.DarkDragon wrote:Yes I think so. I'm not very familar with DirectX but I thought they'd removed DirectDraw since DX9.J. Baker wrote:So are you saying DirectX9 displays your sprite on a single poly similar to Sprite3D?DarkDragon wrote:Sprites didn't have to be Power of 2 in the DirectX7 subsystem. I don't if it is still like this with DirectX9, but I don't think so as PureBasic doesn't use DirectDraw there anymore IIRC.
www.posemotion.com
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Even the vine knows it surroundings but the man with eyes does not.
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Even the vine knows it surroundings but the man with eyes does not.
-
DarkDragon
- Addict

- Posts: 2348
- Joined: Mon Jun 02, 2003 9:16 am
- Location: Germany
- Contact:
Re: power of 2
Well but I can tell you that purebasic even tries to find extensions of the graphicscard for using non power of 2 textures (with OpenGL at least - which is similar to Direct3D). So the chance to find someone without such a graphicscard is very small.
bye,
Daniel
Daniel
Re: power of 2
Yeah, I like OpenGL. It also supports 32bit png, where DirectX 7 doesn't. At least not in PureBasic anyway.DarkDragon wrote:Well but I can tell you that purebasic even tries to find extensions of the graphicscard for using non power of 2 textures (with OpenGL at least - which is similar to Direct3D). So the chance to find someone without such a graphicscard is very small.
www.posemotion.com
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Even the vine knows it surroundings but the man with eyes does not.
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Even the vine knows it surroundings but the man with eyes does not.