Profile Picture

Reset the diffuse intensity before exporting out of Blender (Tip)

Posted By 4u2ges 5 Years Ago
You don't have permission to rate!

Reset the diffuse intensity before exporting out of Blender (Tip)

Author
Message
4u2ges
Idea.png
4u2ges
Posted 5 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (14.7K reputation)Distinguished Member (14.7K reputation)Distinguished Member (14.7K reputation)Distinguished Member (14.7K reputation)Distinguished Member (14.7K reputation)Distinguished Member (14.7K reputation)Distinguished Member (14.7K reputation)Distinguished Member (14.7K reputation)Distinguished Member (14.7K reputation)

Group: Forum Members
Last Active: 6 hours ago
Posts: 3.9K, Visits: 14.0K
Maybe someone find it useful.

Whenever you import FBX models/objects to Blender, the diffuse intensity always reset to 0.8 or 80 by iClone units.
Blender does not preserve most other material attributes settings (like opacity maps), but I found "bleached" diffuse is the most annoying.

If you do multiple in/outs while testing, you can set the diffuse intensity manually to 1.0 for each material in Blender project, but I found very simple way to reset it with one shot before exporting a model out of Blender

Select a Text Editor

https://forum.reallusion.com/uploads/images/69358b71-1dbb-4fb9-92ed-7304.jpg



Click New

https://forum.reallusion.com/uploads/images/584e6969-6c4d-4134-a824-d7f5.jpg


Paste following script into window and click Run Script:

import bpy
for m in bpy.data.materials:
    m.diffuse_intensity = 1.0


https://forum.reallusion.com/uploads/images/f625fae4-394c-458e-a2d6-9abb.jpg


All materials diffuse intensity would be reset to 1.0




Kelleytoons
Kelleytoons
Posted 5 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (30.9K reputation)Distinguished Member (30.9K reputation)Distinguished Member (30.9K reputation)Distinguished Member (30.9K reputation)Distinguished Member (30.9K reputation)Distinguished Member (30.9K reputation)Distinguished Member (30.9K reputation)Distinguished Member (30.9K reputation)Distinguished Member (30.9K reputation)

Group: Forum Members
Last Active: 6 hours ago
Posts: 8.6K, Visits: 20.0K
Thanks -- while I haven't had this issue in a long time (because I used to bring stuff into Blender from Daz, and now I just import Daz directly into XChange) I may have need of this in the future.

My bigger issue is that everything I import from Daz comes in with Bump/Normal settings of 100 -- I wish there was a way to default ANY normal to 12 or so (about the right setting).  Oh for some python scripting inside of iClone!



Alienware Aurora R12, Win 10, i9-119000KF, 3.5GHz CPU, 128GB RAM, RTX 3090 (24GB), Samsung 960 Pro 4TB M-2 SSD, TB+ Disk space
Mike "ex-genius" Kelley
animagic
animagic
Posted 5 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (27.9K reputation)Distinguished Member (27.9K reputation)Distinguished Member (27.9K reputation)Distinguished Member (27.9K reputation)Distinguished Member (27.9K reputation)Distinguished Member (27.9K reputation)Distinguished Member (27.9K reputation)Distinguished Member (27.9K reputation)Distinguished Member (27.9K reputation)

Group: Forum Members
Last Active: 3 hours ago
Posts: 14.3K, Visits: 25.6K
Interesting about the "bleached" diffuse setting.

This explains something that has puzzled me for quite some time. I bought a number of iClone asset packs from a 3rd party vendor and all Diffuse maps were at 80%, causing a bleached-out look. So most likely they were made in Blender. I always have to remind myself to up the strength to 100%. 


https://forum.reallusion.com/uploads/images/1f3bed13-1788-45e1-9ace-4fd0.jpg


Edited
5 Years Ago by animagic



Reading This Topic