Curving a cylinder?

Tutorials and discussions about Mapping - Introduce your own ones!
Post Reply
Emandion
Average
Posts: 65
Joined: Sat Jun 21, 2008 1:59 am

Curving a cylinder?

Post by Emandion »

For the pipes in one of my levels I have to curve them, but I can't seem to line it up properly..

The closest I can get is this.. But I don't want the brushes intersecting..
(Grid is at 1 unit by the way)
Attachments
cylinder.PNG
cylinder.PNG (16.33 KiB) Viewed 1698 times
Air
Novice
Posts: 23
Joined: Thu Feb 19, 2009 4:10 am

Re: Curving a cylinder?

Post by Air »

For anything curve-related use the 2d shape editor.
Emandion
Average
Posts: 65
Joined: Sat Jun 21, 2008 1:59 am

Re: Curving a cylinder?

Post by Emandion »

How?
I never understood how to work that thing.. Are there any tutorials on it?
User avatar
RatBoy
Novice
Posts: 20
Joined: Mon Jul 13, 2009 7:04 am
Personal rank: Lost in translation
Location: Argentina
Contact:

Re: Curving a cylinder?

Post by RatBoy »

Here's a tutorial for the 2D shape editor: http://www.birrabrothers.com/drac/ued2_t025.html
User avatar
zacman
Adept
Posts: 412
Joined: Wed Apr 15, 2009 5:36 am
Personal rank: M-M-M-MONSTER KILL

Re: Curving a cylinder?

Post by zacman »

BEWARE! Curves=BSB Hell.
I had a BSB hole from ONE Curve that ate half my map (Seriously, it just Vanished)
Image[url=steam://friends/add/76561198048595886]Image[/url]
Air
Novice
Posts: 23
Joined: Thu Feb 19, 2009 4:10 am

Re: Curving a cylinder?

Post by Air »

Curves that are additives arent to bad if they're clean and semisolid. Ideally, a decorative pillar should bemade n 3ds max and imported as a mesh.
User avatar
zacman
Adept
Posts: 412
Joined: Wed Apr 15, 2009 5:36 am
Personal rank: M-M-M-MONSTER KILL

Re: Curving a cylinder?

Post by zacman »

**Wishes he'd had the patience to think of SemiSolid**
Damnit... Patience runs in my family. We have none. After 2 hours of trying to fix the map, I got PO'd, started again and saved over :wth:
Image[url=steam://friends/add/76561198048595886]Image[/url]
User avatar
Rakiayn
Masterful
Posts: 550
Joined: Fri Aug 28, 2009 3:33 pm

Re: Curving a cylinder?

Post by Rakiayn »

its kind of complicated but I'll post a quick explenation.
1.place your tube lying down. make sure the tube is long enough.

2. add a small cube somewhere

3.subtract a cylinder, make it hollow. and give it 8 sides

lets say the radius of your tube is 256.
then make the height of the cylinder half of 256, thats 128

then make the difference of the outer radius and the innerradius of your cylinder 256 units
for example, add a cylinder that has an inner radius of 128, and an outer radius of 384
the difference is 256 unites
its important that your tube fits between the inner and the outerradius

4.move the center of the cylinder, to the center of your added cube

5. move your tube between the inner and outer radius of your added cylinder.

6.make sure your tube is subtract (yellow brush).

6. subtract the cylinder.

7.make a cubebuilder brush, you know the red brush. its important that the cube is as high as the cylinder

8. now do with the red builderbrush as I did in the picture. move the corners of the cube to the corners of the cylinder part, you can do that by holding alt, the press on a corner of your selected red builder brush. then hold your left mouse button and move your mouse

Image



9. delete the cylinder.

10.rebuild all

10. press brush -> deintersect

11.select the your deintersected part and the cube in the center.

12.hold alt, and press the center of the cube.

13.you can now rotate the intersected part and make your curved tube
Post Reply