Attributes not working - Buildings tutorial

   1803   2   0
User Avatar
Member
22 posts
Joined: Feb. 2015
Online
I posted this on odforce but I got no response. Posting it here actually seems a little more appropriate .

I am following this beginner PDG tutorial from the side fx website.

https://www.sidefx.com/tutorials/create-a-task-workflow-to-build-cities/ [www.sidefx.com]

The link to the pdf is here:

https://media.sidefx.com/uploads/tutorial/pdg/foundations/pdg_foundation_tutorial2.pdf [media.sidefx.com]



The problem is that the attributes I set to control the random height of the buildings is not working when I combine everything after using the "wait for all" and Geometry Import" top nodes.

I am not sure what i'm doing wrong. I have followed every step of this tutorial exactly

I will attach my scene file for anyone that wants to take a look.

Thank you

Attachments:
city_01.hip (245.1 KB)

User Avatar
Staff
585 posts
Joined: May 2014
Offline
It seems to be working for me, but the height variation between the buildings is very small. I think the height_variation expression on the attribute create node should probably be set to rand(@pdg_index)*20 instead of rand(@pdg_index*20).
User Avatar
Member
22 posts
Joined: Feb. 2015
Online
Thank you, that was it.
  • Quick Links