Page 1 of 2

OpenGL :s !

Posted: 27 Jan 2007, 23:56
by KaTSuo
Hi !

I don't know why but It seems that OpenGL mode is a little buggy :

Image

In fact, some tiles aren't in the right place... When I switch to non OpenGL mode, tiles are in right place. Maybe my tiles files are too high?

KaTSuo

Posted: 28 Jan 2007, 00:43
by Crush
I haven't ever seen something like that in tmw.

What operating system are you using?
What graphic card?
What drivers?
When you think it is because of the tileset, why don't you show the tileset to us?
When it is working correctly in software why don't you show us a software screenshot showing the same part of the map so we can compare what exactly is wrong and in what way?

In the graphic design guidelines we have a tileset size maximum of 512x512. I don't know if this is because of style, performance or the bugs you are experiencing.

where is this hollow

Posted: 28 Jan 2007, 07:05
by Manaboy
where is this hollow


Image

Posted: 28 Jan 2007, 07:33
by The Judge
Yeah. Wow. Is this in the game?

I want to also know

Posted: 28 Jan 2007, 07:44
by Manaboy
i well to know

I want to also know

Posted: 28 Jan 2007, 07:44
by Manaboy
i well to know :?:

Posted: 28 Jan 2007, 09:43
by Matt
I suppose that that isn't on the official tmw server right? ;D

?

Posted: 28 Jan 2007, 11:40
by Manaboy
thus where is that that now

Posted: 28 Jan 2007, 11:55
by EJlol
he uses RPG Maker XP Graphics. and the standard tilesets from RPG Maker XP aren't 512x512. I think thats the problem.

Posted: 28 Jan 2007, 13:14
by KaTSuo
Yes EJlol, tiles I'm using are 256*1376 (or more)...

Here is a screenshot from the same map displayed by tiled :
Image

But there are some weird things...
- When I'm playing without OpenGL mode, there is no bugs... Every tiles are in right place, like the screenshot above.
- Some maps, with OpenGL mode, and where tiles aren't 512x512, are working perfectly...

Here is the tileset I'm using :
Image

I'm under windows XP, with a Gigabyte Geforce 7300GT card. But this bug happening with all players.

waht

Posted: 28 Jan 2007, 14:11
by Manaboy
wohe ist tahts

Posted: 28 Jan 2007, 14:43
by Tenn
Is this map running on your own server? I haven't seen this on the official one. And if youre having a own one, please let me know the url ;P

/ Tenn

how

Posted: 28 Jan 2007, 15:39
by Manaboy
how server name

Posted: 28 Jan 2007, 16:52
by Crush
Those screenshots are from Evol Online. A french game Katsuo is making that is based on the tmw software.
http://www.evolonline.info/

Now for the problem.
As I can see now all tiles that cause problems are in the lower area of the tileset. Precisely below 1024 pixels. I would suggest you to reduce the tileset size to 256 tiles (512x512 pixels or 256x1024 pixels) by splitting all larger tilesets up.

Posted: 28 Jan 2007, 19:40
by Bjørn
Indeed, our textures are limited to dimensions of 1024. Since OpenGL textures need to have dimensions that are a power of two, the next option would be to make the texture 256x2048. However, 2048 was found to be unsupported by several videocards/drivers.

So yeah, as Crush said, split up your tileset. It is a good idea to take dimensions that are powers of two, otherwise you're wasting texture memory.