Resolution limits of the screenshots.

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Nadro
Posts: 1648
Joined: Sun Feb 19, 2006 9:08 am
Location: Warsaw, Poland

Re: Resolution limits of the screenshots.

Post by Nadro »

Sorry, It's my fault, however I should fix that until the weekend :)
Library helping with network requests, tasks management, logger etc in desktop and mobile apps: https://github.com/GrupaPracuj/hermes
lvgeng
Posts: 38
Joined: Fri Aug 14, 2015 4:35 pm

Re: Resolution limits of the screenshots.

Post by lvgeng »

Nadro wrote:Sorry, It's my fault, however I should fix that until the weekend :)
Great!
I am looking forward to the new version!


PS: Like I asked before... do you guys have a plan to provide 16 bit stencil buffer option? It appears to be quite useful in some situation... I think 16 bit depth buffer is enough in most case, but a 8 bit stencil buffer seems to be too narrow...
PSS: From a previous project, it appears that an option for logarithmic depth buffer is also quite useful... (My group worked on something like a spaceship simulator before)
http://threejs.org/examples/#webgl_came ... epthbuffer
Nadro
Posts: 1648
Joined: Sun Feb 19, 2006 9:08 am
Location: Warsaw, Poland

Re: Resolution limits of the screenshots.

Post by Nadro »

Support for dedicated stencil formats (at now only packed depth-stencil format is available) may be good, however before that we need to add stencil operations support for SMaterial.
Library helping with network requests, tasks management, logger etc in desktop and mobile apps: https://github.com/GrupaPracuj/hermes
lvgeng
Posts: 38
Joined: Fri Aug 14, 2015 4:35 pm

Re: Resolution limits of the screenshots.

Post by lvgeng »

Nadro wrote:Support for dedicated stencil formats (at now only packed depth-stencil format is available) may be good, however before that we need to add stencil operations support for SMaterial.
Great!

Looking forward to see it in the new version!
Nadro
Posts: 1648
Joined: Sun Feb 19, 2006 9:08 am
Location: Warsaw, Poland

Re: Resolution limits of the screenshots.

Post by Nadro »

I fixed this issue in trunk, but please remember that ITexture::lock doesn't work for some color formats, so this method may return NULL.
Library helping with network requests, tasks management, logger etc in desktop and mobile apps: https://github.com/GrupaPracuj/hermes
lvgeng
Posts: 38
Joined: Fri Aug 14, 2015 4:35 pm

Re: Resolution limits of the screenshots.

Post by lvgeng »

Nadro wrote:I fixed this issue in trunk, but please remember that ITexture::lock doesn't work for some color formats, so this method may return NULL.
Recompiled with the new version.
It works fine now! Thank you very much!! :D :D

Some format? Em... I will keep that in mind and if I find something I will inform you.
Nadro
Posts: 1648
Joined: Sun Feb 19, 2006 9:08 am
Location: Warsaw, Poland

Re: Resolution limits of the screenshots.

Post by Nadro »

Good to know that it works fine at now. Compressed and formats available only for render targets are unsupported, so only following formats works fine (those formats are the most popular):

Code: Select all

ECF_A1R5G5B5
ECF_R5G6B5
ECF_R8G8B8
ECF_A8R8G8B8
Library helping with network requests, tasks management, logger etc in desktop and mobile apps: https://github.com/GrupaPracuj/hermes
Post Reply