if los enabled

if los enabled

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
TurBoss
Jauria RTS Developer
Posts: 89
Joined: 27 Jan 2014, 01:04

if los enabled

Post by TurBoss »

hi

if i toggle LOS the map goes too bright almost white

without LOS
withoutlos.png
(474.42 KiB) Downloaded 1 time
With LOS
withlos.png
(486.82 KiB) Downloaded 1 time
http://paste.springfiles.com/view/77ac4e3b

edit :this was supposedly to be a reply to http://springrts.com/phpbb/viewtopic.php?f=12&t=32881
but missclick :D
Last edited by TurBoss on 16 Jan 2015, 03:08, edited 1 time in total.
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: if los enabled

Post by jK »

the infolog is wrong, you aren't toggling los there
User avatar
TurBoss
Jauria RTS Developer
Posts: 89
Joined: 27 Jan 2014, 01:04

Re: if los enabled

Post by TurBoss »

pressing "L" ?

ive aded some pics to firs post
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: if los enabled

Post by Forboding Angel »

I have 50 bucks that says he is using a local widget that fucks with los/radar overlay colors.
User avatar
TurBoss
Jauria RTS Developer
Posts: 89
Joined: 27 Jan 2014, 01:04

Re: if los enabled

Post by TurBoss »

ive tryed several games (XTA ,Tech, BA, ...)
this didn't happend on 98.0
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: if los enabled

Post by Forboding Angel »

the common denominator would be local lua.

In game type
/luaui disable
then
/luarules disable
then try the L key toggle. Does the problem still persist?
User avatar
TurBoss
Jauria RTS Developer
Posts: 89
Joined: 27 Jan 2014, 01:04

Re: if los enabled

Post by TurBoss »

User avatar
Shadowfury333
Posts: 55
Joined: 25 Sep 2006, 00:32

Re: if los enabled

Post by Shadowfury333 »

Does this happen in Zero-K? I rewrote that part of our minimap widget (yeah, radar colour stuff is in gui_chili_minimap.lua) to ensure that the brightness of any point in vision does not change when LOS view is enabled, so if it is messed up there, then something is very wrong.

I'm pretty sure the engine default does not work that way, though, and does end up brighter with LOS view on.
8611
XTA Developer
Posts: 242
Joined: 29 Dec 2014, 08:22

Re: if los enabled

Post by 8611 »

None of his infologs mention a local/user widget.

According to changelog there was changes to LOS system and maybe the computer does not like it.
Try:
-upload uncropped screenshot that shows if whole map goes white or only in LOS
-try changing settings related to map / shader / LOS
-make/download a Spring.SetLosViewColor widget that works in 98.0 and compare to test version
(not as fix but to see what happens)
User avatar
TurBoss
Jauria RTS Developer
Posts: 89
Joined: 27 Jan 2014, 01:04

Re: if los enabled

Post by TurBoss »

98.0.1.268
screen00023.png
(1.3 MiB) Downloaded 1 time
98.0.1.269
no more white map but los is gone and this start apearing in infolog
http://paste.springfiles.com/view/73267062
User avatar
Anarchid
Posts: 1384
Joined: 30 Nov 2008, 04:31

Re: if los enabled

Post by Anarchid »

> https://github.com/spring/spring/commit ... 581076e45f
> "I know it's broken, will fix it later"

It's "intentionally" in this state now, possibly all shaders won't work for a short while.
lamer
Posts: 153
Joined: 08 Mar 2014, 23:13

Re: if los enabled

Post by lamer »

I had the same whitening issue with non-default springsettings.cfg
But everything is ok with default one. I gave up on finding what option was wrong, just made another clean config.
lamer
Posts: 153
Joined: 08 Mar 2014, 23:13

Re: if los enabled

Post by lamer »

Found the faulty option in my case (ReflectiveWater = 2).
http://springrts.com/mantis/view.php?id=4649

But looks like its not the case for TurBoss (there is ReflectiveWater = 0 in first thread post).
Also seems InfoTextures are WIP now, as i can't enable them in 98.0.1-284-gae0a419 develop, so maybe i should have wait it to work before pasting bug-report :)
Post Reply

Return to “Engine”