Adverti horiz upsell

Voxel Grid Generator 4.0.0 for Maya (maya script)

Script for generating voxel grid model(Animation Support).

License
Button download
3,624 Downloads

Compatibility

  • 2015, 2014, 2013, 2012, 2011, 2010, 2009

Operating Systems

  • Mac
  • Windows

History

Created:04/17/2014
Last Modified:09/05/2014
File Size: 15.7 KB

Keywords

particle, grid, mel, maya

Q/A

Use texture ?

Date:11/05/2015
Submitted by: Caetano Veyssières Caetano Veyssières
I see in this image you used some colors. Did you create 3 colored spheres and randomly instanced it ?

Would it be possible to apply the texture on the particles like this guy does ?


I know that Maya's built-in renderers can't use per particle color on instances, but 3Delight can and just having the colors on particles would be awesome already.

Replies to this question:

  • PhateX

    PhateX said about 9 years ago:

    The image of my demo was achieved only with particle expression. I used a random function to modify particle color and yes, I didn't use instancing coz particle's built-in render type is more efficient. This script doesn't sample color of the reference geo, but I can add it later. In Maya, you can apply texture directly to particle instancing, and you can even apply texture directly to particles via particle sample info node.
  • Replyindent
    PhateX

    PhateX said about 9 years ago:

    Although particle instance is different from standard mesh, each element of instance can have different UV. So if you apply UV mapping based on the instance object to the original mesh, you can have each instancing element map to different region of a texture. The particle sample info takes in a particle shape and output bunch of per-particle attributes to a shader or other shading nodes, and then you need to apply the shader to the particle. You can then use a custom per-particle uv attribute to drive a texture mapping node and let each particle sample different part of a texture(It should work, I guess). Duncan Brinsmead had a similar tutorial that he utilized a sample-info node to drive a uv-texture node and created a Mandelbrot effect. Here is an article from official document about particle sample info node: https://knowledge.autodesk.com/support/maya/learn-explore/caas/CloudHelp/cloudhelp/2015/ENU/Maya/files/GUID-AF7452B6-4996-4012-8974-7C39A9186377-htm.html
  • Replyindent
    Caetano Veyssières

    Caetano Veyssières said about 9 years ago:

    How do you apply the texture from the original object ? Since there is no emitter, There's no "Inherit color attribute" Where do I plug the particle sampler info ?

Post a reply: