Recent Posts

Pages: 1 2 3 [4] 5 6 ... 10
31
Get ObjReader & Documentation / Version 4.00 is around the corner
« Last post by Patrice Terrier on August 12, 2025, 10:16:34 pm »
Version 4.00 is around the corner


New in 4.00: ObjReader now creates and uses the .ORB format.

📦 What is .ORB?
The “B” stands for Binary
.ORB is a compiled, binary version of a Wavefront .OBJ (and its .MTL), built on the fly by ObjReader. 
Reloads are near-instant because text parsing is no longer needed.

✨ Highlights
  • First-ever .ORB support — automatic compile from .OBJ/.MTL to a single binary file.
  • Explorer integration
       
    • .ORB is associated with ObjReader — double-click filename.orb in Explorer to launch ObjReader.exe.
         
    • Embedded PNG thumbnail — Explorer shows a preview thumbnail directly from the .ORB.
         
  • Fast loading — geometry, attributes, and materials are prepackaged for immediate use.
  • Material preservation — original .MTL references are retained and restored.
  • Robustness — safer handling for edge-case OBJ/MTL inputs.
32
Eye Candies / Re: Of The Bay (version 3.00)
« Last post by Patrice Terrier on July 29, 2025, 07:51:22 pm »
OfTheBay (OTB) – A modern FreeBASIC desktop dock bar



"OfTheBay" (OTB) is a lightweight, high-performance dock bar launcher developed in FreeBASIC 64-bit Unicode
It creates a visually appealing Mac-style dock along the bottom of the screen using layered windows and smooth GDI+ rendering.

Key features:
  • Fully skinned dock bar with per-pixel alpha blending (PNG + GDI+)
  • Supports both desktop shortcuts and taskbar-pinned entries
  • Pinned shortcuts are marked with a small overlay icon ("Pin.png") at top-left
  • Shortcuts automatically loaded from:
   - Desktop (Admin + Public)
   - Taskbar pinned folder (%APPDATA%\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar)
  • Dynamic sizing and layout based on number of entries
  • Right-click anywhere on the dock to show the contextual popup menu
  • Can optionally hide desktop shortcut icons for a cleaner workspace
  • Automatic icon extraction from ".lnk", ".url", ".exe" targets
  • Fallback to custom icons when extraction fails (e.g. "Unknown.png")
  • Fast runtime execution with no dependencies beyond GDI+ and shell APIs
  • Final EXE size: ~140 KB (without UPX), under 60 KB with TCLib for the C/C++ version

Technical highlights:
  • Written entirely in procedural FreeBASIC (no classes, no external DLLs)
  • Shell integration via IShellLinkW and SHGetPathFromIDList
  • Support for ".lnk", ".url", and ".exe" entries using direct file scanning
  • Optional pin overlay uses "Pin.png" drawn over "UseFrame.png" on pinned entries
  • All rendering uses GDI+ with premultiplied alpha and layered window styles
  • Memory-efficient: dynamically manages all icon resources and bitmap handles
  • Clean startup/shutdown sequence, fully integrated with Windows environment

Usage tips:
  • Hover over icons to see labels and activate zoom animation
  • Click to launch
  • Right-click to open the context menu with OTB commands
  • To clean up your desktop, just enable "Hide Desktop Shortcuts" from the menu

Built and tested on: Windows 10 and Windows 11 (64-bit)

Made with ❤️ using FreeBASIC and native Windows API.

Demo and source code will be shared soon.
33
Eye Candies / Of The Bay (version 4.00)
« Last post by Patrice Terrier on July 25, 2025, 01:57:36 pm »
Andrey,

I have converted OfTheBay to work with VS2022, and TCLib.lib.

And now the binary size is only 47 Kb!
34
64-bit SDK programming / Re: APNG Viewer
« Last post by Patrice Terrier on July 24, 2025, 02:22:51 pm »
The project has been updated to link with TCLib.lib to reduce the size of the binary EXE down to 13 Kb, including the icon!

The FreeBasic 64-bit version is here.
35
64-bit SDK programming / APNG Viewer
« Last post by Patrice Terrier on July 23, 2025, 09:52:27 am »
Reading and Writing APNG (Animated PNG) Made Simple

Handling APNG files — both reading and writing — has always been a challenge.
This clean application provides a streamlined solution for both.

💡 Usage 
Just drag and drop any image onto the window.
The application automatically detects the format and processes it accordingly:

  • Native APNG files
  • GDImage PNG animations
  • Horizontal stride images (multi-frame strip in a single PNG)
The animation is parsed, displayed, and optionally re-encoded using the new internal APNG API.

🛠️ What’s included 
The complete 64-bit Visual Studio 2022 source code is attached to this post.
It demonstrates how to load, display, convert, and rebuild animated PNGs with precision and full control.

Flowchart overview




And a working APNG example






36
WIP / Re: Questions or comments about the PNG Animation format
« Last post by Patrice Terrier on July 22, 2025, 06:49:16 pm »
I have now added full support to the APNG format (reading/writing).
If interrested to check it, then let me know.

Here is an example of APNG produced with this new API:
(Fully supported by most modern browsers.)


37
The concept / Re: WinLIFT 64-bit 7.00 (is attached to this post)
« Last post by Patrice Terrier on June 20, 2025, 02:11:16 pm »
The Release_7.00.7z archive, attached to the first post of this thread, has been updated with a new version of WinLIFT64.dll.

Latest build of Windows 11, has changed its memory management expectations silently in newer OS builds.
— without warning or documentation updates.

The region was not released by DWM, causing a GDI handle leak every time ZI_DwmEnable() was called.

38
The 3D Model Collection / Alpine A480 Le Mans
« Last post by Patrice Terrier on February 26, 2025, 10:02:20 am »
Alpine A480 Le Mans

This work is based on "Alpine A480 Le Mans Hypercar | www.vecarz.com"
The original model can be found here:
https://sketchfab.com/3d-models/alpine-a480-le-mans-hypercar-wwwvecarzcom-159929c503fc4cd1be443c71b92ef533

It has been reworked with C4D R21 to match the OR shader requirements.












39
The 3D Model Collection / Alfa Romeo 33 Stradale 1967
« Last post by Patrice Terrier on January 14, 2025, 01:32:59 pm »
Alfa Romeo 33 Stradale 1967

This is a custom version of the legend.

With:
- Lowered body for a reduced center of gravity.
- 4 disc brakes.
- Varnished alloy rims.
- Repositioned engine.

















Credits:
- Original model from Szymon Kubicki.
- Custom version reworked by Patrice Terrier, with C4D R21.
- Designed to render with the ObjReader freeware 3D engine.


40
Premièrement je veux vous souhaitez une bonne Année 2025...

J'ai suivi la procédure 64 bits à mainte reprise et je me retrouve toujours avec ces 3 avertissement (AV:) et ces 10 erreurs (ER:). J'ai beau suivre à la lettre et essayer différent type de GLUT toujours le même résultats?


AV: La fonction utilise '196628' octets de pile. Envisagez de déplacer certaines données vers le tas.
ER: symbole externe non résolu glutInit référencé dans la fonction main
ER: symbole externe non résolu glutInitDisplayMode référencé dans la fonction main
ER: symbole externe non résolu glutInitWindowSize référencé dans la fonction main
ER: symbole externe non résolu glutMainLoop référencé dans la fonction main
ER: symbole externe non résolu glutCreateWindow référencé dans la fonction main
ER: symbole externe non résolu glutPostRedisplay référencé dans la fonction "void __cdecl keyboard(unsigned char,int,int)" (?keyboard@@YAXEHH@Z)
ER: symbole externe non résolu glutSwapBuffers référencé dans la fonction "void __cdecl display(void)" (?display@@YAXXZ)
ER: symbole externe non résolu glutDisplayFunc référencé dans la fonction main
ER: symbole externe non résolu glutKeyboardFunc référencé dans la fonction main
AV: type d'ordinateur bibliothèque 'x86' en conflit avec le type d'ordinateur cible 'x64'
AV: type d'ordinateur bibliothèque 'x86' en conflit avec le type d'ordinateur cible 'x64'
ER: 9 externes non résolus

Merci à l'avance
Pages: 1 2 3 [4] 5 6 ... 10