skyboxes for dummies (draft)

Note: If you name your shader ‘the name of the default sky’ it will be on ALL sky1 (ir whtever its called) maps

 

“A skybox is loaded using either the “loadsky” console command”Jul 26 02:16:50

<OneManClan2> (https://quakewiki.org/wiki/Skybox_Support)Jul 26 02:17:12

<OneManClan2> …’loadsky’ (at the FTE console didnt do anything)Jul 26 02:18:39

<OneManClan2> ah ezquakwe recognises itJul 26 02:27:02 <OneManClan2> ok i got a skybox, 6 pics, 1024×1024, called grimmnight_Jul 26 02:27:45

<OneManClan2> “loadsky C:\Quake\fortress\textures\city_sky\grimmnight” no goJul 26 02:27:59 <Spoike1> r_skybox cvar. meaning you don’t have to reuse it every single map.Jul 26 02:28:41 <Spoike1> usually set on a per-map basis via the ‘_sky’ worldspawn keyJul 26 02:29:41

<OneManClan2> ahhJul 26 02:30:55

<OneManClan2> ok i tried “r_skybox fortress\textures\city_sky\grimnight” and…. some interesting things happenedJul 26 02:31:10 <Spoike1> it bitched about paths?Jul 26 02:31:29

<OneManClan2> well i tried the absolute path first and it bitched and moanedJul 26 02:31:37

<OneManClan2> but then i did the above ^ and it loadedJul 26 02:31:55 <OneManClan2> it replaced the sky texture with the checkerboardJul 26 02:32:26 <Spoike1> it compiles! ship it!Jul 26 02:32:43

<OneManClan2> and i learned that to make this work (ie w an ocean), means i need to have NO WALLSJul 26 02:33:16

<OneManClan2> gonne recompile w sky textures all aroundJul 26 02:36:09

<OneManClan2> bad news: it dodnt load the sky textureJul 26 02:36:17

<OneManClan2> good news: the world now seems MASSIVEJul 26 02:36:29

<OneManClan2> it just the checkerboard looks REALLY FAR AWAYJul 26 02:36:34

<OneManClan2> it = ieJul 26 02:37:48 <OneManClan2> can i just change it from the console?Jul 26 02:38:39 <OneManClan2> also can it be loaded from its current location?Jul 26 02:39:30 <OneManClan2> i didnt put it there, my quake must have put it there automatically (ie i didnt make the skybox)Jul 26 02:46:36 <OneManClan2> ]r_skybox textures\city_sky\grimnightJul 26 02:47:07 <OneManClan2> is the path/syntax ‘ok’?Jul 26 02:49:28 <OneManClan2> .. maybe the skybox isnt quake compatible .. maybe i dled it years ago and manually ‘just put it there’?Jul 26 02:49:40 * OneManClan2 googles quake skyboxJul 26 02:53:43 <OneManClan2> this guys (Q2) says the skyboxes have to be in a certain directory( http://tastyspleen.net/~panjoo/rust/tutorials/3/3.html)Jul 26 02:54:14 <OneManClan2> he also says “each image must be 256×256 pixels and there must be 2 seperate sets of images”..Jul 26 02:54:20 <OneManClan2> … “must”Jul 26 02:54:37 <OneManClan2> does anyone have a (working) Quake skybox i can test?Jul 26 03:00:08 <username12565> they should go to gfx/env/Jul 26 03:00:46 <username12565> ScunthorpeJul 26 03:00:49 <username12565> err lolJul 26 03:00:53 <username12565> https://www.quaddicted.com/reviews/ad_v1_50final.htmlJul 26 03:02:45 <OneManClan2> “r_skybox C:\Quake\fortress\gfx\env\grimmnight”Jul 26 03:02:51 <OneManClan2> no goJul 26 03:03:18 <username12565> r_skybox grimnightJul 26 03:03:48 <OneManClan2> no goJul 26 03:04:06 <OneManClan2> when i type:      r_skybox “”Jul 26 03:04:19 <OneManClan2> it reverts, so i assujme i dotn need to hit vid_refresh every timeJul 26 03:04:41 <OneManClan2> maybe these skyboxes arent quake compatobleJul 26 03:05:00 <OneManClan2> gonna quiclly make some BS ones w the right domensionsJul 26 03:05:09 <username12565> you need to put the grimnight files into quake/yourmod/gfx/env/Jul 26 03:05:21 <username12565> and dont vid_refresh!Jul 26 03:07:45 <username12565> err, why “r_skybox”? isnt it just “sky” or “loadsky”? Spoike1Jul 26 03:08:00 <OneManClan2> YESSSJul 26 03:08:12 <OneManClan2> i resized them from 1024 to 256 and they loadedJul 26 03:08:19 <username12565> waaatJul 26 03:09:44 <username12565> zero problems with grimm at 1024 hereJul 26 03:12:02 <OneManClan2> ah u have the same skybox?Jul 26 03:12:09 <OneManClan2> hmJul 26 03:15:53 <OneManClan2> wtfJul 26 03:16:07 * Disconnected (Connection reset by peer)**** ENDING LOGGING AT Wed Jul 26 03:16:07 2017
**** BEGIN LOGGING AT Wed Jul 26 03:16:39 2017
Jul 26 03:16:39 * Now talking on #qcJul 26 03:16:39 * Topic for #qc is: Quixotic Caracole – https://www.insideqc.com – https://www.facebook.com/pages/Quake/8723859970 – https://quakewiki.org – https://qexpo2016.com/ – https://www.quaddicted.com/ – There are plenty of places to be a dick on the internet, #qc isn’t one of them. Thanks. :DJul 26 03:16:39 * Topic for #qc set by Soopa!~Emilia@50-193-192-106-static.hfc.comcastbusiness.net (Tue Jan 10 03:56:44 2017)Jul 26 03:17:09 <OneManClan3> “r_skybox grimmnight” is working nowJul 26 03:17:09 * #qc :Cannot send to channelJul 26 03:17:12 * Caleb gives voice to OneManClan3Jul 26 03:17:55 <OneManClan3> oh ffsJul 26 03:18:04 <OneManClan3> i was typing in grimnightJul 26 03:18:09 <OneManClan3> !Jul 26 03:18:28 <OneManClan3> ots grimmnightJul 26 03:18:34 <OneManClan3> ots *grimmnight*Jul 26 03:18:42 * OneManClan2 has quit (Ping timeout: 180 seconds)Jul 26 03:18:42 <OneManClan3> ugJul 26 03:19:00 <OneManClan3> anyway, it looks FUCKING spectacular!Jul 26 03:20:14 <OneManClan3> amazingJul 26 03:20:44 <OneManClan3> and suprisingly the 50% version doesnt look any differentJul 26 03:20:53 <Spoike1> username12565: the great thing about standards is that there are so many to choose from. I choose r_skybox.Jul 26 03:26:37 <OneManClan3> ok, and this also works: “r_skybox textures/city_sky/grimmnight”Jul 26 03:27:32 <OneManClan3> hm.. the sky still looks ‘lowres’ eyJul 26 03:27:45 <OneManClan3> ie even the 1024×1024 oneJul 26 03:27:51 <OneManClan3> artifactsJul 26 03:27:59 <Spoike1> username12565: also: “alias sky r_skybox\n”, although its not quite the same.Jul 26 03:30:54 <OneManClan3> does this seem ‘grainy’ to you guys: https://www.flickr.com/photos/60268498@N06/36120031466/Jul 26 03:31:13 <OneManClan3> theres these circular shapes in the skyJul 26 03:32:11 <OneManClan3> the crosshair isin the centre of a dark ‘circle’Jul 26 03:32:32 <Spoike1> he says linking a jpg…Jul 26 03:32:58 <Spoike1> sRGBJul 26 03:33:06 <OneManClan3> its a png?Jul 26 03:33:07 <username12565> gamma 1?Jul 26 03:33:17 <Spoike1> or in other words, if you’ve got gamma != then expend uglynessJul 26 03:33:22 <OneManClan3> straight from FTE 1200x1600Jul 26 03:33:26 <username12565> quake often has ugly banding everywhereJul 26 03:33:40 <Spoike1> OneManClan3: vid_srgb 1Jul 26 03:34:20 <username12565> :OJul 26 03:34:21 <OneManClan3> gamma is 1Jul 26 03:35:09 <Spoike1> or possibly 2, if I compensated for that already. 1 is effectivly gamma 0.45 (quake is backwards, its really about 2.2 as far as everyone else is concernedJul 26 03:36:34 <OneManClan3> ive tried vid_srgb 1-5, cant see a diffJul 26 03:36:46 <OneManClan3> video presets -> niceJul 26 03:37:04 <OneManClan3> ahhhJul 26 03:37:14 <OneManClan3> color depth was 16Jul 26 03:37:24 <OneManClan3> (damn i thought i set it to 32 AND saved!)Jul 26 03:37:24 <username12565> looooolJul 26 03:37:25 <Spoike1> why? :sJul 26 03:37:36 <Spoike1> your gpu even still supports 16bpp colour?!?Jul 26 03:37:54 <username12565> lol mine tooJul 26 03:37:55 <username12565> by defaultJul 26 03:37:58 * username12565 slaps Spoike1 Jul 26 03:38:17 <username12565> menu is super dark with s_rgb 1 an dgamma 1.55Jul 26 03:38:43 <OneManClan3> ok vid_srgb makesa HUGE difference nowJul 26 03:39:19 <OneManClan3> brightness wise, but those dark spots in the sky are still thereJul 26 03:39:44 <OneManClan3> maybe im being too fussy

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>