Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
omarreis authored Jun 10, 2022
1 parent fc0a4db commit e07e00e
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions demos/SailboatDemo/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# SailboatDemo

[![SailboatDemo V2](https://img.youtube.com/vi/M9_Z5RxW3Pc/0.jpg)](https://www.youtube.com/watch?v=M9_Z5RxW3Pc)
App video on Youtube

A 3D sailboat on a moving sea surface with waves and all.
Delphi Firemonkey 3D app for Windows, iOS and Android.

A 3D sailboat on a moving sea surface with waves.
This demo application was added to this fork of GBE3D 3d components, by Gregory Bersegeay.
It is a Delphi Firemonkey 3D application.

Features:
* SailboatDemo is based on original GBE3D *waterdemo* sample.
Expand All @@ -14,29 +16,30 @@ Features:
* Ocean surface w/ waves.
* Boat stays in the center at 0,0 while the sea surface and land are moved (boatcentric universe)
* Boat floats on waves and pitches to match wave inclination in Course direction.
* Objects parented to the OceanSurface float on it (like the boat wake bubbles).
* Objects parented to the OceanSurface float on and move with it (like the boat wake bubbles).
* A system of TDummys allows setting boat's *course*, *heel* and *pitch* independently, avoiding gymbal locks by manipulating RotationAngles (Euler angles).
* A rock with a lighthouse (but no collision detection yet). A few floating objects.
* As the boat moves, it leaves a wake of floating bubbles. Bubbles are recycled over time.
* One rectangle of sea surface (30x30). Boat automaticaly makes U turn when leaves the sandbox. Todo: a system of tiles.
* One rectangle of sea surface (30x30). Boat stays in the center.
* Large textured TDisk represents the sea horizon.
* Scrollable listbox contains the app controls: camera, boat, waves and object groups.
* Camera controls: AngleOfView or switch to design camera.
* Camera controls: AngleOfView, Azimuth and elevation or switch to design camera.
* Mouse drag: up=change elevation, rigth/left - rotate camera.
* Boat controls: movement, Course, Speed, Heel, jib and main sheet.
* 3 waves w/ configurable params: Amplitude, Longueur, Vitesse and Origine ( same as TGBEPlaneExtend )
* All assets (3d model and textures) are embedded in the form file (fSailboatDemo.fmx). That is why it is so big.
* 5 waves w/ configurable params: Amplitude, Longueur, Vitesse and Origine ( same as TGBEPlaneExtend )
* All assets (3d model and textures) are embedded in the form file (fSailboatDemo.fmx). That is why it is so big (25M).

In order to compile this demo, you have to compile and install the GBE3D design package in this fork,
as I have added a few components.
In order to compile this demo, you have to compile and install the GBE3D design package *in this fork*,
as I have added a few components: Sea surface and Sail surface.

## Windows executable
https://github.com/omarreis/GBE3D/releases/tag/V10

## Video

https://youtu.be/M9_Z5RxW3Pc SailboatDemo V2 on Youtube
https://youtu.be/M9_Z5RxW3Pc SailboatDemo V2 on Youtube (jun22)

http://www.youtube.com/watch?v=bBpZxB8GLpg SailboatDemo on Youtube
http://www.youtube.com/watch?v=bBpZxB8GLpg SailboatDemo V1 on Youtube

![Youtube video](https://img.youtube.com/vi/bBpZxB8GLpg/0.jpg)

Expand Down

0 comments on commit e07e00e

Please sign in to comment.