Jump to content
The Dark Mod Forums

My barberpole image is different between DR and DM


BlackMagic

Recommended Posts

in DarkRadiant my barber pole looks like this (using DX5 DDS image as a skin); but in DarkMod the stripes are sloped only a smidgen at top of pole and then vertical the rest of the way down. What am I missing? I can't figure this out

 

Clipboard01.jpg

barberpole.dds

Edited by BlackMagic
fixed the problem
Link to comment
Share on other sites

I think we'd need to see the mesh and the UV map as well, in order to properly diagnose this issue. But it's quite likely it is a clamping issue, as LDAsh suggests. I wouldn't be surprised if you have "clamp" in your MTR file.

Note that if your texture doesn't use an alpha channel (and it seems this image doesn't), DXT5 is just a waste of space compared to DXT1.

Also this image doesn't tile properly and won't look good as a texture even if you solve the clamping issue.

image.png.edcfb3d93573c52d02f6fd26f2c02b96.png

Link to comment
Share on other sites

fixed it -FINALLY. Turns out all I had to do was change the dds file name from barberpole to barberpole_tiling_1d and now it works. Have it attached to a func rotate so it just gives me giggles to se it turning around like the real thing.

here is the mtr content

textures/darkmod/custom/barberpole
{
    glass
    noselfshadow

    qer_editorimage     textures/darkmod/signs/barberpole_ed
       diffusemap          models/darkmod/signs/barberpole_tiling_1d
}

And I have attached a prefab if you want to use/play with. I have this outside the doctors office, since the barber was often the surgeon in the old west.

barberpole.pfbx

Link to comment
Share on other sites

Yah, dx5 was what I had it, thinking I might need transparency. Will change before mission release. (So many things to do! geeez) OH, I couldn't get a decent prism using DR so I put a skin on an existing pipe, then fiddled about with other pipe bits and topped it off with a globe. The gold may be a bit much. Should I change it to a translucent whit?

Edited by BlackMagic
more info
Link to comment
Share on other sites

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

    • nbohr1more

      Was checking out old translation packs and decided to fire up TDM 1.07. Rightful Property with sub-20 FPS areas yay! ( same areas run at 180FPS with cranked eye candy on 2.12 )
      · 2 replies
    • taffernicus

      i am so euphoric to see new FMs keep coming out and I am keen to try it out in my leisure time, then suddenly my PC is spouting a couple of S.M.A.R.T errors...
      tbf i cannot afford myself to miss my network emulator image file&progress, important ebooks, hyper-v checkpoint & hyper-v export and the precious thief & TDM gamesaves. Don't fall yourself into & lay your hands on crappy SSD
       
      · 5 replies
    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 7 replies
    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
×
×
  • Create New...