Blender Studio
  • Films
  • Training
  • Characters
  • Pipeline
  • Blog
  • Sign in
  • Join
  • BLENDER.ORG

    • Download

      Get the latest Blender, older versions, or experimental builds.

    • What's New

      Stay up-to-date with the new features in the latest Blender releases.

    LEARNING & RESOURCES

    • Blender Studio

      Access production assets and knowledge from the open movies.

    • Manual

      Documentation on the usage and features in Blender.

    DEVELOPMENT

    • Developers Blog

      Latest development updates, by Blender developers.

    • Documentation

      Guidelines, release notes and development docs.

    • Benchmark

      A platform to collect and share results of the Blender Benchmark.

    • Blender Conference

      The yearly event that brings the community together.

    DONATE

    • Development Fund

      Support core development with a monthly contribution.

    • One-time Donations

      Perform a single donation with more payment options available.

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

Aug. 17th, 2017

info License: CC-BY
Report Problem
Sybren A. Stüvel
Sybren A. Stüvel Publisher

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

Join to comment publicly.

12 comments

Johannes Ewers
Johannes Ewers Sept. 2nd, 2017

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
Sybren A. Stüvel Sept. 3rd, 2017

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

Vincent Lamy
Vincent Lamy Sept. 11th, 2017

Very nice tutorials, containing nice tips and good practices.

Thanks for this work!

Matt Lloyd
Matt Lloyd Sept. 21st, 2017

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
Sybren A. Stüvel Sept. 21st, 2017

@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
Matt Lloyd Sept. 21st, 2017

@sybren: Thank you sir!

Andi Bösch
Andi Bösch April 4th, 2018

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

Sybren A. Stüvel
Sybren A. Stüvel April 4th, 2018

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

rhg931011
rhg931011 Aug. 16th, 2019

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

Sybren A. Stüvel
Sybren A. Stüvel Aug. 16th, 2019

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

Marc Hopkins
Marc Hopkins April 22nd, 2021

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
Sybren A. Stüvel May 7th, 2021

@Marc Hopkins Thanks!

  • Films
  • Training
  • Blog
Pipeline and Tools
  • Cloud Rig
  • Blender Kitsu
  • Contact Sheet Add-on
  • Blender Purge
  • Blender Cloud Services
Characters
  • Cat
  • Dog
  • Chicken & Sets
  • Einar
Studio
  • Terms & Conditions
  • Privacy Policy
  • Contact
  • Remixing Music
  • blender.org

Blender Studio

The creators who share.

Facebook Logo Twitter Logo YouTube Logo
Loading...