Results 1 to 8 of 8

Thread: DMM May Render Layer problems

  1. #1

    DMM May Render Layer problems

    this is problem is a real killer...

    HOW DO I APPLY MATERIAL OVER-RIDE, WHEN USING RENDER LAYERS IN MAYA FOR A DMM OBJECT...?

    I'LL be more specific:-

    I WANT TO MAKE THE DMM'S SOURCE MESH'S SHADER 'matte opacity mode' TO 'black hole,' FOR COMPOSTING PURPOSES.
    When I change the maya shaders matte opacity mode to black hole from opacity gain and then I got to edit dmm>>refresh surface mesh I get this error

    " # Error: RuntimeError: setAttr: Not enough data was provided. The last 0 items will be skipped. "

    And my DMM object vanishes from the scene and from all my render layers.

    Then I worked around a little applying matte green surface shader to the source mesh in a separate render layer (in After Effects I would take Alpha from Green).
    To my amazement THE DMM CHANGED COLOR TO GREEN SURFACE SHADER IN ALL THE RENDER LAYERS....which technically shouldn't happen. The color should be only on the render layer I selected and it should retain its original color in the main layer inside Maya.

    Please Help...
    this is so freaking confusing.....
    Last edited by govindk; 02-06-2012 at 07:10 PM.

  2. #2
    UPDATE_01:-

    I tried opening a new scene.... create a DMM object from a poly sphere and deleted history, freezed transforms...
    changed DMM material...applied a simple lambert shader and as soon as I go inside --- edit dmm>>refresh surface mesh, I get this error....
    # Error: RuntimeError: setAttr: Not enough data was provided. The last 0 items will be skipped.
    And then my dmm object vanishes....
    I am following exactly what the help docs say...



    UPDATE_02:-

    When I do the same thing (edit dmm>>refresh surface mesh) on a dmm primitive - its working... but not on a polygon to dmm converted object
    Last edited by govindk; 02-06-2012 at 07:17 PM.

  3. #3
    please don't tell me that this thread is dead...!!

    here is a YouTube video of the problem I'm facing...!!
    I made the video...there isn't no sound though... had no mic.

    http://www.youtube.com/watch?v=VzHh6...yer_detailpage

    Please Help...!!

    another problem is the same as the one I have posted in CGTALK - http://forums.cgsociety.org/showthre...10#post7251610
    How do I simulate a re-scale DMM?

    In the forum I have talked about Maya dynamics, but I have the same doubt, just that it's DMM this time.

  4. #4
    A workaround is to use autotet to form a cage around the poly object instead of making it a bare DMM object.

    -admin

  5. #5
    Admin, the funny part is when I make a AutoCage on a poly -to- DMM object is when I get that error.

    When I create a Bare dmm object, it works without that error.

    But i prefer working with autoCage.

  6. #6

    I have the same issue...

    Hey, I've been having the exact same issue as "govindk". The "Refresh Surface Mesh" works on any DMM object that has been created by using "Create DMM from Polymesh", but when using "Create DMM from Polymesh with AutoCage" it breaks. This is a workflow crippling bug as material changes can't be propagated to the output surface (unless there is another easy way). Is there any plans for a fix for this? Or anywhere I can submit a bug and track it's progress? I'm using the version that comes with Maya 2012.

    Thanks,
    Mark

  7. #7
    I have similar issues. (running: Win7 64Bit, Maya 2012)

    I'm using polygon geometry with transforms frozen and history deleted.
    I'm using a splinterCage.
    I'm using "Create DMM from Polymesh".

    I have noticed:
    1: Sometimes "Refresh Surface Mesh" works and the appropriate Material Override is applied. Everything renders correctly. (I've had this work 2 times out of 20-30 attempts)
    2: Sometimes "Refresh Surface Mesh" appears to work. It hasn't. Instead various layer overrides have been reset (camera overrides) the object renders with a incorrect material (and the camera setting are all incorrect effecting the render).
    2: Sometimes "Refresh Surface Mesh" completes and random materials are assigned to incorrect layers. Although previous layers render correctly, i.e. they look wrong in Maya but mental ray renders them correctly. All new layers render incorrectly.
    3: Sometimes I get this error: (nothing changes, renders incorrectly)
    # Error: RuntimeError: setAttr: Not enough data was provided. The last 0 items will be skipped. #
    4: Sometimes I get this error: (nothing changes, renders incorrectly) - This issues happened when the parent "transform" node was selected during shader assignment.
    // Warning: Cannot add the following items to the set since the set has restrictions on membership: glassFormModeled1_DmmObject //
    // Warning: Adding all components of 'glassFormModeled1|outputSurfaceShape' to 'lambert4SG'. //
    // Warning: Adding all components of 'glassFormModeled1_DmmTriMesh' to 'lambert4SG'. //
    // Warning: Adding all components of 'glassFormModeled1Shape' to 'lambert4SG'. //
    // Error: Unable to update render layer adjustment. //
    // Error: Error while parsing arguments. //
    5: Sometimes "Refresh Surface Mesh" runs on it's own after a new material has been applied and then see: 1-4.

    Also:
    When using "Create DMM from Polymesh with AutoCage"
    I get error 3: "# Error: RuntimeError: setAttr: Not enough data was provided. The last 0 items will be skipped. # "
    At the same time the dmm output mesh node "outputSurfaceShape" is re-parented and connected to a new transform node with full list of "_Dmm" sub shape nodes.
    It's invisible in the viewer, but Visible in the Outliner.
    Sometimes the "DMM Asset Manager" lists an object named ">>" under "Orphaned DMM Objects:"
    This all happens every time "Refresh Surface Mesh" is run on a "AutoCage" poly, even if no render layers are in the scene and no materials have been applied.

    _spencer

  8. #8
    Hey Guys, we are looking at this. Hope to have an answer for you soon.

    -Vik

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •