SimplyMaya Forums

Welcome to the forum, feel free to ask questions here.


SM Forums / Maya Questions / Dynamics & Special Effects / nParticle shading attributes

Dynamics & Special Effects Maya Particles, nDynamics, Fluids, Rigid Bodies & General VFX

Join the conversation. Reply to post
 
Thread Tools
31-05-2013, 08:28 PM   #1
stwert
EduSciVis-er
 
Join Date: Dec 2005
Location: Toronto
Posts: 3,374
nParticle shading attributes
I must be losing it, as I can't figure this out. What kind of shading type or shader do you need for nParticles to respect the attributes in the shading tab? I tried with cloud (s/w) and nothing I changed in the shading tab affected the render (mental ray) and then I tried with spheres and a surface shader applied to the particles and again, nothing I change affects them.

Put another way, what is the proper way to render per particle attributes with mental ray? And ideally without being influenced by lights. (Use lighting is unchecked, but it's greyed out anyway).
  Reply with quote
31-05-2013, 09:29 PM   #2
daverave
The thin red line
 
daverave's Avatar
 
Join Date: Aug 2009
Location: England
Posts: 4,472
You are in the nparticalshape and gone down to shading?................dave

Edit: Im fighting with caustics and photons at the moment so know how you feel
__________________


Avatar Challenge Winner 2010

Last edited by daverave; 31-05-2013 at 09:33 PM.
  Reply with quote
31-05-2013, 09:41 PM   #3
stwert
EduSciVis-er
 
Join Date: Dec 2005
Location: Toronto
Posts: 3,374
Yep... the ramps such as opacity and color don't seem to do anything. I tried point, and I can't remember if they worked with points, but I don't want points.
  Reply with quote
31-05-2013, 10:33 PM   #4
daverave
The thin red line
 
daverave's Avatar
 
Join Date: Aug 2009
Location: England
Posts: 4,472
I think you have some thing wrong with your scene file Stwert as all these things work for me.............dave
__________________


Avatar Challenge Winner 2010
  Reply with quote
31-05-2013, 10:47 PM   #5
stwert
EduSciVis-er
 
Join Date: Dec 2005
Location: Toronto
Posts: 3,374
Hmm... so if you change the color in the attributes with cloud type selected, it uses the color in the shapenode?
  Reply with quote
01-06-2013, 03:30 AM   #6
Gen
Super Moderator
 
Gen's Avatar
 
Join Date: Dec 2006
Location: South FL
Posts: 3,514
If you're trying to use a shader and control the attributes on that using pp data then you'll have to use the particleSamplerInfo utility node. In this case, I plugged it into the mia_material diffuse color. I'm using blobby surface type particles.
Attached Thumbnails
Click image for larger version

Name:	nParticle_miaMat_ppRGB.jpg
Views:	1295
Size:	180.8 KB
ID:	54070  
__________________
- Genny
__________________
::|| My CG Blog ||::
::|| My Maya FAQ ||::
  Reply with quote
22-06-2013, 03:09 PM   #7
stwert
EduSciVis-er
 
Join Date: Dec 2005
Location: Toronto
Posts: 3,374
Sorry, didn't respond earlier. This came in handy, thanks.
  Reply with quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Triangles to quads through Transfer Attributes - need an advice? Nixa Maya Basics & Newbie Lounge 2 23-03-2014 11:10 AM
maya software wont render my scene joemilkweed Maya Technical Issues 1 30-10-2010 02:06 AM
Connection Editor Attributes ... mtcgs Lighting & Rendering 0 19-11-2009 07:15 PM
unusual polygon shading DougFisher Maya Modeling 2 15-05-2007 04:39 AM
Texture or material on particles? dax3d Dynamics & Special Effects 6 24-04-2003 12:07 AM