Tyrutils
#14866 posted by ericw on 2015/03/08 19:54:45
will do the trick for extracting a wad from a bsp:
"bsputils --extract-textures e1m1.bsp"
(from http://disenchant.net/utils/ )
for other things, I just use wine for OS X (http://winebottler.kronenberg.org/)
Brilliant
#14867 posted by starbuck on 2015/03/08 21:02:22
many thanks ericw, just what I needed
Advanced BSP Resources?
#14868 posted by killpixel on 2015/03/16 23:55:50
Anyone know of some particularly useful/interesting/advanced/silly/stupid bsp tuts?
domes, concave semi-cirles, anything not exclusively right angles, rules-of-thumb for unusual multi-faced polygons, etc...
I can already hear the cacophonous chant "just use meshes!"
but yeah, bsp stuff plz :)
Have You Seen The Czg Circles Tut?
#14869 posted by RickyT33 on 2015/03/16 23:57:10
I Have Not...
#14870 posted by killpixel on 2015/03/17 00:02:32
...but looking now
Seconding The Czg Tut
Very valuable resource for beginners; I always refer to it when I map ... err, I mean when I incompetently mess around with TB. (Not sure how useful it would be for you, KillPixel, seeing as the finished parts of kpcn2014 are better than anything I could hope to complete in this lifetime.)
But for other newbies who may stumble across this thread and have trouble finding the guide in question:
http://www.quaketerminus.com/hosted/happymaps/curv_tut.htm
Meshes Are The Lazy Way Out!
#14872 posted by ijed on 2015/03/17 13:17:40
CZG's tut is nice but making those pipes in TB isn't too easy IMO, I end up doing a lot of vertex work instead.
#14874 posted by necros on 2015/03/17 14:53:41
yeah, the tutorial is based on having a specific skewing mode in WC which surprisingly does not get replicated in a lot of other editors.
specifically, this skewing mode will rescale all brushes in the selection.
I expect you could get similar results by rotating and clipping maybe. I don't tend to do pipes too often.
Hrm...
#14876 posted by killpixel on 2015/03/18 04:08:11
@total_newbie - Thanks for the link, and I have seen that tut before. Also, that's very flattering (really), but I have difficulty believing you couldn't do something just as nifty, or even more so ;)
Anyway, ANY bsp tuts would be nice at this point. I feel like maybe I missed some fundamental technique or understanding that could be making my life a lot easier...
My mind is not very mathematically oriented and texture projection is kind of a headache for me. I'd like some formula to use when figuring texture size for angled surfaces. I think for a 45 degree angle the texture sure be like 33% bigger and fitted so there is no visible 'stretching'.
That ease of vert manipulation in that tut doesn't seem possible in radiant, or is it?
#14877 posted by JneeraZ on 2015/03/18 11:27:17
Just use Jackhammer or something that has automatic texture alignment.
Just Use TB
it's the best editor out there. In terms of alignment I rough out most of my geometry whilst having texture lock OFF. That way your textures are aligned by TB default (and faces will be cut properly). The only time you will be doing a lot of texture aligning is when you add in details, and most of this work can be shortened by building prefabs.
I have prefabs for pretty much all texture themes now, building maps is fairly rudimentary.
It's Not An Editor Issue
#14879 posted by anonymous user on 2015/03/18 16:54:02
I'm talking about texture 'stretching' on angled surfaces as a result of texture projection. AFAIK this is something an editor can't 'fix'.
I'm pretty sure the only way around it is by making a texture a certain percent longer/wider, that percentage is determined by the angle of the surface. Maybe I'm wrong, was hoping someone knew more about this and could clearify.
Jackhammer Can Project To Face
#14880 posted by Kinn on 2015/03/18 16:58:21
if you don't wanna use jackhammer you can figure out the stretch ratios with some simple trig.
#14881 posted by JneeraZ on 2015/03/18 17:00:28
You can also use the face editing mode in Jackhammer to align one face to the edge of another. It compensates for skewing and angles and all that jazz so it looks crisp and perfect.
Oh, Cool
#14882 posted by killpixel on 2015/03/18 17:02:29
i'll check out jackhammer
#14883 posted by necros on 2015/03/19 01:14:30
or you could just reduce horizontal scaling.
on 45 degree angles, I usually reduce to 0.75 which seems to look right. There's probably a mathy way to get the exact number, but I just tend to wing stuff like that.
Maths!
#14884 posted by Preach on 2015/03/19 10:41:27
The correct value can be computed using pythagoras' theorem - on a 1:1 ratio triangle 1� + 1� = 2, so the 45 degree side is longer by a factor of sqrt(2).
1/sqrt(2) = 0.707...
That gives you more accurate matching of pixel density, but 0.75 is probably preferable as it will tile better: 3 texture widths on the orthogonal axes will make exactly 4 on the diagonal.
One more worked example: on a 1:2 slope we get 1� + 2� = 5, so the side is sqrt(5) times longer than the shortest side. However, we need to find the ratio of the longer side to this value, because orthogonal projection starts on the longest side.
2/sqrt(5) = 0.894
0.875 is an interesting choice of approximation here, 7 tiling-widths of the texture on the long axis would give exactly 8 repetitions on the slope. Also 0.9 is an option, where 9 tiling-widths gets you 10 repetitions, and standard texture scale isn't a bad approximation either..
#14885 posted by JneeraZ on 2015/03/19 10:59:42
Or ALT+R_CLICK in Jackhammer. :P
#14886 posted by hypnos on 2015/03/19 18:20:52
Thanks for the maths Preach! I just wing it but that takes so much time.
So used to radiant now, WC editors seem so clunky in comparison.
#14887 posted by metlslime on 2015/03/19 19:58:35
yeah, ~0.71 is correct but 0.75 is what i use because if you do a standard 12-sided cylinder, the straight sides are 4:0 and the angled sides are 3:1, that "3" means a 0.75 scale will fit perfectly.
#14888 posted by - on 2015/03/19 20:02:26
Use the 'fit' tool in Radiant. I've only recently started using it (with my Q3 map), and I've learned to really love it.
Takes a little getting used to, and you still have to input the correct rotation (Arctangent of Rise/Run, ATAN(-1/2) = -26.5... here), but it takes care of the scaling for you!
http://scampie.net/etc/angledtexture.png
Took me 30 seconds to make and align the texture with the fit tool.
I do wish that TB was easier to align textures for. Even in TB2 it's fiddly. Should have the ability to align all sides, say how many times the texture should tile/repeat etc.
Ah
#14890 posted by metlslime on 2015/03/19 20:21:15
okay, i was a bit confused, let me clarify
1. a standard 12-sided cylinder would have straight sides of 4:0 and angled sides of 4:2, so you don't need any scaling for it to look good.
2. the standard 24-sided cylinder has sides of 4:0, 4:1, 4:2, 3:3. I generally only bother adjusting scale with the 3:3 one and i would use 0.75 scale.
In both the above cases, the goal is not mathematical correctness but a) avoiding obvious stretching and b) getting "panel" type textures to perfectly fit the face. Because of the orthographic projection, the 4:0, 4:1, and 4:2 sides all get the same projected width.
For 45-degree angled faces not part of a cylinder (and with flat "material" textures), 0.71 or 0.70 is what i generally use.
|