Re: use of cubemap
Posted by Liberal.Nyulism on
Mon Feb 21st 2005 at 2:03pm
67 posts
227 snarkmarks
Registered:
Jan 7th 2005
Occupation: exec
Location: USA
I can't quite figure this out:
I have a sewer with winding water in it. It's a series of long hallways. At each 90 degree bend in the hall, is a new water brush for that section of hallway. I have a cube map at one end of the hall.
When you're inside the sewer, the water surface tends to be too bright.
Should I place additional cubemaps to address brushes in each hallway?
(ie: what is the radius of effect of a cubemap?)
Thanks
Re: use of cubemap
Posted by $loth on
Mon Feb 21st 2005 at 2:51pm
$loth
member
2256 posts
292 snarkmarks
Registered:
Feb 27th 2004
Occupation: Student
Location: South England
You basically need one for every area, the cubemap AFAIK needs to see
all of the faces which the player can see so you can have many
cubermaps.
Re: use of cubemap
Posted by $loth on
Mon Feb 21st 2005 at 3:21pm
$loth
member
2256 posts
292 snarkmarks
Registered:
Feb 27th 2004
Occupation: Student
Location: South England
Look at the de_cbble vmf, it is used at player height and in every area.
Re: use of cubemap
Posted by Liberal.Nyulism on
Mon Feb 21st 2005 at 6:37pm
67 posts
227 snarkmarks
Registered:
Jan 7th 2005
Occupation: exec
Location: USA
Thank you.
So, in this long, windy set of hallways, each with it's own water brush, it sounds like I should get have one cubemap per hall segment.
I'll try it and post the results.
Re: use of cubemap
Posted by DrGlass on
Mon Feb 21st 2005 at 10:26pm
Posted
2005-02-21 10:26pm
DrGlass
member
1825 posts
632 snarkmarks
Registered:
Dec 12th 2004
Occupation: 2D/3D digital artist
Location: USA
placing the cube map at player hieght dosn't do much for the texture,
it is more for the gun model. Like lets say there is a light 256
units above the ground, if you were to place a cube map above the light
then as the player walked in it would look like his gun had a light
under it.
There is a great command that will replace your gun model with three
shperes that test shaders, any one know what that command is?
Re: use of cubemap
Posted by Myrk- on
Mon Feb 21st 2005 at 10:28pm
Posted
2005-02-21 10:28pm
Myrk-
member
2299 posts
604 snarkmarks
Registered:
Feb 12th 2002
Occupation: CAD & Graphics Technician
Location: Plymouth, UK
Cubemaps are such an ancient tool, I dunno why they encoded them into HL2, they could have done something decent- i.e. 5 year old technology from Unreal Tournament or U2.
Re: use of cubemap
Posted by DrGlass on
Tue Feb 22nd 2005 at 11:36am
Posted
2005-02-22 11:36am
DrGlass
member
1825 posts
632 snarkmarks
Registered:
Dec 12th 2004
Occupation: 2D/3D digital artist
Location: USA
blush hehe that will teach me.
Re: use of cubemap
Posted by $loth on
Tue Feb 22nd 2005 at 11:38am
Posted
2005-02-22 11:38am
$loth
member
2256 posts
292 snarkmarks
Registered:
Feb 27th 2004
Occupation: Student
Location: South England
I don't think that impulse 81 works in CSS, I tried yesterday and nothing happened.
Re: use of cubemap
Posted by Myrk- on
Tue Feb 22nd 2005 at 12:07pm
Posted
2005-02-22 12:07pm
Myrk-
member
2299 posts
604 snarkmarks
Registered:
Feb 12th 2002
Occupation: CAD & Graphics Technician
Location: Plymouth, UK
In sv_lan 1 mode with cheats enabled?
Re: use of cubemap
Posted by $loth on
Tue Feb 22nd 2005 at 12:26pm
Posted
2005-02-22 12:26pm
$loth
member
2256 posts
292 snarkmarks
Registered:
Feb 27th 2004
Occupation: Student
Location: South England
I had sv_cheats set to one, but not sv_lan, will try that when I get back.