HOME | DD

necroalx — Xnalara XPS Importer for Blender Alpha mode fix

#addon #blender #download #script #xps #xnalara #xnalaraxps #xnalarablender
Published: 2020-12-29 22:08:13 +0000 UTC; Views: 15348; Favourites: 96; Downloads: 133
Redirect to original
Description

This is a quick tweak to the amazing johnzero7 xnalara addon for Blender 2.8 to 2.91, you can download the Original latest version of the add-on here: www.deviantart.com/johnzero7/j…

(please read all about it there, the add-on is amazing and everything you need to know about it is in that link, including how to install it and what does the add on do, I won't be answering questions about that since the author cleared everything you need to know over there.)

Basically many people who just are getting started in blender usually find themselves with this issue with xps models that has an abundance of transparencies, the issue being them trying to visualize their recently imported models in blender internal eevee engine, most people do this regardless of them wanting to render on cycles or eevee, and when they find models with many transparencies, they usually find themselves with this image. Now the easy fix for this is just going to your material tabs for your transparent meshes and change the default alpha mode from "blend" to either "clip" or "Hashed", you'll have to do that manually for each mesh that has a transparency.


What I did to "fix" this inconvenience is simply change a single line on the script that changes the default transparency mode for eevee on blender from "alpha blend" to "alpha clip".


If you want to download the updated script.

You'll have to uninstall the original and re-install this version instead (at the time of this change I used the 2.0.2 latest version of the add-on): mega.nz/file/7X51RagD#1C1jHn9K…

Recomendation; if you don't wanna reinstall the whole thing you can just replace a single python script by extracting the ones in this package, then copying the "material_creator.py" script and paste it and replacing the original on your add-ons folder, more on that bellow.


If you wanna do it yourself.

It's honestly very simple, you don't need any python knowledge at all, you just need to know where to look. You can also manually do this, you just need to go to your blender add-on directory, which is usually located on [C:/users/[Your PC name]/AppData\Roaming\Blender Foundation\Blender\2.91\scripts\addons\XNALaraMesh\].

Once there you need to find the "material_creator.py" file and open it with a tex editor (preferably notepad++), once opened, just press ctrl+f and write down BLEND to search the word. You can guess what's next, in the line that reads (materialData.blend_method = 'BLEND') you just need to replace the word "BLEND" with "CLIP" or "HASH", save, and you done. Next time you import a XPS model with multiple transparencies they'll be using alpha clip blend mode by default on the viewport and on eevee, you won't need to manually change every mesh every single time you import something.

If you want proper hair transparencies for eevee I recommend using "alpha Hashed" instead though.

That is all. I hope this can help someone out there and make the experience more comfortable for anyone who's starting to use blender

Related content
Comments: 34

creatingsmygame [2025-03-04 14:59:46 +0000 UTC]

👍: 0 ⏩: 0

WeylandYutaniCorp [2023-10-30 11:06:05 +0000 UTC]

👍: 2 ⏩: 0

internSAGE [2022-07-25 15:44:12 +0000 UTC]

👍: 1 ⏩: 0

xXfuckyourmom69Xx [2022-06-05 09:54:13 +0000 UTC]

👍: 0 ⏩: 1

necroalx In reply to xXfuckyourmom69Xx [2022-06-05 16:12:43 +0000 UTC]

👍: 0 ⏩: 0

xXfuckyourmom69Xx [2022-06-05 09:15:20 +0000 UTC]

👍: 0 ⏩: 1

necroalx In reply to xXfuckyourmom69Xx [2022-06-05 16:12:06 +0000 UTC]

👍: 0 ⏩: 1

xXfuckyourmom69Xx In reply to necroalx [2022-06-05 19:08:15 +0000 UTC]

👍: 0 ⏩: 1

xXfuckyourmom69Xx In reply to xXfuckyourmom69Xx [2022-06-05 19:11:50 +0000 UTC]

👍: 0 ⏩: 1

necroalx In reply to xXfuckyourmom69Xx [2022-06-09 19:08:43 +0000 UTC]

👍: 0 ⏩: 0

xXfuckyourmom69Xx [2022-06-05 09:05:13 +0000 UTC]

👍: 0 ⏩: 0

Selixis [2022-06-03 03:35:28 +0000 UTC]

👍: 0 ⏩: 0

nojora [2021-12-22 13:07:12 +0000 UTC]

👍: 1 ⏩: 0

thunder1604 [2021-10-08 17:35:53 +0000 UTC]

👍: 1 ⏩: 1

xXfuckyourmom69Xx In reply to thunder1604 [2022-06-05 09:43:58 +0000 UTC]

👍: 0 ⏩: 0

B1uelight [2021-10-01 19:42:09 +0000 UTC]

👍: 0 ⏩: 0

nr4apex [2021-07-19 16:46:28 +0000 UTC]

👍: 0 ⏩: 0

Coconutbacongrass [2021-07-08 10:27:06 +0000 UTC]

👍: 1 ⏩: 1

necroalx In reply to Coconutbacongrass [2021-07-11 16:30:45 +0000 UTC]

👍: 0 ⏩: 0

DemiMaximoff [2021-01-09 03:10:30 +0000 UTC]

👍: 1 ⏩: 0

Warmakin [2020-12-30 16:41:52 +0000 UTC]

👍: 1 ⏩: 0

ghandalooo [2020-12-30 05:38:02 +0000 UTC]

👍: 0 ⏩: 1

necroalx In reply to ghandalooo [2020-12-30 05:44:57 +0000 UTC]

You can save your poses for your models and then load them in blender, separately of course. That way you can fix posing details in blender if you need to later on.

👍: 0 ⏩: 1

ghandalooo In reply to necroalx [2020-12-30 06:17:01 +0000 UTC]

👍: 0 ⏩: 1

necroalx In reply to ghandalooo [2020-12-30 22:53:02 +0000 UTC]

👍: 1 ⏩: 1

ghandalooo In reply to necroalx [2020-12-31 16:48:57 +0000 UTC]

👍: 0 ⏩: 0

shreis [2020-12-30 01:39:17 +0000 UTC]

👍: 0 ⏩: 1

necroalx In reply to shreis [2020-12-30 01:48:28 +0000 UTC]

👍: 0 ⏩: 0

Guywithamoustache [2020-12-30 00:10:27 +0000 UTC]

👍: 0 ⏩: 1

necroalx In reply to Guywithamoustache [2020-12-30 00:13:13 +0000 UTC]

👍: 0 ⏩: 1

Guywithamoustache In reply to necroalx [2020-12-30 00:26:41 +0000 UTC]

👍: 0 ⏩: 1

necroalx In reply to Guywithamoustache [2020-12-30 00:38:09 +0000 UTC]

👍: 0 ⏩: 1

Guywithamoustache In reply to necroalx [2020-12-30 00:51:28 +0000 UTC]

👍: 1 ⏩: 0

Kalamation [2020-12-29 22:38:14 +0000 UTC]

👍: 0 ⏩: 0