Page 310 of 313

Re: New Graphics - Blender ".blend" thread (Works In Progres

Posted: 24 Apr 2012 18:42
by Michi_cc
maquinista wrote:
petern wrote:Don't forget that shadows cannot extend over the tile boundary, else you will get rendering errors.
This is false, a transparent shadow can extend over the tile boundary a bit. I know that 128 px out is not a problem.
Repeated denial doesn't change facts: OpenTTD does not draw all visible tiles at the same time. It is completely possible and likely that the tiles top-left and/or bottom-left are redrawn after the house tile was drawn, thus overlapping the shadows that stick out.

-- Michael Lutz

Re: New Graphics - Blender ".blend" thread (Works In Progres

Posted: 24 Apr 2012 21:24
by maquinista
I don't understand, Where is the problem with the shadow?

Re: New Graphics - Blender ".blend" thread (Works In Progres

Posted: 24 Apr 2012 21:39
by Rubidium
That when one of the tiles west of the tower are redrawn for whatever reason and the tower is not, that in that case the tiles to the west will be drawn without the shadow of the tower.

Re: New Graphics - Blender ".blend" thread (Works In Progres

Posted: 25 Apr 2012 10:57
by peter1138
maquinista wrote:I don't understand, Where is the problem with the shadow?
In that image, it's clear that part of the shadow is drawn over the fence, and part is drawn under the fence.
That's even a separate issue to what Rubidium said.

Re: New Graphics - Blender ".blend" thread (Works In Progres

Posted: 26 Apr 2012 15:14
by glogar2
I have problem with sprite alignment using VISUAL PNG CODEC. PNG Codec doesn't work too. I know that is my mistake but I don't know how to do that
The resolution of image is 258x304px

Can you help me please?

Re: New Graphics - Blender ".blend" thread (Works In Progres

Posted: 26 Apr 2012 16:09
by FooBar
Use the ingame sprite aligner instead, and then transfer the values you find there to your NFO or NML file.
See http://wiki.openttd.org/NewGRF_Debugging

Re: New Graphics - Blender ".blend" thread (Works In Progres

Posted: 27 Apr 2012 23:36
by maquinista
If You have the two construction stages, I can code it.

Re: New Graphics - Blender ".blend" thread (Works In Progres

Posted: 28 Apr 2012 00:30
by glogar2
maquinista wrote:If You have the two construction stages, I can code it.
Here are all three stages. The principle of coding is clear http://www.tt-forums.net/viewtopic.php?p=685391#p685391 therefore I don't know where is the problem. The sprites are without offsets.

Re: New Graphics - Blender ".blend" thread (Works In Progres

Posted: 28 Apr 2012 08:48
by Xotic750
That's really looking nice.

Re: New Graphics - Blender ".blend" thread (Works In Progres

Posted: 28 Apr 2012 15:22
by maquinista
Very nice.

I have a small suggestion about the firs construction stage: add some cylinders over the columns. They will be the steel bars used in concrete structures.

If nobody have more complains, I will code it.

Re: New Graphics - Blender ".blend" thread (Works In Progres

Posted: 28 Apr 2012 23:02
by Hyronymus
And perhaps some rubble, no construction site is that sterile after all ;).

Re: New Graphics - Blender ".blend" thread (Works In Progres

Posted: 29 Apr 2012 05:18
by TrueSatan
I agree with Hyronymus and since we are very close now, some workers would be nice too.
Would be nice in the cran in later construction as well ;)
But as usual maquinista :bow: verrrryyyy good.

Re: New Graphics - Blender ".blend" thread (Works In Progres

Posted: 29 Apr 2012 07:45
by Hyronymus
TrueSatan wrote:I agree with Hyronymus and since we are very close now, some workers would be nice too.
Would be nice in the cran in later construction as well ;)
But as usual maquinista :bow: verrrryyyy good.
You have to :bow: glogar2.

Re: New Graphics - Blender ".blend" thread (Works In Progres

Posted: 29 Apr 2012 11:10
by glogar2
maquinista wrote:Very nice.

I have a small suggestion about the firs construction stage: add some cylinders over the columns. They will be the steel bars used in concrete structures.

If nobody have more complains, I will code it.

It`s better now :wink:

Re: New Graphics - Blender ".blend" thread (Works In Progres

Posted: 29 Apr 2012 11:20
by Hyronymus
Nice but to be a pane in the ass: if any of my collegues stores glass panes like that on a construction site I personnaly kick their nuts ;).

Amazing though how you got the transparency/reflective property in the glass panes!

Re: New Graphics - Blender ".blend" thread (Works In Progres

Posted: 29 Apr 2012 12:03
by maquinista
The sprites are much better now.

Re: New Graphics - Blender ".blend" thread (Works In Progres

Posted: 29 Apr 2012 12:47
by glogar2
maquinista wrote:The sprites are much better now.
Thank you, so can you code it? If I do width (256/2)*-1 = xoffset, and than (304-124)*-1 = yoffset but it`s not work in the game.

Re: New Graphics - Blender ".blend" thread (Works In Progres

Posted: 29 Apr 2012 13:39
by TrueSatan
Upps... sorry.
:bow: glogar2
Thanks Hyronymus to point that out :)
But a :bow: to all artists and coders would be appropriate as well.
So, thanks and keep up the good work.

Re: New Graphics - Blender ".blend" thread (Works In Progres

Posted: 29 Apr 2012 14:51
by FooBar
glogar2 wrote:Thank you, so can you code it? If I do width (256/2)*-1 = xoffset, and than (304-124)*-1 = yoffset but it`s not work in the game.
That's just a rule of thumb. Many buildings have different bounding boxes than the complete tile, and therefore need manual adjustment.

Encode the grf without cropping, then use the ingame sprite aligner to find the correct offsets and put the numbers you found there in your nfo or nml code. Or indeed have maquinista figure it out ;)

Re: New Graphics - Blender ".blend" thread (Works In Progres

Posted: 29 Apr 2012 20:21
by maquinista
glogar2 wrote:
maquinista wrote:The sprites are much better now.
Thank you, so can you code it? If I do width (256/2)*-1 = xoffset, and than (304-124)*-1 = yoffset but it`s not work in the game.
Yes, I can code it, but the model must be definitive.

Do You want the second construction stage?

If someone has a suggestion, please, post it as soon as possible.