Opened 10 years ago

Last modified 10 years ago

#2680 new enhancement

Ambient Occlusion on animated meshes.

Reported by: Stan Owned by:
Priority: Nice to Have Milestone: Backlog
Component: Core engine Keywords:
Cc: Patch:

Description (last modified by Stan)

Right now if you apply the trans_player_ao_parallax_spec.xml on an animated mesh it instants crash the game or atlas, but only if you have set the material quality to 10. And at least report a nice message to the user that tries to do it, by detecting if there is a <animation> tag in the xml at the same time.

Attachments (1)

Help.png (12.8 KB ) - added by Stan 10 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 by Stan, 10 years ago

Description: modified (diff)

comment:2 by historic_bruno, 10 years ago

I think the reason this wasn't supported on animated meshes is because the mesh shape can change in a way that causes a pre-baked AO map to look terrible. It shouldn't crash though.

by Stan, 10 years ago

Attachment: Help.png added

comment:3 by Josh, 10 years ago

What happens if you press "Continue"?

comment:4 by sanderd17, 10 years ago

Imo, it would be nice to let artists decide. Some animated meshes are very static, so there's nothing wrong with using an AO map there. I'm thinking f.e. about ships and siege engines.

In any case, it shouldn't crash.

comment:5 by Stan, 10 years ago

Continue doesn't work since the error is looping. After some time Atlas crashes.

in reply to:  5 comment:6 by Stan, 10 years ago

Replying to stanislas69:

Continue doesn't work since the error is looping. After some time Atlas crashes.

I fixed the ROTE models, but If you want to try just download the Ponies Mod, It produce the same message.

Note: See TracTickets for help on using tickets.