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.

optimize texture loading

Home Forums Bug Reports and Feature Requests optimize texture loading

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #34249
    web
    Customer

    I would like to make a feature requests regardings textures.

    Would it be possible to let verge load low res textures at the beginning and load the full/high resolution afterwards? So for example in your glft normally texture01.jpg is applied. When the option load low res is set, verge tries to load every texture with the suffix “_low” so in the example “texture01_low.jpg”. Or maybe look for the same filename just in another folder. After the application is loaded verge is replacing the low textures with the normal ones in the background.

    Second request:
    The option to load webp images. This could share partly the same logic from the first request. If the browser supports webp, try to load .webp. If file can’t be found just stick with the original file type (jpg, png, etc.)

    #34259

    Hi,

    Those are interesting points. In the meantime, you might consider the following:

    Would it be possible to let verge load low res textures at the beginning and load the full/high resolution afterwards?

    This can be implemented with the replace texture puzzle and some additional puzzles.

    If the browser supports webp, try to load .webp.

    found this thread on detecting WebP support

    Chief 3D Verger | LinkedIn | Twitter

    #34303
    web
    Customer

    Hey Yuri,

    thx for your response. I know that this would even now be possible with the mentioned replace texture puzzle.

    This was just an idea for future versions, to optimize verge3d even more in regards of file size. And instead of having a own implementation of that function an official one from your side would be great.

    I think that you guys also would be quite quicker in implementing such a function than me :yes:

    #34337

    thank you for your feedback! we’ll discuss this!

    Chief 3D Verger | LinkedIn | Twitter

    #34340
    web
    Customer

    Great thanks :good:

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