Wrong texture/Lightmap while placing objects

Moderators: w1lla, NADEO

Post Reply
User avatar
TMarc
Posts: 15255
Joined: 05 Apr 2011, 19:10
Location: Europe
Contact:

Wrong texture/Lightmap while placing objects

Post by TMarc »

This issue has been there already for longer time.
Today I played with the objects from the TMPlus title pack, and with the nice panels it is very visible:

1. when moving objects around before placing them, the texture of e.g. rocks or cliffs stays fix. This effect is not there with standard nadeo objects since they always snap to the grid.
2. in the preview just before placing an object, apparently a wrong lightmap is applied:
Image
Luckily it disappears when the object was placed. But it is very annoying for most objects.

It looks like it does not appear under all conditions, but it definitely appears if the dark side of the object is displayed, or if a shadow is thrown to the preview object:
Image Image Image

I guess this applies to ManiaPlanet in general, but I took examples from TM ;)
User avatar
xrayjay
Posts: 1481
Joined: 29 Aug 2010, 14:19

Re: Wrong texture/Lightmap while placing objects

Post by xrayjay »

1) the pxz textures should move automatically in the global grid (and the valley cliff stone is an pxz) does they don´t fit together if you place the custom objects?
In some tests i figured out that it doesn´t matter (in some special cases it´s different sometimes) if a pxz uv got an unwrap or not (only for BaseMaterial, the Lightmap always needs an unwrap) if an pxz tex is used, they will always fit in the global grid. You can test this behavior by rotating the objects in relation to the stock rock blocks, the custom objects should always fit to them (inside the rock/cliff tex)

2) that´s all before the shadow calculation, so if you calculate the shadows this effect is gone (if not maybe there´s an issue with the objects)

May this all should be solved by calculating the shadows, isn´t it? Maybe you should explain a bit more precise what´s wrong in your opinion, i don´t got it till now ^^ :?
User avatar
TMarc
Posts: 15255
Joined: 05 Apr 2011, 19:10
Location: Europe
Contact:

Re: Wrong texture/Lightmap while placing objects

Post by TMarc »

There should not be any visual glitches at all, regardless if before lightmap calculation or after it.

And I had done at least 2 shadow calculations (first a fast and later a default), but the issue was still there when I tried to place the blocks somewhere else on a free place on the map.
Post Reply

Return to “Trackmania² Reports”

Who is online

Users browsing this forum: No registered users and 2 guests