 Texture Questions
#15380 posted by total_newbie [188.103.163.209] on 2015/09/10 23:49:10
1) What is the correct file format for textures? E.g. let's say I want to modify an existing texture. I know how to use TexMex to export it from a texture wad, and how to add it back in, but I'm not sure what file format I should choose when doing so (I am guessing the answer is not jpg).
2) Would Gimp be a suitable programme for modifying/creating textures?
3) I think I understand the theory behind using skip textures, but why is it possible to see skip textures (as in, see a brush face with "skip" written all over it) in some maps? Shouldn't those brush faces be invisible? An example would be Day of the Lords: if you noclip through it, there are moments where you can see "skip" written on brush faces.
#15381 posted by FifthElephant [82.24.73.240] on 2015/09/10 23:51:29
Correct file format is .pcx file
I'm sure gimp would work ok. I use paintshop pro 7.
You shouldn't be able to see skip textures, must be one of those weird quirks of the game if you can see them by noclipping through stuff.
#15382 posted by mfx [77.180.2.13] on 2015/09/10 23:56:48
http://www.celephais.net/stuff/texturefaq.htm
The skip faces you see are accidental leftovers i'd say, todays compilers "skip" them ahead of the final bsp compile, were the old tools just draw them and had to be removed with a special compile switch and/or tool.
Gimp is fine, dont expect it to work wonders tho..
 Thanks For The Quick Answers, Fifth And Mfx
#15383 posted by total_newbie [188.103.163.209] on 2015/09/11 00:13:28
Thanks for that link; I was actually reading through that before posting to see if it would answer any of my questions (I had a look here http://quakewiki.org/wiki/Textures too).
So if I shouldn't expect too much from Gimp, what is the better alternative? (Just curious; I wouldn't be able to afford any non-free software anyway)
#15384 posted by Rick [75.65.153.192] on 2015/09/11 01:01:18
I've always found Gimp and Photoshop too much of a pain to use for Quake textures. Their world is 24 bit.
I have an old copy of PSP 4.0 (still runs on Windows 7) that I use for making and modifying Quake textures. It works with 256 color palette graphics pretty well. I've always used the .bmp format.
I tried a newer version of PSP (x5), but it was way overly complicated for most of what I do, so I deleted it.
 Rick
#15385 posted by adib [177.159.41.143] on 2015/09/11 04:14:06
What kind of pain you have using Photoshop to make Quake textures? You can switch between RGB and "indexed" color modes, I have the Quake palette with and without fullbright lines... Want help?
 +1 For Photoshop
#15386 posted by killpixel [98.211.184.167] on 2015/09/11 04:19:42
It's worth putting time into to learn imo. There are good reasons it's an industry standard (and not so goon ones).
Of course, it can be pretty cost prohibitive, which is one of the reasons I should eat my words and learn GIMP.
#15387 posted by Lunaran [24.180.199.42] on 2015/09/11 05:48:14
Photoshop is great for Quake textures. Make heavy use of the 'gradient map' layer, and make yourself a set of gradients that match the rows of the Quake palette to use with them.
 For Index Colors
#15388 posted by PyroGXPilot [71.89.205.32] on 2015/09/11 06:17:36
I use LVPro
#15389 posted by Rick [75.65.153.192] on 2015/09/11 10:45:48
It's just a personal preference thing, but I find these modern graphics/photo editing programs to have have an overly complex and cluttered up interface for something as simple as editing a bitmap.
I do have a copy of Gimp in my portable folder, some day I may give it another look.
 Wally?
#15390 posted by Spirit [80.187.99.112] on 2015/09/11 12:57:49
#15391 posted by JneeraZ [174.109.106.46] on 2015/09/11 13:05:43
I've never thought of the Photoshop interface as cluttered. If you use hotkeys to flip between tools and create new layers when you need them, the interface is basically negligible.
 Jpg Is The Worst Fucking Format For Anything Ever
#15392 posted by ijed [200.73.66.2] on 2015/09/11 14:34:37
Each time you save something in it, the quality downgrades.
 +1 For Wally
#15393 posted by Orl [73.10.210.162] on 2015/09/11 14:48:24
As Spirit said. It's nowhere near as feature rich as Photoshop or Gimp, but its tools are basic enough for anyone to create and or edit some really good textures. That and it was made for the sole purpose of creating Quake textures, so that should be a plus.
#15394 posted by adib [177.63.51.125] on 2015/09/11 15:09:58
I use Wally just to handle wads.
 It's To Bad...
#15395 posted by damage_inc [24.144.116.174] on 2015/09/11 15:24:42
That editors and engines haven't moved on from the ".wad" file format! For mappers that is. A few older external programs could be eliminated along with it.
#15396 posted by Kinn [31.54.196.96] on 2015/09/11 15:52:05
That editors and engines haven't moved on from the ".wad" file format! For mappers that is. A few older external programs could be eliminated along with it.
Reading individual 8-bit images from a folder, instead of .wad files, could be neat (if you happen to use the one compiler and one editor that might actually implement it).
#15397 posted by adib [186.228.0.26] on 2015/09/11 16:03:53
Most new GL engines support "external" textures, 24 bit plain files on the filesystem. Quakespasm, Fitzquake, Darkplaces do. They override textures inside BSP files and have to be placed at <mod folder>/textures. They can even be used on a single level if you place them at <mod folder>/textures/<map name>
#15398 posted by adib [186.228.0.26] on 2015/09/11 16:05:49
... meaning you don't have to bother about Quake palette anymore if you don't care about backward compatibility.
 Kinn
#15399 posted by adib [200.217.4.26] on 2015/09/11 16:09:24
Sorry, you mean at development time. I believe QuArk works the way you want.
#15400 posted by Kinn [31.54.196.96] on 2015/09/11 16:12:00
Sorry, you mean at development time. I believe QuArk works the way you want.
If only the other 99% of QuArk worked the way I want.
 Agreed
#15401 posted by adib [179.103.245.205] on 2015/09/11 16:18:29
 Context!
#15402 posted by ijed [200.73.66.2] on 2015/09/11 17:29:42
If only the other 99% of QuArk worked
#15403 posted by JneeraZ [174.109.106.46] on 2015/09/11 17:35:08
What's the 1% that works ... the About Box?
#15404 posted by Kinn [31.54.196.96] on 2015/09/11 18:15:34
What's the 1% that works
The "X" button in the top-right corner of the workspace seems to function as intended. You probably don't need much else actually!
 I Forgot About Compiliers :(
#15405 posted by damage_inc [24.144.116.174] on 2015/09/11 18:20:44
I meant more specifically, an uncompressed archive format(.zip) with the same directory structure as .wad files. Then they could be manipulated by the OS natively. Obvious Ex: Q3A's .pk3 It was just a thought I had while reading the comments above my post.
 What About
#15406 posted by adib [200.217.4.26] on 2015/09/11 19:45:58
1- The editor can deal with plain file textures;
2- A little program that packs texture files into a wad, just to feed qbsp. The wad can be deleted afterwards;
3- The engine deals with plain file textures.
It would take changes in the editors we love, like Jackhammer and Trenchbroom and this new compile step before qbsp.
#15407 posted by Kinn [31.54.196.96] on 2015/09/11 19:52:20
If you have to make a wad anyway for bsp, what's the point of making the editor and engine read individual texture files?
 Oh And
#15408 posted by Kinn [31.54.196.96] on 2015/09/11 20:00:02
There's something else that individual texture files don't have: mipmaps. You probably want these.
 No, You Don't
#15409 posted by adib [186.228.0.26] on 2015/09/11 20:09:13
If you're using GL engines you don't need mipmaps, right?
If this wad is made automatically out of your sight during compile process, you don't have to know it even exists and you don't need Wally or TexMex.
#15410 posted by Kinn [31.54.196.96] on 2015/09/11 20:32:18
Personally I can only see the point of bypassing the .wad process if you are making your own textures and don't want to keep remaking a .wad every time you add/change/remove a texture. Having an editor and bsp compiler that works with image files directly, not wads, might be a small timesaver/convenience.
But...if you still have to run a tool to generate a .wad before you run bsp.exe, then what do you gain exactly? And again, I dunno why you'd need the engine to read the texture files separately when you are baking them into .bsp?
#15411 posted by adib [200.217.4.26] on 2015/09/11 20:51:21
You only have to add another command to your automated compiling batch.
I'm pretty sure you can't have a TGA alpha "fence" texture inside BSP. It has to be an external TGA file.
I can provide 24bit versions of my textures in plain files.
 Mipmaps
#15412 posted by metlslime [159.153.4.50] on 2015/09/11 21:55:58
in theory the GL engine could use the mipmaps from the bsp, but in practice most don't, they just recalculate the mipmaps at load time in 32-bit color (which probably gives a better result.)
#15413 posted by Spirit [92.196.33.234] on 2015/09/11 22:21:31
If it's really important to you, you could script it all with some commandline tools. Quakeforge for example has uptodate texture tools
 Natively 8 Bit Editor
#15414 posted by Preach [77.99.55.146] on 2015/09/12 17:44:50
While I can't actually claim I've ever produced anything useful from it, I have had a couple of tries pottering about with a graphics editor called Grafx2. It's designed to work with 8 bit (or fewer) palettes, so all the tools are focused on that kind of work. It has support for different gradients within your palette, and will dither them in a variety of ways. On the downside, it's originally a DOS tool and the interface is still pretty retro, but it's an interesting alternative to a classic photo editing tool.
 Pixel Pushing
#15415 posted by Kinn [31.54.196.96] on 2015/09/12 18:00:50
At work a couple of years ago, I designed and wrote a bespoke pixel-pushing tool in Unity, for making proper pixel-art 8-bit textures (that use a specific palette with defined gradients and whatnot).
Had some crazy features like painting relief maps, and then lighting them to get realistic highlights and shadows. That was probably a bit OTT, as I found the hand-drawn painterly stuff always had more charm.
A useful feature was the ability to paint on a tiled canvas. Really sucks that you can't do that in photoshop.
At some point I'd like to get permission to release it into the wild. It was PERFECT for quake textures, as I made double sure :}
 Kinn...
#15416 posted by generic [67.235.201.131] on 2015/09/12 19:05:56
You have my permission to release it. Thanks!
#15417 posted by Rick [75.65.153.192] on 2015/09/12 20:59:30
I think I mentioned finding that Grafx2 thing here a year or two ago. I've played around a bit with it, but never tried using it to actually make anything.
I mainly use it as an accessory to look at things such as which colors are actually used in a texture and how many pixels there are of each color used.
The interface is hard to get used to, but it does work.
 I'll Pester Sleepwalker
#15418 posted by FifthElephant [31.115.113.138] on 2015/09/12 21:15:12
To make a new art tool and call it TrenchBrush
 Fast Question
#15419 posted by madfox [84.84.178.104] on 2015/09/13 03:26:06
how do I give a static entity a damage exposure?
 Fast Answer
#15420 posted by necros [173.199.65.49] on 2015/09/13 04:31:26
you cannot, it is static!
 PaintBroom
#15421 posted by SleepwalkR [79.195.19.72] on 2015/09/13 08:20:39
 BrownStrokes
#15422 posted by Kinn [31.54.196.96] on 2015/09/13 10:05:51
 YES
#15423 posted by FifthElephant [82.24.73.240] on 2015/09/13 13:06:08
Go code!
 Thanks Everyone...
#15424 posted by total_newbie [188.103.163.209] on 2015/09/13 13:30:04
...for all the answers to my texture programme question way back in #15383. I guess the discussion has since taken on a life of its own, but I still wanted to say thanks. :)
 Slow Consideration
#15425 posted by madfox [84.84.178.104] on 2015/09/13 21:04:22
forget the static entity, let's say I want to give a place a damage function.
Would a door that's blocked someway, and made invissible be a manner?
 Trigger_hurt
#15426 posted by Lunaran [24.180.199.42] on 2015/09/14 02:41:39
the thing you want is a trigger_hurt
I think
 Leaks And Portals
#15427 posted by Ruin [166.170.5.94] on 2015/09/14 08:57:36
I'm currently working on a new map, and I keep getting a leak message. When I load the pts in Trenchbroom, the line squiggles all over the level, and is nearly impossible to find where the leak is coming from. I tried zeroing in on the coordinates that the compiler pops out, but of course, its just the player entity.
Also, I'm getting a lot if clipping warnings, but I'm not getting an outputted .por file.
Does anyone have advice for this?
Thanks.
Ruin
 Clipping
#15428 posted by Ruin [166.170.5.94] on 2015/09/14 09:01:53
Also, what causes clipping warnings? I'm guessing it's when two brushes intersect in the same space. Is this correct?
 More On Grafx2
#15429 posted by Preach [77.99.55.146] on 2015/09/14 12:18:40
Have played about making a tiling texture in grafx2. It does support this, but the interface and documentation is really hard to follow, so a quick guide:
Imagine we want to make a 64x64 tiling texture, but while we work on it we'd like to have a 2x2 array of our texture to see how it tiles. Start a new image in grafx2 and click on the screen size icon. In the box you can edit the dimensions of the texture to be 128x128 (the size of the 2x2 tiling of our desired texture). How to do this was certainly not as obvious to me as to the developers!
Next click on the FX icon, and click on Grid. Set the grid size to be 64x64, but turn off Snap. Now click FX again (confusingly the Grid icon will not appear active if you have turned off the snap feature, but it is working). Click tilemap and then close the FX box. Now you can draw on the texture and all four tiles are altered at once.
This is great until you want to edit a texture, where you need to do things slightly differently. Load the original texture and then resize the image to fit a 2x2 grid. But before you turn on the grid and the tilemap, you need to copy-paste the tile into the other four quadrants, or it won't work.
Why? Well, the program is a bit too clever for its own good. When you turn on the tilemap, it looks to see which grid squares are currently identical to one-another, and connects matching patterns of tile for simultaneous editing. This lets you paste an entire screen from Mario Bros, then edit all the bricks at once, then all the grounds at once etc. But when we have an existing texture and 3 surrounding empty tiles, the 3 empty tiles are tied together, but the actual texture is kept separate!
|