How to draw a perspective box: Difference between revisions

From Scribus Wiki
Jump to navigation Jump to search
(Created page with "{{HOWTO Index}} Category:EN centre == Introduction == This tutorial will show you how to create a simple box with perspective. It is...")
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{HOWTO Index}} [[Category:EN]]
{{HOWTO Index}} [[Category:EN]]
[[File:perspective_title_image.png|centre]]
[[File:perspective_title_image.png|centre]]
 
<div style="float: left;">__TOC__</div>{{TutorialKey}}{{clear}}
== Introduction ==
== Introduction ==


Line 106: Line 106:
=== Node Editing ===
=== Node Editing ===


* Select the left-hand shape - it's actually the duplicate that you're selecting - and double-click to bring up the "Node Editor" dialog.
* Select the left-hand shape and double-click to bring up the {{Window|Node Editor|icons}} dialog. (It's actually the duplicate that you're selecting.)
* Press the "Add Nodes" icon - second from top-left in the dialog - and click near the middle of the top line of the shape (you don't have to be accurate in placing the node).
* Press the "Add Nodes" icon - second from top-left in the dialog - and click near the middle of the top line of the shape (you don't have to be accurate in placing the node).


Line 112: Line 112:


[[File:perspective_moved_node.png|frame|Figure 7]]
[[File:perspective_moved_node.png|frame|Figure 7]]
* Press the "Mode Nodes" icon - top-left - and drag the new node to the point surrounded by the <u>right</u>-hand VP circle - see figure 7.
* Press the "Move Nodes" icon - top-left - and drag the new node to the point surrounded by the <u>right</u>-hand VP circle - see figure 7.
* Press {{Button|End Editing}} to close the Node Editor.
* Press {{Button|End Editing}} to close the Node Editor.
{{clear}}
{{clear}}
[[File:perspective_second_extended_shape.png|frame|Figure 8]]
[[File:perspective_second_extended_shape.png|frame|Figure 8]]
Now repeat the actions you've completed in this "Node Editing" section but for the right-hand shape, creating the new node near the middle of the top line as before but dragging the node to the centre of the <u>left</u>-hand VP circle. Figure 8 shows the new shape in blue.
Now repeat the actions you've completed in this "Node Editing" section but for the right-hand shape, creating the new node near the middle of the top line as before but dragging the node to the centre of the <u>left</u>-hand VP circle. Figure 8 shows the new shape in blue.
 
{{clear}}
* Press {{Button|End Editing}} to close the Node Editor if you haven't already done so.
* Press {{Button|End Editing}} to close the Node Editor if you haven't already done so.
* Select the shape you've just edited and shift-select the shape you edited previously.
* Select the shape you've just edited and shift-select the shape you edited previously.
Line 138: Line 138:
[[File:perspective_box_fixed.png|frame|Figure 11]]
[[File:perspective_box_fixed.png|frame|Figure 11]]
* Select the top face of the box.
* Select the top face of the box.
* Go to the "Properties" palette and go to the "Line" tab.
* Go to the {{Window|Properties|icons}} palette and go to the {{Window|Line}} tab.
* Shift-select the left-hand face, then shift-select the right-hand face.
* Shift-select the left-hand face, then shift-select the right-hand face.
* In "Properties / Line", change the "Edges" setting to "Round Join".
* In {{Window|Properties|icons}} &rang;&rang; {{Window|Line}}, change the "Edges" setting to "Round Join".


{{Annotation|note|In some earlier versions of Scribus, if you just drag-selected the shapes you wouldn't have access to the Line Properties so it's best to use the shift-select method to make sure.}}
{{Annotation|note|In some earlier versions of Scribus, if you just drag-selected the shapes you wouldn't have access to the Line Properties so it's best to use the shift-select method to make sure.}}
Line 159: Line 159:


Figure 12 shows the faces filled with different shades of black to give a very basic lighting effect.
Figure 12 shows the faces filled with different shades of black to give a very basic lighting effect.
Figure 13 shows the each face converted to an image frame and given a purple crepe effect. (Each face has had a "Brightness" Image Effect applied to make it darker than the others.)
Figure 13 shows the each face converted to an image frame and given a purple crepe effect. (Each face has had a "Brightness" Image Effect applied to make it darker than the others.)
And figure 14 shows a box made of water, though why you'd want that is your own business.
And figure 14 shows a box made of water, though why you'd want that is your own business.



Latest revision as of 19:56, 24 March 2015

This article is part of the HOWTOs series.
Installation Usage PDF issues Imposition Other
Perspective title image.png
Key
This article uses these graphical conventions
Tutorial template icon window.pngWindow ⟩⟩ Tab/Panel in Window
ButtonMenuChoiceKeyboard

Introduction

This tutorial will show you how to create a simple box with perspective. It is not a complete guide to perspective drawing or anything like that, just something easy that will show you how to get started.

Specific techniques used in this tutorial

  • Setting up and displaying a grid.
  • Creating simple shapes.
  • Creating Bezier lines.
  • Converting Bezier lines to Polygons.
  • Cutting Polygons with Bezier lines.
  • Simple Node editing.
  • Using a Path Operation to create a new shape.
  • Changing the formatting of a shape.

This tutorial is okay for beginners. As long as you can navigate your way around the basic Scribus windows you should be fine.

Set-up

  • Open Scribus and create a new document. (A4/Letter in any orientation will be fine but landscape will give you more space.)

Grid

First you need to set-up a grid. This will make drawing the box really easy.

  • Choose menu FileDocument Setup…
  • Go to the "Guides" section.
  • Check "Display Grid".
  • Set the "Major Grid" Spacing to 64pt, and the "Minor Grid" Spacing to 8pt. (Any grid spacing will do but this set-up gives you a good amount of granularity.)
  • Press Apply and OK the dialog.
  • Choose menu PageSnap to Grid
Warning
You can try drawing your perspective box without using a grid but you'll find it much more difficult. And why would you want to make it more difficult for yourself?

Vanishing Points

Figure 1

Now you need to draw three vanishing points (VPs). For a bit more information on vanishing points you can have a look at this article. The first two VPs need to be on your "horizon line". This is where your perspective lines would stretch to if your box was of infinite size. The third VP should be "below" your field of view. Don't worry if that all sounds complicated, it will become clearer when you start drawing.

  • Near the top-left of your page choose a point on the grid - it's best to use a point where the major grid spacings lines cross - and use InsertInsert ShapeDefault ShapesCircle to draw a small circle around that point.
  • Do the same over to the top-right of your page at the same vertical position as the first circle.

These are the two VPs on your "horizon line".

  • Select a new point that is below the "horizon line" and equidistant between the first two VPs, and draw another circle around it. (For the purposes of this tutorial make it three or four major grid spacings below.)
Warning
Placing the third VP equidistant between the other two looks best generally but you can try changing the distances and see if it looks better for what you want. Note that once you start drawing the faces of the box you should not move the VPs or the drawing will look very strange.

You should now have three VPs like that in figure 1.

Warning
These circles are not part of your final drawing. They are just there to help you to remember where your VPs are. If you want to use something else to help you remember then feel free to do it another way.
Warning
By placing the third VP below the first two you will be drawing a box looking down from the top. If you want to see your box from the bottom then you can draw the third VP above the "horizon line".

Left Face

Warning
In the following sections you need to make sure you're using the Bezier Curve tool not the Line tool. Drawing lines using the Bezier Curve tool creates lines that Scribus treats slightly differently to the lines created with the Line tool. The reason for this is beyond the scope of this tutorial.
Figure 2
  • Choose menu InsertInsert Bezier Curve
  • Click somewhere vertically above the bottom VP. (About 5 or 6 minor grid spacings up will be fine.)
  • Click somewhere vertically above your first click. (About 5 or 6 minor grid spacings below the "horizon line" will be fine.)
  • Click on the point you drew your first VP circle around.
  • Right-click to stop drawing the bezier line.
  • Choose menu ItemConvert ToPolygon

Scribus has automatically closed the line you've just drawn into a triangular polygon - see figure 2 in red.

Figure 3
  • Choose menu InsertInsert Bezier Curve
  • Click somewhere above and to the right of the left-hand VP. (About one major grid spacing to the right should be fine.)
  • Click anywhere under your first click so that you draw a line vertically downward that crosses both the top and bottom lines of the triangle - see figure 3 in red.
  • With the line you've just drawn selected, shift-select the triangle.
  • Choose menu ItemPath ToolsCut Polygon

Scribus has now used the line you drew as a "knife" to cut the triangle into two pieces - see figure 3.

  • Select the left-hand triangle - in red in figure 3 - and right-click, then choose Delete

You have now got the start of your box, the left-hand face.

Right Face

Figure 4

For the right-hand face, do what you did for the left-hand face but mirror your actions about the vertical line in the middle of your drawing. Try placing the "knife" line to the right or left of the exact mirror of the first "knife" line to show a box that isn't the same on both sides - see the red line figure 4.

Figure 5

You should now have your left- and right-hand faces similar to that in figure 5.

Now you'll draw the top face of the box, which is done a little differently.

Top Face

Figure 6

Duplicates

To make it easier to create the top face you'll duplicate the originals so you have something to work from.

  • Select one of the faces and shift-select the other one so both are selected.
  • Choose ItemMultiple Duplicate…
  • OK the dialog - without making any changes - to create duplicates of the two original shapes on top of the originals.

Node Editing

  • Select the left-hand shape and double-click to bring up the Tutorial template icon window.pngNode Editor dialog. (It's actually the duplicate that you're selecting.)
  • Press the "Add Nodes" icon - second from top-left in the dialog - and click near the middle of the top line of the shape (you don't have to be accurate in placing the node).

A new node should have been created in the middle of the line - see figure 6.

Figure 7
  • Press the "Move Nodes" icon - top-left - and drag the new node to the point surrounded by the right-hand VP circle - see figure 7.
  • Press End Editing to close the Node Editor.
Figure 8

Now repeat the actions you've completed in this "Node Editing" section but for the right-hand shape, creating the new node near the middle of the top line as before but dragging the node to the centre of the left-hand VP circle. Figure 8 shows the new shape in blue.

  • Press End Editing to close the Node Editor if you haven't already done so.
  • Select the shape you've just edited and shift-select the shape you edited previously.
Warning
Don't drag-select the shapes. Remember that you duplicated the original shapes to get those that you've just worked on, so drag-selecting the shapes will also select the originals, which you don't want.
Figure 9
  • Choose menu ItemPath ToolsPath Operations…
  • Select the "Intersection" icon - the middle one under "Operations" - and OK the dialog.

You should now have your perspective box - as in figure 9 - but there's still a bit of work to do.

warning
Nodes vs. Beziers
There is a simpler way of getting the top face by using the same methods as for the first two faces but - unless you are very lucky with your grid size and positioning - you will have problems getting edges lined-up. It's better to the use the node editing and intersection method shown above.

Tidy Up

Figure 10

If you zoom in to the left-hand side of your box you might see that something looks wrong with the top-left corner - figure 10. (The same will probably be true for the top-right corner.) This happens because of the way that Scribus performs Path Operations, but it's easily fixed in this situation.

Figure 11
  • Select the top face of the box.
  • Go to the Tutorial template icon window.pngProperties palette and go to the Line tab.
  • Shift-select the left-hand face, then shift-select the right-hand face.
  • In Tutorial template icon window.pngProperties ⟩⟩ Line, change the "Edges" setting to "Round Join".
Warning
In some earlier versions of Scribus, if you just drag-selected the shapes you wouldn't have access to the Line Properties so it's best to use the shift-select method to make sure.

The corners of the whole box should now be okay for most purposes (other than very high quality printing). The bottom corner of the box - if you zoom in - still isn't perfect but you can increase the line widths of all the shapes to obscure the problem - see figure 11. (This isn't really a fix but it gets round the problem simply.)

  • You can now delete the VP circles as they're no longer needed.

Beyond the Plain

What you do with your perspective box is now up to you.

Figure 12 shows the faces filled with different shades of black to give a very basic lighting effect.

Figure 13 shows the each face converted to an image frame and given a purple crepe effect. (Each face has had a "Brightness" Image Effect applied to make it darker than the others.)

And figure 14 shows a box made of water, though why you'd want that is your own business.

Warning
If you want to use an image in your box faces, try and choose one that has fine detail and no particular orientation. That way you won't spoil the effect. There's currently no way to rotate or "squash" the image within Scribus.

And the image at the top of this article - if you're interested - shows something you can do if you've got way too much time on your hands. (If you want to try it you will need to "layer" some parts of the drawing so that things don't get in the way of other things.)

Anyway, that's all for this tutorial. Have a go and experiment with various shapes and see what you can create.