Copy link to clipboard
Copied
Im having an issue with one image im running through a oil painting script. The resolution is 2048x1024 but the default res throughout the script is 2kx2k. is there a way to set the entire script to match the resolution of the original image? When I export, everything looks stretched. This is what I'm getting so far. The background is coming out very stretched.
Copy link to clipboard
Copied
Hello,
By script, do you mean you process the image using the SBSRender command line tool?
Best regards.
Copy link to clipboard
Copied
Ahh sorry, im not using the command line. It is an SBS file set up to have the original image as the input and generates an oil painted texture.
Copy link to clipboard
Copied
Hello,
Thank you for your reply. The graph's parent size can be changed in the Graph view toolbar
That being said, please note that creating Bitmap nodes in a graph to use a Bitmap resource, these nodes are automatically created at the nearest upper power of two relatively to the native resolution of their referenced image. This size is also set to the Absolute inheritance method.
This is a deliberate behaviour which aims to ensure the image is processed and stored in the package at a fixed resolution which preserves its details. Learn more at the 'Quality loss in published Substance 3D asset file' item here.
I hope this addresses your question, feel free to let me know if I can help further!
Best regards.
Copy link to clipboard
Copied
Ty! I think that fixed it. One thing, not sure if this is possible but can the 3d plane be changed or edited to match the image? Its kind of difficult to see the quality when the image is squished onto a square plane.
Copy link to clipboard
Copied
Hello,
Unfortunately the default meshes listed in the 3D View > Scene menu cannot be modified.
However, it is simple enough to create a custom plane using a Substance model graph:
You can then export the result as a 3D scene file by clicking RMB on the Substance model graph item in the Explorer, and selecting the Export... option. The exported scene file may then be linked into any other package where it is required and loaded in the 3D View.
I hope this is helpful!
Best regards.