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

Patrice Terrier

  • Administrator
  • *****
  • Posts: 1983
    • zapsolution
Re: Early WIP on v2.55
« Reply #405 on: December 23, 2018, 09:03:00 pm »
Quote
Do not create the Splitter window with DWORD dwStyle = WS_POPUP | WS_VISIBLE; !
there was no splitter.h is the three latest patches i got from you  :-[

And you are living two days ahead of me  ;D
« Last Edit: December 23, 2018, 09:09:11 pm by Patrice Terrier »
Patrice
(Always working with the latest Windows version available...)

Michael Lobko-Lobanovsky

  • Administrator
  • *****
  • Posts: 1481
Re: Early WIP on v2.55
« Reply #406 on: December 23, 2018, 09:12:01 pm »
And you are living two days ahead of me  ;D

I was planning to hold back my mods till Christmas to be able to add saving the configuration file. ;D

But I was so excited about the Model Slicer that I decided to share it with you a.s.a.p. :)
Mike
(3.6GHz Intel Core i5 Quad w/ 16GB RAM, nVidia GTX 1060Ti w/ 6GB VRAM, Windows 7 Ultimate Sp1)

Patrice Terrier

  • Administrator
  • *****
  • Posts: 1983
    • zapsolution
Re: Early WIP on v2.55
« Reply #407 on: December 23, 2018, 09:22:00 pm »
Here is the screenshot done with your HELP_MSWORD.rtf
Patrice
(Always working with the latest Windows version available...)

Michael Lobko-Lobanovsky

  • Administrator
  • *****
  • Posts: 1481
Re: Early WIP on v2.55
« Reply #408 on: December 23, 2018, 09:42:50 pm »
Formidable!

But still not in my OR. The image sizes are all broken. :'( :'( :'(
Mike
(3.6GHz Intel Core i5 Quad w/ 16GB RAM, nVidia GTX 1060Ti w/ 6GB VRAM, Windows 7 Ultimate Sp1)

Patrice Terrier

  • Administrator
  • *****
  • Posts: 1983
    • zapsolution
Re: Early WIP on v2.55
« Reply #409 on: December 23, 2018, 09:54:26 pm »
Were you using Seven or W10 with your screen shot?

For all image colors except black and white, they are indeed using dithering :(
« Last Edit: December 23, 2018, 10:00:51 pm by Patrice Terrier »
Patrice
(Always working with the latest Windows version available...)

Michael Lobko-Lobanovsky

  • Administrator
  • *****
  • Posts: 1481
Re: Early WIP on v2.55
« Reply #410 on: December 23, 2018, 10:01:25 pm »
This is Win 7 which is my main development platform on my workstation, as well as on the workstations of perhaps a billion other human beings on the planet Earth. ;)

This however may be due to the OS differences. Do you want me to switch on my W10 box and check? At any rate, something must be done with it under Win 7 and 8/8.1. Not all of us are so fond of extreme diving as you are, my friend.:)

I don't see my embedded OR orb, it isn't visible at all, so I can't tell you if it's dithered in OR or not for me. Not with this particular file. I'll remove all other images so that I can see the orb at least partially and then I'll tell you if I'm able to see a non-dithered original PNG in OR under Win 7 at all... But I need to go back to XP to re-save the modded file correctly in MS Word.

Stay tuned in the mean time.
« Last Edit: December 23, 2018, 10:07:33 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: 1983
    • zapsolution
Re: Early WIP on v2.55
« Reply #411 on: December 23, 2018, 10:15:42 pm »
That's a real pain that it doesn't work the same with Seven, i have no easy solution yet :(
Patrice
(Always working with the latest Windows version available...)

Michael Lobko-Lobanovsky

  • Administrator
  • *****
  • Posts: 1481
Re: Early WIP on v2.55
« Reply #412 on: December 23, 2018, 10:36:18 pm »
No Patrice,

It's still bad under Win 7; see the attached snapshot.

I've also checked under my W10 and everything's looking perfect as in your own screenshot.

So go on with your help system and I'll be doing ARGB PNG embedding for you in my MS Office. I'll be concurrently thinking about HTML/PDF viewer controls in my spare time, and probably we'll switch over to something that works reliably under both W7 and 10 at some future point in time.
Mike
(3.6GHz Intel Core i5 Quad w/ 16GB RAM, nVidia GTX 1060Ti w/ 6GB VRAM, Windows 7 Ultimate Sp1)

Patrice Terrier

  • Administrator
  • *****
  • Posts: 1983
    • zapsolution
Re: Early WIP on v2.55
« Reply #413 on: December 23, 2018, 11:06:27 pm »
Strange behavior when switching textures with MENU_VIEW_MIPMAP
try with the attached model.
« Last Edit: December 23, 2018, 11:15:59 pm by Patrice Terrier »
Patrice
(Always working with the latest Windows version available...)

Patrice Terrier

  • Administrator
  • *****
  • Posts: 1983
    • zapsolution
Re: Early WIP on v2.55
« Reply #414 on: December 23, 2018, 11:16:14 pm »
Quote
I'll be concurrently thinking about HTML/PDF viewer controls in my spare time
embedding a web browser is another solution, but more complex, and i am not speaking of the documentation itself so much easier to write with wordpad.
Patrice
(Always working with the latest Windows version available...)

Michael Lobko-Lobanovsky

  • Administrator
  • *****
  • Posts: 1481
Re: Early WIP on v2.55
« Reply #415 on: December 23, 2018, 11:45:58 pm »
No,

The easiest way will be to use MS Windows' standard HH.exe (.CHM HTML help vewer application), subclass its main window at the moment of creation using a Windows hook, and make it a child window to our custom help window in OR.

This is exactly what the FBSL Eclecta editor does with its numerous help files, also skinning the help windows' non-client areas in the process... ;)

 8)

[ADD] Re. the complexity of writing the text, we just write it in MS Word (or Libre Office) as usual embedding the images as needed, then save it in the HTML format, and then compile a bunch of them to a .CHM file (that's actually the bunch of .HTMs zipped with a custom header) that HH.exe is able to display, using MS Windows HTML Help Workshop or compatible.
« Last Edit: December 24, 2018, 12:04:45 am 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: 1481
Re: Early WIP on v2.55
« Reply #416 on: December 23, 2018, 11:49:25 pm »
The cyborg needs further investigation. I'm seeing this glitch for the first time in my life.

(I know of a few more texture glitches in my recent mods but I was too much in a hurry to present the mods to you. Actually I know how to, and I will, fix them all shortly. But they have nothing to do with this mipmapping glitch.)
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: 1481
Re: Early WIP on v2.55
« Reply #417 on: December 24, 2018, 12:13:21 am »
Hmm, this RTF-equipped Obj Reader takes some substantially longer time to launch, possibly due to the time it takes the RichEdit control to load and parse this HELP.rtf file...

How long will it take it to parse some few hundred Megs of RTF markup when all the RTF help topics are ready? ;)
Mike
(3.6GHz Intel Core i5 Quad w/ 16GB RAM, nVidia GTX 1060Ti w/ 6GB VRAM, Windows 7 Ultimate Sp1)

Patrice Terrier

  • Administrator
  • *****
  • Posts: 1983
    • zapsolution
Re: Early WIP on v2.55
« Reply #418 on: December 24, 2018, 09:38:35 am »
Quote
How long will it take it to parse some few hundred Megs of RTF markup when all the RTF help topics are ready?

For the RTF control, i am using exactly the code shown on MSDN there:
https://docs.microsoft.com/en-us/windows/desktop/controls/using-rich-edit-com#complete-insertobject-example-function
however this code is probably designed to work on the current OS  :-[

I do not see any speed impact on OR at startup on my computer when loading the RTF file.
But for slower computer, the loading could be done only when pressing the help button, just like what i had in mind for switching from one topic to another. Then the only thing that would be done at startup would be to detect the topic files to create the index listbox to select from, and display only a very short Welcome.rtf saying "ObjReader <logo>, please select a topic from the list.".
My idea was also to put all help files into one single dedicated HELP folder.
« Last Edit: December 24, 2018, 09:40:24 am by Patrice Terrier »
Patrice
(Always working with the latest Windows version available...)

Michael Lobko-Lobanovsky

  • Administrator
  • *****
  • Posts: 1481
Re: Early WIP on v2.55
« Reply #419 on: December 24, 2018, 10:32:15 am »
My PC is by no means slower than yours, especially at such trivial tasks as parsing and/or disk access; it's a 3.6GHz quad core with 16GB of RAM, after all. ;) It takes this OR version some 2+ secs to load and appear on my screen. As things are, we are going to need a splash screen real soon. ;)

My friend, you can do whatever you see best fit for your help system. What concerns me, I'll be looking for alternatives until I find something equally suitable for, and compatible under, both W7 and W10. :)
« Last Edit: December 24, 2018, 10:34:22 am by Michael Lobko-Lobanovsky »
Mike
(3.6GHz Intel Core i5 Quad w/ 16GB RAM, nVidia GTX 1060Ti w/ 6GB VRAM, Windows 7 Ultimate Sp1)