cubemaps

cubemaps

Re: cubemaps Posted by rs6 on Fri Jan 28th 2005 at 2:56am
rs6
640 posts
Posted 2005-01-28 2:56am
rs6
member
640 posts 94 snarkmarks Registered: Dec 31st 2004 Occupation: koledge Location: New Jersey, USA
I was looking at the sample maps included in the SDK and i noticed that the cubemaps don't have any value in the "brush faces" catergory. DO you need to select the brush faces for a cubemap or does it do it automatically. AS of now ive been giveng each cubemap brush faces assigned to it.
Re: cubemaps Posted by cloudsofthought on Fri Jan 28th 2005 at 3:27am
cloudsofthought
20 posts
Posted 2005-01-28 3:27am
20 posts 2 snarkmarks Registered: Dec 27th 2004 Location: USA
No, you don't have to select each face. The surface will use whichever cubemap is closest to it (and in its line of sight, I believe - may be wrong on that), unless you select that brush face in another cubemap. That's the point of the "Brush Face" property - to specify that you don't want a surface to use its closest cubemap, but the cubemap you're specifying it from. It can be useful for windows and such, just to be sure the surface uses the correct cubemap (like if you have a lot of cube maps in the same area).
Re: cubemaps Posted by Yak_Fighter on Fri Jan 28th 2005 at 3:56am
Yak_Fighter
1832 posts
Posted 2005-01-28 3:56am
1832 posts 742 snarkmarks Registered: Dec 30th 2001 Occupation: College Student/Slacker Location: Indianapolis, IN
If you have a large reflective area (say the floor of an L shaped hallway) that has multiple cubemaps hitting it normally you'll see the reflections change at the edge of the faces, even though the texture didn't change. It's better to have one cubemap in the middle that has all those brush faces assigned to it, as that way you get a continuous reflection for the whole area.
Re: cubemaps Posted by BlisTer on Fri Jan 28th 2005 at 1:46pm
BlisTer
801 posts
Posted 2005-01-28 1:46pm
BlisTer
member
801 posts 1304 snarkmarks Registered: Jun 10th 2004 Location: Belgium
try looking at the source of dm_lockdown, they use the brush faces assignment for the cubemaps in that one. I havent double-checked why they do use it there. but if you find it, feel free to post your thoughts, hence affirming yes or no the suggested answers.
Re: cubemaps Posted by rs6 on Fri Jan 28th 2005 at 11:10pm
rs6
640 posts
Posted 2005-01-28 11:10pm
rs6
member
640 posts 94 snarkmarks Registered: Dec 31st 2004 Occupation: koledge Location: New Jersey, USA
i have been manully assigning each cubemap with brush faces.

From reading the above suggested answers, it seems that for water, and reflective surfaces you should assign brush faces, but for lighting purposes you don't have to.
Re: cubemaps Posted by Yak_Fighter on Fri Jan 28th 2005 at 11:42pm
Yak_Fighter
1832 posts
Posted 2005-01-28 11:42pm
1832 posts 742 snarkmarks Registered: Dec 30th 2001 Occupation: College Student/Slacker Location: Indianapolis, IN
Not exactly. You don't have to assign the cubemaps to all reflective textures, especially as that's a ton of frivolous work for little payoff. You should place them normally without assigning them and just carefully look ingame if you can see little visual errors and popping and such as you run around. If you can't, then you're set. If you notice that you've got a reflective room where all but like two brushes use the same cubemap and they look noticeably different, well then you should look into assigning brush faces cubemaps.
Re: cubemaps Posted by cloudsofthought on Sat Jan 29th 2005 at 3:37am
cloudsofthought
20 posts
Posted 2005-01-29 3:37am
20 posts 2 snarkmarks Registered: Dec 27th 2004 Location: USA
I concur with Yak.

And mark something correct please.