未加星标

Blender for Hackers - 3D modeling is just like using VIM

字体大小 | |
[系统(linux) 所属分类 系统(linux) | 发布者 店小二05 | 时间 2017 | 作者 红领巾 ] 0人收藏点击收藏

Modeling 3D objects is pretty neat. Whether it is for animating a video or making an interactive program, having some understanding the basics of a 3D program makes it easy to create impressive looking things.

Enter Blender - an amazing, FLOSS software package. To me Blender is like VIM, a modal, keyboard driven editor, only 3D. It is so intuitive for developers!

Adding your first object

Open up blender, and you get the splash screen, which showcases a lovely artwork for each release. Click anywhere outside the splash box to dismiss it.


Blender for Hackers - 3D modeling is just like using VIM

This is going to be fun!

First select the cube in the middle of the default scene. You can do that by right clicking. It might be already selected; the orange outline symbolises the current selection.

Now we need to delete the cube. Press x (like in vim), and a menu will popup. Press enter to activate the (blue) selected item, which is delete.

Now open the add menu to add a new object. Press Shift-a ( a is already used for select all), choose mesh, then an object of your choice. I'm going to use a plane.

Looking around

Now for an important prerequisite: a mouse with an easy to use middle button.


Blender for Hackers - 3D modeling is just like using VIM

"Gaming" mice have very good middle buttons, unfortunately they are unprofessional uncool

Once you have that, the controls are very simple:

Mouse wheel to zoom Hold the MMB (MiddleMouseButton) and move the mouse to change the angle Hold Shift , the MMB and move the mouse to pan

You can then view your amazing mesh model from different angles. (My model looked very plain plane though!)

If you didn't heed my advice to use a mouse, you are probably struggling to do some 2 handed gesture on your trackpad. There is another and less flexible way: Fly Mode. Press Shift-f to enter fly mode. Then you can use WASD to move like in a video game. Press enter to exit fly mode and keep your the position, or esc to exit and revert to your position before flying.

Transforming the objects

Transforming objects is very keyboard driven, and a multi-step process.

Select the object you wish to transform (right click to select, orange outline indicator) Press the appropriate key to start the transformation: g for transform (think grab) OR r for rotate OR s for scale Optionally press x , y or z to lock the transform to that axis Use the mouse or type a number to input the transformation factor Press enter to save, or esc to cancel

That may have made it sound so complex. It is more simple with an example! To make the selected plane 2x longer (y-axis), you would type sy2 and then press enter. (Doesn't that look like a VIM command?)


Blender for Hackers - 3D modeling is just like using VIM

Less plain now!

By adding multiple objects and transforming them, you can even make something that approximates a model:


Blender for Hackers - 3D modeling is just like using VIM

A smurf house?

Pitfall - the 3D cursor

If you played around and accidentally left clicked, you might notice that things started getting strange. The left mouse button moves the "3D Cursor" - Blender's biggest WTF:


Blender for Hackers - 3D modeling is just like using VIM

The 3D cursor sets the position that newly added objects will get when they enter the world. Most of the time, you want to keep the 3D cursor at the origin. Use Shift-c to reset the 3D cursor to the origin and the viewport to the default position.

Making special objects - mesh mode

You know how I said that blender was like a modal editor? Well let's look at the "Edit Mode" for meshes.

I'm going to start with a clean slate ( Ctrl-n ), and keep the default cube. Select the cube and press Tab :


Blender for Hackers - 3D modeling is just like using VIM

Welcome to edit mode. You can now select individual vertices. By default they are all selected (hence the orange). Press a to deselect all (it toggles selecting all), then use right click to select 4 vertices (that make up a face):


Blender for Hackers - 3D modeling is just like using VIM

Then we are going to extrude the face - one of the main tools when modeling. Press e to extrude the face, and you should see the face come flying out of the cube. Click or press enter to give it a location:


Blender for Hackers - 3D modeling is just like using VIM

Notice that now our mesh looks like 2 cubes joined together. This means that we can scale the top face without interfering with the rest of the cube. Transformation keys work the same here as they did in before (in "object mode"). I scaled the top face to 0% size by typing s0 then pressing enter:


Blender for Hackers - 3D modeling is just like using VIM

This is looking like a better house this time

To leave edit mode (where you select individual vertices) press Tab. You will then be back in the default mode, object mode, where you select whole objects.

Going forward

That was a very simple overview of how to do some modeling in Blender - only touching the surface. Even in Blender, you can do much more than modeling - you can render, sculpt, animate, material and light objects to create amazing 3D scenes. Blender also features a motion tracker, compositor, video editor and game engine - so there is a whole lot more to explore!


Blender for Hackers - 3D modeling is just like using VIM

Not the impressive results that I mentioned at the start of the article

本文系统(linux)相关术语:linux系统 鸟哥的linux私房菜 linux命令大全 linux操作系统

分页:12
转载请注明
本文标题:Blender for Hackers - 3D modeling is just like using VIM
本站链接:http://www.codesec.net/view/523025.html
分享请点击:


1.凡CodeSecTeam转载的文章,均出自其它媒体或其他官网介绍,目的在于传递更多的信息,并不代表本站赞同其观点和其真实性负责;
2.转载的文章仅代表原创作者观点,与本站无关。其原创性以及文中陈述文字和内容未经本站证实,本站对该文以及其中全部或者部分内容、文字的真实性、完整性、及时性,不作出任何保证或承若;
3.如本站转载稿涉及版权等问题,请作者及时联系本站,我们会及时处理。
登录后可拥有收藏文章、关注作者等权限...
技术大类 技术大类 | 系统(linux) | 评论(0) | 阅读(65)