Blender API: Part 1: Overview

Slides:



Advertisements
Similar presentations
Designing Embedded User Assistance for Web- based Applications Scott DeLoach.
Advertisements

BY AHROORAN & CHRIS 3D Software. Blender Blender is a free open source software that is compatible with most operating systems for example GNU/Linux,
Blender Overview: Module 1 Interface & Basic Modeling SEPT 2014 (v1.0)
Skills: None Concepts: Text editor versus word processor, information, text file, code, ASCII This work is licensed under a Creative Commons Attribution-Noncommercial-Share.
3D Modelling & Animation
By Steven Taylor.  Basically a video game engine is a software system designed for the creation and development of video games.  There are many game.
Create a movie into CATIA 5 th CERN CATIA Users Forum Jean-Pierre Corso EN-MEF.
Comp 410: Final Project Christopher Alme Christopher Nunu Dennis Qian Stanley Roberts.
OPTIMIZING AND DEBUGGING GRAPHICS APPLICATIONS WITH AMD'S GPU PERFSTUDIO 2.5 GPG Developer Tools Gordon Selley Peter Lohrmann GDC 2011.
- Chaitanya Krishna Pappala Enterprise Architect- a tool for Business process modelling.
CSE 381 – Advanced Game Programming 3D Game Architecture.
CSE 380 – Computer Game Programming Introduction ITS 102 – 3D Modeling for Games Blender's User Interface.
Blender Landon Glodowski. Agenda  The History of Blender  Blender 2.6  Python Scripts  The Blender Foundation  The Blender Foundation Projects 
FUNDAMENTALS OF PROGRAMMING SM1204 SEMESTER A 2012.
© 2009 Research In Motion Limited Advanced Java Application Development for the BlackBerry Smartphone Trainer name Date.
Integrated Development Environment (IDE)
3461A Readings from the Swing Tutorial. 3461A Overview  The follow is the Table of Contents from the trail “Creating a GUI with JFC/Swing” in the “The.
Python From the book “Think Python”
Ch 1. A Python Q&A Session Spring Why do people use Python? Software quality Developer productivity Program portability Support libraries Component.
Embedded Software SKKU 14 1 Sungkyunkwan University Tizen v2.3 Application Profiling & Debugging.
Free and Low Cost Game Design Tools for Game Based Learning with Student Game Creation Mark Lewis, Faculty Instructional Technologist Introduction There.
MIRALab Where Research means Creativity SVG Open 2005 University of Geneva 1 Converting 3D Facial Animation with Gouraud shaded SVG A method.
IClone 5 Trainer Certify Tests Reallusion Inc
Vizard Virtual Reality Toolkits Vizard Virtual Reality Toolkits.
August 2003 At A Glance The IRC is a platform independent, extensible, and adaptive framework that provides robust, interactive, and distributed control.
DIGITAL CONTENT CREATION PROCESS fff PRE-PRODUCTION PRODUCTION POST-PRODUCTION Process ANIMATION PROCESS.
Design Visualization Software Introduction / Review.
Computer Graphics Imaging Lecture 13 and 14 UV Mapping.
V7 Foundation Series Vignette Education Services.
DotNetNuke v4 Overview Stan Schultes Stan Schultes Enterprise architect / application developer Enterprise architect / application developer Conference.
Advanced Elements & Advanced HTML Codes AGCJ 407.
Interactive Animation
Version Control Systems
FINGERSPELLING THE SIGN LANGUAGE TOOL
Adobe Premiere interface overview
Beginning of Xamarin for iOS development
Development Environment
CST 1101 Problem Solving Using Computers
Objective % Select and utilize tools to design and develop websites.
Javascript and Dynamic Web Pages: Client Side Processing
Games Development Practices 3D Modelling
Hands-on: CS, CEL and blender2crystal (by Pablo Martin)
Android Studio, Android System Basics and Git
Visual Effects.
A Presentation about Blender Enrile, Katrina B. BFA 3A
Introducing Blender.
In-situ Visualization using VisIt
Version Control Systems
Objective % Select and utilize tools to design and develop websites.
Session : Xamarin Forms Rich UI Controls
Importing Files Importing is not the same as capturing.
Technology Tools for ELLs
William Roberts Ryan Hipple
Do you know this browser?...
Animation Workshop Week 2
Procedural Animation Introduction to Procedural Methods in 3D Computer Animation Dr. Midori Kitagawa.
Computer Animation UV Mapping.
Objective Understand web-based digital media production methods, software, and hardware. Course Weight : 10%
Blender API: Part 2: Game Engine
Chapter I Introduction
The SharePoint framework
BLENDER 3D.
Web programming and advanced development techniques
User Interface Design In Windows using Blend.
Input and Output Python3 Beginner #3.
CSC 581: Mobile App Development
Games Development 2 Tools Programming
Unity Game Development
Google Certification Module 6
Introduction to WebGL 3D with HTML5 and Babylon.js
Presentation transcript:

Blender API: Part 1: Overview Roger Wickes rogerwickes@yahoo.com

Blender and the Foundation Blender is the (only) free and open source 3D creation suite, since 2002 Supports the entirety of the 3D pipeline—modeling, rigging, animation, simulation, rendering, compositing and motion tracking, even video editing and game creation. Advanced users employ Blender’s API for Python scripting to customize the application and write specialized tools Foundation in Netherlands with mission “to build a free and open source complete 3D creation pipeline for artists and small teams.” Supported by a Cloud, wiki, Books, video tuts, certified trainers, open movies, fan websites, irc, annual conferences, user groups…

Blender API Uses As a rendering engine As a physics engine Since it is FOSS, ideal for Cloud rendering of 100x+ in parallel Data Visualization Object visualization (drug interaction, sub-atomic physics, stellar dynamics) Real-world simulation visualization (traffic, queues) As a physics engine As a game engine To extend/modify Blender itself

Ways to run Blender Python Blender: start gui, or headless command line Python: register module or extend class Hello world: inside Blender import bpy print(“distorting cube”) cube = bpy.data.objects["Cube"] verts = cube.data.vertices verts[0].co.x += 1.0

dir(bpy) ‘app’ – the blender application itself; version 'context’ – what is currently active, selected 'data’ – datablocks (classes) in the file 'ops’ – operators that perform functions 'path’ – file locations, path translations 'props’ – properties/attributes for extending blender objects 'types’ – data structures for every blender type (class) 'utils’ – utilities for conversion, loading modules

Handy Links https://www.blender.org/api/blender_python_api_2_76_2/ Wiki http://wiki.blender.org/index.php/ Blender Artists (Python forum) Cookbook http://wiki.blender.org/index.php/Dev:Py/Scripts/Cookbook

Tips Code and debug inside Blender for instant feedback Use Code colors (setting in the Tools (left-side) pull out – press “t” with your cursor in the text editor window Try dir(bpy.context) – dir all over in the console Google is your friend Hover over a UI element to see the API call being made

Thank you! rogerwickes@yahoo.com Topics covered Blender history, Open Movies, movie workflow & pipeline Blender UI, window types, scenes, screen layouts/desktops Python uses, Object wrappers, dictionary by name Bpy API tree, 10 program examples Object attributes: name, location, scale, rotation_euler Object types: mesh, material, action, camera, lamp, scene, sequencer strip Code examples: context, data, ops, Context: .object, .scene, .scene.sequence_editor Data: .objects, .vertices, .materials, .type, .actions, Ops: .mesh,.object, .object.add, object.modifier, Path: .abspath