Bigger Skybox?

Post topics regarding Level Building/Design and Entity Usage with Reality Factory
Post Reply
User avatar
metal_head
Posts: 1244
Joined: Sat Jan 05, 2008 8:31 pm
Location: Bulgaria,Sofia
Contact:

Bigger Skybox?

Post by metal_head » Wed Sep 17, 2008 12:34 pm

In my game I've scaled down the player to 0.5,because I want bigger levels.But sometimes,that doesn't help.I got a level,where you are in an ancient themple.The temple is very high,so if you fall off,you die.I also put a 3d model for terrain.No collision is needed,because the player can't get down,except if he falls from the temple...oh yeah and if the players uses that bug (when you pres the walking button and press strafe,the player hangs on the wall in the air :D ).Now I've put a skybox in the level,but because the level is outside as you may have guessed and it's big,the skybox covers some areas of the level,that includes the 3d terrain model.And when I move towards the covered aresa,they suddenly appear.I know why that's happening,so is there a way of making he skybox bigger? If I make the skybox textures bigger,will something change? I don't want to use a skydome,it's not good for the framerate and it doesn't look very good ( in my opinion).
Even If I have to change something in the source..no idea.I dn't want to scale down the level,becaue it's already scaled down to 50%
I've scaled down the player to 0.5,because I want bigger levels

User avatar
Juutis
Posts: 1511
Joined: Thu Jan 12, 2006 12:46 pm
Location: Finland

Re: Bigger Skybox?

Post by Juutis » Wed Sep 17, 2008 12:42 pm

Isn't the skybox drawn behind virtually everything? To me it sounds like your farclip distance is too small. Your terrain just gets clipped.
Pain is only psychological.

Jay
RF Dev Team
Posts: 1232
Joined: Fri Jul 08, 2005 1:56 pm
Location: Germany

Re: Bigger Skybox?

Post by Jay » Wed Sep 17, 2008 1:38 pm

No the skybox is moving with the player and has an exact size (I think it was something about 4Kx4Kx4K or 2Kx2Kx2K). The skydome too is not drawn behind everything, but this time you can change the size.
Everyone can see the difficult, but only the wise can see the simple.
-----

User avatar
metal_head
Posts: 1244
Joined: Sat Jan 05, 2008 8:31 pm
Location: Bulgaria,Sofia
Contact:

Re: Bigger Skybox?

Post by metal_head » Wed Sep 17, 2008 2:39 pm

The skydome too is not drawn behind everything, but this time you can change the size.
Soo,there's no way of changing the skybox size?

User avatar
Juutis
Posts: 1511
Joined: Thu Jan 12, 2006 12:46 pm
Location: Finland

Re: Bigger Skybox?

Post by Juutis » Wed Sep 17, 2008 4:02 pm

Jay wrote:No the skybox is moving with the player and has an exact size (I think it was something about 4Kx4Kx4K or 2Kx2Kx2K)
I tested this by making a 15,000x15,000 level with a skybox and at all times the level was fully drawn. The skybox remained behind the level boundaries always.


BTW, I noticed that if you use the farclip plane to clip away brushes that are marked 'sky' the skybox isn't drawn there anymore. I haven't used skyboxes much. Is this normal?
Pain is only psychological.

User avatar
metal_head
Posts: 1244
Joined: Sat Jan 05, 2008 8:31 pm
Location: Bulgaria,Sofia
Contact:

Re: Bigger Skybox?

Post by metal_head » Wed Sep 17, 2008 4:19 pm

I forgot to upload something in my first post.

Juutis,I don't know,I'm a newbie and I've also haven't worked a lot with skyboxes (becasue I'm a newbie :D).
Try marking the ground as sky also and put another brush (sloid brush ) in the level,make it a little bigger and see if the brush is cliped.
Attachments
skybox.rar
(191.06 KiB) Downloaded 48 times

Jay
RF Dev Team
Posts: 1232
Joined: Fri Jul 08, 2005 1:56 pm
Location: Germany

Re: Bigger Skybox?

Post by Jay » Wed Sep 17, 2008 7:15 pm

Well a huge hollow box does not count. You must fill it with more than just a ground, e.g. a few walls, houses etc.. I don't know how far the skybox is away, but i am certain that it is rendered at a certain distance, because i once had the same problem that occurs to metal_head now. The skybox was clipping away parts of my level.

Just about how the skybox works: The skybox is a rotating bos that is drawn at a certain distance. Faces flagged as sky are excluded from the 'polygon creation process' so actually there are no faces in the game. And then the skybox can be seen of course, because it is behind the non-existing faces and fills the 'void' around the level.

How big is the level metal_head?
Everyone can see the difficult, but only the wise can see the simple.
-----

User avatar
metal_head
Posts: 1244
Joined: Sat Jan 05, 2008 8:31 pm
Location: Bulgaria,Sofia
Contact:

Re: Bigger Skybox?

Post by metal_head » Wed Sep 17, 2008 7:28 pm

How big is the level metal_head?
Amm..don't laugh,but...how can I check how big it is ? :oops: :lol:

User avatar
Juutis
Posts: 1511
Joined: Thu Jan 12, 2006 12:46 pm
Location: Finland

Re: Bigger Skybox?

Post by Juutis » Wed Sep 17, 2008 7:32 pm

Jay wrote:Just about how the skybox works: The skybox is a rotating box that is drawn at a certain distance. Faces flagged as sky are excluded from the 'polygon creation process' so actually there are no faces in the game. And then the skybox can be seen of course, because it is behind the non-existing faces and fills the 'void' around the level.
So basically the skybox should appear wherever the farclip plane clips parts of the level away, right? But that's not what happens to me. Whenever I use the farclip plane those parts appear just plain black (or the color of the distance fog if I have it enabled). Even with small distances like a level that's 512x512x512.

metal_head wrote:Amm..don't laugh,but...how can I check how big it is ?
You can see the location of the cursor in the bottom of RFEditPro. Just move your cursor to the boundaries of your level and do the math.
Pain is only psychological.

User avatar
bernie
RF Moderator
Posts: 1249
Joined: Tue Nov 15, 2005 10:07 am
Location: Ireland

Re: Bigger Skybox?

Post by bernie » Wed Sep 17, 2008 7:35 pm

Or just use Jays RfEditProA and select your surround box and look a the brush dimensions bottom right.

User avatar
metal_head
Posts: 1244
Joined: Sat Jan 05, 2008 8:31 pm
Location: Bulgaria,Sofia
Contact:

Re: Bigger Skybox?

Post by metal_head » Wed Sep 17, 2008 7:36 pm

it says x6771 y0 z3716,is that what I'm looking for? :oops:

User avatar
Juutis
Posts: 1511
Joined: Thu Jan 12, 2006 12:46 pm
Location: Finland

Re: Bigger Skybox?

Post by Juutis » Wed Sep 17, 2008 7:41 pm

No, those numbers are just the location of the mouse cursor. What I meant with the boundary stuff is that first move the mouse to the left side of your level in the top view, check the X value, then move the cursor to the right side of the level and check the X value again. The difference in the values tell you how wide it is. Then do the same for the Z and Y.

But yeah, if you have RFEditProA then it's much easier, as bernie said.
Pain is only psychological.

User avatar
metal_head
Posts: 1244
Joined: Sat Jan 05, 2008 8:31 pm
Location: Bulgaria,Sofia
Contact:

Re: Bigger Skybox?

Post by metal_head » Wed Sep 17, 2008 7:45 pm

nno,I don't even know what's that.Where can I get it?


A little screen from my level in RFeditPRO.I've marked in red the parts which are clipped by the skybox.
Attachments
level.jpg
level.jpg (58.64 KiB) Viewed 1306 times

User avatar
Juutis
Posts: 1511
Joined: Thu Jan 12, 2006 12:46 pm
Location: Finland

Re: Bigger Skybox?

Post by Juutis » Wed Sep 17, 2008 8:04 pm

Jay wrote:Well a huge hollow box does not count. You must fill it with more than just a ground, e.g. a few walls, houses etc..
Yap, tested it with some blocks in a huge level and they indeed were clipped by the skybox. Sorry for the false info.
Pain is only psychological.

User avatar
Gamemaker
Posts: 266
Joined: Fri Aug 08, 2008 3:00 pm
Location: Estonia
Contact:

Re: Bigger Skybox?

Post by Gamemaker » Sat Dec 25, 2010 9:04 pm

Is it possible to make it bigger then, Im having the problem now :D

Post Reply