gomtuu / import_valkyria

Blender import script for Valkyria Chronicles 3D model files
GNU General Public License v3.0
20 stars 12 forks source link

Vertex colors, weights and new normal map detection hack. #8

Closed angavrilov closed 3 years ago

angavrilov commented 5 years ago

I felt like playing with this again today, so here are some new fixes for VC1:

gomtuu commented 5 years ago

Thanks! I'll take a look!

angavrilov commented 5 years ago

By the way, do you plan to switch to blender 2.8, or at least support importing as Cycles materials (Blender Render is removed in 2.8)?

gomtuu commented 5 years ago

Blender 2.80 is on my radar, but I haven't put any effort into that yet. I created an issue for it just now.

angavrilov commented 5 years ago

This pull request fixes #7 btw, and works around #3 by looking at the image itself as a simpler solution.

angavrilov commented 5 years ago

This weekend I've been experimenting with re-creating the in-game shading appearance in Blender 2.8 with Eevee for viewport and Cycles+Freestyle+Compositor for render, and it seems to work quite well: https://imgur.com/a/e30kQdj

To easily grab the necessary shading mask textures, I added a way to import just a stand-alone HTX file to the addon; since it's a corner case use I didn't officially add the extension, and you have to disable filter to select files.