Easy way for invert brush?

Tutorials and discussions about Mapping - Introduce your own ones!
Buggie
Adept
Posts: 264
Joined: Sat Mar 21, 2020 5:32 am

Easy way for invert brush?

Post by Buggie » Tue Aug 04, 2020 12:21 pm

I make 2D sheet
scr_1596539750.png
scr_1596539750.png (814 Bytes) Viewed 239 times
revolve it and add inside substracted brush.
scr_1596539806.png
Build it and got next:
scr_1596539821.png
Obviously my additive brush have wrong side for each polygone.

Exists any way invert this brush to outside?

Currently I know only one way: export to t3d, invert sign on Vertexes for each poly and import back.
Exists simpler way?
Last edited by Buggie on Tue Aug 04, 2020 1:06 pm, edited 1 time in total.

User avatar
Hellkeeper
Inhuman
Posts: 806
Joined: Tue Feb 25, 2014 12:32 pm
Personal rank: Soulless Automaton
Location: France
Contact:

Re: Easy way for invert brush?

Post by Hellkeeper » Tue Aug 04, 2020 12:56 pm

That's a weeeeeeeeeird bug I've never seen so far. Your subtracted brush around the added one seems not to be taken into account as the grid is visible in the last screenshot. Maybe change the order of the brushes and rebuild?
You must construct additional pylons.

Buggie
Adept
Posts: 264
Joined: Sat Mar 21, 2020 5:32 am

Re: Easy way for invert brush?

Post by Buggie » Tue Aug 04, 2020 1:14 pm

Nope. it is not help. This additive brush work as substractive. Which very strange.
Also it ruin everything around. All glitchy rendered.

But if I manually invert sign for each Vertex all work nice:
scr_1596543130.png
Near additive cube for example.

User avatar
TexasGtar
Skilled
Posts: 193
Joined: Sun Feb 16, 2020 5:52 pm

Re: Easy way for invert brush?

Post by TexasGtar » Tue Aug 04, 2020 4:26 pm

It looks like you have the revolve axis square on the wrong side. Try it on the right side by the green square.
Or move the green square over where the orange square is.

Buggie
Adept
Posts: 264
Joined: Sat Mar 21, 2020 5:32 am

Re: Easy way for invert brush?

Post by Buggie » Tue Aug 04, 2020 6:16 pm

TexasGtar wrote:
Tue Aug 04, 2020 4:26 pm
It looks like you have the revolve axis square on the wrong side.
Already try. Result is same.
TexasGtar wrote:
Tue Aug 04, 2020 4:26 pm
Or move the green square over where the orange square is.
Green square say where is you rotation axis.
Orange square is "center mass" of your shape.
For revolve, all shape must be on left or on right from green point.
If you place it on other side - you can not get tube.

You can try self. .2ds file in attach.
p5.zip
(210 Bytes) Downloaded 4 times

User avatar
Hellkeeper
Inhuman
Posts: 806
Joined: Tue Feb 25, 2014 12:32 pm
Personal rank: Soulless Automaton
Location: France
Contact:

Re: Easy way for invert brush?

Post by Hellkeeper » Tue Aug 04, 2020 7:24 pm

I tried with your brush and got the same result: it's inverted. I rebuilt it from scratch myself and the problem went away with mine. Just recreate it from the ground up, it's a very simple piece, it will take 2 minutes.

TexasGtar=> The green square is just the pivot, it has no influence on the geometry itself. The orange square is simply the center of the brush. These two points don't matter here.
You must construct additional pylons.

User avatar
TexasGtar
Skilled
Posts: 193
Joined: Sun Feb 16, 2020 5:52 pm

Re: Easy way for invert brush?

Post by TexasGtar » Tue Aug 04, 2020 7:31 pm

Don't cross any lines when building a brush in the 2d ed.
I think this is why this happens. As soon as you cross a line over another line it gets confused, even if you don't have a crossed line at the end of making it.
Like for that one, a square with a side split 3 ways and take the 3 split vertices and move them toward the center. Should work all day long.
Just a hunch.

That other brush is an awesome bird bath brush though. I'd hang on to it. lol

Buggie
Adept
Posts: 264
Joined: Sat Mar 21, 2020 5:32 am

Re: Easy way for invert brush?

Post by Buggie » Tue Aug 04, 2020 7:47 pm

Hellkeeper wrote:
Tue Aug 04, 2020 7:24 pm
I rebuilt it from scratch myself and the problem went away with mine.
What the hell...

I rebuilt it again and now it is OK.

IDK how this work at all because I tried rebuilt it.

But not from scratch. I add new shape, make same size and delete all old.

Maybe bad direction stored somewhere.

User avatar
Hellkeeper
Inhuman
Posts: 806
Joined: Tue Feb 25, 2014 12:32 pm
Personal rank: Soulless Automaton
Location: France
Contact:

Re: Easy way for invert brush?

Post by Hellkeeper » Tue Aug 04, 2020 7:51 pm

Maybe, or something that didn't fare well with the engine, like two vertices on the same position.
You must construct additional pylons.

User avatar
TexasGtar
Skilled
Posts: 193
Joined: Sun Feb 16, 2020 5:52 pm

Re: Easy way for invert brush?

Post by TexasGtar » Tue Aug 04, 2020 11:01 pm

that 2d editor doesn't always spit out a good brush. Sometimes it has a mind of it's own.
I've seen weird, unexplainable things come out of it before.

Buggie
Adept
Posts: 264
Joined: Sat Mar 21, 2020 5:32 am

Re: Easy way for invert brush?

Post by Buggie » Tue Aug 04, 2020 11:20 pm

It is very strange.

How I get this file:

1. Build 4 square shape. Make triangles from it drag one vertex to another.
2. Build intersected shapes as need for me. (I need this for find intersection points of triangles)
3. Add square shape near.
4. Build from it exact same figure, as intersected near.
5. Delete all old shapes.

So in my understanding all must be exact same as built from scratch same shape, because I delete all old shapes (which can be damaged).

Obviously it is not true. Very strange.
----
I try replace existing pillar, which build as intersection of 4 brushes. So way is not short.
Of course if you know exact shape you can build it from first attempt.

Red_Fist
Godlike
Posts: 1798
Joined: Sun Oct 05, 2008 3:31 am

Re: Easy way for invert brush?

Post by Red_Fist » Tue Aug 04, 2020 11:21 pm

Just thinking, how about doing what you did in reverse, not having it go inward but out, then do the other way, invert.

Start with a bulge, not a carved out curve.

I am not sure of what you are doing, but maybe you can extrapolate what the hell I am trying to say.
Binary Space Partitioning

Buggie
Adept
Posts: 264
Joined: Sat Mar 21, 2020 5:32 am

Re: Easy way for invert brush?

Post by Buggie » Wed Aug 05, 2020 12:06 am

I don't know what you want to say.
One thing I realized is that UEd is full of bugs and implicit things.
That sometimes rebuilding from scratch solves problems, because there are hidden dependencies and states, even if it seems that they should not be.

User avatar
papercoffee
Godlike
Posts: 9693
Joined: Wed Jul 15, 2009 11:36 am
Personal rank: coffee addicted !!!
Location: Cologne, the city with the big cathedral.
Contact:

Re: Easy way for invert brush?

Post by papercoffee » Wed Aug 05, 2020 2:25 am

It's the UEd goblin ...he appears randomly and screws up you geometry.

User avatar
Hellkeeper
Inhuman
Posts: 806
Joined: Tue Feb 25, 2014 12:32 pm
Personal rank: Soulless Automaton
Location: France
Contact:

Re: Easy way for invert brush?

Post by Hellkeeper » Thu Aug 06, 2020 1:50 pm

Buggie wrote:
Wed Aug 05, 2020 12:06 am
One thing I realized is that UEd is full of bugs and implicit things.
It is the case, but usually it has some logic behind it. Not in this case, this is probably a bug in the way you did the original shape.
You must construct additional pylons.

Post Reply