Terrain transparency
Moderator: Moderators
-
ZoomV
- Rebel Warrant Officer

- Posts: 308
- Joined: Thu Aug 15, 2013 11:27 am
- Projects :: Old Republic Map pack
- xbox live or psn: No gamertag set
- Location: Belsavis, Maximum Security Ward
Terrain transparency
So I am wondering if it is possible to make (large) portions of the terrain invisible,
- AnthonyBF2
- Sith

- Posts: 1255
- Joined: Wed Aug 21, 2013 3:55 pm
- Projects :: PS2+PSP Overhaul
Re: Terrain transparency
I know it's possible... in some crazy way but I don't know how...
Hidden/Spoiler:
-
hunpeter12
- Command Sergeant Major

- Posts: 260
- Joined: Mon Apr 18, 2011 2:53 pm
- Projects :: Underground City The Complex [WIP]
Re: Terrain transparency
What if you gave it a fully transparent image as texture? Would it be transparent or just black?
-
ZoomV
- Rebel Warrant Officer

- Posts: 308
- Joined: Thu Aug 15, 2013 11:27 am
- Projects :: Old Republic Map pack
- xbox live or psn: No gamertag set
- Location: Belsavis, Maximum Security Ward
Re: Terrain transparency
Just black I just triedhunpeter12 wrote:What if you gave it a fully transparent image as texture? Would it be transparent or just black?
If you walk off the edge of the terrain you get that effect, perhaps your PSP lost the terrain file?anthonybf2 wrote:I know it's possible... in some crazy way but I don't know how...
Hidden/Spoiler:
I guess I'm going to need some really really big terrain cutters.
- AceMastermind
- Gametoast Staff

- Posts: 3285
- Joined: Mon Aug 21, 2006 6:23 am
- Contact:
Re: Terrain transparency
Several years ago I was making a personal map that was going to have silos like the one seen under the Trade Federation Core ship in this image:ZoomV wrote:I guess I'm going to need some really really big terrain cutters.

I was going to animate the Core ship launching from it and I needed to use a terrain cutter to make it all look right. The scale of the terrain cutter would crash terrainmunge.exe every time I munged. I reduced the scale until terrainmunge would accept it, but it was way too small to use afterward. I no longer have the asset and can't remember the exact size it ended up being, you'll have to experiment with that. I suppose you could displace large amounts of terrain, but you would likely need to use multiple smaller terrain cutters.
-
ZoomV
- Rebel Warrant Officer

- Posts: 308
- Joined: Thu Aug 15, 2013 11:27 am
- Projects :: Old Republic Map pack
- xbox live or psn: No gamertag set
- Location: Belsavis, Maximum Security Ward
Re: Terrain transparency
Well That's a pain. I am planning on experimenting with trying to make this environment

Which with my original plan would require a bazillion terraincutters.
Although is terrain one sided? I.e if you are under it you can see up through it. If it is I could have it so the terrain height shoots up at the edge of the mesa and then I would only need a couple tall terrain cutters and the player would be none the wiser.
The reason I don't want to spam cutters is because that seems like a really good way to hit object limit really fast, unless perhaps it is possible to adjust the terrain lod so it disappears, but then not affect object lod.
EDIt: well I tried doing a foliage layer of terrain cutters, but that just caused a crash. Oh well I suppose that would have been too easy.
Update: ok so raising the terrain above player level and then cutting holes in the sides does work.
Plans can now proceed.

Which with my original plan would require a bazillion terraincutters.
Although is terrain one sided? I.e if you are under it you can see up through it. If it is I could have it so the terrain height shoots up at the edge of the mesa and then I would only need a couple tall terrain cutters and the player would be none the wiser.
The reason I don't want to spam cutters is because that seems like a really good way to hit object limit really fast, unless perhaps it is possible to adjust the terrain lod so it disappears, but then not affect object lod.
EDIt: well I tried doing a foliage layer of terrain cutters, but that just caused a crash. Oh well I suppose that would have been too easy.
Update: ok so raising the terrain above player level and then cutting holes in the sides does work.
Hidden/Spoiler:
-
Marth8880
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Re: Terrain transparency
Having a lot of terrain cutters is reported to cause maps to become unstable. You'd be better off modeling terrain objects instead.
To answer some of your questions, though:
geo1.ter.option
kas2.ter.option
naboo2.ter.option
I don't know specifically what any of these parameters do, but I can guess that -maxlayers <int> probably sets the maximum number of texture layers that can be used in Zero Editor.
You could also try toying around with some of the LowResTerrain() parameters in the map's sky file.
(Note that the LowResTerrain() block, if used, belongs in the DomeInfo() block.)
To answer some of your questions, though:
Yes, terrain is single-sided.ZoomV wrote:Although is terrain one sided? I.e if you are under it you can see up through it.
Coincidentally, TER files apparently have .OPTION files that can go along with them. Some examples from some of the stock worlds:ZoomV wrote:unless perhaps it is possible to adjust the terrain lod so it disappears, but then not affect object lod.
geo1.ter.option
Code: Select all
-lowres_numpatches 14 -lowres_patchsize 8 -maxlayers 3 Code: Select all
-lowres_numpatches 14 -lowres_patchsize 8 -maxlayers 3 -reducewater 4Code: Select all
-lowres_numpatches 10 -lowres_patchsize 10 -maxlayers 3 -watercutter_patchsize 4You could also try toying around with some of the LowResTerrain() parameters in the map's sky file.
Code: Select all
LowResTerrain()
{
Texture("end1_lowresterrain");
PatchResolution(5);
TextureScale(19.0);
MaxDistance(1500);
DetailTexture("kas2_far_detail");
DetailTextureScale(0.5);
FogNear(400.0);
FogFar(800.0);
FogColor(80,80,80, 128);
}-
ZoomV
- Rebel Warrant Officer

- Posts: 308
- Joined: Thu Aug 15, 2013 11:27 am
- Projects :: Old Republic Map pack
- xbox live or psn: No gamertag set
- Location: Belsavis, Maximum Security Ward
Re: Terrain transparency
I don't need to deal with the lod or the lowrez on the terrain.
Increase the terrain high and cutting holes in the side did the trick. I managed to scale the terrain cutters from the assets link thread up to approx. 40 ZE height units tall.
Although thanks for the note about potential unstability, I'll try to see how much I can limit.
Hidden/Spoiler:
Although thanks for the note about potential unstability, I'll try to see how much I can limit.



