Announcements

Announcement: We’re aware of an issue affecting starting a new topic from category pages and creating new blog posts. New topics can still be started directly from the relevant board. Learn more here.

MtoA incorrectly rendering perspective projections

MtoA incorrectly rendering perspective projections

GiancaYard
Contributor Contributor
1,230 Views
3 Replies
Message 1 of 4

MtoA incorrectly rendering perspective projections

GiancaYard
Contributor
Contributor

I tested this bug on MtoA from 5.2.2 to as back as 5.0, and this issue is easily and consistently reproducible on Maya 2020, 2022, and 2023.

 

When using perspective texture projections, Arnold renders the projections incorrectly: apparently, it fails to obey the "projection1.fitType" (Match Camera Fill Gate/Resolution) flag, and perhaps other issues.

In other words, it prevents camera projections from matching what is the Maya's viewport unless the rendering resolution matches the aspect ratio of the projections.

 

In the first two screen grabs, you can see the texture projection displaying as expected: the Arnold render and the viewport match. However, before taking the third screen grab, I changed the render resolution from 1024x1024 to 1024x512, and the texture projection behaved differently, even as I changed *nothing else* but the render resolution.

 

It seems that Arnold texture perspective projections only work with "Match Camera Fill Resolution" mode with the fill value as horizontal. 

 

 

0 Likes
1,231 Views
3 Replies
Replies (3)
Message 2 of 4

delapazr
Explorer
Explorer

Curious to find out if you found a solution, since I am having the same or a similar problem. I am trying to use a cylindrical projection, which looks correct in the viewport, but when Arnold renders it, it is distorted. I discovered that the distortion matches what the projection looks like if I switch to a spherical projection. I have attached an image illustrating this.

Message 3 of 4

GiancaYard
Contributor
Contributor

I think this issue you are having is different: in your case, Arnold is not obeying the kind of projection you are trying to use and defaults to the spherical one.

In my case, the projection type (perspective) is correct in Arnold, but the aspect ratio of the original image is not.

 

My solution, for now, is to use Redshift instead of Arnold, which works perfectly fine.

0 Likes
Message 4 of 4

sebastien.blaineau.ortegaHRM3U
Autodesk
Autodesk

Thanks for reporting this giancarlo, we can reproduce the issue.

We created ticket MTOA-1319 to address this.

 

Cheers

0 Likes