Blender - Python API #6

Size: px
Start display at page:

Download "Blender - Python API #6"

Transcription

1 Blender - Python API #6 Serdar ARITAN Department of Computer Graphics Hacettepe University, Ankara, Turkey 1

2 Blender is a free 3D graphics package 3D object modelling Materials and lighting Animation and simulation Video editing and compositing Integrated physics engine Free download, installed in labs Blender can be scripted with Python o Uses Python 3 o Just about everything can be scripted o Creating objects, lights, cameras o Creating and applying materials o Rendering and animation o The Blender interface itself 2

3 3

4 4

5 The Blender/Python API can do the following: Edit any data the user interface can (Scenes, Meshes, Particles etc.) Modify user preferences, keymaps and themes Run tools with own settings Create user interface elements such as menus, headers and panels Create new tools Create interactive tools Create new rendering engines that integrate with Blender Define new settings in existing Blender data Draw in the 3D view using OpenGL commands from Python 5

6 The Blender/Python API can t (yet)... Create new space types. Assign custom properties to every type. Define callbacks or listeners to be notified when data is changed. 6

7 Note: The Blender Python API has areas which are still in development. The following areas are subject to change. operator behavior, names and arguments mesh creation and editing functions These parts of the API are relatively stable and are unlikely to change significantly data API, access to attributes of blender data such as mesh verts, material color, timeline frames and scene objects user interface functions for defining buttons, creation of menus, headers, panels render engine integration modules: bgl, mathutils & game engine 7

8 Three main components in Python API bpy.data contains objects, scenes, materials, etc. bpy.context information about current state - e.g.: selected objects bpy.ops operations on the scene such as adding an object, rotation, etc. 8

9 Blender uses Python 3.x; some 3rd party extensions are not available yet. The interactive console is great for testing one-liners, It also has auto complication so you can inspect the api quickly. Button tool tips show Python attributes and operator names. Right clicking on buttons and menu items directly links to API documentation. For more examples, the text menu has a templates section where some example operators can be found. To examine further scripts distributed with Blender, see ~/.blender/scripts/startup/bl_ui for the user interface and ~/.blender/scripts/startup/bl_op for operators. 9

10 10

11 11

12 12

13 13

14 14

15 15

16 16

17 17

18 To check what symbols are loaded into the default environment, type dir() and press <ENTER> 18

19 bpy. and then press <CTRL>+<SPACE> and you will see the Console auto-complete. 19

20 >> bpy.app.binary_path 'C:\\Blender\\blender-2.79-windows64\\blender-app.exe' >>> bpy.app.version <CTRL><SPACE> _char _cycle _string >>> bpy.app.version (2, 79, 0) >>> bpy.app.version_string '2.79 (sub 0)' 20

21 Contextual access of information in a Blender file/scene >> bpy.context.mode 'OBJECT' # Will print the current 3D View mode # (Object, Edit, Sculpt etc.,) >>> bpy.context.object bpy.data.objects['cube'] >>> C.mode 'OBJECT' >>> C.object bpy.data.objects['cube'] 21

22 Contextual access of information in a Blender file/scene >> bpy.context.mode 'OBJECT' >>> bpy.context.object bpy.data.objects['cube'] >>> bpy.context.object bpy.data.objects['camera'] 22

23 Contextual access of information in a Blender file/scene >>> bpy.context.selected_objects [bpy.data.objects['cube'], bpy.data.objects['lamp'], bpy.data.objects['camera']] 23

24 Data access of information in a Blender file/scene >> for object in bpy.data.scenes['scene'].objects:... print(object.name)... Camera Cube Lamp You can access following data in the current Blender file objects, meshes, materials, textures, scenes, screens, sounds, scripts, texts, cameras, curves, lamps, brushes, armatures, images, lattices, libraries, worlds, groups, metaballs, particles, node_groups 24

25 Data access of information in a Blender file/scene >> for object in bpy.data.objects:... print(object.name + is at location' + str(object.location))... Camera is at location<vector (7.4811, , )> Cube is at location<vector (0.0000, , )> Lamp is at location<vector (4.0762, , )> 25

26 Python access to calling operators in Blender file/scene >>> add_cube = bpy.ops.mesh.primitive_cube_add >>> for index in range(5):... add_cube(location=(index*3, 0, 0))... {'FINISHED'} {'FINISHED'} {'FINISHED'} {'FINISHED'} {'FINISHED'} 26

27 Import Libraries Importing the Blender Python API is the first step for any Blender script. import bpy import mathutils import math # Imports the Blender Python API # Imports Blender vector math utilities # Imports the standard Python math library # Set up some variables a = 'hello' b = ' world! # Print the addition to the system console print (a + b) # open the system console! bpy.ops.wm.console_toggle() 27

28 Blender's 'Info' view port shows you all recent Blender activity as executable Python commands. This is very handy for prototyping a process using modeling methods and then assembling them into a script The selected text from above can be copied and pasted into the Text Editor. We can delete any unneeded options from the command. This script will create a single mesh cube in the scene. import bpy #Imports the Blender Python API # Create a mesh cube in the scene bpy.ops.mesh.primitive_cube_add(location=(5, 5, 5)) 28

29 29

30 for i in range (0, 5): x = i * 3 y = 0 z = 0 # Create a mesh cube in the scene bpy.ops.mesh.primitive_cube_add(location=(x, y, z)) 30

31 31

32 32

33 33

34 Select the objects to rename 34

35 Run the script 35

36 36

37 37

38 38

39 Data Access (bpy.data) import bpy # print all objects for obj in bpy.data.objects: print(obj.name) # print all scene names in a list print(bpy.data.scenes.keys()) # remove Cube if bpy.data.objects.find('cube') >= 0: cubeobj = bpy.data.objects['cube'] bpy.data.scenes[0].objects.unlink(cubeobj) bpy.data.objects.remove(cubeobj) 39

40 Data Access (bpy.data) # write images into a file next to the blend import os import bpy file = open(os.path.splitext(bpy.data.filepath)[0] + ".txt", 'w') for image in bpy.data.images: file.write("%s %d x %d\n" % (image.filepath, image.size[0], image.size[1])) file.close() 40

41 Operators (bpy.ops) 41

42 import bpy if bpy.data.objects.find('cube') >= 0: cubeobj = bpy.data.objects['cube'] bpy.data.scenes[0].objects.unlink(cubeobj) bpy.data.objects.remove(cubeobj) cameraobj = bpy.data.objects['camera'] # Create and name TextCurve object bpy.ops.object.text_add(location=(0, 0, 0)) #bpy.ops.object.editmode_toggle() #bpy.ops.font.delete() #bpy.ops.font.text_insert(text="") 42

43 txtobject = bpy.context.object txtobject.name = 'myname' textcurve = txtobject.data textcurve.name = 'thedata' # TextCurve attributes textcurve.body = 'Serdar' textcurve.font = bpy.data.fonts[0] textcurve.offset_x = 0 textcurve.offset_y = 0 textcurve.shear = 0 textcurve.space_character = 1 textcurve.size = 3 textcurve.space_word = 0 # Inherited Curve attributes textcurve.extrude = 0.1 bpy.data.objects['myname'].location.x -= 3 43

44 44

45 import bpy scene = bpy.context.scene fp = scene.render.filepath # get existing output path scene.render.image_settings.file_format = 'PNG' # set output format to.png for frame_nr in range(1, 11): bpy.ops.transform.rotate(value= 0.1, axis=(0, 1, 0)) scene.frame_set(frame_nr) # set output path so render won't get overwritten scene.render.filepath = fp + str(frame_nr) bpy.ops.render.render(write_still=true) # render still # restore the filepath scene.render.filepath = fp 45

46 46

47 import bpy outputfile = "deneme1.txt" writefile = open(outputfile, 'w') # verts writefile.write("verts=[\n") print("verts=[\n") for i in bpy.context.active_object.data.vertices: print(i.co, ",") coords = i.co.x, i.co.y, i.co.z writefile.write(str(coords) + ",\n") print("]") writefile.write("]\n\n\n\n") 47

48 # faces writefile.write("faces=[\n") print("faces=[\n") for i in bpy.context.active_object.data.polygons: verts_on_face = i.vertices[:] print(verts_on_face) writefile.write(str(verts_on_face)+",\n") print("]") writefile.write("]\n\n\n\n") # close the file. writefile.close() 48

49 Addon Tutorial 49

50 Addon Tutorial 50

51 Addon Tutorial 51

52 Once you have your addon within in Blender s text editor, you will want to be able to install it so it can be enabled in the user preferences to load on startup. Even though the addon above is a test, lets go through the steps anyway so you know how to do it for later. To install the Blender text as an addon you will first have to save it to disk, take care to obey the naming restrictions that apply to Python modules and end with a.py extension. Once the file is on disk, you can install it as you would for an addon downloaded online. Addon Tutorial Open the user File -> User Preferences, Select the Addon section, press Install Addon... and select the file. Now the addon will be listed and you can enable it by pressing the check-box, if you want it to be enabled on restart, press Save as Default. 52

53 Command-line / subprocess You can use subprocess to run blender from python. Use the -b / --background switch to run blender in the background (GUI-less). Use the -P <filename> / --python <filename> switch to load desired python script. Or use --python-console to run python from stdin. Example: blender --background --python myscript.py 53

54

Blender - Python API #1

Blender - Python API #1 Blender - Python API #1 Serdar ARITAN Department of Computer Graphics Hacettepe University, Ankara, Turkey 1 Blender / Python API Blender is a free 3D graphics package 3D object modelling Materials and

More information

Blender Scripting COSC450. Material for Assignment 1

Blender Scripting COSC450. Material for Assignment 1 Blender Scripting COSC450 Material for Assignment 1 Blender Blender is a free 3D graphics package I 3D object modelling I Materials and lighting I Animation and simulation I Video editing and compositing

More information

Bforartists Reference Manual - Copyright - This page is under Public Domain. Editors

Bforartists Reference Manual - Copyright - This page is under Public Domain. Editors Editors Introduction...2 Hidden menus...2 The Header menu...2 Flip to Top...2 Collapse Menus...2 Hide Editortype menu...3 Maximize Area - Tile Area...3 The editor type menu...3 Area Options...3 Split area...3

More information

Chapter 1- The Blender Interface

Chapter 1- The Blender Interface Chapter 1- The Blender Interface The Blender Screen Years ago, when I first looked at Blender and read some tutorials I thought that this looked easy and made sense. After taking the program for a test

More information

Detailed Table of content. 3D View by tools - Header. 3D View by tools - Header detailed

Detailed Table of content. 3D View by tools - Header. 3D View by tools - Header detailed 3D View by tools - Header Detailed Table of content...1 Introduction...16 Header...16 All Modes - View Menu...17 All Modes - Navigation Menu...24 All Modes, all Object types - Show / Hide...29 Object Mode

More information

Blender Notes. Introduction to Digital Modelling and Animation in Design Blender Tutorial - week 1 The Blender Interface and Basic Shapes

Blender Notes. Introduction to Digital Modelling and Animation in Design Blender Tutorial - week 1 The Blender Interface and Basic Shapes Blender Notes Introduction to Digital Modelling and Animation in Design Blender Tutorial - week 1 The Blender Interface and Basic Shapes Introduction Blender is a powerful modeling, animation and rendering

More information

1 The Python API. 1.1 Current Status

1 The Python API. 1.1 Current Status 1 The Python API Blender provides a Python 1 API (Application Programming Interface) for developers. At Not A Number s home page you find a special section called Python & Plugins at the Discussion Server

More information

Chapter 1- The Blender Interface

Chapter 1- The Blender Interface The Blender Screen When I first looked at Blender and read some tutorials I thought that this looked easy and made sense. After taking the program for a test run, I decided to forget about it for a while

More information

Blender as a tool for Video Game Prototyping

Blender as a tool for Video Game Prototyping Blender as a tool for Video Game Prototyping By INTRODUCTION What is a prototype? INTRO > What > How > BLENDER in a commercial context > End INTRODUCTION What is a prototype? For a commercial dev studio

More information

Tutorial: Understanding the Lumberyard Interface

Tutorial: Understanding the Lumberyard Interface Tutorial: Understanding the Lumberyard Interface This tutorial walks you through a basic overview of the Interface. Along the way we will create our first level, generate terrain, navigate within the editor,

More information

Code Autocomplete Manual

Code Autocomplete Manual Code Autocomplete Manual Release 2.0.0 Jacques Lucke July 02, 2016 Contents 1 Setup 3 1.1 Installation................................................ 3 1.2 Check the Installation..........................................

More information

Blender 2.49 Scripting

Blender 2.49 Scripting Blender 2.49 Scripting Extend the power and flexibility of Blender with the help of Python: a high-level, easy-to-learn scripting language Michel Anders r PliriCTl Pen source^ I 1 if 'slim* I \ I I community

More information

CS148: Maya Lecture. October 9th, 2017 David Hyde

CS148: Maya Lecture. October 9th, 2017 David Hyde CS148: Maya Lecture October 9th, 2017 David Hyde Outline Rendering: A Bird s Eye View 3D Art Tools Maya Outline Demo Rendering: A Bird s Eye View AND WHERE DOES CS148 FIT IN? Image: CS148 2015 Scanline

More information

Game Programming with. presented by Nathan Baur

Game Programming with. presented by Nathan Baur Game Programming with presented by Nathan Baur What is libgdx? Free, open source cross-platform game library Supports Desktop, Android, HTML5, and experimental ios support available with MonoTouch license

More information

Creating a Snowman Scene

Creating a Snowman Scene Creating a Snowman Scene By: Shane Trautsch Blender 2.72 What you will learn Basic Modeling Particle systems sculpting Materials and Textures Lighting Creating a Snow By now, you have created a snowman.

More information

Computer graphics Labs: Blender (1bis/3) SketchUp model importation and animation

Computer graphics Labs: Blender (1bis/3) SketchUp model importation and animation Computer graphics Labs: Blender (1bis/3) SketchUp model importation and animation University of Liège Department of Aerospace and Mechanical engineering Designed with Blender 2.76b and SketchUp 8 From

More information

Cinema 4D R20 (SP2) Change List Cinema 4D / BodyPaint 3D Service Release

Cinema 4D R20 (SP2) Change List Cinema 4D / BodyPaint 3D Service Release Cinema 4D R20 (SP2) Change List Cinema 4D / BodyPaint 3D Service Release 20.057 ANIMATION Fixed an issue with the Joints List interface in Weight Manager ATTRIBUTE MANAGER Fixed an issue with resetting

More information

User Interface Software Projects

User Interface Software Projects User Interface Software Projects Assoc. Professor Donald J. Patterson INF 134 Winter 2013 The author of this work license copyright to it according to the Creative Commons Attribution-Noncommercial-Share

More information

2.2 - Layouts. Bforartists Reference Manual - Copyright - This page is Public Domain

2.2 - Layouts. Bforartists Reference Manual - Copyright - This page is Public Domain 2.2 - Layouts Introduction...2 Switching Layouts...2 Standard Layouts...3 3D View full...3 Animation...3 Compositing...3 Default...4 Motion Tracking...4 Scripting...4 UV Editing...5 Video Editing...5 Game

More information

Optimizing and Profiling Unity Games for Mobile Platforms. Angelo Theodorou Senior Software Engineer, MPG Gamelab 2014, 25 th -27 th June

Optimizing and Profiling Unity Games for Mobile Platforms. Angelo Theodorou Senior Software Engineer, MPG Gamelab 2014, 25 th -27 th June Optimizing and Profiling Unity Games for Mobile Platforms Angelo Theodorou Senior Software Engineer, MPG Gamelab 2014, 25 th -27 th June 1 Agenda Introduction ARM and the presenter Preliminary knowledge

More information

3dSprites. v

3dSprites. v 3dSprites v1.0 Email: chanfort48@gmail.com 3dSprites allows you to bring thousands of animated 3d objects into the game. Only up to several hundreds of animated objects can be rendered using meshes in

More information

Atomic bomb with Blender!

Atomic bomb with Blender! New version! Atomic bomb with Blender! Previous version: Fweibel.com 1/12 2008 Fweibel Introduction This article was created for people who are interested in creating virtual special effects with blender.

More information

BlenderPanda Documentation. Release 0.1.0

BlenderPanda Documentation. Release 0.1.0 BlenderPanda Documentation Release 0.1.0 May 01, 2018 Contents 1 Getting Started 3 1.1 Installing BlenderPanda......................................... 3 1.2 Viewport Preview............................................

More information

IAT 445 Lab 10. Special Topics in Unity. Lanz Singbeil

IAT 445 Lab 10. Special Topics in Unity. Lanz Singbeil IAT 445 Lab 10 Special Topics in Unity Special Topics in Unity We ll be briefly going over the following concepts. They are covered in more detail in your Watkins textbook: Setting up Fog Effects and a

More information

Contents in Detail. Who Is This Book For?... xix What s in This Book?... xx. part I: Warming Up 1

Contents in Detail. Who Is This Book For?... xix What s in This Book?... xx. part I: Warming Up 1 Acknowledgments xvii Introduction Who Is This Book For?... xix What s in This Book?... xx Part I: Warming Up.... xx Part II: Simulating Life... xx Part III: Fun with Images... xx Part IV: Enter 3D... xx

More information

The Application Stage. The Game Loop, Resource Management and Renderer Design

The Application Stage. The Game Loop, Resource Management and Renderer Design 1 The Application Stage The Game Loop, Resource Management and Renderer Design Application Stage Responsibilities 2 Set up the rendering pipeline Resource Management 3D meshes Textures etc. Prepare data

More information

ROTOSCOPING AND MATTE PAINTING In Blender v2.48a

ROTOSCOPING AND MATTE PAINTING In Blender v2.48a In the world of Visual Effects, Rotoscoping, Matte Painting and Garbage Painting are necessary and complementary functions. They are used each time a cut-out in the image is necessary, to remove a background

More information

12/15/2008. All about Game Maker. Integrated Development Environment for 2D games Global idea

12/15/2008. All about Game Maker. Integrated Development Environment for 2D games Global idea Game Design 2008 Lecture 09 All about Game Maker Which is required for last assignment Integrated Development Environment for 2D games Global idea Simple to use, using drag-and-drop Still considerable

More information

CS345/DIGM465: Computer Game Development: Understanding Torque

CS345/DIGM465: Computer Game Development: Understanding Torque CS345/DIGM465: Computer Game Development: Understanding Torque Will Muto Digital Media Drexel University Tribal Trouble, Gish, & ThinkTanks Introduction Cost: $150-$749 Royalties: None Scripting language:

More information

Assembly Line Pose Automation Kit User Manual. 2017, RiverSoft Art

Assembly Line Pose Automation Kit User Manual. 2017, RiverSoft Art User Manual Assembly Line Pose Automation Kit User Manual 2017, RiverSoft Art Contents Introduction... 1 Features... 1 How to execute Assembly Lines to automate pose tasks... 3 How to create and edit Assembly

More information

Bforartists Reference Manual - Copyright - This page is under OCL license. User Preferences

Bforartists Reference Manual - Copyright - This page is under OCL license. User Preferences User Preferences User Preferences...2 Open User Preferences...2 Configure...2 Save the new preferences...3 Load Factory Settings...3 Startup File...3 Interface...4 Display...4 Warnings...5 View Manipulation...5

More information

Full Screen Layout. Main Menu Property-specific Options. Object Tools ( t ) Outliner. Object Properties ( n ) Properties Buttons

Full Screen Layout. Main Menu Property-specific Options. Object Tools ( t ) Outliner. Object Properties ( n ) Properties Buttons Object Tools ( t ) Full Screen Layout Main Menu Property-specific Options Object Properties ( n ) Properties Buttons Outliner 1 Animation Controls The Create and Add Menus 2 The Coordinate and Viewing

More information

3D Modeling Course Outline

3D Modeling Course Outline 3D Modeling Course Outline Points Possible Course Hours Course Overview 4 Lab 1: Start the Course Identify computer requirements. Learn how to move through the course. Switch between windows. Lab 2: Set

More information

1 INTRoduCTIon to BLENDER 1. 3 PREPARATIon 19

1 INTRoduCTIon to BLENDER 1. 3 PREPARATIon 19 INTRoduCTIoN xv 2 INTRoduCTIon to GIMP 13 Topics Covered... xv What Isn t Covered...xvi Requirements....xvi The Projects....xvi The Bat Creature... xvii The Spider Bot... xvii The Jungle Temple... xvii

More information

Object Manipulation and Basic Animation

Object Manipulation and Basic Animation Object Manipulation and Basic Animation By Immer Baldos This document is a tutorial on basic modeling and animation using Blender version 2.49b. The goals are to create a Windmill using blender s built-in

More information

Unity Scripting 4. CS 491 / DES 400 Crea.ve Coding. Computer Science

Unity Scripting 4. CS 491 / DES 400 Crea.ve Coding. Computer Science Unity Scripting 4 Unity Components overview Particle components Interaction Key and Button input Parenting CAVE2 Interaction Wand / Wanda VR Input Devices Project Organization Prefabs Instantiate Unity

More information

Chapter 18- Relative Vertex (Shape) Keys

Chapter 18- Relative Vertex (Shape) Keys Chapter 18- Relative Vertex (Shape) Keys Creating Mesh Shape Keys We ve discussed deforming a mesh with an armature, but what if you want to deform a mesh in other ways like have it flatten, move a mouth,

More information

Introduction. About me. About the book. About the book. Why a book? Introducing Character Animation with Blender. About me About the book

Introduction. About me. About the book. About the book. Why a book? Introducing Character Animation with Blender. About me About the book Introducing Character Animation with Blender Tony Mullen About me About the book Introduction Some general thoughts on Blender related publishing Preview of ICAWB The Gallery About me College lecturer

More information

Introduction to Unreal Engine Blueprints for Beginners. By Chaven R Yenketswamy

Introduction to Unreal Engine Blueprints for Beginners. By Chaven R Yenketswamy Introduction to Unreal Engine Blueprints for Beginners By Chaven R Yenketswamy Introduction My first two tutorials covered creating and painting 3D objects for inclusion in your Unreal Project. In this

More information

Webinar Series. Virtual Reality. February 28 th, :00 PM EST. Hosted by Jeff Bertrand and Ginny Moore

Webinar Series. Virtual Reality. February 28 th, :00 PM EST. Hosted by Jeff Bertrand and Ginny Moore Webinar Series Virtual Reality February 28 th, 2016 2:00 PM EST Hosted by Jeff Bertrand and Ginny Moore Virtual Reality Webinar Agenda Ø Application and Benefits Ø 3 Types of Virtual Reality Ø Advantages

More information

SOFTWARE DESIGN DESCRIPTION

SOFTWARE DESIGN DESCRIPTION MIDDLE EAST TECHNICAL UNIVERSITY COMPUTER ENGINEERING DEPARTMENT SOFTWARE DESIGN DESCRIPTION Group Name : Smeshers Group Members : Uğur Yanıkoğlu Furkan Odluyurt Dicle Ayzit Emre Barış Advisors : Yusuf

More information

Actions and Graphs in Blender - Week 8

Actions and Graphs in Blender - Week 8 Actions and Graphs in Blender - Week 8 Sculpt Tool Sculpting tools in Blender are very easy to use and they will help you create interesting effects and model characters when working with animation and

More information

Creating the Tilt Game with Blender 2.49b

Creating the Tilt Game with Blender 2.49b Creating the Tilt Game with Blender 2.49b Create a tilting platform. Start a new blend. Delete the default cube right click to select then press X and choose Erase Selected Object. Switch to Top view (NUM

More information

Chapter 9- Animation Basics

Chapter 9- Animation Basics Timing, Moving, Rotating and Scaling Now that we know how to make stuff and make it look good, it s time to figure out how to move it around in your scene. Another name for an animation is Interpolation

More information

Introduction to the Graphics Module Framework

Introduction to the Graphics Module Framework Introduction to the Graphics Module Framework Introduction Unlike the C++ module, which required nothing beyond what you typed in, the graphics module examples rely on lots of extra files - shaders, textures,

More information

Auto Texture Tiling Tool

Auto Texture Tiling Tool Table of Contents Auto Texture Tiling Tool Version 1.80 Read Me 1. Basic Functionality...2 1.1 Usage...2 1.1.1 Dynamic Texture Tiling...2 1.1.2 Basic Texture Tiling...3 1.1.3 GameObject menu item...3 1.2

More information

About the FBX Exporter package

About the FBX Exporter package About the FBX Exporter package Version : 1.3.0f1 The FBX Exporter package provides round-trip workflows between Unity and 3D modeling software. Use this workflow to send geometry, Lights, Cameras, and

More information

NETWORK ANIMATION SOLUTION. What s New?

NETWORK ANIMATION SOLUTION. What s New? NETWORK ANIMATION SOLUTION What s New? What s New in Harmony 9? New Pencil Line Technology In Harmony 9, Toon Boom has re-engineered its vector technology to deliver a redesigned Pencil Line Technology

More information

This is the opening view of blender.

This is the opening view of blender. This is the opening view of blender. Note that interacting with Blender is a little different from other programs that you may be used to. For example, left clicking won t select objects on the scene,

More information

3D Programming. 3D Programming Concepts. Outline. 3D Concepts. 3D Concepts -- Coordinate Systems. 3D Concepts Displaying 3D Models

3D Programming. 3D Programming Concepts. Outline. 3D Concepts. 3D Concepts -- Coordinate Systems. 3D Concepts Displaying 3D Models 3D Programming Concepts Outline 3D Concepts Displaying 3D Models 3D Programming CS 4390 3D Computer 1 2 3D Concepts 3D Model is a 3D simulation of an object. Coordinate Systems 3D Models 3D Shapes 3D Concepts

More information

Basic Blender Commands This is just a partial list of Blender commands. Please visit the Blender.org website for more details.

Basic Blender Commands This is just a partial list of Blender commands. Please visit the Blender.org website for more details. Basic Key Commands Basic Blender Commands This is just a partial list of Blender commands. Please visit the Blender.org website for more details. TAB key- Toggles between edit mode (vertex editing) and

More information

Bforartists Reference Manual - Copyright - This page is under OCL license. 12 User Preferences

Bforartists Reference Manual - Copyright - This page is under OCL license. 12 User Preferences 12 User Preferences User Preferences...2 Open User Preferences...2 Configure...2 Save the new preferences...3 Load Factory Settings...3 Interface...3 Display...4 View manipulation...4 2D Viewports...5

More information

MEGACACHE DOCS. Introduction. Particle Simulations. Particle Exporters. Example Videos

MEGACACHE DOCS. Introduction. Particle Simulations. Particle Exporters. Example Videos MEGACACHE DOCS Introduction MegaCache is an editor extension of for the Unity game engine, it allows you to import cached animated mesh geometry regardless of the topology, vertex count, material use etc

More information

Introduction to Unity. What is Unity? Games Made with Unity /666 Computer Game Programming Fall 2013 Evan Shimizu

Introduction to Unity. What is Unity? Games Made with Unity /666 Computer Game Programming Fall 2013 Evan Shimizu Introduction to Unity 15-466/666 Computer Game Programming Fall 2013 Evan Shimizu What is Unity? Game Engine and Editor With nice extra features: physics engine, animation engine, custom shaders, etc.

More information

Game Design From Concepts To Implementation

Game Design From Concepts To Implementation Game Design From Concepts To Implementation Giacomo Cappellini - g.cappellini@mixelweb.it Why Unity - Scheme Unity Editor + Scripting API (C#)! Unity API (C/C++)! Unity Core! Drivers / O.S. API! O.S.!

More information

Auto Texture Tiling Tool

Auto Texture Tiling Tool Table of Contents Auto Texture Tiling Tool Version 1.77 Read Me 1. Basic Functionality...2 1.1 Usage...2 1.2 Unwrap Method...3 1.3 Mesh Baking...4 1.4 Prefabs...5 2. Gizmos and Editor Window...6 1.1 Offset...6

More information

Reference Image. Source:

Reference Image. Source: Mesh Modeling By Immer Baldos This document is a tutorial on mesh modeling using Blender version 2.49b. The goal is to create a model of an elevator. This tutorial will tackle creating the elevator cart,

More information

Chapter Adding 1- T Mo he tio B n le to nde Yo r ur Inte Scerfac ne e Landscape Scene Stormy Night.mp4 End 200 Default Animation frame 1 Location

Chapter Adding 1- T Mo he tio B n le to nde Yo r ur Inte Scerfac ne e Landscape Scene Stormy Night.mp4 End 200 Default Animation frame 1 Location 1- The Blender Interface Adding Motion to Your Scene Open your Landscape Scene file and go to your scene buttons. It s time to animate our dark and stormy night. We will start by making the correct setting

More information

Chapter 19- Object Physics

Chapter 19- Object Physics Chapter 19- Object Physics Flowing water, fabric, things falling, and even a bouncing ball can be difficult to animate realistically using techniques we have already discussed. This is where Blender's

More information

WebGL (Web Graphics Library) is the new standard for 3D graphics on the Web, designed for rendering 2D graphics and interactive 3D graphics.

WebGL (Web Graphics Library) is the new standard for 3D graphics on the Web, designed for rendering 2D graphics and interactive 3D graphics. About the Tutorial WebGL (Web Graphics Library) is the new standard for 3D graphics on the Web, designed for rendering 2D graphics and interactive 3D graphics. This tutorial starts with a basic introduction

More information

Scenegraph. Vienna University of Technology 2

Scenegraph. Vienna University of Technology 2 Scenegraphs and Engines Scenegraphs Application Scenegraph Windows/Linux OpenGL Hardware Vienna University of Technology 2 Scenegraphs Choosing the right libraries is a difficult process Very different

More information

As we said Procedural Textures are not images but textures that Blender creates automatically. They are good to use as a foundation to start with.

As we said Procedural Textures are not images but textures that Blender creates automatically. They are good to use as a foundation to start with. Textures There are two types of Textures in Blender. Procedural Textures that are by default created by the program and Image Textures that use external images. We will first see how you can apply a Procedural

More information

A tutorial on NPR rendering using Blender s new Freestyle renderer

A tutorial on NPR rendering using Blender s new Freestyle renderer A tutorial on NPR rendering using Blender s new Freestyle renderer Author: T.K. Last modified: November 11, 2008 Introduction The present document describes how I created an experimental movie clip (Fig.1)

More information

Unit 68: 3D Environments

Unit 68: 3D Environments Unit 68: 3D Environments 1. Various different industries make good use of 3D Environments to create quality and professional products. A prime example of this is the gaming industry, which has been impacted

More information

Animation Tools THETOPPERSWAY.COM

Animation Tools THETOPPERSWAY.COM Animation Tools 1.) 3D Max: It includes 3D modeling and rendering software. A new Graphite modeling and texturing system(the Graphite Modeling Tools set, also called the modeling ribbon, gives you everything

More information

CS451Real-time Rendering Pipeline

CS451Real-time Rendering Pipeline 1 CS451Real-time Rendering Pipeline JYH-MING LIEN DEPARTMENT OF COMPUTER SCIENCE GEORGE MASON UNIVERSITY Based on Tomas Akenine-Möller s lecture note You say that you render a 3D 2 scene, but what does

More information

This view is called User Persp - perspective. It's good for rendering, but not for editing. Ortho will be better.

This view is called User Persp - perspective. It's good for rendering, but not for editing. Ortho will be better. Create a crate simple placeable in Blender. In this tutorial I'll show you, how to create and texture a simple placeable, without animations. Let's start. First thing is always to have an idea, how you

More information

Introduction to Digital Modelling and Animation in Design week 4 Textures

Introduction to Digital Modelling and Animation in Design week 4 Textures Introduction to Digital Modelling and Animation in Design week 4 Textures Thaleia Deniozou - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

More information

Fire Dynamics Simulator

Fire Dynamics Simulator Fire Dynamics Simulator Using FDS Find out more information about FDS at the primary FDS website FDS runs on Windows, Mac, and Linux. You can download FDS from the above website, or you can check out the

More information

MIXED REALITY (AR & VR) WITH UNITY 3D (Microsoft HoloLens)

MIXED REALITY (AR & VR) WITH UNITY 3D (Microsoft HoloLens) MIXED REALITY (AR & VR) WITH UNITY 3D (Microsoft HoloLens) 1. INTRODUCTION TO Mixed Reality (AR & VR) What is Virtual Reality (VR) What is Augmented reality(ar) What is Mixed Reality Modern VR/AR experiences

More information

Chapter 12- NURBS & Meta Shape Basics

Chapter 12- NURBS & Meta Shape Basics Chapter 12- NURBS & Meta Shape Basics When you press Shift-A for Add, you will notice other object types beside meshes, cameras and lights that can be created. Two types of objects that can be created

More information

Adding Advanced Shader Features and Handling Fragmentation

Adding Advanced Shader Features and Handling Fragmentation Copyright Khronos Group, 2010 - Page 1 Adding Advanced Shader Features and Handling Fragmentation How to enable your application on a wide range of devices Imagination Technologies Copyright Khronos Group,

More information

CSC Graphics Programming. Budditha Hettige Department of Statistics and Computer Science

CSC Graphics Programming. Budditha Hettige Department of Statistics and Computer Science CSC 307 1.0 Graphics Programming Department of Statistics and Computer Science Graphics Programming 2 Common Uses for Computer Graphics Applications for real-time 3D graphics range from interactive games

More information

Author: John M Blain 2.54+

Author: John M Blain 2.54+ Author: John M Blain 2.54+ Blender 3D Computer Modeling and Animation Blender 3D is a an open source freeware program maintained by the Blender Foundation. The program can be downloaded, free of charge,

More information

Unity Game Development

Unity Game Development Unity Game Development 1. Introduction to Unity Getting to Know the Unity Editor The Project Dialog The Unity Interface The Project View The Hierarchy View The Inspector View The Scene View The Game View

More information

Godot engine Documentation

Godot engine Documentation Godot engine Documentation Release 1.1 authorname Apr 22, 2017 Contents i ii Godot engine Documentation, Release 1.1 Introduction Welcome to the Godot Engine documentation center. The aim of these pages

More information

Dice Making in Unity

Dice Making in Unity Dice Making in Unity Part 2: A Beginner's Tutorial Continued Overview This is part 2 of a tutorial to create a six sided die that rolls across a surface in Unity. If you haven't looked at part 1, you should

More information

5.3 Apply computer file management techniques 5.5 Select the format for digital delivery 5.6 Use and care for equipment and related accessories

5.3 Apply computer file management techniques 5.5 Select the format for digital delivery 5.6 Use and care for equipment and related accessories Re-Associate Yourself with Basic Modeling - Create a Lego Man o Loop Cuts creating sharp edges o To Sphere feature o Bridge Edges feature Digital step by step tutorial 3.1 Use industry terminology appropriately

More information

Creating warp clips in After Effects CS6

Creating warp clips in After Effects CS6 Creating warp clips in After Effects CS6 Basics UV mapping is a technique where pixels in a texture are mapped onto the surface of a 3d object. GS2 and Virtual Placement supports special GTC warp clips

More information

Notes on Blender: By Matthew Evett

Notes on Blender: By Matthew Evett Notes on Blender: By Matthew Evett A synopsis of the Wiki: http://en.wikibooks.org/wiki/blender_3d:_noob_to_pro The Blender GUI is implemented via opengl. Thus the GUI is not Windowsstandard. Can resize

More information

OpenGL ES 3.0 Cookbook PDF

OpenGL ES 3.0 Cookbook PDF OpenGL ES 3.0 Cookbook PDF Over 90 ready-to-serve, real-time rendering recipes on Android and ios platforms using OpenGL ES 3.0 and GL shading language 3.0 to solve day-to-day modern 3D graphics challenges

More information

Inside Biosphere3D The free digital globe from a developer prospect. Steffen Ernst

Inside Biosphere3D The free digital globe from a developer prospect. Steffen Ernst The free digital globe from a developer prospect Steffen Ernst Page 2 Short Description Biosphere3D targets interactive landscape rendering based on a virtual globe Input data: DEM, satellite and aerial

More information

User Manual. Version 2.0

User Manual. Version 2.0 User Manual Version 2.0 Table of Contents Introduction Quick Start Inspector Explained FAQ Documentation Introduction Map ity allows you to use any real world locations by providing access to OpenStreetMap

More information

CS248 Lecture 2 I NTRODUCTION TO U NITY. January 11 th, 2017

CS248 Lecture 2 I NTRODUCTION TO U NITY. January 11 th, 2017 CS248 Lecture 2 I NTRODUCTION TO U NITY January 11 th, 2017 Course Logistics Piazza Staff Email: cs248-win1617-staff@lists.stanford.edu SCPD Grading via Google Hangouts: cs248.winter2017@gmail.com Homework

More information

MANAGING MODS Imported mods are located in:..\[steamlibrary]\steamapps\common\purefarming \ PureFarming_Data\StreamingAssets\IMPORTER\mod

MANAGING MODS Imported mods are located in:..\[steamlibrary]\steamapps\common\purefarming \ PureFarming_Data\StreamingAssets\IMPORTER\mod IMPORTER MANUAL MANAGING MODS Imported mods are located in:..\[steamlibrary]\steamapps\common\purefarming \ PureFarming_Data\StreamingAssets\IMPORTER\mod Mods created by others also have to be placed in

More information

UPBGE Manual Documentation

UPBGE Manual Documentation UPBGE Manual Documentation Release latest UPBGE Community Aug 03, 2018 Manual 1 Introduction 3 2 Tutorials 11 3 Editors 13 4 Logic 53 5 Release Game 109 6 About this Manual 111 7 UPBGE Modules (bge) 113

More information

What s New to Version 3.0

What s New to Version 3.0 SU Animate 3.0 Guide What s New to Version 3.0... 2 Install... 3 Cameras, Curves & Paths... 4 Use a Camera path to create a simple walk thru effect... 6 Animating Objects with Target Groups... 6 Using

More information

============================================================================

============================================================================ 25 Free 3D modeling softwares Posted by Waldo - 2011/11/08 14:23 I thought this link may come in handy to a few designers out there. 25 Free Modeling Softwares Posted by admin - 2011/11/08 18:51 Blender

More information

What s New to Version 2.0

What s New to Version 2.0 SU Animate 2.0 Guide What s New to Version 2.0...1 Install...2 Cameras, Curves & Paths...3 Use a Camera path to create a simple walk thru effect...8 Animating Objects with Target Groups...9 Using four

More information

Maya tutorial. 1 Camera calibration

Maya tutorial. 1 Camera calibration Maya tutorial In this tutorial we will augment a real scene with virtual objects. This tutorial assumes that you have downloaded the file Maya.zip from the course web page and extracted it somewhere. 1

More information

Tutorial: Working with Lighting through Components

Tutorial: Working with Lighting through Components Tutorial: Working with Lighting through Components With a populated scene we can begin layering in light sources to add realism and light to our level. For this we will need to use an environmental probe

More information

Table of contents. Introduction. Having finally realized your ambitious plans for a game, you might face big performance

Table of contents. Introduction. Having finally realized your ambitious plans for a game, you might face big performance Table of contents Introduction Introduction... 1 Optimizing Unity games... 2 Rendering performance...2 Script performance...3 Physics performance...3 What is this all about?...4 How does M2HCullingManual

More information

8iUnityPlugin Documentation

8iUnityPlugin Documentation 8iUnityPlugin Documentation Release 0.4.0 8i Jun 08, 2017 Contents 1 What is the 8i Plugin? 3 2 Why are we doing it? 5 3 Supported Unity Versions and Platforms 7 i ii Welcome to the 8i Unity Alpha programme!

More information

Shaders. Slide credit to Prof. Zwicker

Shaders. Slide credit to Prof. Zwicker Shaders Slide credit to Prof. Zwicker 2 Today Shader programming 3 Complete model Blinn model with several light sources i diffuse specular ambient How is this implemented on the graphics processor (GPU)?

More information

MIXED REALITY (AR & VR) WITH UNITY 3D (Microsoft HoloLens)

MIXED REALITY (AR & VR) WITH UNITY 3D (Microsoft HoloLens) MIXED REALITY (AR & VR) WITH UNITY 3D (Microsoft HoloLens) 1. INTRODUCTION TO Mixed Reality (AR & VR) What is Virtual Reality (VR) What is Augmented reality(ar) What is Mixed Reality Modern VR/AR experiences

More information

Chapter 4- Blender Render Engines

Chapter 4- Blender Render Engines Chapter 4- Render Engines What is a Render Engine? As you make your 3D models in, your goal will probably be to generate (render) an image or a movie as a final result. The software that determines how

More information

NURBS Sailboat on Ocean (Modeling/Animation)

NURBS Sailboat on Ocean (Modeling/Animation) Course: 3D Design Title: NURBS Sailboat Blender: Version 2.6X Level: Beginning Author; Neal Hirsig (nhirsig@tufts.edu) (April 2013) NURBS Sailboat on Ocean (Modeling/Animation) The objective of this PDF

More information

Principles of Computer Game Design and Implementation. Lecture 3

Principles of Computer Game Design and Implementation. Lecture 3 Principles of Computer Game Design and Implementation Lecture 3 We already knew Introduction to this module History of video High-level information for a game (such as Game platform, player motivation,

More information

Chapter 3- Creating & Editing Objects

Chapter 3- Creating & Editing Objects ` Chapter 3- Creating & Editing Objects Edit Mode- Mesh Editing Object Mode After you have created a mesh, you can go into Edit mode (Tab key or Mode option in window) and change its shape. In edit mode,

More information

Graphical Editors used at CSC/Nada earlier. Main competitors. What is Maya? What is Maya? An Introduction to Maya. Maya

Graphical Editors used at CSC/Nada earlier. Main competitors. What is Maya? What is Maya? An Introduction to Maya. Maya DH2640 Grafik och interaktionsprogrammering DH2323 Datorgrafik och interaktion NA8740 Datorgrafik och användargränssnitt An Introduction to Maya original slides by Gustav Taxén Lars Kjelldahl lassekj@csc.kth.se

More information