Author Topic: Early WIP on v2.55  (Read 5478 times)

Patrice Terrier

  • Administrator
  • *****
  • Posts: 1069
    • zapsolution
Re: Early WIP on v2.55
« Reply #495 on: January 06, 2019, 07:24:24 pm »
Here are the files compressed with the LZNT1 algo  ::)

« Last Edit: January 06, 2019, 07:46:46 pm by Patrice Terrier »
Patrice
(Always working with the latest Windows version available...)

Patrice Terrier

  • Administrator
  • *****
  • Posts: 1069
    • zapsolution
Re: Early WIP on v2.55
« Reply #496 on: January 06, 2019, 07:46:22 pm »
And here are the 2 LZNT1 console applications

Indeed the LZNT1 decompression speed is the fastest all in all…
« Last Edit: January 06, 2019, 07:47:56 pm by Patrice Terrier »
Patrice
(Always working with the latest Windows version available...)

Michael Lobko-Lobanovsky

  • Administrator
  • *****
  • Posts: 903
Re: Early WIP on v2.55
« Reply #497 on: January 06, 2019, 07:54:54 pm »
 :( :( :( :(
 :'( :'( :'( :'(

(disabling your WM_PAINT manipulations to restore the RichEdit background to a readable color...)
Mike
(3.6GHz Intel Core i5 Quad w/ 16GB RAM, nVidia GTX 1060Ti w/ 6GB VRAM, Windows 7 Ultimate Sp1)

Michael Lobko-Lobanovsky

  • Administrator
  • *****
  • Posts: 903
Re: Early WIP on v2.55
« Reply #498 on: January 06, 2019, 08:03:36 pm »
Patrice,

Maybe I should continue with Linuxoid compression and add a compressor so that we could compress XPRESS_HUFF data with something other than the MS APIs?

Currently the decompressor I ported adds less than 2K binary code to the app as compared to your XPRESS and LZNT1 decompressors but the executable's disk image size remains the same 440KB due to the 4K clusters...

Hopefully the Linuxoid compressor will create solid archives that the matching decompressor can decode flawlessly... :-\
Mike
(3.6GHz Intel Core i5 Quad w/ 16GB RAM, nVidia GTX 1060Ti w/ 6GB VRAM, Windows 7 Ultimate Sp1)

Patrice Terrier

  • Administrator
  • *****
  • Posts: 1069
    • zapsolution
Re: Early WIP on v2.55
« Reply #499 on: January 06, 2019, 08:47:44 pm »
From your Screenshot it looks like the RTF API has also changed, but MSDN doesn't says anything about the OS supported with their example.

Working on the Linuxoid compression is useless if we couldn't display the ztf/rtf correctly on Seven, that should be solved first.




« Last Edit: January 06, 2019, 08:54:15 pm by Patrice Terrier »
Patrice
(Always working with the latest Windows version available...)

Michael Lobko-Lobanovsky

  • Administrator
  • *****
  • Posts: 903
Re: Early WIP on v2.55
« Reply #500 on: January 06, 2019, 09:14:27 pm »
Working on the Linuxoid compression is useless if we couldn't display the ztf/rtf correctly on Seven, that should be solved first.

I think first and foremost, the images that are embedded in the files should be of W7 acceptable format, probably even converted to high color to avoid uncontrollable dithering and spontaneous resizing. Second, the text fonts should be true MS native TTF's rather than Linuxoid open source surrogates. Finally, formatting options (e.g. like list bullets) should be checked for adequate reproduction in both W7 WordPad and RichEdit.

I'll try to fiddle with all this in the morning based on your uncompressed RTF files. We're going to have the Orthodox Christmas holiday tomorrow, so it's unlikely that something might distract me from my hobbies.
« Last Edit: January 06, 2019, 09:23:24 pm by Michael Lobko-Lobanovsky »
Mike
(3.6GHz Intel Core i5 Quad w/ 16GB RAM, nVidia GTX 1060Ti w/ 6GB VRAM, Windows 7 Ultimate Sp1)

Michael Lobko-Lobanovsky

  • Administrator
  • *****
  • Posts: 903
Re: Early WIP on v2.55
« Reply #501 on: January 07, 2019, 06:46:37 pm »
... it's unlikely that something might distract me from my hobbies.

If you want to make the god laugh out loud in your face, just let him know about your intentions. ;D

It's been a while since I checked ObjReader last on my 64-bit AMD/ATi W7 box. I did so today only to find that the ATi Radeon version of OpenGL refuses to compile the OR shaders. I had to remove the GL_EXT_gpu_shader4 extension that enabled us to render the model flat shaded in certain modes, and I had also to remove the initialization of shader uniforms in the GLSL code because it isn't supported in ATi's GLSL v1.2 that the shaders were using. nVidia seems to be much more permissive in this regard than its closest competitor.

Yet I found out that this PC is more tolerant to your .RTF help files. Of course 32-bit alpha transparent PNG's are out of the question as they get dithered as badly as on my main workstation, but what regards the sizes and shapes of the fonts, I can read practically any text that's there in the files.

So, it's an indication that the RichEdit distortions I'm seeing are likely to be a W7 video driver issue (both of my PCs have the latest drivers installed from their respective video card vendors), and no one knows how bad or good it may be on yet other people's PCs. I'll be trying to rework the .RTF's in my native W7 WordPad as planned until they look OK on both of my W7 machines.
« Last Edit: January 07, 2019, 06:49:30 pm by Michael Lobko-Lobanovsky »
Mike
(3.6GHz Intel Core i5 Quad w/ 16GB RAM, nVidia GTX 1060Ti w/ 6GB VRAM, Windows 7 Ultimate Sp1)

Patrice Terrier

  • Administrator
  • *****
  • Posts: 1069
    • zapsolution
Re: Early WIP on v2.55
« Reply #502 on: January 07, 2019, 08:07:55 pm »
Same problems here with Intel HD Graphics 4000, i can't run OR anymore on my ASUS i5 Transformer.  :-[

The solution could be perhaps to check the graphic card being used, and use these shaders only on nVidia ?
« Last Edit: January 07, 2019, 08:12:34 pm by Patrice Terrier »
Patrice
(Always working with the latest Windows version available...)

Michael Lobko-Lobanovsky

  • Administrator
  • *****
  • Posts: 903
Re: Early WIP on v2.55
« Reply #503 on: January 07, 2019, 09:32:46 pm »
Here's the patch with the shaders and renderers fixed to run on my ATi Radeon. Hopefully it'll suit your 4000. Let me know if it works or not.
Mike
(3.6GHz Intel Core i5 Quad w/ 16GB RAM, nVidia GTX 1060Ti w/ 6GB VRAM, Windows 7 Ultimate Sp1)

Michael Lobko-Lobanovsky

  • Administrator
  • *****
  • Posts: 903
Re: Early WIP on v2.55
« Reply #504 on: January 07, 2019, 09:45:23 pm »
BTW do you mean to say your ASUS i5 Transformer runs exclusively on Intel HD Graphics 4000 HW and we can now create and test some specific code to add Intel recognition to our options? Can you send me a snapshot of your Transformer's Graphics info... message box if the patch I sent you works well?
Mike
(3.6GHz Intel Core i5 Quad w/ 16GB RAM, nVidia GTX 1060Ti w/ 6GB VRAM, Windows 7 Ultimate Sp1)

Patrice Terrier

  • Administrator
  • *****
  • Posts: 1069
    • zapsolution
Re: Early WIP on v2.55
« Reply #505 on: January 07, 2019, 09:59:25 pm »
Yes, this ASUS Transformer has only on an Intel HD 4000, see the attached snapshot.

With your patch, everything seems to work, including the RTF help.
The only problem i have found so far, is when moving the slider, the dot bitmap is left behind and is moved only once i release the mouse button.

Of course there is no speed comparison with my nVidia ASUS Gamer computer.
Patrice
(Always working with the latest Windows version available...)

Michael Lobko-Lobanovsky

  • Administrator
  • *****
  • Posts: 903
Re: Early WIP on v2.55
« Reply #506 on: January 07, 2019, 10:05:55 pm »
Glad the patch worked for you! :)

Thanks for the Intel HD Graphics panel snapshot but I'd like to see ObjReader's message box as well, that pops up when clicking the video brand icon in the main window caption or choosing the Help->Graphics info... menu, if possible.
Mike
(3.6GHz Intel Core i5 Quad w/ 16GB RAM, nVidia GTX 1060Ti w/ 6GB VRAM, Windows 7 Ultimate Sp1)

Patrice Terrier

  • Administrator
  • *****
  • Posts: 1069
    • zapsolution
Re: Early WIP on v2.55
« Reply #507 on: January 07, 2019, 10:10:00 pm »
Ok, here is the dialog.
Patrice
(Always working with the latest Windows version available...)

Michael Lobko-Lobanovsky

  • Administrator
  • *****
  • Posts: 903
Re: Early WIP on v2.55
« Reply #508 on: January 07, 2019, 10:16:52 pm »
Thnx! And what icon is displayed currently in the OR caption?
Mike
(3.6GHz Intel Core i5 Quad w/ 16GB RAM, nVidia GTX 1060Ti w/ 6GB VRAM, Windows 7 Ultimate Sp1)

Patrice Terrier

  • Administrator
  • *****
  • Posts: 1069
    • zapsolution
Re: Early WIP on v2.55
« Reply #509 on: January 07, 2019, 10:18:53 pm »
The icon shown is the Intel one, that's perfectly correct ;)
Patrice
(Always working with the latest Windows version available...)