Page 2 of 2
Re: Geometry for sharp cliffs example
Posted: 09 Jun 2014, 12:55
by Kloot
Since you have already thought to block any terrain deformation underneath the walls, you might also consider merging all segments into a single geometry blob with associated large draw radius (and rendering efficiency gains) to prevent LOD or culling from kicking in.
Re: Geometry for sharp cliffs example
Posted: 09 Jun 2014, 13:35
by BaNa
Kloot wrote:Since you have already thought to block any terrain deformation underneath the walls, you might also consider merging all segments into a single geometry blob with associated large draw radius (and rendering efficiency gains) to prevent LOD or culling from kicking in.
The blocking of terrain deformation worries me as it should lead to very ugly effects when nuking near a wall, maybe these maps should have map deformation off?
Re: Geometry for sharp cliffs example
Posted: 10 Jun 2014, 09:42
by jK
BaNa wrote:Kloot wrote:Since you have already thought to block any terrain deformation underneath the walls, you might also consider merging all segments into a single geometry blob with associated large draw radius (and rendering efficiency gains) to prevent LOD or culling from kicking in.
The blocking of terrain deformation worries me as it should lead to very ugly effects when nuking near a wall, maybe these maps should have map deformation off?
Ground hardness is a float, just make the cliffs extreme hard and blur that a bit, so map deformations always are smooth next to cliffs.
Re: Geometry for sharp cliffs example
Posted: 10 Jun 2014, 13:28
by Beherith
I'm not completely sure the blurring would work, as the typemap is only half the resolution of the heightmap, and this may result in terracing.
Re: Geometry for sharp cliffs example
Posted: 14 Jun 2014, 15:29
by Beherith
Slow progress is slow.
Fixed a lot of issues that features had by switching to units, only one issue left:
Units are placed from global gadget space, on game load, but are only rendered after game start
Now trying to not blow up my brain by thinking of a sane procedural texturing scheme for it.
Re: Geometry for sharp cliffs example
Posted: 15 Jun 2014, 21:23
by Beherith
Whew, got procedural wall texturing:

Re: Geometry for sharp cliffs example
Posted: 16 Jun 2014, 12:18
by Anarchid
Now trying to not blow up my brain by thinking of a sane procedural texturing scheme for it.
I'm pretty sure units can be pre-spawned in some way, at least zk missionrunner does it in such a way that you can see units before countdown completes.
Re: Geometry for sharp cliffs example
Posted: 16 Jun 2014, 20:01
by Silentwings
Didn't test with latest, but it used to be the case that units spawned before the game started (with ZK mission runner) had their pieces in the wrong places & then they suddenly shot into place at game start.
Re: Geometry for sharp cliffs example
Posted: 16 Jun 2014, 21:11
by smoth
Their piece origons are at 0,0 then translated yes
Re: Geometry for sharp cliffs example
Posted: 16 Jun 2014, 21:52
by Beherith
Thats ok, since they are all a single root piece at origin.
Re: Geometry for sharp cliffs example
Posted: 19 Jun 2014, 06:58
by daryl
wow!!
great work!!
Re: Geometry for sharp cliffs example
Posted: 18 Sep 2014, 21:48
by The Yak
Any updates for this project?
Re: Geometry for sharp cliffs example
Posted: 19 Sep 2014, 01:56
by Jools
It looks nice but isn't the solution very hacky, if it must use units instead of features? I mean, walls are not units...
Re: Geometry for sharp cliffs example
Posted: 19 Sep 2014, 02:13
by smoth
has to be units because features cannot receive sharers. Springs shader support code is kinda duct-taped on still
Re: Geometry for sharp cliffs example
Posted: 19 Sep 2014, 02:32
by Jools
Would it be much work to make features be able to receive shaders then? Thinking of the future: like making it right the first time instead of incremental hack that leads to workarounds which then requires more hacks again.
Re: Geometry for sharp cliffs example
Posted: 19 Sep 2014, 03:08
by smoth
Ask jk. Spring is a funny bird
Re: Geometry for sharp cliffs example
Posted: 19 Sep 2014, 08:34
by Beherith
Using units works just fine. The only remaining issue with this approach is that all terrain kbots dont like the reeeealy steep cliffs. they tend to catapult over them