Page 7 of 21

Re: Random WIP 2013+

Posted: 16 Apr 2013, 20:53
by Cubex
Anarchid wrote:But zk cloaking shader?
Im a bit sick so correct if wrong, one thing is the transparency, Spring SUPPORTS alpha, the problem comes IIRC when loading texture... if you can't load texture properly for unit... one nasty solution might be to load the texture separatelly (if it can be done) without any filtering... and use that texture with said shader

EDIT:
In case of zk cloak shader of example, what you are doing is just lowering the alpha value in general, has nothing to do with loading stage of unit textures

Re: Random WIP 2013+

Posted: 16 Apr 2013, 21:18
by CarRepairer
Yeah, ZK cloaking shader turns off the texture of the model entirely and generates an effect. We can't properly pull alpha from a texture file unless we're satisfied with having 0 or 1.

Re: Random WIP 2013+

Posted: 16 Apr 2013, 21:39
by jK
Cubex wrote:
Anarchid wrote:But zk cloaking shader?
Im a bit sick so correct if wrong, one thing is the transparency, Spring SUPPORTS alpha, the problem comes IIRC when loading texture... if you can't load texture properly for unit... one nasty solution might be to load the texture separatelly (if it can be done) without any filtering... and use that texture with said shader

EDIT:
In case of zk cloak shader of example, what you are doing is just lowering the alpha value in general, has nothing to do with loading stage of unit textures
erm no?
I could explain it to you, but I explained it multiple times in this community, and learned that most don't understand it.
It has nothing to do with textures, shaders, ...
And cloaker in ZK gives `incorrect` results, but in the specific case it doesn't matter cause the failure is part of the fx.

Re: Random WIP 2013+

Posted: 17 Apr 2013, 03:15
by knorke
it is not per-texture or even per-piece but is transparent:
Image

Image
so random lol

/edit

by modifying Pressure Line piecechange thing transparent pieces can be per-piece? It draws pieces like:

Code: Select all

gl.Texture(0,'%'..sourceunitDefID..":0")
gl.Texture(1,'%'..sourceunitDefID..":1")
gl.UnitPiece(sourceunitID,pieceID)
So somehow add blending?
Image
Needs correct blend mode I guess...
GL.SRC_ALPHA maybe for per-texture? So that instead of teamcolor alpha is used for transparency. Or maybe is that something else entirely.

Re: Random WIP 2013+

Posted: 17 Apr 2013, 08:33
by Anarchid
but I explained it multiple times in this community
I, for one, would love a link, or reiteration. >.>

Re: Random WIP 2013+

Posted: 17 Apr 2013, 10:39
by Kloot
Drawing N-bit transparent objects requires sorting for correct results.

Sorting is slow for multiple reasons and Spring doesn't bother with it.

No, this won't change in the near / foreseeable future.

Re: Random WIP 2013+

Posted: 17 Apr 2013, 11:17
by Das Bruce
Forboding Angel wrote:Not WIP, but just made: http://youtu.be/3F7F7NGDDFU
I like it.

Idea: have metal spots actionable, so if you select a builder and right click on a metal spot they build a extractor.

Re: Random WIP 2013+

Posted: 17 Apr 2013, 14:15
by knorke
Kloot wrote:Drawing N-bit transparent objects requires sorting for correct results.
Sorting when multiple transparent objects overlap?
Maybe that is not needed, transparent objects could still block view of each others and only be transparent to terrain. It would not be "correct" but for some units it might be good enought.

For example the wings of the dude on left side:
http://i.imgur.com/hwlWRkz.jpg
It might be strange that one can not see other units through the transparent wings, but only when one notices.

Re: Random WIP 2013+

Posted: 21 May 2013, 23:22
by Beherith
Anything needed changes before release?

click to embiggen

Image
Image
Image
Image

Re: Random WIP 2013+

Posted: 21 May 2013, 23:38
by FLOZi
Needs to ship with kleenex.

Re: Random WIP 2013+

Posted: 21 May 2013, 23:43
by smoth
looks awesome, how did you get the nicer unit shadows btw?

Re: Random WIP 2013+

Posted: 21 May 2013, 23:44
by Silentwings
Looks really good + love the ui.

Re: Random WIP 2013+

Posted: 21 May 2013, 23:49
by Beherith
Thanks Flozi :)

Yeah, the new BAR UI is amazing, thanks funken.

Dunno smoth, i just set shadow mask size to 4096 in spring settings, you can see my smd params here:

Code: Select all

	[LIGHT]
	{
		SunDir=1 1.5 0;						//direction of sun (spring will normalize it later)(y component is upward)
		
		GroundAmbientColor=0.5 0.5 0.6;		//ambient (non sun lit) color of ground (and grass trees etc)
		GroundSunColor=0.75 0.75 0.85;			//color of ground where fully sun lit (added to ambient)
		GroundShadowDensity=1;			//how far from the non shadowed to the ambient color stuff in shadow will go

		UnitAmbientColor=0.4 0.4 0.5;		//ambient (non sun lit) color of units (and wreckage etc)
		UnitSunColor=0.85 0.85 0.9;			//color of units where fully sun lit (added to ambient)
		UnitShadowDensity=0.8;				//how far from the non shadowed to the ambient color stuff in shadow will go
	}	

Re: Random WIP 2013+

Posted: 22 May 2013, 00:02
by smoth
Beherith wrote:Yeah, the new BAR UI is amazing, thanks funken.
yet you post no pictures :(

Re: Random WIP 2013+

Posted: 22 May 2013, 09:27
by PicassoCT
PA influence in the map area detected..
:D

Looks fantastic. Now that everyone drools. We can sit back and relaxed wait for the release that is due to another year in the future.

Re: Random WIP 2013+

Posted: 22 May 2013, 15:47
by Beherith
Picasso, wait till you see my next map...

Re: Random WIP 2013+

Posted: 22 May 2013, 19:10
by smoth
Picasso I will relish your disapointment when pa comes out.

Behe I still haven't gotten the new wm, is it pretty different? What did they improve?

Re: Random WIP 2013+

Posted: 22 May 2013, 23:37
by Beherith
Now this is closer to PA style.
Image

Smoth, the new WM is the best one so far. Way more frugal on ram and tons of new stuff.

Re: Random WIP 2013+

Posted: 25 May 2013, 05:36
by Funkencool
smoth wrote:
Beherith wrote:Yeah, the new BAR UI is amazing, thanks funken.
yet you post no pictures :(
:o
Image

Image

Re: Random WIP 2013+

Posted: 25 May 2013, 20:58
by AF
An improvement yes, but not amazing. If you want to call a UI amazing, you cant base it in opinion, as it's not a matter of opinion. There are methods of testing these things and measuring various attributes

I can immediately see usability and UI design flaws, e.g. vertical text, font with near zero readability, mysterious white boxes that have no obvious purpose etc.

But aside from that, looking very pretty, with some nice improvements