Recent Posts

Pages: 1 ... 8 9 [10]
91
WIP / Re: VULTRAN Aventi
« Last post by Patrice Terrier on July 10, 2019, 02:19:16 pm »
Quote
I don't really see any reason for "fixing many errors"...


Just a few of them...

Check for the text symetry on the two side of the bike (once seating on the bike, the left side is good, but the right side is wrong).
Look at the leather mesh, it is full of errors.
There are missing sculptures on both front and back tire, and with their correponding leds.
Grid alignments are totaly unreal, especially the one from the back panel.
If you look closely to the dashboard, you will see that it is full of pictograms matching a car thermic engine.
etc.

Some of these oddities are even worse in version 3, look at the ridiculous front wheel direction, and tell me how you would drive such a bike?
92
WIP / Re: VULTRAN Aventi
« Last post by Michael Lobko-Lobanovsky on July 10, 2019, 10:42:03 am »
Thank you! :)

This is how it looks in ObjReader now with CSAA anti-aliasing. The red tint is due to brightness/contrast PP applied to suppress too high material brightness that Blender exports when the model is designed to be rendered with the Cycles renderer.

The material file has not been modified in any way except textures were added where available. The textures embedded in the model are attached in the zip below.

The model exported from Blender directly to OBJ doesn't seem to display any geometry flaws, so frankly, I don't really see any reason for "fixing many errors"...
93
WIP / Re: VULTRAN Aventi
« Last post by Patrice Terrier on July 09, 2019, 10:45:12 pm »
Here is the original Blend model, to compare with the OR version once completed ;)
94
WIP / Re: VULTRAN Aventi
« Last post by Michael Lobko-Lobanovsky on July 08, 2019, 03:14:50 pm »
Should be very impressive once completed. :)
95
WIP / VULTRAN Aventi
« Last post by Patrice Terrier on July 07, 2019, 07:15:06 pm »
Working on that model from Lee Rosario (and fixing many errors)

96
Post Your Questions & Comments Here / Re: Skinned Menu Question
« Last post by Patrice Terrier on July 07, 2019, 09:42:29 am »
Not directly, you have to use an owndrawn menu for that purpose.

There is an example on how to do it in gMap64

Search for:
GetMenuIcon
AddResource
RemoveAllImageResource


and of course:
    case WM_DRAWITEM:
         lpdis = (DRAWITEMSTRUCT*) lParam;
         if (lpdis->CtlType == ODT_MENU) {
             img = GetMenuIcon(lpdis->itemID);
             wcscopy(zTxt, GetMenuText(lpdis->itemID));

             if (CheckStyle(lpdis->itemState, ODS_SELECTED)) {
                 SetTextColor(lpdis->hDC, GetSysColor(COLOR_HIGHLIGHTTEXT));
                 SetBkColor(lpdis->hDC, GetSysColor(COLOR_HIGHLIGHT));
             } else {
                 SetTextColor(lpdis->hDC, GetSysColor(COLOR_MENUTEXT));
                 SetBkColor(lpdis->hDC, GetSysColor(COLOR_MENU));
             }

             if (CheckStyle(lpdis->itemState, ODS_GRAYED)) {
                 SetTextColor(lpdis->hDC, GetSysColor(COLOR_GRAYTEXT));
                 ImgAttr = ZI_SetImageAlpha(80);
             }

             ExtTextOut(lpdis->hDC, 6 + 16 + lpdis->rcItem.left,
                        lpdis->rcItem.top + 1, ETO_OPAQUE, &lpdis->rcItem, zTxt, lstrlen(zTxt), NULL);

             if (GdipCreateFromHDC(lpdis->hDC, graphics) == 0) {
                 GdipGetImageWidth(img, imgW); GdipGetImageHeight(img, imgH);
                 GdipDrawImageRectRectI(graphics, img,
                                        lpdis->rcItem.left + 1, lpdis->rcItem.top + 1, imgW, imgH,
                                        0, 0, imgW, imgH, UnitPixel, ImgAttr, 0, 0);
                 GdipDeleteGraphics(graphics);
             }

             return 1;
         }
         break;


The problem with the skinned one, is that it has no idea of the image to use, nor if the graphic chart of the icon will match the current theme.

The best solution is to create the specific ownerdrawn popup menu directly inside of OR, using the same scope than in WinLIFT.

Or to use a GDImage overlay menu like in BB64 (see attachment), but there is no embedded child menu.
That is the same concept that in the OR's help topic list.

97
Post Your Questions & Comments Here / Skinned Menu Question
« Last post by Michael Lobko-Lobanovsky on July 06, 2019, 10:34:45 pm »
Patrice,

Can your skinned menus display bitmaps in the left column where ticks/bullets appear in a regular menu?
98
Post Your Questions & Comments Here / Re: Why Still v2.54?
« Last post by Michael Lobko-Lobanovsky on July 06, 2019, 05:37:22 pm »
Great, thank you! :)
99
Post Your Questions & Comments Here / Re: Why Still v2.54?
« Last post by Patrice Terrier on July 06, 2019, 10:05:07 am »
Cut and paste you know...

Indeed, it means at least version 2.54, or 2.54+ if you prefer.

I have updated the recommendation ;)
100
Post Your Questions & Comments Here / Why Still v2.54?
« Last post by Michael Lobko-Lobanovsky on July 06, 2019, 04:52:21 am »
Patrice,

Why are you still recommending to use ObjReader v2.54 to view the models that you've been uploading to the Model Collection in recent 6 months or so?

The latest stable version of ObjReader is 2.75 as of February 10, 2019!
Pages: 1 ... 8 9 [10]