python noise

   4806   4   0
User Avatar
Member
277 posts
Joined: 7月 2006
Offline
Hi! I've got a problem with Python scripting:
In Hscript there is something like noise(x,y,z). Is there any “equivalent” function in Python?
Thank you very much
User Avatar
Member
229 posts
Joined: 5月 2006
Offline
i dont know how far something like this is implemented in the hou - module but you can import an other noise/graphics python module and use its noise functions

4 perlin noise have a look at this –> http://pypi.python.org/pypi/noise/1.0b3 [pypi.python.org]

cheers!
User Avatar
Member
277 posts
Joined: 7月 2006
Offline
Thank you! That is something I waslooking for! Thank you once again
User Avatar
Member
1907 posts
Joined: 11月 2006
Offline
If you look at the hou.hmath module you can get access to the same noise function as the hscript expression one: hou.hmath.noise3d()
Graham Thompson, Technical Artist @ Rockstar Games
User Avatar
Member
277 posts
Joined: 7月 2006
Offline
Ou, that's great! I didn't know it is implemented in hou module Thank you and thenext time I'll check this on the beginning
Thank you
  • Quick Links