We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Image texture low resolution – AR

Home Forums Graphics / Blender Image texture low resolution – AR

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #81789
    gestion
    Customer

    Hi,

    When I export my object in augmented reality, the image texture quality becomes very low.
    It seems to be compressed somehow.
    How can I ensure no compression ? I don’t mind to mind to wait a few seconds (the object currently appear in AR almost instantly)

    For comparaison, I have exported my object using Verge3D and with another tool so we can clearly see that Verge3D compress the image.

    I am using an Iphone (but the issue is similar on android).
    The image texture is 4096×4096 and 3,66Mo.

    Attachments:
    You must be logged in to view attached files.
    #81801

    Hi,
    Perhaps it’s not the texture, but the reduced resolution of the 3D canvas. Try to switch your canvas to native resolution mode to see the difference.

    Soft8Soft Tech Chief
    X | FB | LinkedIn

    #81821
    gestion
    Customer

    The issue seems to come from the function “export_to _usdz”.
    According to another post this function reduces textures to 1024 when exporting to usdz.

    How can I avoid this compression ?
    Here is the other post

    #81831
    kdv
    Participant

    How can I avoid this compression ?

    open visual_logic.js and find there function imageToCanvas(image, color).
    replace const scale = 1024 / Math.max(image.width, image.height); with const scale = 1;

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

    #81832
    gestion
    Customer

    I have been through “visual_logic.js” and I connot find this imageToCanvas function :unsure:

    #81833
    kdv
    Participant

    Looks like they moved the exporter from puzzles.min.js to v3d.js :unsure: Search for maxTextureSize:1024 inside v3d.js

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

    #81837
    gestion
    Customer

    Great ! Yes that fixed the issue !
    Thank you :good:

    #81863

    Hi,
    This limitation is intentional to keep exporter robust and compatible with wide range of hardware. You can change it but do it on your own risk.

    Soft8Soft Tech Chief
    X | FB | LinkedIn

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.