Inversion expression

What is the correct syntax for this? Let’s say I want to pass the R color of one node to the R color of another node, but inverted?

Code:


float $rampR = ramp1.outColorR;
surfaceShader1.outColorR = inverted $rampR;


in regular math inversion seems to be 1/x but with color numbers this would not work because 1/1 = 1 (which should be zero for black) and 1/0 = 0 (which should be 1 for white)

thanks

Need help in combining single openExr in Maya

how to combine frame buffers in Maya as single openExr, which i can work with them in Nuke.

Rendering Dust: Need a workaround

Hit a wall in a current project and hope someone can offer a quick fix.

We’re using renderman (RMS) and our programmer wrote a ray marching shader to make our particles look like dust with blobbies. Unfortunately there is a bug in RMS and we don’t have the time to write a few plug-ins to get around it and still meet the deadline.

While rendering with renderman would be ideal, we can use Mental ray or maya software since the dust is blowing across a surface. So we wouldn’t need to calculate displacments, just render the dust and catch soft shadows on the base geo.

Right now we have 20 separate particle simulations to show different kinds of movement in the dust. We were planning on exporting these as RIB, and then having renderman load them all in at rendertime and apply the shader. Since we can’t do that now, we need an alternate method for creating the dust look from our 20 simulations.

I was thinking of maybe going old school and using sprites, but I would need to somehow pass the PP color info for each particle to the sprite so I could tint it. The particles are inheriting color at birth from an image and need to have that specific color. Sprites would also render very fast, even though we’d need to create a single image or animation of the dust for the sprites, we could do more tests and tweaks because of render speed.

We considered using maya fluids, but they render very slow, and we would need to connect our particles and try and color the voxels based on particle color which may be more tricky for 20 simulations and quite time consuming to tweak and render.

At any rate, any info would be highly appreciated. We have about 12 days to meet the deadline and are open to any and all suggestions to get this done.

Thanks

help on texture mapping downloaded model…. any ideas?

So i downloaded a model for a project… and i need to texture and bump map the shiiiittttt out of it… one problem is that i don’t a month to dissect this model and lay out all the uv’s, auto mapping is ok, but its still going to take forever to rebuild the uv’s correctly …..

Are there any good uv mapping plugins or software out there? i’d rather find the easiest way possible, but i’m pretty sure i’ll have to do it the old fashion hard way….

im using maya 2010 for mac btw…

Anything could help

How to render shadows only, with an alpha channel using final gather.

I need to know this to do my final year project, pls help me 🙁

The shadow layer a.k.a shadow pass is use to composite for my visual effects film

physical sky problem !!

Dear friends,
Can you please tell me about, how to apply a better skin shader in maya . The out door environment i created with physical sky. miss fast skin shader is not performing well with physical sky. Usually am using DT3d skin shader plugin. With SW render this plugin is working well.But i failed to load that plugin in MR. If any chance to get it correct ?

When rendering, the output is showing a plane skin color with miss fast skin shader. How to make it as a real skin ?

please help me friends !!!!

Maya 2008- Render layer Problem!

Hi all,
Has anyone come across this problem,"when we assign materials to the objects in a certain layer , jump to next layer, and we come back to the previous layer only to find that the objects loose their material and become transparent".

Tried breaking all the shader nodes in the layer and reassigning and stuff,does anyone have an idea…what could be the problem??:confused:

stereoscopy tutorials in Maya

hi, where will I get stereoscopy tutorials in Maya ?

Maya & Architectural Modeling

Friends I am a MAYA user.I have used 3dsmax in the past.i want to know that is it good to work in max for Architectural Modeling & rest of the things like texturing & animation be done in maya.can this be a good workflow.please give comments.

Mix20layer with maya2011 64bit OSx

Hi to every one
I have a problem with maya2011 64bit on mac and mix20layer I installed that on maya 2011 32bit on PC and Maya2009 32bit on mac and it worked very well on both of them but on 64bit/mac it don’t work I think it have some problem with 32/64 bit.
I want to know Did anyone had such a problem or can you suggest me a solution on this.
thank you.:confused: