- 2020-10-16 at 2:09 pm #34249
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.
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.)2020-10-17 at 5:15 am #34259Yuri KovelenovDeveloper
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 support2020-10-19 at 8:48 am #34303
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 me2020-10-20 at 7:41 am #34337Yuri KovelenovDeveloper2020-10-20 at 9:49 am #34340
- You must be logged in to reply to this topic.