selection of font
This commit is contained in:
31
CLAUDE.md
31
CLAUDE.md
@@ -125,6 +125,14 @@ keyboard until I get the necessary hardware for the controls.
|
||||
Also please note that this will need to be flexible as encoders can
|
||||
be expensive, especially robust ones that kids cannot break.
|
||||
|
||||
Text Rendering:
|
||||
|
||||
Use stb_truetype (single-header library, stb_truetype.h from github.com/nothings/stb).
|
||||
Drop stb_truetype.h into the src directory. No additional build dependencies required.
|
||||
Used for graticule degree labels on the PPI bearing ring, range labels, and any
|
||||
vessel name labels from AIS data. Build a font atlas texture at startup from a
|
||||
TTF font file; render characters as textured quads in the shader.
|
||||
|
||||
Shaders:
|
||||
|
||||
Each of the following is a separate shader set. Keeping them separate is
|
||||
@@ -135,12 +143,8 @@ or tested independently without affecting the others. At least the following sha
|
||||
2. clutter for rain, in white blue
|
||||
3. clutter for waves, in white blue
|
||||
4. graticule for PPI for bearing ticks, numbers, and range rings that
|
||||
will change with range selection
|
||||
will change with range selection (text rendered via stb_truetype atlas)
|
||||
5. Have operator switch graticules on the vintage a scope
|
||||
6. Shoreline; tricky as shoreline has hills.
|
||||
7. This may be overkill, but something for notable buildings and docks. The
|
||||
curved south bay trail and taylor dock comes to mind, also the squalicum
|
||||
marina and the breakwaters.
|
||||
|
||||
|
||||
Details for A scope (predecessor to the PPI scope)
|
||||
@@ -226,16 +230,9 @@ The Raspberry Pi code will live in a separate git repository with its own CLAUDE
|
||||
and its own CMakeLists.txt, since it targets a different architecture (ARM) and has
|
||||
a different toolchain and dependencies. Do not mix it into this repository hierarchy.
|
||||
|
||||
Is is possible to create the softward with the following temporary files:
|
||||
Initial development build (no hardware required):
|
||||
|
||||
1. leave all controls to default; center for everything.
|
||||
2. create five fake targets, at random locations within the range
|
||||
of the radar, moving randomly at normal boat speeds. Us variety of sizes
|
||||
|
||||
Have it able to run without the controls and the Raspbery pi stuff as I need
|
||||
to purchase the raspberry pi 5 units
|
||||
|
||||
Just evaluate and give estimate on amouint of time/tokens and about the total
|
||||
tokens, time, and number of lines of code
|
||||
|
||||
Please do not generate code. Just comments.
|
||||
1. All controls default to center values.
|
||||
2. Five fake targets at random locations within radar range, moving randomly
|
||||
at normal boat speeds, with variety of sizes.
|
||||
3. Must run without the controls hardware and without the Raspberry Pi units.
|
||||
|
||||
Reference in New Issue
Block a user