Notices

Understanding Buildcubemaps  Thread Tools Reply
Old 07-01-2008, 08:32 PM   #1
bob+M|M+
L4: Senior Member
 
bob+M|M+'s Avatar
 
bob+M|M+ is offline
Posts: 335
Thanks: 228
Thanked: 178

Default Understanding Buildcubemaps


Is the proper way to build cubemaps? What do all these things mean? Thanks in advance!

mat_specular 0
buildcubemaps
mat_hdr_level 0
map "mapname"
buildcubemaps
mat_hdr_level 2
map "mapname"
mat_specular 1
 
Reply With Quote
Advertisement
 
Advertisement
Advertisement Sponsored links

Old 07-01-2008, 08:36 PM   #2
YM
LVL100 YM
 
YM's Avatar
 
YM is offline
Posts: 6,116
Thanks: 1,021
Thanked: 3,724

Default Understanding Buildcubemaps


mat_specular 0 turns off all reflections, so when you build the cubemaps you don;t get pink in them.
mat_hdr_level changes the HDR setting, 0 is off and 2 is on full.

Propper method:
-load the map
-mat_specular 0
-buildcubemaps
-disconnect
-mat_hdr_level 0
-map <mapname>
-buildcubemaps
-disconnect
-mat_specular 1
-mat_hdr_level 2
-relooad map and enjoy

__________________
Online Portfolio
My Blog
Twitter
 
Reply With Quote
Old 07-01-2008, 09:00 PM   #3
bob+M|M+
L4: Senior Member
 
bob+M|M+'s Avatar
 
bob+M|M+ is offline
Posts: 335
Thanks: 228
Thanked: 178

Default Understanding Buildcubemaps


Just the man I was looking for. Thanks Youme. =D
 
Reply With Quote
Old 07-02-2008, 02:46 AM   #4
Open Blade
L5: Alleged Expert
 
Open Blade's Avatar
 
Open Blade is offline
Posts: 438
Thanks: 2
Thanked: 34

Default Understanding Buildcubemaps


Wow, I have never done this before. Guess I should look into this more. So you're saying when you build the cubemaps while in game as you stated above, those settings are saved into the map file so when you upload it to server, it's ready to roll?

I saw this at the valve site. What is it and is this step necessary also?

Note: For multiplayer maps, you may need to enable cheats (sv_cheats 1) before running the buildcubemaps command.
 
Last edited by Open Blade; 07-02-2008 at 02:54 AM.
Reply With Quote
Old 07-02-2008, 09:18 AM   #5
Sgt Frag
Collector of Juju
 
Sgt Frag is offline
Posts: 1,430
Thanks: 124
Thanked: 292

Default Understanding Buildcubemaps


Well, when I just did my cubemaps I got a console error saying
"cannot save multiplayer games"
But they still worked.
 
Reply With Quote
The Following User Says Thank You to Sgt Frag For This Useful Post:
Old 07-02-2008, 07:31 PM   #6
bob+M|M+
L4: Senior Member
 
bob+M|M+'s Avatar
 
bob+M|M+ is offline
Posts: 335
Thanks: 228
Thanked: 178

Default Understanding Buildcubemaps


I've heard some people suggest using sv_lan 1 and sv_cheats 1 preceding everything, but it doesn't make a difference for me.
 
Reply With Quote
Old 07-02-2008, 07:43 PM   #7
YM
LVL100 YM
 
YM's Avatar
 
YM is offline
Posts: 6,116
Thanks: 1,021
Thanked: 3,724

Default Understanding Buildcubemaps


I have sv_cheats 1 set by default when tf2 runs from the SDK but I've never had problems when I run it normally and run buildcubemaps.

__________________
Online Portfolio
My Blog
Twitter
 
Reply With Quote
Old 10-20-2008, 09:50 PM   #8
eerieone
L7: Guru
 
eerieone's Avatar
 
eerieone is offline
Posts: 998
Thanks: 697
Thanked: 572

Default Understanding Buildcubemaps


okay, i´m going nuts here with my cubemaps:
tried several methods, none working for me
i enable sv_cheats as soon as the map starts up
the "mat_hdr_level" gives me the line "Can´t save multiplayer games"

nineaxis:
mat_specular 0
buildcubemaps
mat_hdr_level 0 (to go to LDR)
map mapname (to reload map)
buildcubemaps
mat_hdr_level 2 (to go back to HDR)
map mapname (to reload map)
mat_specular 1

juices:
mat_specular 0
sv_Cheats 1
buildcubemaps
map (yourmapname)
mat_specular 1

youme´s #1:
mat_specular 0,
buildcubemaps,
disconnect,
mat_hdr_level 0,
map <map_name>,
buildcubemaps,
disconnect,
mat_hdr_level 2,
mat_specular 1

youme´s #2:
-load the map
-mat_specular 0
-buildcubemaps
-disconnect
-mat_hdr_level 0
-map <mapname>
-buildcubemaps
-disconnect
-mat_specular 1
-mat_hdr_level 2
-reload map and enjoy
 
Reply With Quote
Old 10-20-2008, 10:46 PM   #9
toutfou
L3: Junior Member
 
toutfou is offline
Posts: 136
Thanks: 16
Thanked: 14

Default Understanding Buildcubemaps


sv_cheats 1 is meant to allow the game to overwrite the bsp (otherwise it's read only and the cubemaps wont save). But given reports of other people not having to do this, it sounds a bit strange.

The only things I can suggest are:

1) Go to the BSP file in explorer and check its properties, manually make sure that 'read only' isn't checked. Also do this in game if necessary.

2) Enable sv_cheats before loading the map - it may not be removing the read only flag if it's enabled after the map has loaded.
 
Reply With Quote
Old 10-21-2008, 12:04 AM   #10
Cameron:D
L4: Senior Member
 
Cameron:D is offline
Posts: 348
Thanks: 155
Thanked: 138

Default Understanding Buildcubemaps


You need to load a different map, then your map again. I've found.
 
Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Advertisement

Reply  

Previous Thread Next Thread
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -5. The time now is 12:49 AM.