|
Post by celestialk on May 9, 2020 18:51:31 GMT -5
Hi all, I am wanting to start converting some of the models from the FF7 Remake, but the models use alpha hair. I saw some tutorials using 3ds max/milkshape, but I was wondering if it is at all possible to use blender and the glass shader in s4studio to make the hair transparent? Is there a tutorial I could follow that only uses blender for making alpha hair? I haven't had any luck finding them or seeing any on Youtube. You can see my attempts on using Blender below. Blender 2.79 (can't get transparency to work) drive.google.com/file/d/1wZS26m5-CLbcooNSsZulg6dnsPzKwFEA/view?usp=sharingBlender 2.8 (what it should look like) drive.google.com/file/d/1Eyr_2J0xjhJO94LqQxtNDOa68yyUKGRI/view?usp=sharingI know that Blender 2.8 isn't compatible with S4Studio (as far as I know) Thanks!
|
|
|
Post by annabluu on May 9, 2020 21:30:16 GMT -5
you can use blender 2.8 to mesh it if you need to in order to see the transparency, but you must convert it back to a 2.79 file. if transparency won't work in blender, it will still work in s4s. no matter how transparent you try to create it in blender, it won't work in the sims 4 unless you have the correct tags in s4s.
|
|
|
Post by celestialk on May 9, 2020 21:48:09 GMT -5
EDIT: I have got the transparency working in Blender 2.79 so I can see what it looks like as I'm working on it. If you have any tutorials you'd recommend for making alpha hair on Blender, it'd be much appreciated! I'll try and see if I can tag it properly so it shows up okay in the game.
Thank you for letting me know, are there any tutorials I could follow for tagging things in s4s properly? I tried making alpha hair a few months back but couldn't seem to get the transparency to work properly.
|
|
|
Post by celestialk on May 10, 2020 13:47:38 GMT -5
EDIT: I've finally got it working in game! The shaders seem to be working okay, but I noticed that there seems to be some glitchiness happening on the edges of the hair. I'm guessing that this is a UV map issue? Also, the band holding the ponytail isn't where it should be in the blender file, is that to do with uv_1? Thanks! Screenshot: drive.google.com/file/d/1wZS26m5-CLbcooNSsZulg6dnsPzKwFEA/view?usp=sharingI've been working on this for a few hours today, I was wondering if you could have a look at the blend file so far? I'm waiting for it to import into s4studio at the moment, and it's taking a while due to it being higher polycount. But I'd appreciate any pointers!
|
|
|
Post by madeolisi on May 12, 2020 14:35:49 GMT -5
Hello! I've been facing the same problems as you have been in the last few days, trying to convert the FF7R's hair to The Sims. I assume that you also added transparency to the mesh texture by opening it in an image editor and removing the black background from the A texture of the hair (the one that should be used as an alpha clip in 2.82). You mentioned a glitch, and I've been thinking: I use Blender 2.82, and then I convert the mesh to .obj or .xps to open it in Blender 2.78. As there is no alpha clip function in version 2.78, there is also no "clip threshold" function, which adjusts the edges of the alpha layer to something more smoothed. So, did you first try to edit your mesh in Blender 2.82 and then open it in 2.7x?
|
|
|
Post by celestialk on May 12, 2020 16:46:49 GMT -5
Hello! I tried to use 2.82 and transferring it to 2.79 as a .xps or .fbx file, but it seemed to have more transparency issues in-game, so I ended up using Blender 2.79 without switching between 2.82, also I did use Photoshop to put the alpha texture as a mask to make it transparent. Image example: drive.google.com/file/d/1PxLmT1IX9Plc-58_1gEJ9U1sqpqF3usY/view?usp=sharingI also figured out a way to see how it looks with alpha in 2.79 by doing this in the image below too: drive.google.com/file/d/166ALEpUi_SSMHN9kOBzB3921VWJMBibu/view?usp=sharingI'm not sure if 2.78 has the same options as 2.79 but hopefully, this can help you and others who are having the same issue with converting hair from games. Also, the glitchiness on the texture was to do with uv_0 not being correct, but I managed to fix it. I'm still having some trouble with the uv_1 though as the headband isn't in the right place on the mesh in-game, but yet looks fine in Blender.
|
|
|
Post by madeolisi on May 12, 2020 18:29:31 GMT -5
That's great!
In fact, the Version 2.79 is better enhanced for alpha layers than version 2.78.
I believe that the best solution for Reno's googles is to export it as an accessory separately. Do you already know how to create accessories that overlap the hair?
|
|
|
Post by celestialk on May 12, 2020 18:36:55 GMT -5
Yeah, it's definitely easier for alpha hair, also I was thinking of exporting his goggles and the band for his ponytail separately, (as the band isn't in the right place on the hair mesh) but I am not sure how to make accessories overlap the hair yet. If you have any advice that'd be muchly appreciated!
|
|
|
Post by madeolisi on May 12, 2020 19:08:15 GMT -5
First of all, I believe these 2 videos are very elucidating: (to convert any mesh) (to make accessory) Choose to link the accessory to a mesh that works in conjunction with the hair. Hats, for example. Select the "restrict to opposite frame" flag. Don't forget the location of the accessory on the uv map.
EDIT: I just realized that I told you the complete opposite of what I should have warned about! You must deselect "restrict to the opposite frame".
|
|
|
Post by celestialk on May 12, 2020 19:34:52 GMT -5
Thank you so much! I can fix his goggles and hairband hopefully tomorrow. I appreciate the links to the tutorials and the help! At the moment, I am working on Rufus's hair, but seem to be having the sorting issue (seeing strands through strands). I'm trying to follow this tutorial at the moment too sims4studio.com/thread/3857/most-transparency-issues-alpha-glass but I'm having a hard time understanding it since it isn't on Blender. Have you run into this issue as well? And if you have, have you been able to fix the transparency issues? I appreciate your help! If you want, you can have a look at the package for his hair: drive.google.com/file/d/1DedziTKFTYA4--taTCL9Da75kOXV93iU/view?usp=sharingIt's really fun learning about converting clothes and hair for Sims 4!
|
|
|
Post by madeolisi on May 12, 2020 20:31:53 GMT -5
I will take a look. I'm a beginner in converting a mesh to The Sims 4, although I have been using Blender for some time. :P I really appreciate you sharing your knowledge. I'm going to convert some things from Final Fantasy 7 R and Dissidia to The Sims 4, and I hope to share them here soon. I have followed a basic principle for making content: I download a package that contains the settings I want to apply (an alpha hair, for example), and check which settings the author applied to the texture. This has worked! I hope you make good use of the tip!
|
|
|
Post by Feyona on May 12, 2020 21:32:05 GMT -5
Hello! I tried to use 2.82 and transferring it to 2.79 as a .xps or .fbx file, but it seemed to have more transparency issues in-game, so I ended up using Blender 2.79 without switching between 2.82, also I did use Photoshop to put the alpha texture as a mask to make it transparent. Image example: drive.google.com/file/d/1PxLmT1IX9Plc-58_1gEJ9U1sqpqF3usY/view?usp=sharingI also figured out a way to see how it looks with alpha in 2.79 by doing this in the image below too: drive.google.com/file/d/166ALEpUi_SSMHN9kOBzB3921VWJMBibu/view?usp=sharingI'm not sure if 2.78 has the same options as 2.79 but hopefully, this can help you and others who are having the same issue with converting hair from games. Also, the glitchiness on the texture was to do with uv_0 not being correct, but I managed to fix it. I'm still having some trouble with the uv_1 though as the headband isn't in the right place on the mesh in-game, but yet looks fine in Blender. There is no difference in what version of blender to mesh the hair. Blender can't show transparency issues in viewport. You will always see normally displayed texture. Game engine renders layers with transparency in a different way than Blender. That's why you see a "correct" picture in Blender, but not in the game. I haven't found the way to display transparency issues in Blender even in game engine mode. I am not sure whether it is possible yet.
|
|
|
Post by celestialk on May 12, 2020 21:38:35 GMT -5
Aa, okay thank you! If it would be possible to see transparency issues in the future in Blender that'd be really helpful, but for now, I'll stick with testing the cc in the game instead of using the alpha for the hair in Blender Render.
|
|
|
Post by madeolisi on May 12, 2020 23:22:53 GMT -5
|
|
|
Post by Feyona on May 12, 2020 23:45:03 GMT -5
madeolisi it is not. I saw this video years ago and read and experimented through this topic back and forth for weeks. This video only shows how to apply transparent texture, not how to render the planes based on face indices as game does. Game renders hair based on own algorithm which renders faces with higher indices first and lower indices last. Blender does not display the hair based on face indices and does not rearrange face indices number after separating meshes to different groups and combining them back.
|
|