Jump to content
The Dark Mod Forums

Recommended Posts

Posted

I have a very long wall, and I would like to "fit" one texture on it vertically, but then just have the texture repeat at that scale horizontally. Is there a way to "fit" in only one direction? If not, I would like this feature :)

shadowdark50.gif keep50.gif
Posted

You can use a pattern brush: build your wall as normal. Then build a separate brush, aligned properly with the wall and texture it appropriately (e.g. it would be 128 on a side or whatever dimensions you want, aligned 1x1). Now just copy that alignment to the wall (MMB followed by ctrl-alt-MMB), and you'll have 1xn alignment.

post-58-1241703014_thumb.jpg

Posted

Or fit the texture 1 time vertically (any number Y times horizontally) and copy the scale value in the Surface Inspector from the vertical scale entry over the horizontal one.

Posted

Okay, I can see how either of those approached would work :)

 

(would be nice to have it direct though)

shadowdark50.gif keep50.gif
Posted
(would be nice to have it direct though)

Yeah, I know, but my DarkRadiant time is very limited right now. I'd like to do more algorithms like this with Python scripts, which can be developed in a much shorter time than C++ code, but the script support is not ready yet to create texture algorithms.

Posted
FTR, I use the pattern brush technique all the time for aligning patches to brushes, so it's actually a very useful thing.

 

Ah, that DOES sound very useful, should go into some wiki pages for people to learn this good technique!

shadowdark50.gif keep50.gif
Posted
I have a very long wall, and I would like to "fit" one texture on it vertically, but then just have the texture repeat at that scale horizontally. Is there a way to "fit" in only one direction? If not, I would like this feature :)

 

I don't get what your asking really. But cant you just use the fit ratios? (When you fit the default it 1 and 1 change to 1 and 2 or w/e)

Posted

but I don't know exactly how long the wall is or whatever. So maybe the wall is 12 tall but 328 or whatever long, I don't feel like doing the math to divide that, and have to adjust the wall length to be a multiple of 12, etc.

shadowdark50.gif keep50.gif

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • JackFarmer

      "The Year of the Rat." 
      😄

      Al Stewart must be proud of you!
      Happy testing!
      @MirceaKitsune
      · 1 reply
    • datiswous

      I posted about it before, but I think the default tdm logo video looks outdated. For a (i.m.o.) better looking version, you can download the pk4 attached to this post and plonk it in your tdm root folder. Every mission that starts with the tdm logo then starts with the better looking one. Try for example mission COS1 Pearls and Swine.
      tdm_logo_video.pk4
      · 2 replies
    • JackFarmer

      Kill the bots! (see the "Who is online" bar)
      · 3 replies
    • STiFU

      I finished DOOM - The Dark Ages the other day. It is a decent shooter, but not as great as its predecessors, especially because of the soundtrack.
      · 5 replies
    • JackFarmer

      What do you know about a 40 degree day?
      @demagogue
      · 4 replies
×
×
  • Create New...