Faking steep cliffs

Faking steep cliffs

Discuss maps & map creation - from concept to execution to the ever elusive release.

Moderator: Moderators

Post Reply
User avatar
azaremoth
Cursed Developer
Posts: 549
Joined: 17 Feb 2005, 22:05

Faking steep cliffs

Post by azaremoth »

Why not placing big (indescructable) features in front of steep slopes? Even wih Spring board placement is a little painful, as you can not (or I do not know how-to) rotate features before pressing the mouse buttun and thus have the position fixed. However, the results are quite promissing so far (esp. with having normal mapping enabled for features). Maybe placement of defined features and terrain height cound be included in SpringBoard as "typicals" - think of a plateau including ramps and cliffs that can be placed by just one mouse-click. 8)

Image
User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10450
Joined: 24 Jan 2006, 21:12

Re: Faking steep cliffs

Post by PicassoCT »

LOD Detail ruined it.
Also if the features core is hidde from camera, the hills have no-eyes and i must scream.


Best approach in my opinion would be to generate the features, from the heigthmap.

Spring Map -> Export to Blender -> Blender Script/PlugIn Generates and Textures Terrain -> Reimport Heigthmap.
That would also avoid all the other Hickups this appraoch had (Clashing with terraindeformation, etc.).

http://zero-k.info/Maps/Detail/27337

Also cliff is so sexy- people would jump-jet to death just for the eye candy.
User avatar
Silentwings
Posts: 3720
Joined: 25 Oct 2008, 00:23

Re: Faking steep cliffs

Post by Silentwings »

What do you think you are gaining by making them into features, by comparison to just including them in the map?

Your picture looks to have a problem with alignment between the map and the feature-cliff, btw.
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Re: Faking steep cliffs

Post by Kloot »

With heightmaps, top-down planar projection causes unsightly texture stretching on steep surfaces.

The idea to hide them under automatically placed features isn't new (alas, dead screenshot links) and should be more feasible in 104+.
User avatar
azaremoth
Cursed Developer
Posts: 549
Joined: 17 Feb 2005, 22:05

Re: Faking steep cliffs

Post by azaremoth »

Silentwings wrote:What do you think you are gaining by making them into features, by comparison to just including them in the map?
That ist pretty obvious, isn't it? Features' geometry allows to add lots details to cliffs than possible with heightmaps only. Maybe the shown example is not perfect to demonstrate that as it also a pretty plain slope only. You know, you could do cliffs like shown below.

Image

Image
User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10450
Joined: 24 Jan 2006, 21:12

Re: Faking steep cliffs

Post by PicassoCT »

viewtopic.php?f=13&t=33627&p=571092&hil ... ry#p571092
viewtopic.php?f=13&t=30548&hilit=black+mescaline

PS: Anarchid had a really nice working example of geometry generated to fit a cliff.

PS: Azaremoth is right, because extending artist freedom == always a good thing.

INB4 Kloot ranting in Bug Reports about wankers throwing out Polygon and Texture-Ram as if it where not hard earned.
sprunk
Posts: 100
Joined: 29 Jun 2015, 07:36

Re: Faking steep cliffs

Post by sprunk »

You'd need to handle terrain deformation for those areas, somehow.
User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10450
Joined: 24 Jan 2006, 21:12

Re: Faking steep cliffs

Post by PicassoCT »

I guess those features would have to come with a script freezing terraindeformation below- and extrapolating to the deformed terrain nearby. Which means- this type of feature has to come with a heightmap of its own- a relative heigthmap, that it applies to the surrounding terrain, so it fits.

Which gets us to the problem of overlapping terrain. Two features could try to "drag" the terrain to diffrent heigth, so they either have to have a order of execution, have to compromise .

Everything gets messier from here on.
raaar
Metal Factions Developer
Posts: 1094
Joined: 20 Feb 2010, 12:17

Re: Faking steep cliffs

Post by raaar »

all-terrain unit behavior would also seem weird even if the features are passable (unless they nearly perfectly hug the terrain)

I thought about using features to fake building walls (with windows,etc.) for city maps where you could walk or build on rooftops.

For garrisonable building blocks, some of the building walls could be actual neutral units instead of features and would act as transports that'd change owner to whoever gets there first.
User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10450
Joined: 24 Jan 2006, 21:12

Re: Faking steep cliffs

Post by PicassoCT »

But damn they are sexy - and essential for city maps. As long as we dont have it - we will never have this:

Image
User avatar
Anarchid
Posts: 1384
Joined: 30 Nov 2008, 04:31

Re: Faking steep cliffs

Post by Anarchid »

I've been trying to do it for quite a long time, with varying and "promising" success. In the end, however, i stopped caring, for several reasons:

- Back then features were impossible to make always visible, so zooming out caused terrain to disappear
- Using units risked them turning into features
- Using units with huge radius parameter caused gunships to collide with them even when collisions were otherwise disabled
- Using units with low radius parameter caused the geometry to disappear the moment the center was out of view
- It is incompatible with terraforming unless you invest a ton of effort to somehow fix that
- Units and features used as terrain cannot receive explosion scars and track marks
- Units and features used as terrain cannot be shaded with Spring terrain shaders, including infomap shaders like metalmap, heightmap, and last but not the least, LoS. (yeah using volumetric fog as fog of war would still work for that)
- Units capable of moving *on* those cliffs still limit artistic freedom significantly if you think about it and there are no good tools to make that easy.

In general, i don't think it's worth it for the games that allow terrain deformation. For the rest, the amount of work that needs to be invested for this to be good could be spent on making it an engine feature instead.

My current dream-pipe idea for what would improve Spring terrain visuals is two-pronged:
1) Fully splatted materials - same as DNTS, but with stronger material support including diffuse, speculars and emissives, and with more materials per map
2) Triplanar mapping
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: Faking steep cliffs

Post by AF »

I'm sure Sinbad was the first to do this, pre-2010, going as far as making the entire map out of features
User avatar
The Yak
Posts: 351
Joined: 20 May 2012, 05:36

Re: Faking steep cliffs

Post by The Yak »

Picasso made an attempt at this as well: https://springfiles.com/spring/spring-m ... escalin-v3
User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10450
Joined: 24 Jan 2006, 21:12

Re: Faking steep cliffs

Post by PicassoCT »

Drag net fishing the past..
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: Faking steep cliffs

Post by Beherith »

Let me leave this here. Post if you want the code that does it.

viewtopic.php?f=13&t=32228

Image
gajop
Moderator
Posts: 3051
Joined: 05 Aug 2009, 20:42

Re: Faking steep cliffs

Post by gajop »

If you can share it under an open source license i'd like to see it - potentially many uses out of it
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: Faking steep cliffs

Post by Beherith »

Check edger.py in this zip (like 700MB) , license: PD

http://imolarpg.dyndns.org/spring/alter ... onghold.7z
User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10450
Joined: 24 Jan 2006, 21:12

Re: Faking steep cliffs

Post by PicassoCT »

@ BARherith:

Did you use Zwzsgs hexfarm code for this?

Also sorry for the still WIP foliage, i got no photoshop where i am. No 3dsmax either.
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: Faking steep cliffs

Post by Beherith »

Nope, purely my own.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Faking steep cliffs

Post by smoth »

Srill have had no sucess with it. After i update my gundam game beyond bitrott i may revisit this.

This is exactly what i was on about last night gajop
Post Reply

Return to “Map Creation”