houdini tutorial database

Collections
Python Weather Widget

Python Weather Widget

Short Description
Having Python inside of Houdini gives us the ability to connect it to anything. Python being so amazingly versatile allows a whole world of possibilities. A world in which you can at least detect weather patterns and build new data and animations from that. Imagine reconstructing real events from recorded data. The future is here, …now!

Chapter Descriptions

Introduction
In this video we'll take external API's and represent that data in a great visual way to create a weather widget all inside Houdini.

Yahoo Weather API
We'll start to explore Yahoo's Weather API and see how we can bring that live data into Houdini using the power of Python. We'll see how to parse RSS data and get the chunks we need. This is a very important step since this is the data that will control all the visual elements in our widget.

Getting Parameters From The Weather API
We'll start using the data from Yahoo Weather API and use it in Houdini to start building shaders, we'll use the same textures Yahoo uses right from the web, even the image files can be loaded directly from a web URL.

Modeling
In this section we'll build all the 3D elements that will represent our weather data, we need to take advantage of the 3D space or it makes no sense to do it in Houdini, so we'll make use of the high-end lighting, shading and rendering features of Houdini to make our widget look really interesting.

Final Touches
Since this could be used all around the world we need to make this work for different systems. This will also affect the kind of textures we will get by finding if the location is either at night or day comparing data from the RSS response. We'll also add a few presets and animate the city name procedurally so it works in any case, no matter the length of the name.

We'll also prepare the Mantra node for final render, and you're ready to be the life of the party! Bring Houdini to your next party and show everyone your new Weather widget.