Films Training Blog
Pipeline and Tools Characters
Pipeline and Tools Characters
search Login Join
favorite

Development Fund

Support Blender Core Development with a monthly contribution.

theaters

Blender Studio

The creators who share. Access production content and knowledge from the Open Movies.

code

Blender Developer Blog

Latest news and updates on Blender development.

people

Get Involved

Join the community and help with design, development, docs and more.

bar_chart

Open Data

A platform to collect and display the Blender Benchmark results.

menu_book

Blender Docs

Documentation on Blender's features, tools and API.

Blender Conference

The yearly event that brings together the Blender community in one place.

download

Get Blender

Download the latest Blender version, or try the beta!

Films
Training
Blog
Pipeline and Tools
Characters
Search
Login
Join

Course

Scripting for Artists
feed Course Overview
feed Blender Versions
Videos keyboard_arrow_down
  1. 01

    Introduction & copy-pasting

    Free
  2. 02

    Names & Objects

  3. 03

    Stuff on Lists

  4. 04

    Data Types

  5. 05

    Collections: Mass-Rename of Objects

  6. 06

    Blender Collections

    Free
  7. 07

    For vs. While

    Free
  8. 08

    Your Own Operator

    Free
  9. 09

    From Script to Add-on

    Free
  10. 10

    User Interfaces

    Free
  11. 11

    Custom Properties

    Free
  12. 12

    Asset Linking

    Free
  13. 13

    Roast my Add-on

    Free
  14. 14

    The Roast of Nature Clicker

    Free
  15. 15

    Modal Operators

    Free
  16. 16

    Readability & Understandability

Tech keyboard_arrow_down
  1. 01

    Updating F-Curves

  2. 02

    Render 10,000 OBJ files

  3. 03

    Mass-Rename Bones & Vertex Groups

  4. 04

    Rendering from 'all' angles

Course

Scripting for Artists
feed Blender Versions
Videos keyboard_arrow_down
  1. 01

    Introduction & copy-pasting

    Free
  2. 02

    Names & Objects

  3. 03

    Stuff on Lists

  4. 04

    Data Types

  5. 05

    Collections: Mass-Rename of Objects

  6. 06

    Blender Collections

    Free
  7. 07

    For vs. While

    Free
  8. 08

    Your Own Operator

    Free
  9. 09

    From Script to Add-on

    Free
  10. 10

    User Interfaces

    Free
  11. 11

    Custom Properties

    Free
  12. 12

    Asset Linking

    Free
  13. 13

    Roast my Add-on

    Free
  14. 14

    The Roast of Nature Clicker

    Free
  15. 15

    Modal Operators

    Free
  16. 16

    Readability & Understandability

Tech keyboard_arrow_down
  1. 01

    Updating F-Curves

  2. 02

    Render 10,000 OBJ files

  3. 03

    Mass-Rename Bones & Vertex Groups

  4. 04

    Rendering from 'all' angles

You need to login to view this content

You can join Blender Studio for €11.50/month and get access to all of our training & film content instantly!

Login Join Blender Studio

Tech

Rendering from 'all' angles

17th August 2017

info License: CC-BY
flag Report Problem

Published by

Sybren A. Stüvel

This is the fourth video in a series of “tech videos” in which Sybren discusses concrete problems seen on Stack Exchange. In this video we render an object from 'all' angles, which are defined by the points of a mesh. This mesh can then be placed around the object to render.

  • Placing 3D cursor for testing
  • Iterating over vertices
  • Enumerating while iterating
  • Converting from local to world coordinates
  • String formatting

Links from the video

  • The question on Stack Exchange
  • enumerate
  • matrix_world
  • String formatting
  • The blend file {attachment Invalid slug blend - should be a static_asset id}

The Slides

Slides are only visible to Blender Cloud susbcribers

12 Comments

Join to comment publicly.

Johannes Ewers

2nd September 2017 - 10:16

just finished the last video. Thank you very much. That gave me a good guidance through the blender data maze.Without much Python experience, I was struggling to understand and modify an existing script. This set of videos helped very much. My take: spend enough time to go through the blender API and try to understand the object trees! Make frequent experiments with small script snippets in the text editor.

Sybren A. Stüvel

3rd September 2017 - 01:36

@johannes.ewers: that's great to read, thank you!

Vincent Lamy

11th September 2017 - 14:06

Very nice tutorials, containing nice tips and good practices.

Thanks for this work!

Matt Lloyd

21st September 2017 - 13:18

Hallo Sybren! Thank you for this exciting course. I was listening to the podcast about it today and it's made me want to get started. I was wondering though, about the screen capture software you mentioned. Please would you remind me what it's called? Thanks again Sybren! All the best, Matt.

Sybren A. Stüvel

21st September 2017 - 13:44

@master_joju: I use ffmpeg to do the recording:

OUTNAME="$(date --iso-8601=sec | sed s/:/-/g).mkv"
CAMRES=640x480

ffmpeg \
    -f v4l2 -framerate 25 -video_size $CAMRES -i /dev/video0 \
    -f x11grab -r 25 -s 1920x1080 -i :0.0 \
    -f alsa -ac 1 -ar 44100 -acodec pcm_s24le -i hw:CARD=Podcaster,DEV=0 \
    -map 0 -map 1 -map 2 \
    -metadata:s:0 title="Webcam" \
    -metadata:s:1 title="Screen grab" \
    -metadata:s:2 title="Microphone" \
    -c:v libx264 -preset ultrafast -crf 17 -pix_fmt yuv444p -bf 1 -g 5 \
    -c:a libvorbis -q 10 -af aresample=async=44100 \
    -y "$OUTNAME" \
    -map 0 -pix_fmt yuyv422 -vf hflip -f xv "Recording $OUTNAME"

echo -n "Keep? $OUTNAME [Y/n] "
read answer
if [ "$answer" == "n" ]; then
    echo "Deleting $OUTNAME"
    mkdir -p trash
    mv "$OUTNAME" trash/
fi
Show more replies

Matt Lloyd

21st September 2017 - 20:22

@sybren: Thank you sir!

Andi Bösch

4th April 2018 - 14:25

Great Tutorials. Helped me a lot. I just wished, there is the possibility to just copy and paste the code.

Sybren A. Stüvel

4th April 2018 - 15:56

@Andi Bösch: There is, as the code is in the slides too (they are shown below the video).

rhg931011

16th August 2019 - 08:12

please 2.8ver tutorial!!!! It's great!!!!!!!!!!!!!

Sybren A. Stüvel

16th August 2019 - 15:57

*@rhg931011* I want to add more chapters later this year. For now we just have a 2.80 compatibility page.

Marc Hopkins

22nd April 2021 - 16:15

What I liked about this series on how much it exposed on what can be scripted in Blender.  Very nice and I can fully understand not everything should be scripted. I have a tendency to revert to coding but that is fine for exploring and playing around but in production it should be used where it makes sense and is more practical.  Again very nice series in showing scripting capabilities in Blender.

Sybren A. Stüvel

7th May 2021 - 12:18

@Marc Hopkins Thanks!

Blender Studio

The Creators Who Share.

Facebook Logo Twitter Logo YouTube Logo
  • Films
  • Blog
  • Training
Pipeline and Tools
  • Cloud Rig
  • Blender Kitsu
  • Contact Sheet Add-on
  • Blender Purge
  • Blender Cloud Services
Characters
  • Einar
  • Security Bot
  • Huginn
  • Pack Bot
Studio
  • Terms & Conditions
  • Privacy Policy
  • Contact
  • Remixing Music
  • Blender.org
Loading...