secondlife / jira-archive

2 stars 0 forks source link

[BUG-232581] PBR: Cubemaps can sometimes be applied off-axis #9825

Closed sl-service-account closed 8 months ago

sl-service-account commented 2 years ago

What just happened?

Applying PBR mirror material onto car headlamps, the cubemap seems to be rotated in an unusual manner (not parallel to the ground as expected).

What were you doing when it happened?

Testing the PBR viewer.

What were you expecting to happen instead?

Cubemap would be applied unrotated.

Other information

This is probably an issue of the UV mapping of the object, but might be useful to have a param to ignore or manually correct. This behaviour is also seen in legacy materials which use the Env map.

I may actually go as far as recommending that cubemaps are always aligned with the ground by default, as I suspect there isn't much reason for it to be in any other alignment.

Attachments

Original Jira Fields | Field | Value | | ------------- | ------------- | | Issue | BUG-232581 | | Summary | PBR: Cubemaps can sometimes be applied off-axis | | Type | Bug | | Priority | Unset | | Status | Closed | | Resolution | Won't Do | | Labels | pbr | | Created at | 2022-09-02T21:25:35Z | | Updated at | 2022-11-17T20:29:25Z | ``` { 'Build Id': 'unset', 'Business Unit': ['Platform'], 'Date of First Response': '2022-09-06T09:48:24.073-0500', "Is there anything you'd like to add?": 'This is probably an issue of the UV mapping of the object, but might be useful to have a param to ignore or manually correct. This behaviour is also seen in legacy materials which use the Env map.', 'ReOpened Count': 0.0, 'Severity': 'Unset', 'System': 'SL Viewer', 'Target Viewer Version': 'viewer-development', 'What just happened?': 'Applying PBR mirror material onto car headlamps, the cubemap seems to be rotated in an unusual manner (not parallel to the ground as expected).', 'What were you doing when it happened?': 'Testing the PBR viewer.', 'What were you expecting to happen instead?': 'Cubemap would be applied unrotated.', } ```
sl-service-account commented 2 years ago

JIRAUSER341268 commented at 2022-09-06T14:48:24Z

Thank you Jenna!

sl-service-account commented 2 years ago

1hannah.actor commented at 2022-09-06T16:25:42Z

Model files attached to assist in debugging.

sl-service-account commented 2 years ago

1hannah.actor commented at 2022-09-14T17:27:45Z

This issue can probably be closed now, turns out this behaviour is the result of an optical illusion, which can be reproduced IRL. It looks wrong, but mirrors real life, so that's good!

sl-service-account commented 2 years ago

JIRAUSER341268 commented at 2022-09-14T20:36:23Z, updated at 2022-09-14T20:36:56Z

Thanks for the update Jenna! That is good!

Closing as expected behaviour. This behaviour is the result of an optical illusion.