News:

Simutrans.com Portal
Our Simutrans site. You can find everything about Simutrans from here.

oil rigg

Started by Dwachs, August 06, 2010, 01:06:03 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Dwachs

Ships will drive over the oilrigg, which does not look nice.

The images have to be cutted into back- and front images.

Is there anybody out there who  could help?
Parsley, sage, rosemary, and maggikraut.

vilvoh

I think that's not a matter of front-back images, but the way the water buildings are drawn by the graphic engine.

Escala Real...a blog about Simutrans in Spanish...

Dwachs

Yes you are right: there a no errors with the front images of this graphic. There is simply no front image defined.

And no: the graphics engine does take front images into account even on water. I know how the graphic engine works - I implemented a significant part of it ;)
Parsley, sage, rosemary, and maggikraut.

prissi

Stupid question: Which images should be back images? The oil rigg is cutted like all other images.

Dwachs

#4
Basically, everything that has to be drawn on top of the ships, has to go to the front image. See attachment. Everything above green line should go into frontimage imho (the plattform and some of the pillars).

Edit:

Actually, defining Front images as

BackImage[0][0][0][0][0]=-
BackImage[0][0][1][0][0]=-
BackImage[0][1][0][0][0]=-
BackImage[0][1][1][0][0]=./n0-oilrigg.0.0
FrontImage[0][0][0][0][0]=./n0-oilrigg.0.3
FrontImage[0][0][1][0][0]=./n0-oilrigg.0.2
FrontImage[0][1][0][0][0]=./n0-oilrigg.0.1
FrontImage[0][1][1][0][0]=-

cures a great part of the bug.
Parsley, sage, rosemary, and maggikraut.