PDA

View Full Version : Moire Problem / Filtering in Mental Ray


sojacalcium
02-28-2005, 03:00 AM
I've got moire problems with a contrasted and detailed texture... I'm rendering on Mental Ray so I can't use Maya's filter offset parameters. I've tried the filter_lookup shader and did these connections (as advised on a cg talk thread from some time ago) :
MIB_texture_vector {outvalue} > {input} MIB_texture_remap
MIB_texture_remap {outvalue} > {coord} MIB_texture_filter_lookup
MIB_texture_remap {message} > {remap} MIB_texture_filter_lookup
MIB_texture_filter_lookup {outvalue} > material colour

When i test it on cube with a repeated checker, the moire is not as strong but the render time increases dramatically...

Has anyone got any idea on how to solve moire problems and/or know how to filter textures while rendering with MR ?
By the way i've tried using a 1024 map instead of a 2048 for medium range purpose, the look of the mapped object is better, but it still flicks and got moire in animation

Any help greatly welcomed !
Soja

floze
02-28-2005, 08:48 AM
There shouldnt be any moire or flicker if mib_filter_lookup is properly applied. Also make sure you checked the 'Filter' option in your mentalrayTexture and set the 'Filter Size' to 1 (less will create artifacts).
Another possible source of error may be your UVs. Try to clamp them to 0/1 - that's the safest way.

Could you show a pic illustrating your problem?

CGTalk Moderation
02-28-2006, 09:00 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.