displacement disappears at certain angle?

displacement disappears at certain angle?

Re: displacement disappears at certain angle? Posted by Kampy on Fri Aug 7th 2009 at 12:28pm
Kampy
304 posts
Posted 2009-08-07 12:28pm
Kampy
member
304 posts 716 snarkmarks Registered: Dec 30th 2003 Occupation: student Location: Germany
Ive added some displacements behind the skyboxes to make it look more realistic, but one of them somehow disappears at the certain angle when you look at it. Do you know why and how to stop this from happening? :scream:
User posted image
Re: displacement disappears at certain angle? Posted by Le Chief on Fri Aug 7th 2009 at 12:44pm
Le Chief
2605 posts
Posted 2009-08-07 12:44pm
Le Chief
member
2605 posts 937 snarkmarks Registered: Jul 28th 2006 Location: Sydney, Australia
Displacements behind the skyboxes? What do you mean by that? The displacements stick outside the level or through the brush textures with the sky texture?
Aaron's Stuff
Re: displacement disappears at certain angle? Posted by Kampy on Fri Aug 7th 2009 at 4:31pm
Kampy
304 posts
Posted 2009-08-07 4:31pm
Kampy
member
304 posts 716 snarkmarks Registered: Dec 30th 2003 Occupation: student Location: Germany
It doesnt need to have to do with the skybox. It's just beyond the skybox so you can see it but not walk to it.
Re: displacement disappears at certain angle? Posted by Le Chief on Sat Aug 8th 2009 at 4:57am
Le Chief
2605 posts
Posted 2009-08-08 4:57am
Le Chief
member
2605 posts 937 snarkmarks Registered: Jul 28th 2006 Location: Sydney, Australia
Is the displacement in a 3D Skybox?
Aaron's Stuff
Re: displacement disappears at certain angle? Posted by reaper47 on Sat Aug 8th 2009 at 4:24pm
reaper47
2827 posts
Posted 2009-08-08 4:24pm
reaper47
member
2827 posts 1921 snarkmarks Registered: Feb 16th 2005 Location: Austria
You accidentally the whole skybox? ???

Could be a weird vis effect.
If you actually placed this outside the skybox, no wonder.
Re: displacement disappears at certain angle? Posted by Kampy on Sat Aug 8th 2009 at 9:07pm
Kampy
304 posts
Posted 2009-08-08 9:07pm
Kampy
member
304 posts 716 snarkmarks Registered: Dec 30th 2003 Occupation: student Location: Germany
it could of course be because its outside the skybox, but the other displacements that can be seen on the picture are outside as well and I believe Ive seen it inside somewhere too although Im not sure.
Re: displacement disappears at certain angle? Posted by reaper47 on Sat Aug 8th 2009 at 9:55pm
reaper47
2827 posts
Posted 2009-08-08 9:55pm
reaper47
member
2827 posts 1921 snarkmarks Registered: Feb 16th 2005 Location: Austria
Kampy said:
it could of course be because its outside the skybox, but the other displacements that can be seen on the picture are outside as well and I believe Ive seen it inside somewhere too although Im not sure.
Sorry man, I don't get it. You didn't seriously put this outside the map? If you did, the problem is so obvious, the question sounds a little funny...

Do you mean it is inside the skybox? Like, outside the map itself but inside the "sky_camera" area of the 3D skybox? If so, it is probably hidden by vis. Note that brushes with the "skybox" or "nodraw" texture can block visibility while still being fully transparent. This can result in odd cuts and disappearances.

Nevertheless, I'm confused...
Re: displacement disappears at certain angle? Posted by Le Chief on Sun Aug 9th 2009 at 1:47am
Le Chief
2605 posts
Posted 2009-08-09 1:47am
Le Chief
member
2605 posts 937 snarkmarks Registered: Jul 28th 2006 Location: Sydney, Australia
How do you put a displacement outside the skybox? :|
Aaron's Stuff
Re: displacement disappears at certain angle? Posted by Kampy on Mon Aug 10th 2009 at 8:26pm
Kampy
304 posts
Posted 2009-08-10 8:26pm
Kampy
member
304 posts 716 snarkmarks Registered: Dec 30th 2003 Occupation: student Location: Germany
whats the problem- its not like an entity. its a brush- just create it.
Re: displacement disappears at certain angle? Posted by reaper47 on Tue Aug 11th 2009 at 12:12am
reaper47
2827 posts
Posted 2009-08-11 12:12am
reaper47
member
2827 posts 1921 snarkmarks Registered: Feb 16th 2005 Location: Austria
Kampy said:
whats the problem- its not like an entity. its a brush- just create it.
Sorry, but I'm really running out of patience... Please read your thread from the beginning. There is no way we could possibly guess your problem.
Re: displacement disappears at certain angle? Posted by Le Chief on Tue Aug 11th 2009 at 5:25am
Le Chief
2605 posts
Posted 2009-08-11 5:25am
Le Chief
member
2605 posts 937 snarkmarks Registered: Jul 28th 2006 Location: Sydney, Australia
I'm totally confused as to what your trying to tell us. :confused:

I think you mean that you have the displacement inside a 3D skybox.

Maybe you could take some screenshots of this displacement in Hammer?
Aaron's Stuff
Re: displacement disappears at certain angle? Posted by Kampy on Tue Aug 11th 2009 at 7:36am
Kampy
304 posts
Posted 2009-08-11 7:36am
Kampy
member
304 posts 716 snarkmarks Registered: Dec 30th 2003 Occupation: student Location: Germany
just forget it - I will just leave the bug as it is.

this is how I meant it:
User posted image
Re: displacement disappears at certain angle? Posted by Le Chief on Tue Aug 11th 2009 at 7:54am
Le Chief
2605 posts
Posted 2009-08-11 7:54am
Le Chief
member
2605 posts 937 snarkmarks Registered: Jul 28th 2006 Location: Sydney, Australia
Weird.. see I considered that but then thought how would it show up in game if it's outside the world.

In any case, there is no point in doing that, I'm surprised it showed up ingame! If you want the displacement to appear distant than you need to make a 3D skybox or make the world big enough so that you can place the displacement at a far enough distance.

3D Skybox:
User posted image
Extend Size Of World:
User posted image

Aaron's Stuff
Re: displacement disappears at certain angle? Posted by Kampy on Tue Aug 11th 2009 at 8:08am
Kampy
304 posts
Posted 2009-08-11 8:08am
Kampy
member
304 posts 716 snarkmarks Registered: Dec 30th 2003 Occupation: student Location: Germany
I saw that in some standard TF2 map so I used it behind the skybox. Im not sure its because of the skybox though.
User posted image
Re: displacement disappears at certain angle? Posted by fishy on Tue Aug 11th 2009 at 11:11am
fishy
2623 posts
Posted 2009-08-11 11:11am
fishy
member
2623 posts 1476 snarkmarks Registered: Sep 7th 2003 Location: glasgow
If even the smallest piece of displacement is visible to the player, like just a small corner sticking through a skybrush, then the whole displacement will get rendered. However, if the engine says that that small corner is not visible to the player anymore, then the whole displacement is ignored.
This will likely be the reason for your displacement appearing/disappearing when you look at it from different angles.
Re: displacement disappears at certain angle? Posted by Kampy on Tue Aug 11th 2009 at 6:32pm
Kampy
304 posts
Posted 2009-08-11 6:32pm
Kampy
member
304 posts 716 snarkmarks Registered: Dec 30th 2003 Occupation: student Location: Germany
nice! thanks!