Beamdog / nwn-issues

Neverwinter Nights: Enhanced Edition Technical Bug Tracker
http://nwn.beamdog.com
31 stars 1 forks source link

[37-7] - transforms are showing wonky in toolset viewport ; renders fine in game #660

Open Txpple opened 1 week ago

Txpple commented 1 week ago

To Reproduce

Specifics

If needed, describe the bug

My comments from discord: https://discord.com/channels/382306806866771978/1277966449192865792/1278778184787296388

_I noticed that the toolset isn't rendering the same as the game engine, see pic 1 where there's some odd geometry from tiles that has some weird orientation and position. If i run it in game in 37 the geometry is not broken. See pic 2. In 36 the toolset renders it fine, too. Its custom content and I ran a script for blender to "Apply All Transforms" to the tileset mdls and that fixed everything for the toolset in 37. I checked a bunch of base game tilesets and they seem fine...

So its kind of a custom content issue that I could fix on my end, and didnt file an issue bc of that, but I can repro that the toolset isn't rendering the same as the game engine and maybe itll happen to other people's stuff too. I had a diff pc on 37-6 and same issue, so it wasn't this most recent toolset build.

Links to mod file and hak file:

https://drive.google.com/file/d/1Ph2zBF2cCSBMGEcJ_c8aiNPWdtoCuvzU/view?usp=sharing

https://drive.google.com/file/d/1od2hni7n2EGsECCa9USplaq01Ds5vqUy/view?usp=sharing

1 2
shadguy commented 1 week ago

Matthew,

I'm able to reproduce the issue.

I kinda of think the answer is already in your post though: I believe it is (and should remain) best practice to apply all transforms in blender in your modelling work before export. This advice comes up not infrequently in Discord for various reasons, and I actually think it's kinda good that things look funny in the toolset. It's a hint to check your best practices, even if in game it didn't happen to matter in this case.

And I believe you are correct, the toolset and the game do not render the same way.

-Dave

shadguy commented 1 week ago

Note: tagged as a regression, regardless of Blender practices. And, as always, thank you for the detailed report!

-Dave