Difference between revisions of "Talk:Skybox (2D)"

From Valve Developer Community
Jump to: navigation, search
(render order)
Line 37: Line 37:
 
:::::aha, slowly getting there
 
:::::aha, slowly getting there
 
:::::so, if I used hint brushes, could I make it so that part isn't seen by the other visleaf? [[User:Kizzycocoa|Kizzycocoa]] 12:10, 13 December 2009 (UTC)
 
:::::so, if I used hint brushes, could I make it so that part isn't seen by the other visleaf? [[User:Kizzycocoa|Kizzycocoa]] 12:10, 13 December 2009 (UTC)
 +
::::::That, and possibly the use of an areaportal to help further cull the visleafs being rendered. Areaportal location would be best within the doorway to the halls there. Combine that with a hint face a bit down each hall as needed and you should solve the visibility issues with the leafs.--[[User:Lost|Lost]] 15:04, 13 December 2009 (UTC)
  
 
== Occlusion ==
 
== Occlusion ==

Revision as of 15:04, 13 December 2009

For some reason when I use a 2D skybox stuff above my eye level is drawn over by the sky box. Is there a way to fix this? Is this something that will go awayu if I use a 3D skybox? (I plan to eventually) Thanks! --Foolster41 13:09, 11 Nov 2007 (PST)

Vue Esprit skybox creation

Anyone knows how can I get a well fit skybox with Vue Esprit? I'm trying it but it needs a lot of time until I could get the right parameters. --erwaitin 16:47, 18 February 2009 (UTC)

render order

is there any way to change this? I have a room where two corridors merge, and go out to a balcony place

but the corridors can be seen through the skybox.

ordinarily, I'd merely try to rearrange it, but I've done so so many times, I want to find the REAL answer.

can anyone help? :S Kizzycocoa 00:57, 12 December 2009 (UTC)

Sounds like you haven't bothered to compile VVIS or haven't constructed your map properly. Or look for errors that either kill VVIS or muck it up. That's about all I can offer given the info provided.--Lost 01:00, 12 December 2009 (UTC)

I have compiled it.

according to this, the width between skybox and the corridor wall is 192 (width from face to face) is that why? :S Kizzycocoa 01:03, 12 December 2009 (UTC)

here is the layout.

Layout.png

from the skybox (blue), you can see the long hallways behind. it is meant to be, like, a building buried into the face of a mountain. know why? x.x Kizzycocoa 11:30, 12 December 2009 (UTC)

The skybox renders after the world. So any part of the world that is visible will always render over the skybox. It's apparent you're a new mapper, so you can just give this a read: Visibility optimization. Let me know if that helps. If you optimize your maps properly you should cease to experience that problem.--1/4 Life 22:40, 12 December 2009 (UTC)
actually, I have mapped a wehile. I thought they were rendered at the same time. hence why this occasionally happens (the hallway), and occasionally doesn't (the massive room/beach area below).
however, the article describes how to optimize the portal file. the render order is a recurring foe for me.
case and point: water shows through walls as they are rendered last for me.
any way to change it? or is there any way to sort it?
I only ask, as it seems it took part of a brushes texture, not the entire brush is displayed. and it happens only on nearby/visible stuff, yet the far corridor walls aren't visible, but they show up :S Kizzycocoa 22:51, 12 December 2009 (UTC)
the reason why that happens is because the visleaf you're in can "see" the visleaves in the corridor, and therefore renders the area. Solokiller 12:05, 13 December 2009 (UTC)
aha, slowly getting there
so, if I used hint brushes, could I make it so that part isn't seen by the other visleaf? Kizzycocoa 12:10, 13 December 2009 (UTC)
That, and possibly the use of an areaportal to help further cull the visleafs being rendered. Areaportal location would be best within the doorway to the halls there. Combine that with a hint face a bit down each hall as needed and you should solve the visibility issues with the leafs.--Lost 15:04, 13 December 2009 (UTC)

Occlusion

what it is is that you need a wall in your 3d skybox so that you cannot look towards the corridors. Otherwise the area isn't occluded an can be seen through the skybox. Imagine the skybox as a window, if you look out of it you can see those corridors (assumng you had a room laid out the same) so it isn't surprising. MLSTRM 15:55, 12 December 2009 (UTC)

that can't be :S
the window isn't showing the room under it, or the massive beach area I had a long way away from the skybox.
plus, it doesn't show the whole corridor. only the floor/ceiling and part of the wall at the far ends of the corridors. :S Kizzycocoa 16:13, 12 December 2009 (UTC)