Itoo Software Forum

Author Topic: mr Proxies > Missing UVW Map Coordinates???  (Read 7303 times)

Dionisio

  • Newbie
  • *
  • Posts: 8
mr Proxies > Missing UVW Map Coordinates???
« on: May 05, 2010, 07:54:42 PM »
Hi all, we get a strange error here in studio when we use Forest and mr Proxies.

This is the error we get when we try to render: (UVW1): fmr_000000000DB961D0_0

The software display's this error as Missing Map Coordinates which is relative to the mr Proxies when a material which use a bitmap is applied!!!

Is this a bug or we do something wrong?

Here is the scene we try to render with our renderfarm but is impossible due to this error: LINK: http://www.deltatracing.com/3D_Images/Arch_PD.jpg

Thanks in advance,

Dionisio -

Delta Tracing

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 3148
    • iToo Software
Re: mr Proxies > Missing UVW Map Coordinates???
« Reply #1 on: May 05, 2010, 08:28:36 PM »
Hi,

The fmr_xxxx objects are created internally by Forest to render in Mental Ray. They are instances of the Geometry List objects (your mr Proxies) with the materials defined on this list.

Probably, one of these materials uses an UVW map channel that doesn't exist in the mr Proxy. The reason that you get this error in the fmr object, but not in the mr Proxy, is because Forest hides automatically the custom objects assigned in the Geometry List before rendering (to save memory and render time).

To locate the failing proxy, disable in Forest the option "Display->Hide Custom Objects before rendering", hide all Forest objects and render. You must the same UVW error, but in the proxy object.

Updated: I just tested this issue in a test scene, and the result is slightly different: the UVW error occurs in the Forest object even if it is hidden, and the mr Proxy doesn't show any error although it has not the right map coordinates. So the problem is the same, but you must find the failing proxy checking the UVW maps manually.


« Last Edit: May 05, 2010, 08:40:54 PM by Itoo »
Carlos Quintero
iToo Software

Dionisio

  • Newbie
  • *
  • Posts: 8
Re: mr Proxies > Missing UVW Map Coordinates???
« Reply #2 on: May 05, 2010, 08:44:20 PM »
Yes, I confirm. The error appears even when the Forest object is hidden but is related to it.

If I delete the Forest object the mr Proxy renders fine, no errors.

I am afraid is a bug...

Dionisio -

Dionisio

  • Newbie
  • *
  • Posts: 8
Re: mr Proxies > Missing UVW Map Coordinates???
« Reply #3 on: May 05, 2010, 09:12:41 PM »
I made other tests, the problem seems to be Forest in combination with mr proxies which even if they have UVW map coordinates Forest doesn't see them.. :(

Thanks,

Dionisio -

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 3148
    • iToo Software
Re: mr Proxies > Missing UVW Map Coordinates???
« Reply #4 on: May 05, 2010, 09:14:21 PM »

Please, send us one of these proxies and the material that you are applying.

Carlos Quintero
iToo Software

Dionisio

  • Newbie
  • *
  • Posts: 8
Re: mr Proxies > Missing UVW Map Coordinates???
« Reply #5 on: May 05, 2010, 09:20:58 PM »
Thanks for replying Carlos.

The scene is very simple:

- Create a Circle shape to use as Forest Area.
- Create a teapot or box or whatever you want. :)
- Apply an Arch&Design Material with a diffuse texture map.
- Apply a UVW map to the object.
- Transform the object to mr proxy and apply the previous material. (I use Zap's script which does this automatically).
- Create your Forest object and use the mr proxy as Custom.
- Render...
- Error...

If you get different results I'll send you a simple sample scene to check.

Thanks,

Dionisio -

Delta Tracing

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 3148
    • iToo Software
Re: mr Proxies > Missing UVW Map Coordinates???
« Reply #6 on: May 05, 2010, 09:37:03 PM »

Really strange, i just done it without problems (see attached file for Max 2010). I've created the mr Proxy manually, i don't know if there is some difference.

What Max and Forest version do you use ?  Please, send me your scene.

Carlos Quintero
iToo Software

Dionisio

  • Newbie
  • *
  • Posts: 8
Re: mr Proxies > Missing UVW Map Coordinates???
« Reply #7 on: May 05, 2010, 09:41:34 PM »
Ok, thanks for testing.

Let me try something and I'll be back to you in 2 minutes! :)

Dionisio -

Dionisio

  • Newbie
  • *
  • Posts: 8
Re: mr Proxies > Missing UVW Map Coordinates???
« Reply #8 on: May 05, 2010, 09:54:47 PM »
Even manually gives me the same error.

I attached the scene, is really simple.

We use Forest 3.3.1 and 3ds Max Design 2010 64bit.

Thanks Carlos.

Dionisio -

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 3148
    • iToo Software
Re: mr Proxies > Missing UVW Map Coordinates???
« Reply #9 on: May 05, 2010, 10:52:57 PM »

The scene renders fine in my Max 2010, so i have installed a clean Max Design 2010 ... and it failed !

After a while, i just found the difference: Max 2010 has installed the latest hotfixes, but Design only had SP1. So, i've searched the files for it:

http://usa.autodesk.com/adsk/servlet/ps/dl/item?siteID=123112&id=14934477&linkID=10381720

Once installed this hotfix the error gone in Design as well.

Carlos Quintero
iToo Software

Dionisio

  • Newbie
  • *
  • Posts: 8
Re: mr Proxies > Missing UVW Map Coordinates???
« Reply #10 on: May 06, 2010, 09:42:10 AM »
Thanks for checking Carlos.

I installed the new hotfix and guess what? Doesn't work...

BUT

As I don't always use the Placeholders mr option I decided to confirm all the settings Forest suggests when you hit render and the error didn't appeared! :O

I checked again and I found out that the UVW Map gives error only when Placeholder is OFF!!! Can we fix this? I am asking as is not always comfortable using the Placeholder option for some scenes.

Thanks again.

Dionisio -

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 3148
    • iToo Software
Re: mr Proxies > Missing UVW Map Coordinates???
« Reply #11 on: May 06, 2010, 04:58:03 PM »
You are right, it fails when placeholder is off.  ???

We will see this problem, but i'm not sure if there is a solution, because this part of Mental Ray is not well documented for developers. Possibly we will have to submit the case to Autodesk, and that may take some time.

Why do you need to disable the Placeholders ?

Alternatively, you can use meshes instead proxies. Internally Forest convert all objects to native Mental Ray instances, so there is not perfomance loss. In fact, there is a small benefit because the renderer doesn't need to load the geometry from external files.

Carlos Quintero
iToo Software

Dionisio

  • Newbie
  • *
  • Posts: 8
Re: mr Proxies > Missing UVW Map Coordinates???
« Reply #12 on: May 06, 2010, 06:30:02 PM »
Ok, I feel better now, we found out something! :)

Carlos, proxies are the best solution. I think it can't be compared to instancing real meshes.
We use them a lot actually. Unfortunately placeholders slows down a bit the rendering process but in this case I think we don't have any other solution than enable that option.

Thanks again for checking!

Dionisio -