Author Topic: Feature Request: Texture painting onto existing textures  (Read 1790 times)

sk89q

  • Global Moderator
  • Autococker
  • Posts: 1049
Feature Request: Texture painting onto existing textures
« on: December 25, 2008, 03:12:12 PM »
I don't see how this could be implemented any time soon because it would require that everything involved be changed (BSP, compilers, the engine). Plus, it would be more fitting if it involved a new map file format, but regardless...

It would be great if you could paint a texture onto another brush like it was decal. This would have the advantage of adding extra features to a surface (windows, etc.) without raising the already-precious polygon count. For example, for a building, you could construct the actual brushes for windows on the first floor and then paint the window textures for the upper floors. No one would notice this and maps would look fantastic. To do this now, you would have to create a new repeating texture, but this would result in greater file size usage for the map.

IronFist

  • Autococker
  • Posts: 1304
Re: Feature Request: Texture painting onto existing textures
« Reply #1 on: December 25, 2008, 05:02:29 PM »
I forgot how this is done, but isn't it already implemented? For example, ub_rooftop.


ViciouZ

  • Map Committee
  • Autococker
  • Posts: 2227
Re: Feature Request: Texture painting onto existing textures
« Reply #2 on: December 25, 2008, 05:42:09 PM »
Well, there's the one-face brush solution with a transparent texture, or you could use rscripts.

sk89q

  • Global Moderator
  • Autococker
  • Posts: 1049
Re: Feature Request: Texture painting onto existing textures
« Reply #3 on: December 26, 2008, 01:38:02 AM »
It's not easily doable.

Using a one-face brush is quite a pain, and it does add polygons (albeit not much).

And rscripts are very much a pain.

Garrett

  • Autococker
  • Posts: 1372
Re: Feature Request: Texture painting onto existing textures
« Reply #4 on: December 29, 2008, 01:27:53 PM »
I like the idea.  The work for implementing would involve a lot.  If this would work, I believe the development on bsp should be done by the community and the game code for the engine to be already implemented and released.  Jitspoe has mentioned that he doesn't have any plans for developing bsp any farther.  The new map format would almost defiantly be needed for this also because it would almost be a waste of time implementing this and then having to tweak it once the new map format would come out.

sk89q

  • Global Moderator
  • Autococker
  • Posts: 1049
Re: Feature Request: Texture painting onto existing textures
« Reply #5 on: December 29, 2008, 04:24:30 PM »
I got the idea from Source. I was examining the buildings in Left 4 Dead to see how they were done while keeping the polygon count down.


jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Feature Request: Texture painting onto existing textures
« Reply #6 on: December 30, 2008, 10:23:21 PM »
I'm not sure what you're proposing here - looks like they just used window textures for the top.  "Decals" are just polygons put in front of other polygons, so regardless of how you do it, you're adding polygons to the scene (unless you have a texture with the brick and the windows that just tiles, but that's just standard texture usage - no fancy new features).