Houdini Rookie - Question about loops and VOPs

   2326   2   0
User Avatar
Member
2 posts
Joined: April 2016
Offline
Hi guys,

This is probably really simple but I'm new to houdini and trying to work on a procedural snow simulation (footsteps, etc). I'm following a digital tutors tutorials from a few years back and the instructor uses a for_loop within a VOPSOP to create a noisy looking terrain. I've been trying to translate the tutorial over into Houdini 15 and follow along but I don't know what I've done wrong, been working for hours and nothing seems to help me progress.

I'll leave my file and an image of where I'm at in the tutorial

Thanks
-Lewis

Attachments:
tut_image.jpg (420.7 KB)
02_begin.hipnc (166.1 KB)

User Avatar
Member
8602 posts
Joined: July 2007
Online
can you provide screenshot of how it looks inside of the for loop?
difficult to help without knowing what you want to do

but from your file it's obvious that you need to specify number of iterations in for loop
you can do it by connecting Parameter or Constant to length input of For Loop and setting the number
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
2 posts
Joined: April 2016
Offline
Thanks for the reply, I thought this could be the problem as in the tutorial he changes his Global Variables to Output a Single Variable (which I dont seem to have full stop)

He also sets the For Loops Integer values (Initial Value 0, End Value 10, Step Size 1) and Promotes the End Value, changes it's name to iteration and sets the default to 1. I'm not sure how to do this without having the option he has.

Here is an image of whats going on inside For Loop

https://gyazo.com/075ee2bf821db3ecabef70609ef9cdb0 [gyazo.com]
  • Quick Links