View topic - LOS



All times are UTC + 1 hour


Post new topic Reply to topic  [ 69 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
 Post subject: Re: LOS
PostPosted: 30 Apr 2012, 21:34 
Evolution RTS Developer
User avatar

Joined: 17 Nov 2005, 02:43
Location: Raegquitting Spring on 04/24/12
Forboding Angel wrote:
We are talking fullbright (mapbright anyway) trees and grass when you aren't looking at them.


I meant to say, "When they aren't in LOS." Sorry about that.


Top
 Offline Profile  
 
 Post subject: Re: LOS
PostPosted: 30 Apr 2012, 21:36 
Evolution RTS Developer
User avatar

Joined: 17 Nov 2005, 02:43
Location: Raegquitting Spring on 04/24/12
gajop wrote:
what's the map fog effect?
why is the engine version better looking (i.e why is the gadget version limited), and how much faster is it?

without knowing the details, I'd rather have the LOS effect in the engine as it fits the description of being "something that a majority of RTS games have and is complex enough that they shouldn't have to implement it"

would it be possible to somehow mix the two, i.e by providing engine rendering, thus gaining speed and a larger variety of effects, but still having some sort of control and customization - expose a lua interface content devs can use


You have it backwards. Gadget is better looking, but slower. Interferes with mapfog (which autohosts don't use anyway).

Gadget version isn't limited in any meaningful way, engine version is.


Top
 Offline Profile  
 
 Post subject: Re: LOS
PostPosted: 30 Apr 2012, 22:05 
Moderator

Joined: 05 Aug 2009, 19:42
I'm reading this summary:
Quote:
1. Through the terrain shader (previous attempt)
Pros:
- Faster
- Better looking effects (like desaturation, hue shifts, etc)

Cons:
- Static and hard to modify (because its engine shader, hard to plug new things into it)
- only effects terrain

2. Through a depth shader gadget as shown here
Pros:
- Each mod can easily customize the way it looks
- No significant engine code needed
- Effects everything (map, grass, water surface, features)
- Allows map border fog

Cons:
- Slower
- limited set of effects (basically a transparent image overlay)
- will interact badly with map fog effect

1) (ENGINE) is:
- Better looking effects (like desaturation, hue shifts, etc)
- Faster
thus those things can easily be seen as "cons" for the
2) (GADGET)
- Worse looking effects (like no desaturation, hue shifts, etc.)
- Slower


Top
 Offline Profile  
 
 Post subject: Re: LOS
PostPosted: 30 Apr 2012, 22:29 
Evolution RTS Developer
User avatar

Joined: 17 Nov 2005, 02:43
Location: Raegquitting Spring on 04/24/12
I'm not sure how lack of desaturation and hue shifts counts as "worse looking".


Top
 Offline Profile  
 
 Post subject: Re: LOS
PostPosted: 30 Apr 2012, 23:55 
Moderator
User avatar

Joined: 26 Oct 2007, 15:21
limited set of effects (basically a transparent image overlay) != Worse looking effects (like no desaturation, hue shifts, etc.)


Top
 Offline Profile  
 
 Post subject: Re: LOS
PostPosted: 01 May 2012, 00:09 
Moderator

Joined: 05 Aug 2009, 19:42
*grumble* you need to figure out better wording otherwise !better=worse *grumble*

still, have you measured the speed difference?


Top
 Offline Profile  
 
 Post subject: Re: LOS
PostPosted: 01 May 2012, 00:30 
Content Developer
User avatar

Joined: 13 Jan 2005, 00:46
Location: ModalitÃ
behe can you take a screenshot of it both versions from a few differences for a side by side comparison? Include features and water please.


Top
 Offline Profile  
 
 Post subject: Re: LOS
PostPosted: 30 May 2012, 11:41 

Joined: 03 Jul 2011, 10:54
Any update on this? The pictures in the first post look awesome and i think it would add a whole new level of detail to the engine if fog of war was available.


Top
 Offline Profile  
 
 Post subject: Re: LOS
PostPosted: 30 May 2012, 11:47 
Moderator
User avatar

Joined: 26 Oct 2007, 15:21
No significant progress was made, sorry I only have a limited amount of energy and BAR is taking all of it, this thing got bumped down too low on the priority list. Ill try to make a best effort to get it included in .89


Top
 Offline Profile  
 
 Post subject: Re: LOS
PostPosted: 30 May 2012, 19:37 
Moderator
User avatar

Joined: 26 Oct 2007, 15:21
Updated to add demo video (the static noise does not encode well on youtube)

http://www.youtube.com/watch?v=CzN5ZR8aqqQ&feature=youtu.be


Top
 Offline Profile  
 
 Post subject: Re: LOS
PostPosted: 30 May 2012, 21:11 
Blood & Steel Developer
User avatar

Joined: 25 Aug 2004, 12:31
Location: Has not played *a in years.
on discussing for adoption: why cant mod options tell the engine when to use it or not. that way if they have a better alternative that fits the game/mod then they can provide it.


Last edited by bobthedinosaur on 30 May 2012, 21:12, edited 1 time in total.

Top
 Offline Profile  
 
 Post subject: Re: LOS
PostPosted: 30 May 2012, 21:12 
Moderator
User avatar

Joined: 26 Oct 2007, 15:21
Bob, that is how I did it with Lua version.


Top
 Offline Profile  
 
 Post subject: Re: LOS
PostPosted: 30 May 2012, 21:13 
Blood & Steel Developer
User avatar

Joined: 25 Aug 2004, 12:31
Location: Has not played *a in years.
nvm then :p


Top
 Offline Profile  
 
 Post subject: Re: LOS
PostPosted: 31 May 2012, 08:16 
Evolution RTS Developer
User avatar

Joined: 17 Nov 2005, 02:43
Location: Raegquitting Spring on 04/24/12
So is this a go in v89?


Top
 Offline Profile  
 
 Post subject: Re: LOS
PostPosted: 31 May 2012, 11:15 
Moderator
User avatar

Joined: 26 Oct 2007, 15:21
After lots of tweaking and testing last night, I realized that two importatnt things are missing from my implementation:
Lack of minimap renderin support.
No sonar maps, which puts enderwater in a qwuite noisy environment.
The depth buffer does not get depth values for the water surface, but for the groud below, whch nakes this ugly for deep water.

So most likely no :(


Top
 Offline Profile  
 
 Post subject: Re: LOS
PostPosted: 31 May 2012, 15:32 
Spring Developer
User avatar

Joined: 28 Jun 2007, 06:30
Beherith wrote:
The depth buffer does not get depth values for the water surface, but for the groud below, whch nakes this ugly for deep water.
This is easy to solve

edit:
Code:
worldPos -= camDir * (worldPos.y / camDir.y);


Last edited by jK on 31 May 2012, 16:23, edited 1 time in total.

Top
 Offline Profile  
 
 Post subject: Re: LOS
PostPosted: 31 May 2012, 15:52 

Joined: 03 Jul 2011, 10:54
Beherith wrote:
No significant progress was made, sorry I only have a limited amount of energy and BAR is taking all of it, this thing got bumped down too low on the priority list. Ill try to make a best effort to get it included in .89


Don't you worry, just keep on working on it and release it when it is ready. Just wanted to check this will not be vapourware.

What comes to the video you posted, i almost jizzed in my pants :oops:

The only thing i am not sure about is the "static". Seems to me it would be nervous to have something flickering all the time like that. But as you said it might be a totally different experience when seen in-game.

ps. what are the odds that the two things in spring i am looking forward to most are being worked by the same guy :D mad props!


Top
 Offline Profile  
 
 Post subject: Re: LOS
PostPosted: 31 May 2012, 19:29 
Evolution RTS Developer
User avatar

Joined: 17 Nov 2005, 02:43
Location: Raegquitting Spring on 04/24/12
Behe, just treat sonar like los wrt the fuzz. Because, that's what spring does. You cannot have los without sonar, and underwater, los does nothing and sonar does everything. It's actually very strangely laid out.


Top
 Offline Profile  
 
 Post subject: Re: LOS
PostPosted: 31 May 2012, 20:17 
User avatar

Joined: 23 Feb 2009, 16:29
Location: Finland
Forboding Angel wrote:
Behe, just treat sonar like los wrt the fuzz. Because, that's what spring does. You cannot have los without sonar, and underwater, los does nothing and sonar does everything. It's actually very strangely laid out.


I was gonna mention something about that, that's another big flaw in spring. Sonar should be treated like underwater radar and not like LOS.


Top
 Offline Profile  
 
 Post subject: Re: LOS
PostPosted: 31 May 2012, 20:22 
User avatar

Joined: 23 Oct 2004, 00:43
Well if you use the sea-floor to show sonar, then how do you show LOS *above* the water for hovers and air? Draw something on the water itself?


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 69 posts ]  Go to page Previous  1, 2, 3, 4  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Site layout created by Roflcopter et al.