www.tombraiderforums.com

www.tombraiderforums.com (https://www.tombraiderforums.com/index.php)
-   Software Development (https://www.tombraiderforums.com/forumdisplay.php?f=55)
-   -   Meta2tr update. (https://www.tombraiderforums.com/showthread.php?t=135733)

AODfan 25-03-16 21:34

Oh no, in StrPix. Not sure if you can do that without having to edit the entire level all over again though.
Setting the lighting to white in meta never worked for me for some reason.

SrDanielPonces 25-03-16 21:36

since you're talking about changing the wad while doing meta2tr: Is this a problem? I mean, does changing a small thing of the wad make you need to redo the whole map? Just curious :D

maati139 25-03-16 21:48

Quote:

Originally Posted by Titak (Post 7559300)
I have some objects which won't take on the surrounding lighting even though they are merged with the room geometry.
They do keep their static lighting even if I assign the pure white lighting.
They do react to Lara's PLS for example, just not to ambient lighting.

http://titak.tombraiderhub.com/MoA/lightingbug.jpg

What can I do to get these objects to react to the lighting of the room? :ponder:

Did you try to create new 'do_not_delete' file? Sometimes when you put 'roomall.mqo' to meta2tr.exe few times, it stops to update rooms lighting. :ponder:

Titak 25-03-16 22:03

You mean delete the current do-not-delete file and unpack the original .tr4 file again?
This will create a new do-not-delete and then I should reconvert all mqo files and bmp files again.
Is that what you mean?


Quote:

Originally Posted by SrDanielPonces (Post 7559345)
since you're talking about changing the wad while doing meta2tr: Is this a problem? I mean, does changing a small thing of the wad make you need to redo the whole map? Just curious :D

As long as you don't change any textures, or something else that will change the order of the textures on the bmp, you should be fine.

maati139 25-03-16 22:06

Quote:

Originally Posted by Titak (Post 7559356)
You mean delete the current do-not-delete file and unpack the original .tr4 file again?
This will create a new do-not-delete and then I should reconvert all mqo files and bmp files again.
Is that what you mean?

Indeed :p

Titak 25-03-16 22:11

Okay. Got it. I'll give it a try. :D

Otherwise I'll edit the object in STRPix, giving it moveable lighting. See what that does.

psiko 26-03-16 02:40

why delete the do not delete file? if you unpack again, the do not delete file will be re-written... furthermore, the do not delete is simply a tr4 file :)
your problem is because after many times you inject the mqo files, infos about vertex colors in that area get lost. Usually new vertices search for the nearest colored vertices in that area in the do not delete file (so meta2tr reads the nearest vertices in the former version of the tr4 file), and if it does not find any, it gives a random color or flat colors to all vertices at once.
To fix this, unpack again the original tr4 file and re-import tiles+mqo's :) Or use manual color-painting... to use the same illumination, with the vertex color tool on, pick up the values with left-click of the mouse + shift key on a vertex near the new ones :)

Titak 26-03-16 10:30

Quote:

Originally Posted by psiko (Post 7559402)
To fix this, unpack again the original tr4 file and re-import tiles+mqo's :)

I've just done that, but that object is still white and flat.


Quote:

Originally Posted by psiko (Post 7559402)
Or use manual color-painting... to use the same illumination, with the vertex color tool on, pick up the values with left-click of the mouse + shift key on a vertex near the new ones :)

This is indeed what I've been doing. Works well, but for some objects it is quite a task. So I figured it would be nice to have at least a starting point with the objects taking on the surroundign lighting.


I'm going to try AODfan's suggestion about giving the objects moveable lighting in STRPix.
See what that does.

Titak 26-03-16 16:30

Tried AODfan's suggestion and at least the objects are not that white anymore.
But I will have to manually adjust the lighting anyway. But at least I now have a better starting point.

Thanks for the tips! :tmb:

HD86 28-03-16 18:34

deleted


All times are GMT. The time now is 22:30.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.