Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (dr_panther, AndrewAMD, Ayumi, TedMar), 1,033 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
sky scene covers other objects? #457187
01/03/16 16:36
01/03/16 16:36
Joined: Dec 2011
Posts: 1,823
Netherlands
Reconnoiter Offline OP
Serious User
Reconnoiter  Offline OP
Serious User

Joined: Dec 2011
Posts: 1,823
Netherlands
Hi,

How come this covers any other normal entity/models in a map?:

Code:
ENTITY* background_ent =
{
  type = "background1.mdl";
  flags2 = SKY | SCENE | SHOW;
}



I thought the scene flag should prevent that? confused

Last edited by Reconnoiter; 01/03/16 16:39.
Re: sky scene covers other objects? [Re: Reconnoiter] #457188
01/03/16 18:42
01/03/16 18:42
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline
Expert
sivan  Offline
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
yeah it does cover, I don't know why.
to make you "happy", sky box also has a similar (reported but unwanted to be unresolved) issue at about 0,71 (sqrt(2)) of clip far.


Free world editor for 3D Gamestudio: MapBuilder Editor
Re: sky scene covers other objects? [Re: sivan] #457194
01/04/16 11:52
01/04/16 11:52
Joined: Dec 2011
Posts: 1,823
Netherlands
Reconnoiter Offline OP
Serious User
Reconnoiter  Offline OP
Serious User

Joined: Dec 2011
Posts: 1,823
Netherlands
Originally Posted By: sivan
to make you "happy"
, ah how sweet of you grin

Quote:
sky box also has a similar (reported but unwanted to be unresolved) issue at about 0,71 (sqrt(2)) of clip far.
, can that be done through script? (/without WED?)


Last edited by Reconnoiter; 01/04/16 11:54.
Re: sky scene covers other objects? [Re: Reconnoiter] #457214
01/05/16 17:24
01/05/16 17:24
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline
Expert
sivan  Offline
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
yes. I don't use WED at all.


Free world editor for 3D Gamestudio: MapBuilder Editor
Re: sky scene covers other objects? [Re: sivan] #457215
01/05/16 18:47
01/05/16 18:47
Joined: Dec 2011
Posts: 1,823
Netherlands
Reconnoiter Offline OP
Serious User
Reconnoiter  Offline OP
Serious User

Joined: Dec 2011
Posts: 1,823
Netherlands
Nice, so I quess 'sky_clip' is the value I need to set to 0,71 (sqrt(2)) of clip far, right? tia

Re: sky scene covers other objects? [Re: Reconnoiter] #457218
01/06/16 09:12
01/06/16 09:12
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline
Expert
sivan  Offline
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
no, that affects only sky domes. sky cubes are different, but they clip the environment not at clip_far, instead at 0.71*clip_far, but don't know why. if the sky cube is not transparent it is not disturbing, but if you sometimes remove or use the sky cube (e.g. when you create a world editor for a dead engine), you can see significant difference...


Free world editor for 3D Gamestudio: MapBuilder Editor
Re: sky scene covers other objects? [Re: sivan] #457221
01/06/16 16:53
01/06/16 16:53
Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
txesmi Offline
Serious User
txesmi  Offline
Serious User

Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
Originally Posted By: sivan
they clip the environment not at clip_far, instead at 0.71*clip_far, but don't know why.


just a guessing but, may it be because of this?



or maybe because the corners of the cube are at clip_far distance so the center of the faces are at 0.71*clip_far because 0.71 ~= cos(45)...

Salud!

Re: sky scene covers other objects? [Re: sivan] #457224
01/07/16 00:19
01/07/16 00:19
Joined: Jan 2006
Posts: 968
EpsiloN Offline
User
EpsiloN  Offline
User

Joined: Jan 2006
Posts: 968
Originally Posted By: sivan
for a dead engine...

Lol, didn't think it was true before I saw a recent video of someone scripting in DOS with OpenGL... grin

PS.: It was amazing...

Last edited by EpsiloN; 01/07/16 00:20.

Extensive Multiplayer tutorial:
http://mesetts.com/index.php?page=201
Re: sky scene covers other objects? [Re: EpsiloN] #457225
01/07/16 08:16
01/07/16 08:16
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline
Expert
sivan  Offline
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
@txesmi: probably. but if it is the case, the sky cube size should be simply set to an increased distance.


Free world editor for 3D Gamestudio: MapBuilder Editor
Re: sky scene covers other objects? [Re: sivan] #457237
01/08/16 08:09
01/08/16 08:09
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline
Expert
sivan  Offline
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
@Epsilon: it is definitely different to be dead or insane grin


Free world editor for 3D Gamestudio: MapBuilder Editor
Page 1 of 2 1 2

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