Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by howardR. 04/28/24 09:55
basik85278
by basik85278. 04/28/24 08:56
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, Quad), 755 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Problems displaying the terrain #318266
04/06/10 14:15
04/06/10 14:15
Joined: Oct 2009
Posts: 110
Porto-Portugal
Elektron Offline OP
Member
Elektron  Offline OP
Member

Joined: Oct 2009
Posts: 110
Porto-Portugal
Hello,
I have a terrain with entities over it.
And it looks ok, but after travel with camera for a while some parts of terrain look transparent.
I use a sample code of engine to move the camera not the debug code (After press 0)
I you donīt understand what i mean i can post a image of the screwded terrain.

Thanks in advance.


Carlos Ribeiro aka Elektron
Check my blog: http://indiegamedeveloper71.wordpress.com/
Re: Problems displaying the terrain [Re: Elektron] #318289
04/06/10 18:07
04/06/10 18:07
Joined: Aug 2007
Posts: 1,922
Schweiz
Widi Offline
Serious User
Widi  Offline
Serious User

Joined: Aug 2007
Posts: 1,922
Schweiz
Boa tarde...

If you don`t use a shader:
Make sure the Skin of the Terrain have no Alpha Channel.

Open the Terrain in MED
--> Edit
--> manage Skins
There should be: Texture:256x256x24...
if is not 24 (the others can be different):
--> Skin Settings
--> Texture Format
Here should be 24bit selected.



Last edited by Widi; 04/06/10 18:08.
Re: Problems displaying the terrain [Re: Widi] #318312
04/07/10 00:42
04/07/10 00:42
Joined: Oct 2009
Posts: 110
Porto-Portugal
Elektron Offline OP
Member
Elektron  Offline OP
Member

Joined: Oct 2009
Posts: 110
Porto-Portugal
Obrigado widi.
But my texture must be 32bit the problem is opaque portions sometimes look transparent.


Carlos Ribeiro aka Elektron
Check my blog: http://indiegamedeveloper71.wordpress.com/
Re: Problems displaying the terrain [Re: Elektron] #318334
04/07/10 07:58
04/07/10 07:58
Joined: Aug 2007
Posts: 1,922
Schweiz
Widi Offline
Serious User
Widi  Offline
Serious User

Joined: Aug 2007
Posts: 1,922
Schweiz
OK, now i need some more Infos.
For what do you need the alphacannel (32bit)?
Do you apply a Shader to your terrain?

If you don`t use a shader you will always have this problems with opaque portions sometimes look transparent. If a Skin have 32 bit then the engine will render the Terrain at the transparent pass and that gives problems.

maybee that can help:
set the flag PASS_SOLID in the Material of your terrain.

Re: Problems displaying the terrain [Re: Widi] #318502
04/08/10 01:05
04/08/10 01:05
Joined: Oct 2009
Posts: 110
Porto-Portugal
Elektron Offline OP
Member
Elektron  Offline OP
Member

Joined: Oct 2009
Posts: 110
Porto-Portugal
Well i have a level with a big block wich is the water and i put on top of it the terrain.
I want a irregular terrain for looks like a island soo parts of it are transparent for show the block (water) around the island.


Carlos Ribeiro aka Elektron
Check my blog: http://indiegamedeveloper71.wordpress.com/
Re: Problems displaying the terrain [Re: Elektron] #320234
04/20/10 15:49
04/20/10 15:49
Joined: May 2009
Posts: 439
T
TerraSame Offline
Senior Member
TerraSame  Offline
Senior Member
T

Joined: May 2009
Posts: 439
Hey...
Do n internet search for "Mysty Mood" by "Loopix"
It is available in both C Light and C Script...
It's all done for you.
All the art work and code is there for you to use...
It's awesome.
Have fun...


Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1