Commit Graph
3 Commits
Author SHA1 Message Date
adminandClaude Opus 4.8 6e8ab4bc6d Add Cinemachine third-person orbit camera and fix paint raycast
- Install Cinemachine 3.1.7 and set up an orbital third-person camera rig
  (CinemachineBrain, OrbitalFollow, RotationComposer, Deoccluder).
- Add ThirdPersonOrbitInput: mouse-driven orbit and wheel zoom with a Tab
  toggle that unlocks the cursor and pauses rotation.
- Fix MeshPainter so the paint ray skips the player's CharacterController
  capsule (and any other collider) and always targets the mesh collider,
  so painting works from every camera angle.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-22 14:31:45 +02:00
adminandClaude Opus 4.8 792c8c964f Add WASD character controller with jump and slope sliding
- Add PlayerCharacterController script: CharacterController-based
  movement (camera-relative WASD), jump, gravity, rotate-toward-movement
  and slope sliding so the player slides off surfaces/edges steeper than
  the slope limit instead of balancing on them.
- Update SampleScene: add Player (with CharacterController), ground plane
  and obstacle cubes; parent the paintable paintman_UV under the Player.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-22 13:02:03 +02:00
adminandClaude Opus 4.8 fa4474f6d4 Initial commit: Unity mesh painter project
Unity 6000.3 (URP) project with live mesh painting in play mode.

- MeshPainter.cs: paint a SkinnedMesh with the mouse, seamless across
  UV islands via 3D-space painting, GPU and CPU backends (switchable),
  edge-padding/dilation against bilinear seam bleed
- FrameRateLimiter.cs: simple frame rate limiting component
- MeshPaintBrush / MeshPaintDilate shaders for the GPU paint path
- Unity-specific .gitignore and .gitattributes

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-22 12:03:24 +02:00