Mar 2010
1 / 3
Mar 2010
Apr 2010

Hi guys, as we know in MEL we can use "dnoise( )" to generate a noise vector based on the 3d position. I wonder if maya API provides a such fuction? Or I can use some other libarary?

Any help would be appreciate!

  • created

    Mar '10
  • last reply

    Apr '10
  • 2

    replies

  • 2.1k

    views

  • 1

    user

Why would it matter? The most trivial solution is to pipe in a existing shader and not compute the noise at all inside your plug. This also makes your node much more reusable as even other kernels can be inserted at users whim (yes even if you think theres no use, there allways is somebody who will find use when you give them a chance). So no maya wouldn't need to give you a function for something maya already provides as a node since all that is in nodal form is in your disposal so you can just querry the node. (tahts the idea behind maya)

But yes as a matter of fact they do not publish a noise function in the api. They do however have several examples of noise generation in the devkit examples tough.  For example see latticeNoise.cpp, noiseShader.cpp etc..

  hi guys, as we know in MEL we can use "dnoise( )"

When a person makes a comparasion between api and mel its liek shouting to the world that you have misunderstood the purpose of the api completely.

Hi Joojaa, thanks for your time, I'm a newbie on Maya Api, so almost every implementation is of confusion to me.

I would try reading the devkit examples you suggestted.

I get little confused :frowning:  But really thanks for your opinion!

Suggested Topics

Topic Category Replies Views Activity
Maya 4 408 18d

Want to read more? Browse other topics in Maya or view latest topics.