Welcome to CMM

The CMM forum software was recently upgraded, some things may have changed and some things may be broken or not working. Please let me know by PM or on IRC if you have any problems using this forum.

Also, I've removed the skybox and shader links for now, the shader generator page was being abused and as we're moving towards a ue4 mapping base, they're redundant.

Patch VS brush for a simple wall

Brushwork, patches and other issues
User avatar
Douze
Posts: 17
Joined: Wed Nov 16, 2011 8:12 am

Patch VS brush for a simple wall

Postby Douze » Mon Nov 21, 2011 6:29 pm

I'm building a new jump map with an intensive use of patches. I'm using both brush and patche for simple walls.
My problem is its kinda boring/slow to select patch and only one brush face (when I want to fix textures for example): its easier to select patches only, when they are aligned.
So my question is: is it good to use some patches for simple wall ? (performance, light...)

Current version:
Image

Version of my dreams:
Image

User avatar
ValkoVer
Posts: 176
Joined: Mon Aug 22, 2011 11:01 am
Location: Poland

Re: Patch VS brush for a simple wall

Postby ValkoVer » Mon Nov 21, 2011 6:37 pm

Extensive use of patches will affect performance. And you will have to build caulk hull behind geometry. Use -patchmeta in BSP stage and -patchshadows in Light stage.

MajkiFajki

Re: Patch VS brush for a simple wall

Postby MajkiFajki » Mon Nov 21, 2011 7:11 pm

Or use
http://mapgen.nerius.com/

and phong shaders.

User avatar
Douze
Posts: 17
Joined: Wed Nov 16, 2011 8:12 am

Re: Patch VS brush for a simple wall

Postby Douze » Tue Nov 22, 2011 5:27 pm

Thank you for your quick responses.

@ValkoVer: I think the performances are the same for a square shape. But I'll definitly try these options to compile.

@MajkiFajki: I tried it (ty gsigms) but I wasted to much time (I've got a lot of patches of different size / shape and I had difficulties to understand all options due to my crappy english...)

But I've to use patches, I'm bored of squared jump maps !

User avatar
gsigms
Posts: 102
Joined: Thu Aug 18, 2011 11:24 am
Location: London, UK

Re: Patch VS brush for a simple wall

Postby gsigms » Wed Nov 23, 2011 12:27 am

Rambetter surface generators are really great, for perfect curves it is pretty straightforward, but to create flatter or fatter curves it is not that easy.

I do not know if patches are ok jump wise, I though it was not working very well with walljumps for example.
nemNEMnem wrote:yeah, not like ur avatar, gsigms, i find ur ones is difficult to masturbate, too. :D :D :D :D

Markinho
Posts: 109
Joined: Thu Nov 03, 2011 10:56 pm
Contact:

Re: Patch VS brush for a simple wall

Postby Markinho » Wed Nov 23, 2011 10:05 pm

I've been testing walljumps on both patches and brushes, Ramb's surfaces won
Image

flajeen
Posts: 289
Joined: Wed Aug 17, 2011 7:13 pm
Location: Évora, Portugal

Re: Patch VS brush for a simple wall

Postby flajeen » Thu Nov 24, 2011 3:57 pm

Use q3stairgen - search on Urban Terror forums. You can also make them manual way.

http://i.imgur.com/UffgM.png

Made with clipping tool - smaller the grid, bigger the perfection. Use phong shaders with this so you get a good effect.
Image

Markinho
Posts: 109
Joined: Thu Nov 03, 2011 10:56 pm
Contact:

Re: Patch VS brush for a simple wall

Postby Markinho » Thu Nov 24, 2011 7:20 pm

That way makes lemmings at 99% if used for quaterpipes
Image

User avatar
Douze
Posts: 17
Joined: Wed Nov 16, 2011 8:12 am

Re: Patch VS brush for a simple wall

Postby Douze » Fri Nov 25, 2011 12:11 pm

@gsigms/Markinho: I found a golden mean, so player will jump on brushes / patches are for details and ground
@flajeen: cool stuff but I'll use patch - cooler, faster :p I think performances are quite ok but I'll ask some testers

User avatar
gsigms
Posts: 102
Joined: Thu Aug 18, 2011 11:24 am
Location: London, UK

Re: Patch VS brush for a simple wall

Postby gsigms » Sat Nov 26, 2011 5:40 pm

Rambetter's Pipe generator can only generate perfect curves, so I think it is ok if you only make bevel from square brushes for your curved corners. May be Markinho can confirm but if you want to create slim/fat curves, you can play around with the extrude parameters and then cut the generated brush, but it seemed to me not very convenient.

I did some small modifications of rambetter's pipe generator to generate bezier curves instead of circular section as an experiment:

starting from a bevel patch:

first.jpg
bevel patch


you need to read from you patch the coordinate of the end points (in the example 0,0 and 384, 192) and of the control point (the pink one visible when switching to vertex mode, in the example 296, 16)

given a thickness (64) and height (128), and subdivision numbers for the wall, you can easily generate a best fitting wall: here for 3 subsections:

second.jpg
bezier 3 sub


and for 8 subdivision

third.jpg
bezier 8 sub


If you are interrested I can look into generating the slick brushes for that kind of curves.
nemNEMnem wrote:yeah, not like ur avatar, gsigms, i find ur ones is difficult to masturbate, too. :D :D :D :D


Return to “Brush / patches and other mesh”

Who is online

Users browsing this forum: Google [Bot] and 2 guests

cron