Compare commits
13
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
28fb81ad45 | ||
|
|
423d8b8f52 | ||
|
|
3fe21230cc | ||
|
|
8beaa76720 | ||
|
|
2a7498695a | ||
|
|
c6d98bd72a | ||
|
|
6a5adb1c79 | ||
|
|
40527f10ac | ||
|
|
be8ee31f03 | ||
|
|
b932a07cba | ||
|
|
f4bd3b6bed | ||
|
|
2e6b93f3ac | ||
|
|
3f68a8ba07 |
No files matched your search
@@ -140,15 +140,19 @@ Snapshots have a monotonically increasing revision. `InternalGameServer` caches
|
||||
- Script globals.
|
||||
- Character transforms, attack targets, navigation destinations, stopping,
|
||||
facing, replanning, health, damage, death reset, attack combos, and animation
|
||||
metadata.
|
||||
metadata. Character position, facing angle, home position, face target, and
|
||||
enabled state use separate semantic commands; no whole-character commit
|
||||
command is exposed.
|
||||
- Interactive-object activation.
|
||||
- Trigger-zone state.
|
||||
- Quest-definition reloads.
|
||||
|
||||
The remote implementation currently serializes only
|
||||
`SetCharacterDestinationCommand` as player intent. The server derives the
|
||||
The remote implementation serializes destination intent from clients, while
|
||||
the server emits connection-lifecycle presence commands. The server derives the
|
||||
character and location from the assigned connection slot; arbitrary state
|
||||
mutation commands are not accepted from the network.
|
||||
`SetCharacterEnabledCommand` is consumed by the server and replicated to every
|
||||
client in the ordered tick bundle when a slot connects or disconnects.
|
||||
|
||||
### Presentation events
|
||||
|
||||
@@ -336,8 +340,9 @@ The player state remains campaign-level and survives location changes.
|
||||
|
||||
## Save and Load Schema
|
||||
|
||||
Authoritative persistence uses one strict, versioned schema. `schemaVersion` is
|
||||
required and unsupported versions are rejected rather than migrated. A
|
||||
Authoritative persistence currently uses strict schema version `5`.
|
||||
`schemaVersion` is required and unsupported versions are rejected rather than
|
||||
migrated. A
|
||||
single-player save is a separate versioned envelope containing `networkState`
|
||||
(the authoritative `GameState` JSON) and `localState` (the client-local location
|
||||
map). Lockstep sends that authoritative document only in `initial_state`; later
|
||||
@@ -347,6 +352,9 @@ messages contain numbered command bundles.
|
||||
- Locations are keyed by location ID.
|
||||
- Each location stores NPC and interactive-object state in ID-keyed objects.
|
||||
- Pending interaction targets and character references use stable IDs.
|
||||
- Character navigation persistence includes waypoints, actual previous-tick
|
||||
movement, blocked/retry state, the blocker ID, and the NPC cooldown sequence
|
||||
and cursor.
|
||||
- Immutable content such as meshes, initial taxi configuration, and object
|
||||
definitions is reconstructed from campaign configuration.
|
||||
- Configuration is loaded first and mutable saved state is overlaid in place.
|
||||
@@ -405,6 +413,9 @@ server interface. They can remain empty or disabled in multiplayer mode as plann
|
||||
Protocol v2 uses server-sequenced deterministic lockstep:
|
||||
|
||||
- The server assigns a connection to a preconfigured campaign player slot.
|
||||
- Player slots are disabled in the authoritative initial state. A successful
|
||||
connection schedules `SetCharacterEnabledCommand(enabled=true)` for the next
|
||||
lockstep tick; disconnect schedules the corresponding `enabled=false` command.
|
||||
- Connection receives one authoritative state at a completed tick plus its
|
||||
assigned player ID, tick duration, input delay, and compatibility fingerprint.
|
||||
- Destination input is normalized and scheduled two ticks in the future.
|
||||
@@ -422,7 +433,10 @@ there is no prediction or rollback.
|
||||
|
||||
Current boundaries remain:
|
||||
|
||||
- only `SetCharacterDestinationCommand` crosses the network;
|
||||
- client intent is limited to `SetCharacterDestinationCommand`,
|
||||
`SetCharacterTargetCommand`, `ClearCharacterAttackTargetCommand`, and
|
||||
`TryCharacterAttackComboCommand`; server presence changes use
|
||||
`SetCharacterEnabledCommand` in tick bundles;
|
||||
- player characters must already exist in the initial state and campaign slot
|
||||
list; dynamic spawning and reconnect history are not implemented;
|
||||
- authentication and automatic checkpoint resynchronization are absent;
|
||||
@@ -468,12 +482,33 @@ cmake --build proj-windows/build --config Debug --target ShadowOverBishkekDemo -
|
||||
auxiliary-state synchronization without making `Game` a server friend.
|
||||
- Empty player maps are valid. Player-specific interactions remain inactive until
|
||||
a player entity is added.
|
||||
- Pathfinding priority queues use cell index as a stable secondary key.
|
||||
- Pathfinding uses integer cardinal/diagonal costs and compares priority,
|
||||
accumulated cost, then cell index.
|
||||
- Gameplay randomness must be seeded and serialized; the `random_device` battle
|
||||
bot is disabled for multiplayer sessions.
|
||||
- A lockstep compatibility fingerprint must match before the client accepts the
|
||||
initial state.
|
||||
|
||||
### Dynamic Navigation Occupancy
|
||||
|
||||
`LocationGameState` is the authoritative boundary for character-aware planning.
|
||||
It collects enabled, living, stationary players and NPCs in stable ID order and
|
||||
passes their positions and collision radii to `LocationNetworkState` and
|
||||
`PathFinder`. The requester is excluded; moving characters are transparent to
|
||||
planning. “Moving” here means actual previous-tick displacement
|
||||
(`movedLastTick`), not merely owning an active path, so visually stalled
|
||||
characters remain planning obstacles. Route planning uses full avoidance radii;
|
||||
the movement guard uses smaller contact radii.
|
||||
|
||||
Every character movement step is guarded against stable-ID-ordered reservations
|
||||
initialized from tick-start geometry. Accepted steps update their reservation
|
||||
before later characters advance, preventing two movers from ending a tick
|
||||
overlapped. Blocked/retry counters, cooldown sequence/cursor, and blocker ID are
|
||||
serialized character state. Head-on players and bots cancel their commands;
|
||||
NPCs retain their targets and consume the next deterministic, ID-shuffled
|
||||
cooldown before replanning. Static navigation topology changes route through
|
||||
the same centralized replanning path.
|
||||
|
||||
## Main Files
|
||||
|
||||
- `src/GameState.h` / `src/GameState.cpp` — aggregate state and top-level persistence.
|
||||
@@ -492,7 +527,7 @@ cmake --build proj-windows/build --config Debug --target ShadowOverBishkekDemo -
|
||||
broadcasting, buffering, and replica advancement.
|
||||
- `src/Game.h` / `src/Game.cpp` — application host, campaign lifecycle, and runtime wiring.
|
||||
- `src/Location.h` / `src/Location.cpp` — loaded location runtime, command routing,
|
||||
interactions, collisions, scripts, and presentation-event consumption.
|
||||
interactions, scripts, and presentation-event consumption.
|
||||
- `src/Character.h` / `src/Character.cpp` — passive character presentation resolving
|
||||
immutable `CharacterState` snapshots by stable ID.
|
||||
- `src/CharacterState.h` / `src/CharacterState.cpp` — deterministic character
|
||||
|
||||
+98
-62
@@ -13,7 +13,7 @@ This document describes the grid-based pathfinding used for the player and all N
|
||||
5. [Approaching Unreachable Destinations](#5-approaching-unreachable-destinations)
|
||||
6. [Dynamic Obstacles](#6-dynamic-obstacles)
|
||||
7. [Path Following](#7-path-following)
|
||||
8. [Character Collision Resolution](#8-character-collision-resolution)
|
||||
8. [Character Movement Guard](#8-character-movement-guard)
|
||||
9. [Dynamic Replanning](#9-dynamic-replanning)
|
||||
10. [Key Constants Reference](#10-key-constants-reference)
|
||||
|
||||
@@ -103,9 +103,11 @@ Navigation areas can be toggled at runtime via `PathFinder::setAreaAvailable()`,
|
||||
|
||||
**Neighbor connectivity:** 8-directional (cardinal + diagonal). Diagonal moves are blocked if either of the two adjacent cardinal cells is unwalkable (no corner-cutting).
|
||||
|
||||
**Step costs:** `1.0` for cardinal, `√2 ≈ 1.414` for diagonal.
|
||||
**Step costs:** integer `10` for cardinal and `14` for diagonal.
|
||||
|
||||
**Heuristic:** Euclidean distance in cell units to the end cell.
|
||||
**Heuristic:** octile distance using the same `10`/`14` scale. Queue entries
|
||||
compare priority, accumulated cost, then linear cell index; stale entries are
|
||||
rejected. This avoids floating-point route-order differences.
|
||||
|
||||
**Start/end snapping:** If the exact cell for `start` or `end` is not walkable, `findNearestWalkableCell` expands a square ring outward (up to radius 8 m) to find the nearest walkable cell. This makes clicking slightly outside the nav mesh still produce a valid path.
|
||||
|
||||
@@ -130,7 +132,9 @@ while anchor is not the last cell:
|
||||
anchor = next
|
||||
```
|
||||
|
||||
Line-of-sight is checked by stepping along the segment in increments of `cellSize / 2` and verifying that each sampled cell is walkable. The result is a minimal set of waypoints connected by straight, obstacle-free segments.
|
||||
Line-of-sight uses deterministic integer grid traversal and applies the same
|
||||
no-corner-cutting rule as A*. The result is a minimal set of waypoints connected
|
||||
by straight, obstacle-free segments.
|
||||
|
||||
---
|
||||
|
||||
@@ -138,22 +142,20 @@ Line-of-sight is checked by stepping along the segment in increments of `cellSiz
|
||||
|
||||
When a player clicks on a point in a disconnected region (e.g., across a thin wall), the original `findPath` returns an empty path and the character does not move. This is surprising — a click on a solid wall sensibly moves the character to the nearest reachable point, but a click into an inaccessible room does nothing.
|
||||
|
||||
**`findPathToNearest`** fixes this with a three-step cascade:
|
||||
**`findPathToNearest`** runs one A\* search against the requested static and
|
||||
dynamic occupancy. If the destination is unreachable, the same search returns
|
||||
the reachable cell geometrically closest to it. It never retries without
|
||||
dynamic obstacles.
|
||||
|
||||
1. Try `findPath` with dynamic obstacles (stationary characters are avoided).
|
||||
2. If empty, retry `findPath` without dynamic obstacles (an NPC blocking a doorway is ignored).
|
||||
3. If still empty (destination genuinely unreachable), run **nearest-reachable A\***.
|
||||
|
||||
**Nearest-reachable A\***, implemented in `findNearestReachableImpl`:
|
||||
|
||||
- Runs the identical A\* loop against the static walkable grid.
|
||||
- While processing cells, tracks `bestIndex` — the already-visited cell with the smallest Euclidean distance (in cell units) to the end cell.
|
||||
- While processing cells, it tracks `bestIndex` — the visited cell with the
|
||||
smallest squared grid distance to the end cell. Equal distances use the
|
||||
lower linear cell index.
|
||||
- If A\* exhausts all reachable space without finding `end`, it reconstructs and returns a path to `bestIndex`.
|
||||
- If `bestIndex` is still the start cell (character is completely isolated), an empty path is returned and the character stays put.
|
||||
|
||||
The net effect: clicking anywhere in the world always moves the character as close as possible to the target, matching the behaviour of clicking on a solid wall.
|
||||
|
||||
`findPathToNearest` replaces the direct `findPath` call in `Location::setupNavigation`'s path planner lambda, so it applies equally to the player and all NPCs.
|
||||
`LocationGameState` applies this behavior to players and NPCs.
|
||||
|
||||
---
|
||||
|
||||
@@ -163,7 +165,10 @@ When a path is planned, other characters can temporarily mark cells as blocked t
|
||||
|
||||
**How it works:**
|
||||
|
||||
In `Location::setupNavigation`, every character is given a `PathPlanner` closure. Before calling `findPath`, the closure builds a list of `PathFinder::DynamicObstacle` entries (position + radius) representing nearby characters. `findPath` copies the static walkable grid, stamps zeros in circles around each obstacle, then runs A\* on the modified copy. The static grid is never mutated.
|
||||
`LocationGameState::collectPathObstacles` creates a stable-ID-sorted snapshot
|
||||
from authoritative players and NPCs. `PathFinder` stamps circles into a
|
||||
generation-tagged overlay and reuses A\* buffers; it does not copy or mutate the
|
||||
static walkability grid per query.
|
||||
|
||||
**Which characters become obstacles:**
|
||||
|
||||
@@ -171,74 +176,101 @@ A character is added as a dynamic obstacle only when **all** of these are true:
|
||||
|
||||
- It is not the character currently planning the path (`self`).
|
||||
- It is alive and enabled.
|
||||
- **It is not moving** — a moving character is transparent to pathfinding, so it does not block narrow corridors that it is actively passing through.
|
||||
- Its position lies within `kDynamicObstacleInfluenceDist = 6 m` of the direct line segment from `start` to `end` (distant characters do not affect the search).
|
||||
- It did not physically move during the previous simulation tick, unless it
|
||||
just blocked this requester and is promoted for a forced replan. An active
|
||||
path alone does not make a stalled character transparent.
|
||||
|
||||
**Obstacle radius:** `character.collisionRadius × 0.6`. Using 60 % of the physical collision radius makes path planning less conservative; physical separation at full radius is still enforced by collision resolution (§8).
|
||||
|
||||
**Fallback when dynamic obstacles block the only path:**
|
||||
|
||||
If step 1 of `findPathToNearest` (with dynamic obstacles) returns empty, step 2 retries without any dynamic obstacles. This handles the common case of an NPC standing in a doorway: the player paths through the NPC's position, and the nudge logic (§8) pushes the NPC aside as the player passes.
|
||||
**Obstacle radius:** the character's full `collisionRadius`, inflated by the
|
||||
navigation map's `agentRadius` and one cell half-diagonal for conservative
|
||||
rasterization. There is no obstacle-dropping fallback; an occupied destination
|
||||
resolves to a nearby reachable cell.
|
||||
|
||||
---
|
||||
|
||||
## 7. Path Following
|
||||
|
||||
`Character::setTarget(destination, onArrived)` sets a new walk target. It calls the path planner to generate a waypoint list. The result is stored in `pathWaypoints`; the final destination is also stored in `walkTarget` and `requestedWalkTarget`.
|
||||
`CharacterState::setTarget(destination, onArrived)` sets a new walk target. It
|
||||
calls the centralized location planner to generate a waypoint list. The result
|
||||
is stored in `pathWaypoints`; the reachable endpoint is stored in `walkTarget`
|
||||
and the original command destination in `requestedWalkTarget`.
|
||||
|
||||
Each frame in `Character::update`:
|
||||
Each fixed simulation tick in `CharacterState::update`:
|
||||
|
||||
1. **Active target** — if `pathWaypoints` is non-empty, the character moves toward `pathWaypoints[currentWaypointIndex]`; otherwise it moves toward `walkTarget`.
|
||||
2. **Movement** — the character advances along the XZ direction at `walkSpeed` m/s and rotates smoothly toward the movement direction at `rotationSpeed` rad/s.
|
||||
3. **Waypoint advance** — when the character is within `WALK_THRESHOLD = 0.05 m` of the current waypoint, it advances to the next one. When the last waypoint is reached, `pathWaypoints` is cleared and the optional `onArrived` callback is fired.
|
||||
4. **State machine** — the animation state switches between `STAND` and `WALK` based on whether the character is moving.
|
||||
|
||||
`Character::isMoving()` returns `true` if `pathWaypoints` is non-empty or the distance to `walkTarget` exceeds `WALK_THRESHOLD`. This is used by dynamic obstacle filtering and collision nudging.
|
||||
`CharacterState::isMoving()` reports whether navigation remains active.
|
||||
`movedLastTick` separately records actual displacement and controls dynamic
|
||||
obstacle filtering.
|
||||
|
||||
**Stopping in place:** `Character::stopInPlace()` sets `walkTarget` and `requestedWalkTarget` to the current position and clears `pathWaypoints`. It is called when an external force (collision resolution) displaces a stationary player so that the player does not walk back to their previous target position.
|
||||
**Stopping in place:** `CharacterState::stopInPlace()` sets `walkTarget` and
|
||||
`requestedWalkTarget` to the current position, clears the path and callback, and
|
||||
resets blockage state. It is used to cancel player/bot movement after a
|
||||
persistent contact and by other explicit stop actions.
|
||||
|
||||
---
|
||||
|
||||
## 8. Character Collision Resolution
|
||||
## 8. Character Movement Guard
|
||||
|
||||
Pathfinding alone does not prevent two characters from occupying the same space — it only steers paths around stationary characters. Physical separation is handled separately each frame by `Location::resolveCharacterCollisions`.
|
||||
Pathfinding steers around stationary characters. A second authoritative guard
|
||||
checks each proposed movement segment against stable-ID-ordered reservations
|
||||
initialized from tick-start circles. An accepted step updates that character's
|
||||
reservation before later characters advance. A step that approaches or sweeps
|
||||
through another circle is rejected rather than pushing either character.
|
||||
|
||||
**Algorithm** (3 iterations per frame):
|
||||
Characters that moved during the previous tick are transparent during planning
|
||||
but remain solid to the movement guard. Planning uses the full
|
||||
`collisionRadius` (default 0.45 m); contact checks use the smaller
|
||||
`movementContactRadius` (default 0.32 m). NPC JSON can override these as
|
||||
`navigationAvoidanceRadius` and `movementContactRadius`. This tolerance avoids
|
||||
false bumps from grid discretization while still preventing stacking.
|
||||
|
||||
For every pair `(A, B)` of living, enabled characters:
|
||||
|
||||
1. Compute the overlap: `penetration = (collisionRadius_A + collisionRadius_B) - distance(A, B)`.
|
||||
2. If `penetration > 0`, compute a push direction (A-to-B normal) and a push magnitude of `penetration / 2` per character.
|
||||
3. Compute candidate new positions `newA` and `newB`.
|
||||
4. Validate against the navigation grid (`PathFinder::isWalkable`). If a pushed position is unwalkable, only the other character is moved.
|
||||
5. **Player stays put:** if the player was not moving (`!isMoving()`) before the push, `stopInPlace()` is called after the push so the player does not walk back to the old target.
|
||||
6. **NPC yielding:** if one character was moving and the other was standing, `nudgeCharacterAside` is called on the standing character.
|
||||
|
||||
**`nudgeCharacterAside(standing, awayFrom)`:**
|
||||
|
||||
Gives the standing NPC a short walk target so it steps out of the way:
|
||||
|
||||
1. Compute the direction from `awayFrom` to the NPC's current position.
|
||||
2. Try four candidate targets at distance `1.2 m` in directions: straight away, +90°, −90°, 180°.
|
||||
3. Use the first candidate that is walkable (per `PathFinder::isWalkable`).
|
||||
4. Call `standing->setTarget(candidate)` — the NPC takes a small step aside, then stands at the new spot.
|
||||
5. The player is never nudged; combat NPCs can be nudged, but their attack AI immediately overrides the yield target on the next tick.
|
||||
When moving characters remain blocked head-on or while crossing for three
|
||||
ticks, both stop. Player and bot destinations are cancelled; the user or bot
|
||||
may issue another command. NPCs retain `requestedWalkTarget` and retry later.
|
||||
Characters following in the same direction simply wait for spacing and do not
|
||||
accumulate stuck ticks. A rejected movement step uses the standing animation.
|
||||
|
||||
---
|
||||
|
||||
## 9. Dynamic Replanning
|
||||
|
||||
When characters move they can displace each other or enter each other's planned paths. `Location::updateDynamicReplans` handles this:
|
||||
Rejected non-following movement increments serialized `movementBlockedTicks`.
|
||||
After three blocked ticks an NPC stops and schedules a retry. When its cooldown
|
||||
expires, `InternalGameServer` promotes the blocker to a hard obstacle and
|
||||
replans to `requestedWalkTarget`.
|
||||
|
||||
**Every frame:**
|
||||
Each NPC has `navigationRetryCooldownTicks`, normally ten distinct values.
|
||||
`LocationDefinition` deterministically shuffles the sequence from the stable NPC
|
||||
ID, and every retry consumes the next value. The sequence and cursor are
|
||||
serialized, preventing synchronized retry loops while preserving lockstep.
|
||||
NPC JSON can override it with `navigationRetryCooldownTicks` or
|
||||
`navigationRetryCooldownMs`.
|
||||
|
||||
1. Measure how much each character moved since the last frame. Characters that moved more than `kMovedEps = 0.05 m` are collected as **movers**.
|
||||
2. For each mover, find other characters that are currently walking. If the mover's position is within `kReplanTriggerDist = 1.8 m` of the segment `[walker.position → walker.nextWaypoint]`, trigger a replan for the walker via `forceReplan()`.
|
||||
3. A per-character cooldown of `kReplanCooldownMs = 500 ms` prevents the same character from replanning more often than twice per second.
|
||||
Example NPC tuning:
|
||||
|
||||
**`Character::forceReplan()`** re-runs the path planner from the character's current position to its stored `requestedWalkTarget`, updating `pathWaypoints` in place. If the replanned path is empty, the character stops at its current position.
|
||||
```json
|
||||
{
|
||||
"navigationAvoidanceRadius": 0.45,
|
||||
"movementContactRadius": 0.32,
|
||||
"navigationRetryCooldownMs": [
|
||||
200, 300, 400, 500, 600, 700, 800, 900, 1000, 1100
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
The relatively generous trigger distance (1.8 m vs the old 1.1 m) and cooldown (500 ms vs 300 ms) prevent micro-jitter: small position corrections from collision resolution no longer spam replanning events.
|
||||
The configured values are clamped to positive tick counts and shuffled
|
||||
deterministically per NPC ID. Supplying different ten-value sets gives explicit
|
||||
control for unusually dense locations.
|
||||
|
||||
Navigation map switches, area availability changes, and added static obstacle
|
||||
polygons also force centralized replanning.
|
||||
|
||||
Opposing traffic in a one-character-wide corridor can wait until one route or
|
||||
blocker changes; this policy intentionally does not implement space-time
|
||||
cooperative reservations.
|
||||
|
||||
---
|
||||
|
||||
@@ -249,12 +281,16 @@ The relatively generous trigger distance (1.8 m vs the old 1.1 m) and cooldown (
|
||||
| `cellSize` | `PathFinder` config | 0.4 m | Grid cell size |
|
||||
| `agentRadius` | `PathFinder` config | 0.45 m | Character half-width for grid erosion |
|
||||
| `objectPadding` | `PathFinder` config | 0.25 m | Extra clearance around obstacles |
|
||||
| `WALK_THRESHOLD` | `Character.h` | 0.05 m | Distance below which a waypoint is considered reached |
|
||||
| `TARGET_REPLAN_THRESHOLD` | `Character.h` | 0.25 m | Deduplication threshold in `setTarget` |
|
||||
| `kDynamicObstacleInfluenceDist` | `Location.cpp` | 6.0 m | Max distance from path for a character to become an obstacle |
|
||||
| `kDynamicObstacleRadiusFraction` | `Location.cpp` | 0.6× | Fraction of collision radius used for dynamic obstacle footprint |
|
||||
| `kNudgeDist` | `Location.cpp` | 1.2 m | Distance an NPC steps aside when yielding |
|
||||
| `kReplanTriggerDist` | `Location.cpp` | 1.8 m | Mover must be this close to a walker's path to trigger replan |
|
||||
| `kReplanCooldownMs` | `Location.cpp` | 500 ms | Minimum interval between replans for any one character |
|
||||
| `movementContactRadius` | `CharacterState` / NPC config | 0.32 m | Smaller movement-guard radius |
|
||||
| `kWalkThreshold` | `CharacterState.h` | 0.05 m | Distance below which a waypoint is considered reached |
|
||||
| `TARGET_REPLAN_THRESHOLD` | `CharacterState.cpp` | 0.25 m | Deduplication threshold in `setTarget` |
|
||||
| `BLOCKED_REPLAN_TICKS` | `CharacterState.cpp` | 3 ticks | Blocked steps before stopping |
|
||||
| default retry sequence | `CharacterState.cpp` | 2–11 ticks | Ten ID-shuffled NPC retry cooldowns |
|
||||
| `NPC_TALK_DISTANCE` | `Location.cpp` | 1.35 m | Distance at which walking-to-NPC interaction fires |
|
||||
| `kIterations` (collision) | `Location.cpp` | 3 | Push-apart iterations per frame |
|
||||
|
||||
### Reference benchmark
|
||||
|
||||
`GameServerPathFinderTests --benchmark` is non-gating. On the development
|
||||
Windows Release build with an 80×80 grid, the current implementation completed
|
||||
100 obstacle-aware queries in 15 ms and 1000 queries in 176 ms. Treat these as
|
||||
comparative measurements rather than cross-machine budgets.
|
||||
+64
-27
@@ -5,11 +5,15 @@
|
||||
The Windows WebSocket transport uses Boost.Asio and Boost.Beast to run a
|
||||
server-sequenced deterministic lockstep simulation. A client receives one
|
||||
authoritative state at a completed tick boundary. After that, the server sends
|
||||
only numbered tick messages containing ordered player commands (or an empty
|
||||
command list).
|
||||
only numbered tick messages containing ordered destination, combat-intent,
|
||||
and presence commands (or an empty command list).
|
||||
|
||||
The current command surface is intentionally limited to
|
||||
`SetCharacterDestinationCommand`.
|
||||
Client intent is intentionally limited to
|
||||
`SetCharacterDestinationCommand`, `SetCharacterTargetCommand`,
|
||||
`ClearCharacterAttackTargetCommand`, and
|
||||
`TryCharacterAttackComboCommand`.
|
||||
The server also sends `SetCharacterEnabledCommand` in tick bundles when a
|
||||
configured player slot connects or disconnects.
|
||||
|
||||
## Runtime Architecture
|
||||
|
||||
@@ -21,11 +25,15 @@ The current command surface is intentionally limited to
|
||||
- Each accepted connection is assigned the first free character ID from the
|
||||
campaign's `networkPlayerSlots`; the connection is rejected when all slots
|
||||
are occupied.
|
||||
- Player slots start disabled. The server consumes and broadcasts an enabled
|
||||
command on the next tick for each connection and disconnection, including to
|
||||
the newly connected client.
|
||||
- The initial message contains the state, completed snapshot tick, assigned
|
||||
player ID, tick duration, two-tick input delay, and compatibility fingerprint.
|
||||
- Destination inputs cross from the Asio thread through a queue. The simulation
|
||||
thread validates client sequence numbers, replaces client identity with the
|
||||
assigned slot, and schedules commands two ticks in the future.
|
||||
- Destination and character-action inputs cross from the Asio thread through a
|
||||
queue. The simulation thread validates client sequence numbers, replaces
|
||||
client identity with the assigned slot, and schedules commands two ticks in
|
||||
the future.
|
||||
- Every tick is broadcast, including ticks with no commands. No periodic state
|
||||
snapshots are sent.
|
||||
|
||||
@@ -33,15 +41,15 @@ The current command surface is intentionally limited to
|
||||
|
||||
`WebsocketGameClient` implements `IGameServer`.
|
||||
|
||||
- It connects asynchronously to `ws://127.0.0.1:8080/`.
|
||||
- It connects asynchronously to a `ws://` or `wss://` endpoint (`WebsocketEndpoint::parse`).
|
||||
- Received messages are queued by the network thread and applied on the game
|
||||
thread from `update()`.
|
||||
- It maintains an internal `InternalGameServer` replica so existing snapshot
|
||||
consumers and transitional runtime-state bindings continue to work.
|
||||
- Camera orientation lives in host-owned `LocationLocalState`, so incoming
|
||||
authoritative snapshots cannot overwrite camera movement.
|
||||
- `submit()` serializes destination intent only. Other command variants remain
|
||||
local no-ops for a remote connection.
|
||||
- `submit()` serializes destination and tagged character-action intent. Other
|
||||
command variants remain local no-ops for a remote connection.
|
||||
- Tick bundles are buffered by ID. The replica advances only while the next
|
||||
contiguous tick is available, applying its commands before one exact 100 ms
|
||||
simulation step.
|
||||
@@ -67,15 +75,15 @@ When `NETWORK` is defined:
|
||||
|
||||
The WebSocket client is created only when `battle_zone_multiplayer` is selected
|
||||
and is destroyed when that campaign is unloaded. The single-player and
|
||||
multiplayer Battle Zone entries share location content and the start-state path,
|
||||
so the state can be regenerated through the single-player entry. At startup, the
|
||||
standalone server loads the authoritative half of that shared save and rewrites
|
||||
its campaign ID to `battle_zone_multiplayer`; each remote client restores only
|
||||
the local presentation half. The multiplayer campaign currently declares the
|
||||
multiplayer Battle Zone entries share location content but use separate
|
||||
start-state files. At startup, the standalone server loads the multiplayer
|
||||
start state; each remote client restores the received authoritative state and
|
||||
its own local presentation state. The multiplayer campaign currently declares the
|
||||
pre-existing `player` and `player2` state entries as connection
|
||||
slots; the random test-bot controller is disabled.
|
||||
The campaign's `networkCompatibility` token is the fingerprint; release builds
|
||||
must bump it whenever deterministic content changes.
|
||||
The campaign's `networkCompatibility` token is the fingerprint (currently
|
||||
`battle-zone-lockstep-v5`); release builds must bump it whenever deterministic
|
||||
content changes.
|
||||
|
||||
If DNS resolution, TCP connection, the WebSocket handshake, or the active socket
|
||||
fails, the client unloads the remote campaign and returns to the campaign
|
||||
@@ -102,13 +110,19 @@ Message types are:
|
||||
- `initial_state` (server to client): one state snapshot and lockstep metadata;
|
||||
- `destination_input` (client to server): monotonic client sequence and a
|
||||
centimetre-normalized finite target;
|
||||
- `tick` (server to client): tick ID, globally sequenced commands, and
|
||||
post-tick diagnostic state hash;
|
||||
- `character_action` (client to server): monotonic client sequence, an action
|
||||
tag (`set_target`, `clear_attack_target`, or `try_attack_combo`), and a
|
||||
target ID for `set_target`;
|
||||
- `tick` (server to client): tick ID, globally sequenced destination,
|
||||
character-action, and character-presence commands, and post-tick diagnostic
|
||||
state hash;
|
||||
- `error` (server to client): invalid input, incompatibility, or full server.
|
||||
|
||||
Protocol v1 is not compatible. Malformed payloads, non-finite or out-of-range
|
||||
coordinates, duplicate client sequences, and unsupported commands cannot enter
|
||||
the authoritative command stream.
|
||||
coordinates, duplicate client sequences, empty action IDs, and unsupported
|
||||
commands cannot enter the authoritative command stream. The server derives the
|
||||
location and player character from the assigned connection slot; clients cannot
|
||||
use these actions to control another player or an NPC.
|
||||
|
||||
WebSocket ordering is not used as simulation time. Integer tick IDs are the
|
||||
only authoritative clock. The server uses `steady_clock` only to pace its loop,
|
||||
@@ -121,17 +135,26 @@ excluded from the diagnostic deterministic hash.
|
||||
|
||||
## Build Configuration
|
||||
|
||||
Networking is enabled only for Windows:
|
||||
Networking is enabled for Windows and the Emscripten web client:
|
||||
|
||||
- `proj-windows/CMakeLists.txt` defines `NETWORK`, compiles the WebSocket client
|
||||
and remote host, and links `ws2_32` and `mswsock`.
|
||||
- `server/CMakeLists.txt` defines `NETWORK` for the Windows `GameServer`, compiles
|
||||
the WebSocket server, and links the Windows socket libraries.
|
||||
- Linux, Android, and Web builds do not define `NETWORK` and do not compile the
|
||||
- `proj-web/CMakeLists.txt` defines `NETWORK`, compiles the shared protocol,
|
||||
replica, and remote-host code, and links Emscripten's `websocket.js` library.
|
||||
`WebsocketGameClient.cpp` selects the browser WebSocket API on Emscripten; it
|
||||
does not use Boost.Asio or Boost.Beast there.
|
||||
- `wss://` (TLS) is supported by the Windows client only. `proj-windows` also defines
|
||||
`NETWORK_TLS` and links static OpenSSL 3.4.1, which CMake downloads and builds
|
||||
automatically at configure time (`cmake/ThirdParty.cmake`, section 12) using a
|
||||
downloaded portable Strawberry Perl and the nmake from the installed Visual Studio
|
||||
(located through `vswhere`). Builds go to `thirdparty/openssl-3.4.1/install-Debug`
|
||||
and `install-Release`; later configures skip them. `NETWORK_TLS` unset (server tests)
|
||||
means `wss://` endpoints fail with a logged error.
|
||||
- Linux and Android builds do not define `NETWORK` and do not compile the
|
||||
network transport.
|
||||
|
||||
The previous Web-build `NETWORK` definition was removed.
|
||||
|
||||
## Running
|
||||
|
||||
Build the server:
|
||||
@@ -161,15 +184,29 @@ Launch the Windows game and select `battle_zone_multiplayer`. The client connect
|
||||
|
||||
CTest covers protocol-v2 round trips and validation, input-delay ordering,
|
||||
fixed-tick replica behavior, campaign slot metadata, initial connection and
|
||||
slot assignment, destination submission, and contiguous tick consumption.
|
||||
slot assignment, connection/disconnection presence propagation, destination
|
||||
submission, and contiguous tick consumption.
|
||||
|
||||
## Current Limitations
|
||||
|
||||
- Paths are calculated independently on every lockstep participant from the
|
||||
same ordered commands and tick-start occupancy. Integer A* costs, stable
|
||||
character IDs, serialized previous-tick movement and blocked/retry state, and deterministic
|
||||
nearest-reachable ties keep route selection aligned.
|
||||
- Moving characters are omitted from A* but remain solid to the authoritative
|
||||
movement guard. After three blocked ticks, players/bots cancel movement while
|
||||
NPCs stop and consume the next serialized cooldown from their deterministic
|
||||
retry sequence before replanning around the blocker.
|
||||
- Opposing traffic can wait in a one-character-wide corridor because the
|
||||
current policy does not reserve future space-time cells.
|
||||
- Only preconfigured player slots can connect; dynamic join/spawn commands are
|
||||
not implemented.
|
||||
- There is no authentication or reconnect/replay history.
|
||||
- A hash mismatch is logged but does not yet trigger checkpoint resynchronization.
|
||||
- The endpoint is hardcoded in the graphical client.
|
||||
- The endpoint is hardcoded in the graphical client (`kMultiplayerServerUrl` in
|
||||
`Game.cpp`, currently `wss://api.shadowoverbishkek.com/server001/`).
|
||||
- TLS certificate or hostname problems are logged but deliberately do not abort the
|
||||
connection. `GameServer` itself has no TLS; it must sit behind a TLS-terminating proxy.
|
||||
- Multiplayer Lua and dialogue behavior remains unsupported.
|
||||
- Determinism is supported for identical executable/content builds. The
|
||||
floating-point simulation is not guaranteed bit-identical across platforms
|
||||
|
||||
@@ -56,3 +56,30 @@ check_and_download("https://github.com/ThePhD/sol2/archive/refs/tags/v3.3.0.zip"
|
||||
|
||||
# 11) SDL2_mixer
|
||||
check_and_download("https://github.com/libsdl-org/SDL_mixer/archive/refs/tags/release-2.8.0.zip" "SDL_mixer-release-2.8.0.zip" "SDL_mixer-release-2.8.0" "CMakeLists.txt")
|
||||
|
||||
# 12) OpenSSL (TLS for wss://) and a native Windows Perl needed to build it
|
||||
if(WIN32)
|
||||
check_and_download("https://github.com/openssl/openssl/releases/download/openssl-3.4.1/openssl-3.4.1.tar.gz" "openssl-3.4.1.tar.gz" "openssl-3.4.1" "Configure")
|
||||
|
||||
# Strawberry Perl portable. The zip has no top-level folder, so it is
|
||||
# extracted into its own directory. (Git's MSYS perl cannot build OpenSSL.)
|
||||
set(STRAWBERRY_PERL_DIR "${THIRDPARTY_DIR}/strawberry-perl")
|
||||
set(STRAWBERRY_PERL_ARCHIVE "${THIRDPARTY_DIR}/strawberry-perl-5.42.3.1-64bit-portable.zip")
|
||||
if(NOT EXISTS "${STRAWBERRY_PERL_DIR}/perl/bin/perl.exe")
|
||||
if(NOT EXISTS "${STRAWBERRY_PERL_ARCHIVE}")
|
||||
message(STATUS "Downloading Strawberry Perl...")
|
||||
file(DOWNLOAD
|
||||
"https://github.com/StrawberryPerl/Perl-Dist-Strawberry/releases/download/SP_54231_64bit/strawberry-perl-5.42.3.1-64bit-portable.zip"
|
||||
"${STRAWBERRY_PERL_ARCHIVE}" SHOW_PROGRESS)
|
||||
endif()
|
||||
message(STATUS "Extracting Strawberry Perl...")
|
||||
file(MAKE_DIRECTORY "${STRAWBERRY_PERL_DIR}")
|
||||
execute_process(
|
||||
COMMAND ${CMAKE_COMMAND} -E tar xf "${STRAWBERRY_PERL_ARCHIVE}"
|
||||
WORKING_DIRECTORY "${STRAWBERRY_PERL_DIR}"
|
||||
)
|
||||
if(NOT EXISTS "${STRAWBERRY_PERL_DIR}/perl/bin/perl.exe")
|
||||
message(FATAL_ERROR "Strawberry Perl extraction failed")
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
+103
-1
@@ -725,4 +725,106 @@ set_target_properties(SDL2_mixer_external_lib PROPERTIES
|
||||
"$<IF:$<CONFIG:Debug>,${SDL2MIXER_BASE_DIR}-Debug/include,${SDL2MIXER_BASE_DIR}-Release/include>"
|
||||
INTERFACE_LINK_LIBRARIES
|
||||
"SDL2_external_lib"
|
||||
)
|
||||
)
|
||||
# ===========================================
|
||||
# 12) OpenSSL (3.4.1) - TLS for wss:// (Windows only, static libs)
|
||||
# ===========================================
|
||||
if(WIN32)
|
||||
set(OPENSSL_SRC_DIR "${THIRDPARTY_DIR}/openssl-3.4.1")
|
||||
set(OPENSSL_BASE_DIR "${OPENSSL_SRC_DIR}/install")
|
||||
|
||||
set(_have_openssl TRUE)
|
||||
foreach(cfg IN LISTS BUILD_CONFIGS)
|
||||
if(NOT EXISTS "${OPENSSL_BASE_DIR}-${cfg}/lib/libssl.lib" OR
|
||||
NOT EXISTS "${OPENSSL_BASE_DIR}-${cfg}/lib/libcrypto.lib")
|
||||
set(_have_openssl FALSE)
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
if(NOT _have_openssl)
|
||||
# Locate Visual Studio's vcvarsall.bat (provides cl, link, nmake).
|
||||
set(_vswhere "$ENV{ProgramFiles\(x86\)}/Microsoft Visual Studio/Installer/vswhere.exe")
|
||||
set(_vcvarsall "")
|
||||
if(EXISTS "${_vswhere}")
|
||||
execute_process(
|
||||
COMMAND "${_vswhere}" -latest -products * -property installationPath
|
||||
OUTPUT_VARIABLE _vs_path
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||
)
|
||||
if(_vs_path AND EXISTS "${_vs_path}/VC/Auxiliary/Build/vcvarsall.bat")
|
||||
set(_vcvarsall "${_vs_path}/VC/Auxiliary/Build/vcvarsall.bat")
|
||||
endif()
|
||||
endif()
|
||||
if(_vcvarsall STREQUAL "")
|
||||
message(FATAL_ERROR "Visual Studio (vcvarsall.bat) not found; it is required to build OpenSSL")
|
||||
endif()
|
||||
|
||||
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
|
||||
set(_ossl_vc_arch x64)
|
||||
set(_ossl_target VC-WIN64A)
|
||||
else()
|
||||
set(_ossl_vc_arch x86)
|
||||
set(_ossl_target VC-WIN32)
|
||||
endif()
|
||||
|
||||
file(TO_NATIVE_PATH "${_vcvarsall}" _vcvarsall_native)
|
||||
file(TO_NATIVE_PATH "${STRAWBERRY_PERL_DIR}/perl/bin" _perl_bin_native)
|
||||
file(TO_NATIVE_PATH "${STRAWBERRY_PERL_DIR}/perl/site/bin" _perl_site_native)
|
||||
|
||||
foreach(cfg IN LISTS BUILD_CONFIGS)
|
||||
set(_ossl_build "${OPENSSL_SRC_DIR}/build-${cfg}")
|
||||
file(REMOVE_RECURSE "${_ossl_build}")
|
||||
file(MAKE_DIRECTORY "${_ossl_build}")
|
||||
file(TO_NATIVE_PATH "${_ossl_build}" _ossl_build_native)
|
||||
file(TO_NATIVE_PATH "${OPENSSL_SRC_DIR}/Configure" _ossl_configure_native)
|
||||
file(TO_NATIVE_PATH "${OPENSSL_BASE_DIR}-${cfg}" _ossl_prefix_native)
|
||||
|
||||
set(_ossl_cfg_flags "")
|
||||
if(cfg STREQUAL "Debug")
|
||||
# /MDd: link the dynamic debug CRT like the game (static libs default to /MTd)
|
||||
set(_ossl_cfg_flags "--debug /MDd")
|
||||
else()
|
||||
set(_ossl_cfg_flags "--release /MD")
|
||||
endif()
|
||||
|
||||
# A batch file avoids cmd.exe quoting problems.
|
||||
set(_ossl_bat "${_ossl_build}/build_openssl.bat")
|
||||
file(WRITE "${_ossl_bat}"
|
||||
"@echo off
|
||||
call \"${_vcvarsall_native}\" ${_ossl_vc_arch} || exit /b 1
|
||||
set \"PATH=${_perl_bin_native};${_perl_site_native};%PATH%\"
|
||||
set CL=/MP
|
||||
cd /d \"${_ossl_build_native}\" || exit /b 1
|
||||
perl \"${_ossl_configure_native}\" ${_ossl_target} no-shared no-asm no-tests no-docs ${_ossl_cfg_flags} --prefix=\"${_ossl_prefix_native}\" --openssldir=\"${_ossl_prefix_native}/ssl\" || exit /b 1
|
||||
nmake || exit /b 1
|
||||
nmake install_sw || exit /b 1
|
||||
")
|
||||
log("Building OpenSSL (${cfg}) - this takes several minutes ...")
|
||||
execute_process(
|
||||
COMMAND cmd /c "${_ossl_bat}"
|
||||
RESULT_VARIABLE _ossl_res
|
||||
)
|
||||
if(NOT _ossl_res EQUAL 0)
|
||||
message(FATAL_ERROR "OpenSSL build failed for ${cfg} (see output above)")
|
||||
endif()
|
||||
endforeach()
|
||||
endif()
|
||||
|
||||
add_library(openssl_crypto_external_lib UNKNOWN IMPORTED GLOBAL)
|
||||
set_target_properties(openssl_crypto_external_lib PROPERTIES
|
||||
IMPORTED_LOCATION_DEBUG "${OPENSSL_BASE_DIR}-Debug/lib/libcrypto.lib"
|
||||
IMPORTED_LOCATION_RELEASE "${OPENSSL_BASE_DIR}-Release/lib/libcrypto.lib"
|
||||
INTERFACE_INCLUDE_DIRECTORIES
|
||||
"$<IF:$<CONFIG:Debug>,${OPENSSL_BASE_DIR}-Debug/include,${OPENSSL_BASE_DIR}-Release/include>"
|
||||
INTERFACE_LINK_LIBRARIES "ws2_32;crypt32;advapi32;user32;gdi32"
|
||||
)
|
||||
|
||||
add_library(openssl_ssl_external_lib UNKNOWN IMPORTED GLOBAL)
|
||||
set_target_properties(openssl_ssl_external_lib PROPERTIES
|
||||
IMPORTED_LOCATION_DEBUG "${OPENSSL_BASE_DIR}-Debug/lib/libssl.lib"
|
||||
IMPORTED_LOCATION_RELEASE "${OPENSSL_BASE_DIR}-Release/lib/libssl.lib"
|
||||
INTERFACE_INCLUDE_DIRECTORIES
|
||||
"$<IF:$<CONFIG:Debug>,${OPENSSL_BASE_DIR}-Debug/include,${OPENSSL_BASE_DIR}-Release/include>"
|
||||
INTERFACE_LINK_LIBRARIES "openssl_crypto_external_lib"
|
||||
)
|
||||
endif()
|
||||
@@ -1,14 +1,15 @@
|
||||
--- a/include/sol/optional_implementation.hpp
|
||||
+++ b/include/sol/optional_implementation.hpp
|
||||
@@ -2189,7 +2189,10 @@
|
||||
template <class... Args>
|
||||
T& emplace(Args&&... args) noexcept {
|
||||
@@ -2191,8 +2191,10 @@ namespace sol {
|
||||
static_assert(std::is_constructible<T, Args&&...>::value, "T must be constructible with Args");
|
||||
|
||||
|
||||
*this = nullopt;
|
||||
- this->construct(std::forward<Args>(args)...);
|
||||
- return value();
|
||||
+ // Reference specialization stores a pointer; set it directly.
|
||||
+ // construct() only exists in the non-reference specialization.
|
||||
+ m_value = std::addressof(std::forward<Args>(args)...);
|
||||
+ return *m_value;
|
||||
}
|
||||
|
||||
/// Swaps this optional with the other.
|
||||
@@ -125,11 +125,23 @@ set(SOURCES
|
||||
../src/GameConstants.cpp
|
||||
../src/GameState.h
|
||||
../src/GameState.cpp
|
||||
../src/content/LocationDefinition.h
|
||||
../src/content/LocationDefinition.cpp
|
||||
../src/game_server/IGameServer.h
|
||||
../src/game_server/IGameServerLifecycle.h
|
||||
../src/game_server/IGameServerHost.h
|
||||
../src/game_server/GameServerRouter.h
|
||||
../src/game_server/GameServerHostRouter.h
|
||||
../src/game_server/InternalGameServer.h
|
||||
../src/game_server/InternalGameServer.cpp
|
||||
../src/game_server/LocalGameServerHost.h
|
||||
../src/game_server/LocalGameServerHost.cpp
|
||||
../src/game_server/NetworkProtocol.h
|
||||
../src/game_server/NetworkProtocol.cpp
|
||||
../src/game_server/WebsocketGameClient.h
|
||||
../src/game_server/WebsocketGameClient.cpp
|
||||
../src/game_server/RemoteGameServerHost.h
|
||||
../src/game_server/RemoteGameServerHost.cpp
|
||||
../src/ScriptEngine.h
|
||||
../src/ScriptEngine.cpp
|
||||
../src/navigation/PathFinder.h
|
||||
@@ -172,6 +184,8 @@ set(SOURCES
|
||||
|
||||
add_executable(ShadowOverBishkekDemo ${SOURCES})
|
||||
|
||||
target_compile_definitions(ShadowOverBishkekDemo PRIVATE NETWORK)
|
||||
|
||||
# Настройка путей к инклудам (используем скачанные исходники)
|
||||
target_include_directories(ShadowOverBishkekDemo PRIVATE
|
||||
../src
|
||||
@@ -181,6 +195,16 @@ target_include_directories(ShadowOverBishkekDemo PRIVATE
|
||||
)
|
||||
|
||||
# Сборка libzip через add_subdirectory (Emscripten соберет её из исходников)
|
||||
set(BUILD_SHARED_LIBS OFF CACHE BOOL "" FORCE)
|
||||
set(BUILD_DOC OFF CACHE BOOL "" FORCE)
|
||||
set(BUILD_EXAMPLES OFF CACHE BOOL "" FORCE)
|
||||
set(BUILD_OSSFUZZ OFF CACHE BOOL "" FORCE)
|
||||
set(BUILD_REGRESS OFF CACHE BOOL "" FORCE)
|
||||
set(BUILD_TOOLS OFF CACHE BOOL "" FORCE)
|
||||
set(ENABLE_BZIP2 OFF CACHE BOOL "" FORCE)
|
||||
set(ENABLE_LZMA OFF CACHE BOOL "" FORCE)
|
||||
set(ENABLE_MBEDTLS OFF CACHE BOOL "" FORCE)
|
||||
set(ENABLE_ZSTD OFF CACHE BOOL "" FORCE)
|
||||
set(ENABLE_GNUTLS OFF CACHE BOOL "" FORCE)
|
||||
set(ENABLE_OPENSSL OFF CACHE BOOL "" FORCE)
|
||||
set(ENABLE_WINDOWS_CRYPTO OFF CACHE BOOL "" FORCE)
|
||||
@@ -222,6 +246,7 @@ set(EMSCRIPTEN_LINK_FLAGS
|
||||
"--preload-file ${CMAKE_CURRENT_SOURCE_DIR}/../resources/start_uni_interior.lua@resources/start_uni_interior.lua"
|
||||
"--preload-file ${CMAKE_CURRENT_SOURCE_DIR}/../resources/start_uni_exterior.lua@resources/start_uni_exterior.lua"
|
||||
"--preload-file ${CMAKE_CURRENT_SOURCE_DIR}/../resources/start_dorm.lua@resources/start_dorm.lua"
|
||||
"--preload-file ${CMAKE_CURRENT_SOURCE_DIR}/../resources/start_dorm.lua@resources/start_battle_zone.lua"
|
||||
)
|
||||
|
||||
# Применяем настройки линковки
|
||||
|
||||
@@ -143,6 +143,7 @@ target_compile_definitions(ShadowOverBishkekDemo PRIVATE
|
||||
_WIN32_WINNT=0x0A00
|
||||
PNG_ENABLED
|
||||
NETWORK
|
||||
NETWORK_TLS
|
||||
)
|
||||
|
||||
# Линкуем с SDL2main, если он вообще установлен
|
||||
@@ -159,7 +160,8 @@ target_link_libraries(ShadowOverBishkekDemo PRIVATE
|
||||
eigen_external_lib
|
||||
boost_external_lib
|
||||
sol2_external_lib
|
||||
SDL2_mixer_external_lib
|
||||
SDL2_mixer_external_lib
|
||||
openssl_ssl_external_lib
|
||||
)
|
||||
|
||||
# Линкуем OpenGL (Windows)
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
],
|
||||
"startLocation": "uni_exterior",
|
||||
"startMusic": "music/bishkek univer day.ogg",
|
||||
"startState": "resources/config/start_state_battle_zone.json",
|
||||
"startState": "resources/config/start_state_battle_zone_singleplayer.json",
|
||||
"quests": "resources/config/quests_battle_zone.json",
|
||||
"tutorial": false,
|
||||
"loadingScreen": "resources/w/ui/screen_loading.json"
|
||||
@@ -40,7 +40,7 @@
|
||||
"quests": "resources/config/quests_battle_zone.json",
|
||||
"tutorial": false,
|
||||
"networkPlayerSlots": ["player", "player2"],
|
||||
"networkCompatibility": "battle-zone-lockstep-v2",
|
||||
"networkCompatibility": "battle-zone-lockstep-v5",
|
||||
"loadingScreen": "resources/w/ui/screen_loading.json"
|
||||
}
|
||||
]
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
"npcs": "resources/config/npcs_battle_zone.json",
|
||||
"dialogues": "resources/dialogue/battle_zone_dialogues.json",
|
||||
"navigation": [
|
||||
"resources/navigation/battle_zone001.txt",
|
||||
"resources/navigation/dorm0_large.json"
|
||||
],
|
||||
"script": "resources/start_battle_zone.lua",
|
||||
|
||||
@@ -1,4 +1,166 @@
|
||||
{
|
||||
"npcs": [
|
||||
{
|
||||
"id": "ghost_01x",
|
||||
"name": "Тень",
|
||||
"meshTextures": {
|
||||
"Shadow_NPC_Rigged": "resources/w/shadow/Shadow_BaseColor.png"
|
||||
},
|
||||
"animationIdlePath": "resources/w/shadow/shadow_idle003.anim",
|
||||
"animationWalkPath": "resources/w/shadow/shadow_idle003.anim",
|
||||
"animationActionIdlePath": "resources/w/shadow/shadow_idle003.anim",
|
||||
"animationActionAttackPath": "resources/w/shadow/shadow_attack003.anim",
|
||||
"animationStandToActionPath": "resources/w/shadow/shadow_idle003.anim",
|
||||
"animationActionToStandPath": "resources/w/shadow/shadow_idle003.anim",
|
||||
"animationActionToDeathPath": "resources/w/shadow/shadow_die003.anim",
|
||||
"animationDeathIdlePath": "resources/w/shadow/shadow_dead003.anim",
|
||||
"positionX": -5.6,
|
||||
"positionY": 0.0,
|
||||
"positionZ": -12.0,
|
||||
"walkSpeed": 1.5,
|
||||
"rotationSpeed": 8.0,
|
||||
"modelScale": 1.0,
|
||||
"modelCorrectionRotX": -90.0,
|
||||
"modelCorrectionRotY": 180.0,
|
||||
"modelCorrectionRotZ": 0.0,
|
||||
"hp": 35,
|
||||
"visibleRange" : 6.5,
|
||||
"canAttack": true
|
||||
},
|
||||
{
|
||||
"id": "ghost_02x",
|
||||
"name": "Тень",
|
||||
"meshTextures": {
|
||||
"Shadow_NPC_Rigged": "resources/w/shadow/Shadow_BaseColor.png"
|
||||
},
|
||||
"animationIdlePath": "resources/w/shadow/shadow_idle003.anim",
|
||||
"animationWalkPath": "resources/w/shadow/shadow_idle003.anim",
|
||||
"animationActionIdlePath": "resources/w/shadow/shadow_idle003.anim",
|
||||
"animationActionAttackPath": "resources/w/shadow/shadow_attack003.anim",
|
||||
"animationStandToActionPath": "resources/w/shadow/shadow_idle003.anim",
|
||||
"animationActionToStandPath": "resources/w/shadow/shadow_idle003.anim",
|
||||
"animationActionToDeathPath": "resources/w/shadow/shadow_die003.anim",
|
||||
"animationDeathIdlePath": "resources/w/shadow/shadow_dead003.anim",
|
||||
"positionX": -6.4,
|
||||
"positionY": 0.0,
|
||||
"positionZ": -12.0,
|
||||
"walkSpeed": 1.5,
|
||||
"rotationSpeed": 8.0,
|
||||
"modelScale": 1.0,
|
||||
"modelCorrectionRotX": -90.0,
|
||||
"modelCorrectionRotY": 180.0,
|
||||
"modelCorrectionRotZ": 0.0,
|
||||
"hp": 35,
|
||||
"visibleRange" : 6.5,
|
||||
"canAttack": true
|
||||
},
|
||||
{
|
||||
"id": "ghost_03x",
|
||||
"name": "Тень",
|
||||
"meshTextures": {
|
||||
"Shadow_NPC_Rigged": "resources/w/shadow/Shadow_BaseColor.png"
|
||||
},
|
||||
"animationIdlePath": "resources/w/shadow/shadow_idle003.anim",
|
||||
"animationWalkPath": "resources/w/shadow/shadow_idle003.anim",
|
||||
"animationActionIdlePath": "resources/w/shadow/shadow_idle003.anim",
|
||||
"animationActionAttackPath": "resources/w/shadow/shadow_attack003.anim",
|
||||
"animationStandToActionPath": "resources/w/shadow/shadow_idle003.anim",
|
||||
"animationActionToStandPath": "resources/w/shadow/shadow_idle003.anim",
|
||||
"animationActionToDeathPath": "resources/w/shadow/shadow_die003.anim",
|
||||
"animationDeathIdlePath": "resources/w/shadow/shadow_dead003.anim",
|
||||
"positionX": -5.6,
|
||||
"positionY": 0.0,
|
||||
"positionZ": -12.5,
|
||||
"walkSpeed": 1.5,
|
||||
"rotationSpeed": 8.0,
|
||||
"modelScale": 1.0,
|
||||
"modelCorrectionRotX": -90.0,
|
||||
"modelCorrectionRotY": 180.0,
|
||||
"modelCorrectionRotZ": 0.0,
|
||||
"hp": 35,
|
||||
"visibleRange" : 6.5,
|
||||
"canAttack": true
|
||||
},
|
||||
{
|
||||
"id": "ghost_04x",
|
||||
"name": "Тень",
|
||||
"meshTextures": {
|
||||
"Shadow_NPC_Rigged": "resources/w/shadow/Shadow_BaseColor.png"
|
||||
},
|
||||
"animationIdlePath": "resources/w/shadow/shadow_idle003.anim",
|
||||
"animationWalkPath": "resources/w/shadow/shadow_idle003.anim",
|
||||
"animationActionIdlePath": "resources/w/shadow/shadow_idle003.anim",
|
||||
"animationActionAttackPath": "resources/w/shadow/shadow_attack003.anim",
|
||||
"animationStandToActionPath": "resources/w/shadow/shadow_idle003.anim",
|
||||
"animationActionToStandPath": "resources/w/shadow/shadow_idle003.anim",
|
||||
"animationActionToDeathPath": "resources/w/shadow/shadow_die003.anim",
|
||||
"animationDeathIdlePath": "resources/w/shadow/shadow_dead003.anim",
|
||||
"positionX": -6.4,
|
||||
"positionY": 0.0,
|
||||
"positionZ": -12.5,
|
||||
"walkSpeed": 1.5,
|
||||
"rotationSpeed": 8.0,
|
||||
"modelScale": 1.0,
|
||||
"modelCorrectionRotX": -90.0,
|
||||
"modelCorrectionRotY": 180.0,
|
||||
"modelCorrectionRotZ": 0.0,
|
||||
"hp": 35,
|
||||
"visibleRange" : 6.5,
|
||||
"canAttack": true
|
||||
},
|
||||
{
|
||||
"id": "ghost_05x",
|
||||
"name": "Тень",
|
||||
"meshTextures": {
|
||||
"Shadow_NPC_Rigged": "resources/w/shadow/Shadow_BaseColor.png"
|
||||
},
|
||||
"animationIdlePath": "resources/w/shadow/shadow_idle003.anim",
|
||||
"animationWalkPath": "resources/w/shadow/shadow_idle003.anim",
|
||||
"animationActionIdlePath": "resources/w/shadow/shadow_idle003.anim",
|
||||
"animationActionAttackPath": "resources/w/shadow/shadow_attack003.anim",
|
||||
"animationStandToActionPath": "resources/w/shadow/shadow_idle003.anim",
|
||||
"animationActionToStandPath": "resources/w/shadow/shadow_idle003.anim",
|
||||
"animationActionToDeathPath": "resources/w/shadow/shadow_die003.anim",
|
||||
"animationDeathIdlePath": "resources/w/shadow/shadow_dead003.anim",
|
||||
"positionX": -5.6,
|
||||
"positionY": 0.0,
|
||||
"positionZ": -13.0,
|
||||
"walkSpeed": 1.5,
|
||||
"rotationSpeed": 8.0,
|
||||
"modelScale": 1.0,
|
||||
"modelCorrectionRotX": -90.0,
|
||||
"modelCorrectionRotY": 180.0,
|
||||
"modelCorrectionRotZ": 0.0,
|
||||
"hp": 35,
|
||||
"visibleRange" : 6.5,
|
||||
"canAttack": true
|
||||
},
|
||||
{
|
||||
"id": "ghost_06x",
|
||||
"name": "Тень",
|
||||
"meshTextures": {
|
||||
"Shadow_NPC_Rigged": "resources/w/shadow/Shadow_BaseColor.png"
|
||||
},
|
||||
"animationIdlePath": "resources/w/shadow/shadow_idle003.anim",
|
||||
"animationWalkPath": "resources/w/shadow/shadow_idle003.anim",
|
||||
"animationActionIdlePath": "resources/w/shadow/shadow_idle003.anim",
|
||||
"animationActionAttackPath": "resources/w/shadow/shadow_attack003.anim",
|
||||
"animationStandToActionPath": "resources/w/shadow/shadow_idle003.anim",
|
||||
"animationActionToStandPath": "resources/w/shadow/shadow_idle003.anim",
|
||||
"animationActionToDeathPath": "resources/w/shadow/shadow_die003.anim",
|
||||
"animationDeathIdlePath": "resources/w/shadow/shadow_dead003.anim",
|
||||
"positionX": -6.4,
|
||||
"positionY": 0.0,
|
||||
"positionZ": -13.0,
|
||||
"walkSpeed": 1.5,
|
||||
"rotationSpeed": 8.0,
|
||||
"modelScale": 1.0,
|
||||
"modelCorrectionRotX": -90.0,
|
||||
"modelCorrectionRotY": 180.0,
|
||||
"modelCorrectionRotZ": 0.0,
|
||||
"hp": 35,
|
||||
"visibleRange" : 6.5,
|
||||
"canAttack": true
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -17,7 +17,6 @@
|
||||
],
|
||||
"currentLocationId": "",
|
||||
"globalFloats": {
|
||||
"player_hp": 200.0
|
||||
},
|
||||
"globalInts": {},
|
||||
"inventory": {
|
||||
|
||||
@@ -26,15 +26,14 @@
|
||||
],
|
||||
"currentLocationId": "",
|
||||
"globalFloats": {
|
||||
"player_hp": 200.0
|
||||
},
|
||||
"globalInts": {},
|
||||
"inventory": {
|
||||
"items": []
|
||||
},
|
||||
"isDarklands": false,
|
||||
"isDarklands": true,
|
||||
"isDawn": false,
|
||||
"isNight": false,
|
||||
"isNight": true,
|
||||
"locations": {
|
||||
"uni_exterior": {
|
||||
"dialogue": {
|
||||
@@ -122,7 +121,326 @@
|
||||
"scale": 1.0
|
||||
}
|
||||
},
|
||||
"npcs": {},
|
||||
"npcs": {
|
||||
"ghost_01x": {
|
||||
"animationFrame": 0.0,
|
||||
"attackTargetId": "",
|
||||
"attack_cooldown": 0.0,
|
||||
"battle_state": 0,
|
||||
"currentState": 0,
|
||||
"currentWaypointIndex": 0,
|
||||
"enabled": true,
|
||||
"faceTargetId": "",
|
||||
"facingAngle": 0.0,
|
||||
"homeDriftCheckTimer": 5.0,
|
||||
"homePosition": [
|
||||
-5.599999904632568,
|
||||
0.0,
|
||||
-12.0
|
||||
],
|
||||
"hp": 35.0,
|
||||
"movedLastTick": false,
|
||||
"movementBlockedTicks": 0,
|
||||
"navigationRetryCooldownIndex": 0,
|
||||
"navigationRetryCooldownTicks": [
|
||||
2,
|
||||
3,
|
||||
10,
|
||||
5,
|
||||
6,
|
||||
8,
|
||||
7,
|
||||
9,
|
||||
4,
|
||||
11
|
||||
],
|
||||
"navigationRetryTicks": 0,
|
||||
"pathWaypoints": [],
|
||||
"position": [
|
||||
-5.599999904632568,
|
||||
0.0,
|
||||
-12.0
|
||||
],
|
||||
"requestedWalkTarget": [
|
||||
-5.599999904632568,
|
||||
0.0,
|
||||
-12.0
|
||||
],
|
||||
"showWeapon": true,
|
||||
"targetFacingAngle": 0.0,
|
||||
"visibleRange": 6.5,
|
||||
"walkTarget": [
|
||||
-5.599999904632568,
|
||||
0.0,
|
||||
-12.0
|
||||
]
|
||||
},
|
||||
"ghost_02x": {
|
||||
"animationFrame": 0.0,
|
||||
"attackTargetId": "",
|
||||
"attack_cooldown": 0.0,
|
||||
"battle_state": 0,
|
||||
"currentState": 0,
|
||||
"currentWaypointIndex": 0,
|
||||
"enabled": true,
|
||||
"faceTargetId": "",
|
||||
"facingAngle": 0.0,
|
||||
"homeDriftCheckTimer": 5.0,
|
||||
"homePosition": [
|
||||
-6.400000095367432,
|
||||
0.0,
|
||||
-12.0
|
||||
],
|
||||
"hp": 35.0,
|
||||
"movedLastTick": false,
|
||||
"movementBlockedTicks": 0,
|
||||
"navigationRetryCooldownIndex": 0,
|
||||
"navigationRetryCooldownTicks": [
|
||||
8,
|
||||
11,
|
||||
3,
|
||||
10,
|
||||
2,
|
||||
9,
|
||||
5,
|
||||
4,
|
||||
7,
|
||||
6
|
||||
],
|
||||
"navigationRetryTicks": 0,
|
||||
"pathWaypoints": [],
|
||||
"position": [
|
||||
-6.400000095367432,
|
||||
0.0,
|
||||
-12.0
|
||||
],
|
||||
"requestedWalkTarget": [
|
||||
-6.400000095367432,
|
||||
0.0,
|
||||
-12.0
|
||||
],
|
||||
"showWeapon": true,
|
||||
"targetFacingAngle": 0.0,
|
||||
"visibleRange": 6.5,
|
||||
"walkTarget": [
|
||||
-6.400000095367432,
|
||||
0.0,
|
||||
-12.0
|
||||
]
|
||||
},
|
||||
"ghost_03x": {
|
||||
"animationFrame": 0.0,
|
||||
"attackTargetId": "",
|
||||
"attack_cooldown": 0.0,
|
||||
"battle_state": 0,
|
||||
"currentState": 0,
|
||||
"currentWaypointIndex": 0,
|
||||
"enabled": true,
|
||||
"faceTargetId": "",
|
||||
"facingAngle": 0.0,
|
||||
"homeDriftCheckTimer": 5.0,
|
||||
"homePosition": [
|
||||
-5.599999904632568,
|
||||
0.0,
|
||||
-12.5
|
||||
],
|
||||
"hp": 35.0,
|
||||
"movedLastTick": false,
|
||||
"movementBlockedTicks": 0,
|
||||
"navigationRetryCooldownIndex": 0,
|
||||
"navigationRetryCooldownTicks": [
|
||||
2,
|
||||
4,
|
||||
8,
|
||||
3,
|
||||
6,
|
||||
10,
|
||||
9,
|
||||
7,
|
||||
5,
|
||||
11
|
||||
],
|
||||
"navigationRetryTicks": 0,
|
||||
"pathWaypoints": [],
|
||||
"position": [
|
||||
-5.599999904632568,
|
||||
0.0,
|
||||
-12.5
|
||||
],
|
||||
"requestedWalkTarget": [
|
||||
-5.599999904632568,
|
||||
0.0,
|
||||
-12.5
|
||||
],
|
||||
"showWeapon": true,
|
||||
"targetFacingAngle": 0.0,
|
||||
"visibleRange": 6.5,
|
||||
"walkTarget": [
|
||||
-5.599999904632568,
|
||||
0.0,
|
||||
-12.5
|
||||
]
|
||||
},
|
||||
"ghost_04x": {
|
||||
"animationFrame": 0.0,
|
||||
"attackTargetId": "",
|
||||
"attack_cooldown": 0.0,
|
||||
"battle_state": 0,
|
||||
"currentState": 0,
|
||||
"currentWaypointIndex": 0,
|
||||
"enabled": true,
|
||||
"faceTargetId": "",
|
||||
"facingAngle": 0.0,
|
||||
"homeDriftCheckTimer": 5.0,
|
||||
"homePosition": [
|
||||
-6.400000095367432,
|
||||
0.0,
|
||||
-12.5
|
||||
],
|
||||
"hp": 35.0,
|
||||
"movedLastTick": false,
|
||||
"movementBlockedTicks": 0,
|
||||
"navigationRetryCooldownIndex": 0,
|
||||
"navigationRetryCooldownTicks": [
|
||||
3,
|
||||
4,
|
||||
7,
|
||||
10,
|
||||
5,
|
||||
11,
|
||||
9,
|
||||
2,
|
||||
8,
|
||||
6
|
||||
],
|
||||
"navigationRetryTicks": 0,
|
||||
"pathWaypoints": [],
|
||||
"position": [
|
||||
-6.400000095367432,
|
||||
0.0,
|
||||
-12.5
|
||||
],
|
||||
"requestedWalkTarget": [
|
||||
-6.400000095367432,
|
||||
0.0,
|
||||
-12.5
|
||||
],
|
||||
"showWeapon": true,
|
||||
"targetFacingAngle": 0.0,
|
||||
"visibleRange": 6.5,
|
||||
"walkTarget": [
|
||||
-6.400000095367432,
|
||||
0.0,
|
||||
-12.5
|
||||
]
|
||||
},
|
||||
"ghost_05x": {
|
||||
"animationFrame": 0.0,
|
||||
"attackTargetId": "",
|
||||
"attack_cooldown": 0.0,
|
||||
"battle_state": 0,
|
||||
"currentState": 0,
|
||||
"currentWaypointIndex": 0,
|
||||
"enabled": true,
|
||||
"faceTargetId": "",
|
||||
"facingAngle": 0.0,
|
||||
"homeDriftCheckTimer": 5.0,
|
||||
"homePosition": [
|
||||
-5.599999904632568,
|
||||
0.0,
|
||||
-13.0
|
||||
],
|
||||
"hp": 35.0,
|
||||
"movedLastTick": false,
|
||||
"movementBlockedTicks": 0,
|
||||
"navigationRetryCooldownIndex": 0,
|
||||
"navigationRetryCooldownTicks": [
|
||||
8,
|
||||
7,
|
||||
2,
|
||||
9,
|
||||
4,
|
||||
10,
|
||||
6,
|
||||
5,
|
||||
3,
|
||||
11
|
||||
],
|
||||
"navigationRetryTicks": 0,
|
||||
"pathWaypoints": [],
|
||||
"position": [
|
||||
-5.599999904632568,
|
||||
0.0,
|
||||
-13.0
|
||||
],
|
||||
"requestedWalkTarget": [
|
||||
-5.599999904632568,
|
||||
0.0,
|
||||
-13.0
|
||||
],
|
||||
"showWeapon": true,
|
||||
"targetFacingAngle": 0.0,
|
||||
"visibleRange": 6.5,
|
||||
"walkTarget": [
|
||||
-5.599999904632568,
|
||||
0.0,
|
||||
-13.0
|
||||
]
|
||||
},
|
||||
"ghost_06x": {
|
||||
"animationFrame": 0.0,
|
||||
"attackTargetId": "",
|
||||
"attack_cooldown": 0.0,
|
||||
"battle_state": 0,
|
||||
"currentState": 0,
|
||||
"currentWaypointIndex": 0,
|
||||
"enabled": true,
|
||||
"faceTargetId": "",
|
||||
"facingAngle": 0.0,
|
||||
"homeDriftCheckTimer": 5.0,
|
||||
"homePosition": [
|
||||
-6.400000095367432,
|
||||
0.0,
|
||||
-13.0
|
||||
],
|
||||
"hp": 35.0,
|
||||
"movedLastTick": false,
|
||||
"movementBlockedTicks": 0,
|
||||
"navigationRetryCooldownIndex": 0,
|
||||
"navigationRetryCooldownTicks": [
|
||||
7,
|
||||
11,
|
||||
5,
|
||||
4,
|
||||
3,
|
||||
10,
|
||||
9,
|
||||
8,
|
||||
6,
|
||||
2
|
||||
],
|
||||
"navigationRetryTicks": 0,
|
||||
"pathWaypoints": [],
|
||||
"position": [
|
||||
-6.400000095367432,
|
||||
0.0,
|
||||
-13.0
|
||||
],
|
||||
"requestedWalkTarget": [
|
||||
-6.400000095367432,
|
||||
0.0,
|
||||
-13.0
|
||||
],
|
||||
"showWeapon": true,
|
||||
"targetFacingAngle": 0.0,
|
||||
"visibleRange": 6.5,
|
||||
"walkTarget": [
|
||||
-6.400000095367432,
|
||||
0.0,
|
||||
-13.0
|
||||
]
|
||||
}
|
||||
},
|
||||
"scriptGlobals": {},
|
||||
"state": {
|
||||
"activeNavigationIndex": 0,
|
||||
@@ -162,7 +480,7 @@
|
||||
"battle_state": 0,
|
||||
"currentState": 0,
|
||||
"currentWaypointIndex": 0,
|
||||
"enabled": true,
|
||||
"enabled": false,
|
||||
"faceTargetId": "",
|
||||
"facingAngle": 0.0,
|
||||
"homeDriftCheckTimer": 5.0,
|
||||
@@ -172,24 +490,28 @@
|
||||
0.0
|
||||
],
|
||||
"hp": 200.0,
|
||||
"pathWaypoints": [],
|
||||
"pathWaypoints": [[
|
||||
-6.4,
|
||||
0.0,
|
||||
13.0
|
||||
]],
|
||||
"position": [
|
||||
0.0,
|
||||
0.0,
|
||||
0.0
|
||||
-6.4,
|
||||
0.0,
|
||||
13.0
|
||||
],
|
||||
"requestedWalkTarget": [
|
||||
0.0,
|
||||
0.0,
|
||||
0.0
|
||||
-6.4,
|
||||
0.0,
|
||||
13.0
|
||||
],
|
||||
"showWeapon": true,
|
||||
"targetFacingAngle": 0.0,
|
||||
"visibleRange": 6.0,
|
||||
"walkTarget": [
|
||||
0.0,
|
||||
0.0,
|
||||
0.0
|
||||
-6.4,
|
||||
0.0,
|
||||
13.0
|
||||
]
|
||||
},
|
||||
"player": {
|
||||
@@ -211,28 +533,28 @@
|
||||
"hp": 200.0,
|
||||
"pathWaypoints": [
|
||||
[
|
||||
-6.025001525878906,
|
||||
-5.8,
|
||||
0.0,
|
||||
12.775001525878906
|
||||
12.8
|
||||
]
|
||||
],
|
||||
"position": [
|
||||
-6.0,
|
||||
-5.8,
|
||||
0.0,
|
||||
12.800000190734863
|
||||
12.8
|
||||
],
|
||||
"requestedWalkTarget": [
|
||||
-6.0,
|
||||
-5.8,
|
||||
0.0,
|
||||
12.800000190734863
|
||||
12.8
|
||||
],
|
||||
"showWeapon": true,
|
||||
"targetFacingAngle": 0.0,
|
||||
"visibleRange": 6.0,
|
||||
"walkTarget": [
|
||||
-6.025001525878906,
|
||||
-5.8,
|
||||
0.0,
|
||||
12.775001525878906
|
||||
12.8
|
||||
]
|
||||
}
|
||||
},
|
||||
@@ -240,7 +562,7 @@
|
||||
"quests": []
|
||||
},
|
||||
"savedAt": "2026-11-05 17:43",
|
||||
"schemaVersion": 2,
|
||||
"schemaVersion": 5,
|
||||
"taxiIsCalled": false,
|
||||
"tutorialJournalScreenOpened": false,
|
||||
"tutorialNeedOpenTaxiScreen": false,
|
||||
|
||||
@@ -0,0 +1,574 @@
|
||||
{
|
||||
"localState": {
|
||||
"locations": {
|
||||
"uni_exterior": {
|
||||
"cameraAzimuth": -2.3499999046325684,
|
||||
"cameraInclination": 1.103600025177002
|
||||
}
|
||||
}
|
||||
},
|
||||
"networkState": {
|
||||
"campaignId": "battle_zone",
|
||||
"chatHistory": [
|
||||
[],
|
||||
[],
|
||||
[]
|
||||
],
|
||||
"chatPreviewMsg": [
|
||||
"",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"chatUnread": [
|
||||
true,
|
||||
true,
|
||||
true
|
||||
],
|
||||
"currentLocationId": "",
|
||||
"globalFloats": {
|
||||
},
|
||||
"globalInts": {},
|
||||
"inventory": {
|
||||
"items": []
|
||||
},
|
||||
"isDarklands": true,
|
||||
"isDawn": false,
|
||||
"isNight": true,
|
||||
"locations": {
|
||||
"uni_exterior": {
|
||||
"dialogue": {
|
||||
"active": false
|
||||
},
|
||||
"interactiveObjects": {
|
||||
"intBin_Cans": {
|
||||
"alpha": 1.0,
|
||||
"isActive": true,
|
||||
"isAnimating": false,
|
||||
"positionX": 0.6000000238418579,
|
||||
"positionY": 0.45736101269721985,
|
||||
"positionZ": 3.8499999046325684,
|
||||
"rotationY": 0.0,
|
||||
"scale": 1.0
|
||||
},
|
||||
"intBin_Plastic": {
|
||||
"alpha": 1.0,
|
||||
"isActive": true,
|
||||
"isAnimating": false,
|
||||
"positionX": 1.399999976158142,
|
||||
"positionY": 0.45736101269721985,
|
||||
"positionZ": 3.8499999046325684,
|
||||
"rotationY": 0.0,
|
||||
"scale": 1.0
|
||||
},
|
||||
"intBin_Waste_A": {
|
||||
"alpha": 1.0,
|
||||
"isActive": true,
|
||||
"isAnimating": false,
|
||||
"positionX": 2.200000047683716,
|
||||
"positionY": 0.45736101269721985,
|
||||
"positionZ": 3.8499999046325684,
|
||||
"rotationY": 0.0,
|
||||
"scale": 1.0
|
||||
},
|
||||
"intBin_Waste_B": {
|
||||
"alpha": 1.0,
|
||||
"isActive": true,
|
||||
"isAnimating": false,
|
||||
"positionX": 3.0,
|
||||
"positionY": 0.45736101269721985,
|
||||
"positionZ": 3.8499999046325684,
|
||||
"rotationY": 0.0,
|
||||
"scale": 1.0
|
||||
},
|
||||
"intRoof": {
|
||||
"alpha": 1.0,
|
||||
"isActive": true,
|
||||
"isAnimating": false,
|
||||
"positionX": 0.0,
|
||||
"positionY": 3.200000047683716,
|
||||
"positionZ": 0.0,
|
||||
"rotationY": 0.0,
|
||||
"scale": 1.0
|
||||
},
|
||||
"intVending.00": {
|
||||
"alpha": 1.0,
|
||||
"isActive": true,
|
||||
"isAnimating": false,
|
||||
"positionX": -1.0,
|
||||
"positionY": 0.9150000214576721,
|
||||
"positionZ": -3.9000000953674316,
|
||||
"rotationY": 0.0,
|
||||
"scale": 1.0
|
||||
},
|
||||
"intVending.01": {
|
||||
"alpha": 1.0,
|
||||
"isActive": true,
|
||||
"isAnimating": false,
|
||||
"positionX": 0.0,
|
||||
"positionY": 0.9150000214576721,
|
||||
"positionZ": -3.9000000953674316,
|
||||
"rotationY": 0.0,
|
||||
"scale": 1.0
|
||||
},
|
||||
"intVending.02": {
|
||||
"alpha": 1.0,
|
||||
"isActive": true,
|
||||
"isAnimating": false,
|
||||
"positionX": 1.0,
|
||||
"positionY": 0.9150000214576721,
|
||||
"positionZ": -3.9000000953674316,
|
||||
"rotationY": 0.0,
|
||||
"scale": 1.0
|
||||
}
|
||||
},
|
||||
"npcs": {
|
||||
"ghost_01x": {
|
||||
"animationFrame": 0.0,
|
||||
"attackTargetId": "",
|
||||
"attack_cooldown": 0.0,
|
||||
"battle_state": 0,
|
||||
"currentState": 0,
|
||||
"currentWaypointIndex": 0,
|
||||
"enabled": true,
|
||||
"faceTargetId": "",
|
||||
"facingAngle": 0.0,
|
||||
"homeDriftCheckTimer": 5.0,
|
||||
"homePosition": [
|
||||
-5.599999904632568,
|
||||
0.0,
|
||||
-12.0
|
||||
],
|
||||
"hp": 35.0,
|
||||
"movedLastTick": false,
|
||||
"movementBlockedTicks": 0,
|
||||
"navigationRetryCooldownIndex": 0,
|
||||
"navigationRetryCooldownTicks": [
|
||||
2,
|
||||
3,
|
||||
10,
|
||||
5,
|
||||
6,
|
||||
8,
|
||||
7,
|
||||
9,
|
||||
4,
|
||||
11
|
||||
],
|
||||
"navigationRetryTicks": 0,
|
||||
"pathWaypoints": [],
|
||||
"position": [
|
||||
-5.599999904632568,
|
||||
0.0,
|
||||
-12.0
|
||||
],
|
||||
"requestedWalkTarget": [
|
||||
-5.599999904632568,
|
||||
0.0,
|
||||
-12.0
|
||||
],
|
||||
"showWeapon": true,
|
||||
"targetFacingAngle": 0.0,
|
||||
"visibleRange": 6.5,
|
||||
"walkTarget": [
|
||||
-5.599999904632568,
|
||||
0.0,
|
||||
-12.0
|
||||
]
|
||||
},
|
||||
"ghost_02x": {
|
||||
"animationFrame": 0.0,
|
||||
"attackTargetId": "",
|
||||
"attack_cooldown": 0.0,
|
||||
"battle_state": 0,
|
||||
"currentState": 0,
|
||||
"currentWaypointIndex": 0,
|
||||
"enabled": true,
|
||||
"faceTargetId": "",
|
||||
"facingAngle": 0.0,
|
||||
"homeDriftCheckTimer": 5.0,
|
||||
"homePosition": [
|
||||
-6.400000095367432,
|
||||
0.0,
|
||||
-12.0
|
||||
],
|
||||
"hp": 35.0,
|
||||
"movedLastTick": false,
|
||||
"movementBlockedTicks": 0,
|
||||
"navigationRetryCooldownIndex": 0,
|
||||
"navigationRetryCooldownTicks": [
|
||||
8,
|
||||
11,
|
||||
3,
|
||||
10,
|
||||
2,
|
||||
9,
|
||||
5,
|
||||
4,
|
||||
7,
|
||||
6
|
||||
],
|
||||
"navigationRetryTicks": 0,
|
||||
"pathWaypoints": [],
|
||||
"position": [
|
||||
-6.400000095367432,
|
||||
0.0,
|
||||
-12.0
|
||||
],
|
||||
"requestedWalkTarget": [
|
||||
-6.400000095367432,
|
||||
0.0,
|
||||
-12.0
|
||||
],
|
||||
"showWeapon": true,
|
||||
"targetFacingAngle": 0.0,
|
||||
"visibleRange": 6.5,
|
||||
"walkTarget": [
|
||||
-6.400000095367432,
|
||||
0.0,
|
||||
-12.0
|
||||
]
|
||||
},
|
||||
"ghost_03x": {
|
||||
"animationFrame": 0.0,
|
||||
"attackTargetId": "",
|
||||
"attack_cooldown": 0.0,
|
||||
"battle_state": 0,
|
||||
"currentState": 0,
|
||||
"currentWaypointIndex": 0,
|
||||
"enabled": true,
|
||||
"faceTargetId": "",
|
||||
"facingAngle": 0.0,
|
||||
"homeDriftCheckTimer": 5.0,
|
||||
"homePosition": [
|
||||
-5.599999904632568,
|
||||
0.0,
|
||||
-12.5
|
||||
],
|
||||
"hp": 35.0,
|
||||
"movedLastTick": false,
|
||||
"movementBlockedTicks": 0,
|
||||
"navigationRetryCooldownIndex": 0,
|
||||
"navigationRetryCooldownTicks": [
|
||||
2,
|
||||
4,
|
||||
8,
|
||||
3,
|
||||
6,
|
||||
10,
|
||||
9,
|
||||
7,
|
||||
5,
|
||||
11
|
||||
],
|
||||
"navigationRetryTicks": 0,
|
||||
"pathWaypoints": [],
|
||||
"position": [
|
||||
-5.599999904632568,
|
||||
0.0,
|
||||
-12.5
|
||||
],
|
||||
"requestedWalkTarget": [
|
||||
-5.599999904632568,
|
||||
0.0,
|
||||
-12.5
|
||||
],
|
||||
"showWeapon": true,
|
||||
"targetFacingAngle": 0.0,
|
||||
"visibleRange": 6.5,
|
||||
"walkTarget": [
|
||||
-5.599999904632568,
|
||||
0.0,
|
||||
-12.5
|
||||
]
|
||||
},
|
||||
"ghost_04x": {
|
||||
"animationFrame": 0.0,
|
||||
"attackTargetId": "",
|
||||
"attack_cooldown": 0.0,
|
||||
"battle_state": 0,
|
||||
"currentState": 0,
|
||||
"currentWaypointIndex": 0,
|
||||
"enabled": true,
|
||||
"faceTargetId": "",
|
||||
"facingAngle": 0.0,
|
||||
"homeDriftCheckTimer": 5.0,
|
||||
"homePosition": [
|
||||
-6.400000095367432,
|
||||
0.0,
|
||||
-12.5
|
||||
],
|
||||
"hp": 35.0,
|
||||
"movedLastTick": false,
|
||||
"movementBlockedTicks": 0,
|
||||
"navigationRetryCooldownIndex": 0,
|
||||
"navigationRetryCooldownTicks": [
|
||||
3,
|
||||
4,
|
||||
7,
|
||||
10,
|
||||
5,
|
||||
11,
|
||||
9,
|
||||
2,
|
||||
8,
|
||||
6
|
||||
],
|
||||
"navigationRetryTicks": 0,
|
||||
"pathWaypoints": [],
|
||||
"position": [
|
||||
-6.400000095367432,
|
||||
0.0,
|
||||
-12.5
|
||||
],
|
||||
"requestedWalkTarget": [
|
||||
-6.400000095367432,
|
||||
0.0,
|
||||
-12.5
|
||||
],
|
||||
"showWeapon": true,
|
||||
"targetFacingAngle": 0.0,
|
||||
"visibleRange": 6.5,
|
||||
"walkTarget": [
|
||||
-6.400000095367432,
|
||||
0.0,
|
||||
-12.5
|
||||
]
|
||||
},
|
||||
"ghost_05x": {
|
||||
"animationFrame": 0.0,
|
||||
"attackTargetId": "",
|
||||
"attack_cooldown": 0.0,
|
||||
"battle_state": 0,
|
||||
"currentState": 0,
|
||||
"currentWaypointIndex": 0,
|
||||
"enabled": true,
|
||||
"faceTargetId": "",
|
||||
"facingAngle": 0.0,
|
||||
"homeDriftCheckTimer": 5.0,
|
||||
"homePosition": [
|
||||
-5.599999904632568,
|
||||
0.0,
|
||||
-13.0
|
||||
],
|
||||
"hp": 35.0,
|
||||
"movedLastTick": false,
|
||||
"movementBlockedTicks": 0,
|
||||
"navigationRetryCooldownIndex": 0,
|
||||
"navigationRetryCooldownTicks": [
|
||||
8,
|
||||
7,
|
||||
2,
|
||||
9,
|
||||
4,
|
||||
10,
|
||||
6,
|
||||
5,
|
||||
3,
|
||||
11
|
||||
],
|
||||
"navigationRetryTicks": 0,
|
||||
"pathWaypoints": [],
|
||||
"position": [
|
||||
-5.599999904632568,
|
||||
0.0,
|
||||
-13.0
|
||||
],
|
||||
"requestedWalkTarget": [
|
||||
-5.599999904632568,
|
||||
0.0,
|
||||
-13.0
|
||||
],
|
||||
"showWeapon": true,
|
||||
"targetFacingAngle": 0.0,
|
||||
"visibleRange": 6.5,
|
||||
"walkTarget": [
|
||||
-5.599999904632568,
|
||||
0.0,
|
||||
-13.0
|
||||
]
|
||||
},
|
||||
"ghost_06x": {
|
||||
"animationFrame": 0.0,
|
||||
"attackTargetId": "",
|
||||
"attack_cooldown": 0.0,
|
||||
"battle_state": 0,
|
||||
"currentState": 0,
|
||||
"currentWaypointIndex": 0,
|
||||
"enabled": true,
|
||||
"faceTargetId": "",
|
||||
"facingAngle": 0.0,
|
||||
"homeDriftCheckTimer": 5.0,
|
||||
"homePosition": [
|
||||
-6.400000095367432,
|
||||
0.0,
|
||||
-13.0
|
||||
],
|
||||
"hp": 35.0,
|
||||
"movedLastTick": false,
|
||||
"movementBlockedTicks": 0,
|
||||
"navigationRetryCooldownIndex": 0,
|
||||
"navigationRetryCooldownTicks": [
|
||||
7,
|
||||
11,
|
||||
5,
|
||||
4,
|
||||
3,
|
||||
10,
|
||||
9,
|
||||
8,
|
||||
6,
|
||||
2
|
||||
],
|
||||
"navigationRetryTicks": 0,
|
||||
"pathWaypoints": [],
|
||||
"position": [
|
||||
-6.400000095367432,
|
||||
0.0,
|
||||
-13.0
|
||||
],
|
||||
"requestedWalkTarget": [
|
||||
-6.400000095367432,
|
||||
0.0,
|
||||
-13.0
|
||||
],
|
||||
"showWeapon": true,
|
||||
"targetFacingAngle": 0.0,
|
||||
"visibleRange": 6.5,
|
||||
"walkTarget": [
|
||||
-6.400000095367432,
|
||||
0.0,
|
||||
-13.0
|
||||
]
|
||||
}
|
||||
},
|
||||
"scriptGlobals": {},
|
||||
"state": {
|
||||
"activeNavigationIndex": 0,
|
||||
"targetInteractNpcId": "",
|
||||
"targetInteractiveObjectId": "",
|
||||
"targetTeleportZoneId": "",
|
||||
"taxi": {
|
||||
"arrivedCallbackCalled": false,
|
||||
"car": {
|
||||
"currentWaypoint": 0,
|
||||
"mode": 1,
|
||||
"position": [
|
||||
-100.0,
|
||||
-100.0,
|
||||
-100.0
|
||||
],
|
||||
"rotation": 0.0,
|
||||
"steeringAngle": 0.0,
|
||||
"velocity": 0.0,
|
||||
"waypoints": [],
|
||||
"wheelAngle": 0.0
|
||||
}
|
||||
}
|
||||
},
|
||||
"teleportZones": {},
|
||||
"triggerZones": {}
|
||||
}
|
||||
},
|
||||
"money": 5500,
|
||||
"playerHp": 200.0,
|
||||
"playerMaxHp": 200.0,
|
||||
"players": {
|
||||
"player2": {
|
||||
"animationFrame": 0.0,
|
||||
"attackTargetId": "",
|
||||
"attack_cooldown": 0.0,
|
||||
"battle_state": 0,
|
||||
"currentState": 0,
|
||||
"currentWaypointIndex": 0,
|
||||
"enabled": false,
|
||||
"faceTargetId": "",
|
||||
"facingAngle": 0.0,
|
||||
"homeDriftCheckTimer": 5.0,
|
||||
"homePosition": [
|
||||
0.0,
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"hp": 200.0,
|
||||
"pathWaypoints": [[
|
||||
-6.8,
|
||||
0.0,
|
||||
13.0
|
||||
]],
|
||||
"position": [
|
||||
-6.8,
|
||||
0.0,
|
||||
13.0
|
||||
],
|
||||
"requestedWalkTarget": [
|
||||
-6.8,
|
||||
0.0,
|
||||
13.0
|
||||
],
|
||||
"showWeapon": true,
|
||||
"targetFacingAngle": 0.0,
|
||||
"visibleRange": 6.0,
|
||||
"walkTarget": [
|
||||
-6.8,
|
||||
0.0,
|
||||
13.0
|
||||
]
|
||||
},
|
||||
"player": {
|
||||
"animationFrame": 0.0,
|
||||
"attackTargetId": "",
|
||||
"attack_cooldown": 0.0,
|
||||
"battle_state": 0,
|
||||
"currentState": 0,
|
||||
"currentWaypointIndex": 0,
|
||||
"enabled": true,
|
||||
"faceTargetId": "",
|
||||
"facingAngle": 0.0,
|
||||
"homeDriftCheckTimer": 5.0,
|
||||
"homePosition": [
|
||||
0.0,
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"hp": 200.0,
|
||||
"pathWaypoints": [
|
||||
[
|
||||
-5.4,
|
||||
0.0,
|
||||
12.8
|
||||
]
|
||||
],
|
||||
"position": [
|
||||
-5.4,
|
||||
0.0,
|
||||
12.8
|
||||
],
|
||||
"requestedWalkTarget": [
|
||||
-5.4,
|
||||
0.0,
|
||||
12.8
|
||||
],
|
||||
"showWeapon": true,
|
||||
"targetFacingAngle": 0.0,
|
||||
"visibleRange": 6.0,
|
||||
"walkTarget": [
|
||||
-5.4,
|
||||
0.0,
|
||||
12.8
|
||||
]
|
||||
}
|
||||
},
|
||||
"questJournal": {
|
||||
"quests": []
|
||||
},
|
||||
"savedAt": "2026-11-05 17:43",
|
||||
"schemaVersion": 5,
|
||||
"taxiIsCalled": false,
|
||||
"tutorialJournalScreenOpened": false,
|
||||
"tutorialNeedOpenTaxiScreen": false,
|
||||
"tutorialPhoneChatScreenOpened": false,
|
||||
"tutorialStep": 0,
|
||||
"tutorialTaxiHintDone": false
|
||||
},
|
||||
"persistenceVersion": 1
|
||||
}
|
||||
@@ -0,0 +1,456 @@
|
||||
{
|
||||
"agentRadius": 0.30000001192092896,
|
||||
"areas": [
|
||||
{
|
||||
"available": true,
|
||||
"name": "main_corridor",
|
||||
"polygon": [
|
||||
[
|
||||
-60.0,
|
||||
110.0
|
||||
],
|
||||
[
|
||||
60.0,
|
||||
110.0
|
||||
],
|
||||
[
|
||||
60.0,
|
||||
-110.0
|
||||
],
|
||||
[
|
||||
-60.0,
|
||||
-110.0
|
||||
]
|
||||
]
|
||||
}
|
||||
],
|
||||
"boundaryPadding": 0.07500000298023224,
|
||||
"cellSize": 0.10000000149011612,
|
||||
"floorY": 0.0,
|
||||
"objectPadding": 0.07500000298023224,
|
||||
"obstacles": [
|
||||
{
|
||||
"name": "editor_obstacle_1",
|
||||
"polygon": [
|
||||
[
|
||||
-4.674264907836914,
|
||||
4.511208534240723
|
||||
],
|
||||
[
|
||||
4.500116348266602,
|
||||
4.49705696105957
|
||||
],
|
||||
[
|
||||
6.988797664642334,
|
||||
4.994457244873047
|
||||
],
|
||||
[
|
||||
8.309992790222168,
|
||||
28.58877182006836
|
||||
],
|
||||
[
|
||||
-4.647348403930664,
|
||||
30.00424575805664
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "editor_obstacle_2",
|
||||
"polygon": [
|
||||
[
|
||||
-15.515826225280762,
|
||||
30.504249572753906
|
||||
],
|
||||
[
|
||||
-7.626216888427734,
|
||||
30.143882751464844
|
||||
],
|
||||
[
|
||||
-7.626260757446289,
|
||||
-30.035873413085938
|
||||
],
|
||||
[
|
||||
-10.609762191772461,
|
||||
-30.106216430664063
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "editor_obstacle_3",
|
||||
"polygon": [
|
||||
[
|
||||
-4.697506904602051,
|
||||
-4.453675270080566
|
||||
],
|
||||
[
|
||||
4.581188201904297,
|
||||
-4.497550964355469
|
||||
],
|
||||
[
|
||||
8.761575698852539,
|
||||
-5.748187065124512
|
||||
],
|
||||
[
|
||||
6.705105781555176,
|
||||
-30.826133728027344
|
||||
],
|
||||
[
|
||||
-4.899751663208008,
|
||||
-30.273645401000977
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "editor_obstacle_4",
|
||||
"polygon": [
|
||||
[
|
||||
4.480845928192139,
|
||||
-4.497610569000244
|
||||
],
|
||||
[
|
||||
4.471078395843506,
|
||||
4.440389633178711
|
||||
],
|
||||
[
|
||||
7.488897800445557,
|
||||
6.500348091125488
|
||||
],
|
||||
[
|
||||
7.610373020172119,
|
||||
-7.108349800109863
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "editor_obstacle_5",
|
||||
"polygon": [
|
||||
[
|
||||
1.4347565174102783,
|
||||
-3.5085272789001465
|
||||
],
|
||||
[
|
||||
-1.44767427444458,
|
||||
-3.5077664852142334
|
||||
],
|
||||
[
|
||||
-1.4244537353515625,
|
||||
-4.550441741943359
|
||||
],
|
||||
[
|
||||
1.5041074752807617,
|
||||
-4.66478157043457
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "editor_obstacle_6",
|
||||
"polygon": [
|
||||
[
|
||||
-1.4455971717834473,
|
||||
1.4518743753433228
|
||||
],
|
||||
[
|
||||
-1.7430613040924072,
|
||||
1.4484080076217651
|
||||
],
|
||||
[
|
||||
-1.7421774864196777,
|
||||
1.7649677991867065
|
||||
],
|
||||
[
|
||||
-1.462749719619751,
|
||||
1.7526912689208984
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "editor_obstacle_7",
|
||||
"polygon": [
|
||||
[
|
||||
1.4451713562011719,
|
||||
1.41898775100708
|
||||
],
|
||||
[
|
||||
1.4399998188018799,
|
||||
1.7420461177825928
|
||||
],
|
||||
[
|
||||
1.7347050905227661,
|
||||
1.736159086227417
|
||||
],
|
||||
[
|
||||
1.7765860557556152,
|
||||
1.4179844856262207
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "editor_obstacle_8",
|
||||
"polygon": [
|
||||
[
|
||||
1.7767610549926758,
|
||||
-1.4403706789016724
|
||||
],
|
||||
[
|
||||
1.7636981010437012,
|
||||
-1.730869174003601
|
||||
],
|
||||
[
|
||||
1.4837110042572021,
|
||||
-1.7566866874694824
|
||||
],
|
||||
[
|
||||
1.478219747543335,
|
||||
-1.4404852390289307
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "editor_obstacle_9",
|
||||
"polygon": [
|
||||
[
|
||||
-1.4296274185180664,
|
||||
-1.4213972091674805
|
||||
],
|
||||
[
|
||||
-1.4656789302825928,
|
||||
-1.7051677703857422
|
||||
],
|
||||
[
|
||||
-1.73427152633667,
|
||||
-1.7311439514160156
|
||||
],
|
||||
[
|
||||
-1.7377328872680664,
|
||||
-1.4628331661224365
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "editor_obstacle_10",
|
||||
"polygon": [
|
||||
[
|
||||
0.35316944122314453,
|
||||
3.638571262359619
|
||||
],
|
||||
[
|
||||
0.5663708448410034,
|
||||
3.529160976409912
|
||||
],
|
||||
[
|
||||
0.9152454137802124,
|
||||
3.7827951908111572
|
||||
],
|
||||
[
|
||||
0.7800401449203491,
|
||||
4.1122283935546875
|
||||
],
|
||||
[
|
||||
0.3589729368686676,
|
||||
4.105776786804199
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "editor_obstacle_11",
|
||||
"polygon": [
|
||||
[
|
||||
1.432550072669983,
|
||||
3.4731945991516113
|
||||
],
|
||||
[
|
||||
1.0865048170089722,
|
||||
3.7390546798706055
|
||||
],
|
||||
[
|
||||
1.2317941188812256,
|
||||
4.127427577972412
|
||||
],
|
||||
[
|
||||
1.5596503019332886,
|
||||
4.186410903930664
|
||||
],
|
||||
[
|
||||
1.7367746829986572,
|
||||
3.893272638320923
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "editor_obstacle_12",
|
||||
"polygon": [
|
||||
[
|
||||
2.2451412677764893,
|
||||
3.536006450653076
|
||||
],
|
||||
[
|
||||
2.516268253326416,
|
||||
3.788959503173828
|
||||
],
|
||||
[
|
||||
2.364431142807007,
|
||||
4.175443649291992
|
||||
],
|
||||
[
|
||||
2.0266497135162354,
|
||||
4.191457271575928
|
||||
],
|
||||
[
|
||||
1.9045233726501465,
|
||||
3.723470687866211
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "editor_obstacle_13",
|
||||
"polygon": [
|
||||
[
|
||||
2.671405792236328,
|
||||
3.8145058155059814
|
||||
],
|
||||
[
|
||||
2.8594112396240234,
|
||||
3.5803170204162598
|
||||
],
|
||||
[
|
||||
3.2140555381774902,
|
||||
3.6300761699676514
|
||||
],
|
||||
[
|
||||
3.3128409385681152,
|
||||
3.914318799972534
|
||||
],
|
||||
[
|
||||
3.035449981689453,
|
||||
4.19616174697876
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "editor_obstacle_14",
|
||||
"polygon": [
|
||||
[
|
||||
-0.7818725109100342,
|
||||
-1.3299269676208496
|
||||
],
|
||||
[
|
||||
0.7862813472747803,
|
||||
-1.321362018585205
|
||||
],
|
||||
[
|
||||
0.7948278188705444,
|
||||
-0.8404130935668945
|
||||
],
|
||||
[
|
||||
-0.8415207862854004,
|
||||
-0.8753911852836609
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "editor_obstacle_15",
|
||||
"polygon": [
|
||||
[
|
||||
0.8721977472305298,
|
||||
-0.7764003276824951
|
||||
],
|
||||
[
|
||||
1.302225947380066,
|
||||
-0.7648682594299316
|
||||
],
|
||||
[
|
||||
1.3214731216430664,
|
||||
0.7846521139144897
|
||||
],
|
||||
[
|
||||
0.8680744767189026,
|
||||
0.7555575370788574
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "editor_obstacle_16",
|
||||
"polygon": [
|
||||
[
|
||||
0.7762007713317871,
|
||||
0.8522758483886719
|
||||
],
|
||||
[
|
||||
0.7863373756408691,
|
||||
1.2722206115722656
|
||||
],
|
||||
[
|
||||
-0.8070647716522217,
|
||||
1.327103614807129
|
||||
],
|
||||
[
|
||||
-0.806971549987793,
|
||||
0.8900301456451416
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "editor_obstacle_17",
|
||||
"polygon": [
|
||||
[
|
||||
-0.872557520866394,
|
||||
-0.8267583847045898
|
||||
],
|
||||
[
|
||||
-0.8642703890800476,
|
||||
0.7986812591552734
|
||||
],
|
||||
[
|
||||
-1.3173141479492188,
|
||||
0.785850465297699
|
||||
],
|
||||
[
|
||||
-1.300905704498291,
|
||||
-0.7977303266525269
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "editor_obstacle_18",
|
||||
"polygon": [
|
||||
[
|
||||
-4.552978515625,
|
||||
29.516841888427734
|
||||
],
|
||||
[
|
||||
-7.71390438079834,
|
||||
29.30852699279785
|
||||
],
|
||||
[
|
||||
-7.651302814483643,
|
||||
29.88724136352539
|
||||
],
|
||||
[
|
||||
-4.585191249847412,
|
||||
29.89825439453125
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "editor_obstacle_19",
|
||||
"polygon": [
|
||||
[
|
||||
-4.6034159660339355,
|
||||
-29.88680648803711
|
||||
],
|
||||
[
|
||||
-4.6567511558532715,
|
||||
-29.23015785217285
|
||||
],
|
||||
[
|
||||
-7.734859943389893,
|
||||
-29.268037796020508
|
||||
],
|
||||
[
|
||||
-7.670672416687012,
|
||||
-29.951431274414063
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
@@ -63,7 +63,7 @@ function on_bed_sleep()
|
||||
else
|
||||
game_api.start_cutscene("sleep_cutscene001")
|
||||
game_api.setIntValue("need_sleep", 0)
|
||||
game_api.set_player_hp(200)
|
||||
game_api.refill_current_player_hp()
|
||||
--game_api.set_day() - done in cutscene
|
||||
local day = game_api.getIntValue("day")
|
||||
game_api.setIntValue("day", day + 1)
|
||||
@@ -338,8 +338,6 @@ end
|
||||
|
||||
function callback_enter_location()
|
||||
print("Enter location dorm")
|
||||
local hp = game_api.getFloatValue("player_hp")
|
||||
game_api.set_player_hp(hp)
|
||||
game_api.set_teleport_active("tp_dorm_to_loc2", false)
|
||||
if (game_api.is_night()) then
|
||||
closeAlikDoor()
|
||||
@@ -348,8 +346,6 @@ end
|
||||
|
||||
function callback_exit_location()
|
||||
print("Exit location dorm")
|
||||
local hp = game_api.get_player_hp()
|
||||
game_api.setFloatValue("player_hp", hp)
|
||||
end
|
||||
|
||||
game_api.set_location_callbacks(
|
||||
|
||||
@@ -71,8 +71,6 @@ end
|
||||
|
||||
function callback_enter_location()
|
||||
print("Enter location uni exterior")
|
||||
local hp = game_api.getFloatValue("player_hp")
|
||||
game_api.set_player_hp(hp)
|
||||
game_api.set_teleport_active("tp_loc2_to_dorm", false)
|
||||
if (game_api.is_night()) then
|
||||
game_api.deactivate_interactive_object("car001")
|
||||
@@ -87,8 +85,6 @@ end
|
||||
|
||||
function callback_exit_location()
|
||||
print("Exit location uni exterior")
|
||||
local hp = game_api.get_player_hp()
|
||||
game_api.setFloatValue("player_hp", hp)
|
||||
end
|
||||
|
||||
game_api.set_location_callbacks(
|
||||
|
||||
@@ -275,7 +275,6 @@ function on_quest_over()
|
||||
end
|
||||
|
||||
function on_darklands_over()
|
||||
game_api.set_player_hp(10)
|
||||
game_api.resetPlayerAfterDeath()
|
||||
end
|
||||
|
||||
@@ -1346,9 +1345,6 @@ end
|
||||
|
||||
function callback_enter_location()
|
||||
print("Enter location uni interior-")
|
||||
--player_left_darklands = false
|
||||
local hp = game_api.getFloatValue("player_hp")
|
||||
game_api.set_player_hp(hp)
|
||||
local day = game_api.getIntValue("day")
|
||||
|
||||
print("day is:")
|
||||
@@ -1402,11 +1398,6 @@ end
|
||||
|
||||
function callback_exit_location()
|
||||
print("Exit location uni interior")
|
||||
--player_left_darklands = false
|
||||
local hp = game_api.get_player_hp()
|
||||
game_api.setFloatValue("player_hp", hp)
|
||||
|
||||
|
||||
--[[
|
||||
0 - day0
|
||||
1 - darklands
|
||||
|
||||
+2845
-1419
File diff suppressed because it is too large.
Load diff
@@ -4,6 +4,7 @@
|
||||
"id": "intBin_Cans",
|
||||
"name": "intBin_Cans",
|
||||
"texturePath": "resources/w/shelter/models/intBin_Cans_atlas.png",
|
||||
"textureDarkandsPath": "resources/w/shelter/models/intBin_Cans_atlas.png",
|
||||
"meshPath": "resources/w/shelter/models/intBin_Cans.txt.bin",
|
||||
"rotationX": 0.0,
|
||||
"rotationY": -180.0,
|
||||
@@ -12,12 +13,13 @@
|
||||
"positionY": 0.45736101269721985,
|
||||
"positionZ": 3.85,
|
||||
"scale": 1.0,
|
||||
"interactionRadius": 0.0
|
||||
"interactionRadius": 0.0
|
||||
},
|
||||
{
|
||||
"id": "intBin_Plastic",
|
||||
"name": "intBin_Plastic",
|
||||
"texturePath": "resources/w/shelter/models/intBin_Plastic_atlas.png",
|
||||
"textureDarkandsPath": "resources/w/shelter/models/intBin_Plastic_atlas.png",
|
||||
"meshPath": "resources/w/shelter/models/intBin_Plastic.txt.bin",
|
||||
"rotationX": 0.0,
|
||||
"rotationY": -180.0,
|
||||
@@ -26,12 +28,13 @@
|
||||
"positionY": 0.45736101269721985,
|
||||
"positionZ": 3.85,
|
||||
"scale": 1.0,
|
||||
"interactionRadius": 0.0
|
||||
"interactionRadius": 0.0
|
||||
},
|
||||
{
|
||||
"id": "intBin_Waste_A",
|
||||
"name": "intBin_Waste_A",
|
||||
"texturePath": "resources/w/shelter/models/intBin_Waste_A_atlas.png",
|
||||
"textureDarkandsPath": "resources/w/shelter/models/intBin_Waste_A_atlas.png",
|
||||
"meshPath": "resources/w/shelter/models/intBin_Waste_A.txt.bin",
|
||||
"rotationX": 0.0,
|
||||
"rotationY": -180.0,
|
||||
@@ -40,12 +43,13 @@
|
||||
"positionY": 0.45736101269721985,
|
||||
"positionZ": 3.85,
|
||||
"scale": 1.0,
|
||||
"interactionRadius": 0.0
|
||||
"interactionRadius": 0.0
|
||||
},
|
||||
{
|
||||
"id": "intBin_Waste_B",
|
||||
"name": "intBin_Waste_B",
|
||||
"texturePath": "resources/w/shelter/models/intBin_Waste_B_atlas.png",
|
||||
"textureDarkandsPath": "resources/w/shelter/models/intBin_Waste_B_atlas.png",
|
||||
"meshPath": "resources/w/shelter/models/intBin_Waste_B.txt.bin",
|
||||
"rotationX": 0.0,
|
||||
"rotationY": -180.0,
|
||||
@@ -54,12 +58,13 @@
|
||||
"positionY": 0.45736101269721985,
|
||||
"positionZ": 3.85,
|
||||
"scale": 1.0,
|
||||
"interactionRadius": 0.0
|
||||
"interactionRadius": 0.0
|
||||
},
|
||||
{
|
||||
"id": "intRoof",
|
||||
"name": "intRoof",
|
||||
"texturePath": "resources/w/shelter/models/intRoof_atlas.png",
|
||||
"textureDarkandsPath": "resources/w/shelter/models/intRoof_atlas.png",
|
||||
"meshPath": "resources/w/shelter/models/intRoof.txt",
|
||||
"rotationX": 0.0,
|
||||
"rotationY": 0.0,
|
||||
@@ -68,12 +73,13 @@
|
||||
"positionY": 3.2,
|
||||
"positionZ": 0.0,
|
||||
"scale": 1.0,
|
||||
"interactionRadius": 0.0
|
||||
"interactionRadius": 0.0
|
||||
},
|
||||
{
|
||||
"id": "intVending.00",
|
||||
"name": "intVending.00",
|
||||
"texturePath": "resources/w/shelter/models/vending_atlas.png",
|
||||
"textureDarkandsPath": "resources/w/shelter/models/vending_atlas.png",
|
||||
"meshPath": "resources/w/shelter/models/intVending.txt",
|
||||
"rotationX": 0.0,
|
||||
"rotationY": -90.0,
|
||||
@@ -82,12 +88,13 @@
|
||||
"positionY": 0.915,
|
||||
"positionZ": -3.9,
|
||||
"scale": 1.0,
|
||||
"interactionRadius": 0.0
|
||||
"interactionRadius": 0.0
|
||||
},
|
||||
{
|
||||
"id": "intVending.01",
|
||||
"name": "intVending.01",
|
||||
"texturePath": "resources/w/shelter/models/vending_atlas.png",
|
||||
"textureDarkandsPath": "resources/w/shelter/models/vending_atlas.png",
|
||||
"meshPath": "resources/w/shelter/models/intVending.txt",
|
||||
"rotationX": 0.0,
|
||||
"rotationY": -90.0,
|
||||
@@ -96,12 +103,13 @@
|
||||
"positionY": 0.915,
|
||||
"positionZ": -3.9,
|
||||
"scale": 1.0,
|
||||
"interactionRadius": 0.0
|
||||
"interactionRadius": 0.0
|
||||
},
|
||||
{
|
||||
"id": "intVending.02",
|
||||
"name": "intVending.02",
|
||||
"texturePath": "resources/w/shelter/models/vending_atlas.png",
|
||||
"textureDarkandsPath": "resources/w/shelter/models/vending_atlas.png",
|
||||
"meshPath": "resources/w/shelter/models/intVending.txt",
|
||||
"rotationX": 0.0,
|
||||
"rotationY": -90.0,
|
||||
@@ -110,7 +118,7 @@
|
||||
"positionY": 0.915,
|
||||
"positionZ": -3.9,
|
||||
"scale": 1.0,
|
||||
"interactionRadius": 0.0
|
||||
"interactionRadius": 0.0
|
||||
}
|
||||
]
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -1,9 +1,85 @@
|
||||
===Vertices (Split by UV/Normal): 4
|
||||
===Vertices (Split by UV/Normal): 42
|
||||
V 0: Pos(30.0, -7.68, -0.01) Norm(0.0, 0.0, 1.0) UV(60.0, -15.36)
|
||||
V 1: Pos(-30.0, -4.68, -0.01) Norm(0.0, 0.0, 1.0) UV(-60.0, -9.36)
|
||||
V 2: Pos(-30.0, -7.68, -0.01) Norm(0.0, 0.0, 1.0) UV(-60.0, -15.36)
|
||||
V 3: Pos(30.0, -4.68, -0.01) Norm(0.0, 0.0, 1.0) UV(60.0, -9.36)
|
||||
V 1: Pos(27.0, -4.68, -0.01) Norm(0.0, 0.0, 1.0) UV(54.0, -9.36)
|
||||
V 2: Pos(27.0, -7.68, -0.01) Norm(0.0, 0.0, 1.0) UV(54.0, -15.36)
|
||||
V 3: Pos(-27.0, -7.68, -0.01) Norm(0.0, 0.0, 1.0) UV(-54.0, -15.359999)
|
||||
V 4: Pos(-30.0, -4.68, -0.01) Norm(0.0, 0.0, 1.0) UV(-60.0, -9.36)
|
||||
V 5: Pos(-30.0, -7.68, -0.01) Norm(0.0, 0.0, 1.0) UV(-60.0, -15.36)
|
||||
V 6: Pos(-24.0, -7.68, -0.01) Norm(0.0, 0.0, 1.0) UV(-48.0, -15.36)
|
||||
V 7: Pos(-27.0, -4.68, -0.01) Norm(0.0, 0.0, 1.0) UV(-54.0, -9.360001)
|
||||
V 8: Pos(-21.0, -7.68, -0.01) Norm(0.0, 0.0, 1.0) UV(-42.0, -15.36)
|
||||
V 9: Pos(-24.0, -4.68, -0.01) Norm(0.0, 0.0, 1.0) UV(-48.0, -9.360001)
|
||||
V 10: Pos(-18.0, -7.68, -0.01) Norm(0.0, 0.0, 1.0) UV(-36.0, -15.36)
|
||||
V 11: Pos(-21.0, -4.68, -0.01) Norm(0.0, 0.0, 1.0) UV(-42.0, -9.360001)
|
||||
V 12: Pos(-15.0, -7.68, -0.01) Norm(0.0, 0.0, 1.0) UV(-30.0, -15.36)
|
||||
V 13: Pos(-18.0, -4.68, -0.01) Norm(0.0, 0.0, 1.0) UV(-36.0, -9.360001)
|
||||
V 14: Pos(-12.0, -7.68, -0.01) Norm(0.0, 0.0, 1.0) UV(-24.0, -15.36)
|
||||
V 15: Pos(-15.0, -4.68, -0.01) Norm(0.0, 0.0, 1.0) UV(-30.000002, -9.360001)
|
||||
V 16: Pos(-9.0, -7.68, -0.01) Norm(0.0, 0.0, 1.0) UV(-17.999998, -15.36)
|
||||
V 17: Pos(-12.0, -4.68, -0.01) Norm(0.0, 0.0, 1.0) UV(-24.000004, -9.360001)
|
||||
V 18: Pos(-6.0, -7.68, -0.01) Norm(0.0, 0.0, 1.0) UV(-11.999998, -15.36)
|
||||
V 19: Pos(-9.0, -4.68, -0.01) Norm(0.0, 0.0, 1.0) UV(-18.000002, -9.360001)
|
||||
V 20: Pos(-3.0, -7.68, -0.01) Norm(0.0, 0.0, 1.0) UV(-5.999998, -15.36)
|
||||
V 21: Pos(-6.0, -4.68, -0.01) Norm(0.0, 0.0, 1.0) UV(-12.000002, -9.360001)
|
||||
V 22: Pos(0.0, -7.68, -0.01) Norm(0.0, 0.0, 1.0) UV(2e-06, -15.359999)
|
||||
V 23: Pos(-3.0, -4.68, -0.01) Norm(0.0, 0.0, 1.0) UV(-6.000002, -9.360001)
|
||||
V 24: Pos(3.0, -7.68, -0.01) Norm(0.0, 0.0, 1.0) UV(6.000002, -15.359999)
|
||||
V 25: Pos(0.0, -4.68, -0.01) Norm(0.0, 0.0, 1.0) UV(-2e-06, -9.360001)
|
||||
V 26: Pos(6.0, -7.68, -0.01) Norm(0.0, 0.0, 1.0) UV(12.000002, -15.36)
|
||||
V 27: Pos(3.0, -4.68, -0.01) Norm(0.0, 0.0, 1.0) UV(5.999998, -9.360001)
|
||||
V 28: Pos(9.0, -7.68, -0.01) Norm(0.0, 0.0, 1.0) UV(18.000002, -15.36)
|
||||
V 29: Pos(6.0, -4.68, -0.01) Norm(0.0, 0.0, 1.0) UV(11.999998, -9.360001)
|
||||
V 30: Pos(12.0, -7.68, -0.01) Norm(0.0, 0.0, 1.0) UV(24.000004, -15.360001)
|
||||
V 31: Pos(9.0, -4.68, -0.01) Norm(0.0, 0.0, 1.0) UV(17.999998, -9.360001)
|
||||
V 32: Pos(15.0, -7.68, -0.01) Norm(0.0, 0.0, 1.0) UV(30.000002, -15.360001)
|
||||
V 33: Pos(12.0, -4.68, -0.01) Norm(0.0, 0.0, 1.0) UV(24.0, -9.360001)
|
||||
V 34: Pos(18.0, -7.68, -0.01) Norm(0.0, 0.0, 1.0) UV(36.0, -15.360001)
|
||||
V 35: Pos(15.0, -4.68, -0.01) Norm(0.0, 0.0, 1.0) UV(30.0, -9.360001)
|
||||
V 36: Pos(21.0, -7.68, -0.01) Norm(0.0, 0.0, 1.0) UV(42.0, -15.360001)
|
||||
V 37: Pos(18.0, -4.68, -0.01) Norm(0.0, 0.0, 1.0) UV(36.0, -9.360001)
|
||||
V 38: Pos(24.0, -7.68, -0.01) Norm(0.0, 0.0, 1.0) UV(48.0, -15.36)
|
||||
V 39: Pos(21.0, -4.68, -0.01) Norm(0.0, 0.0, 1.0) UV(42.0, -9.360001)
|
||||
V 40: Pos(24.0, -4.68, -0.01) Norm(0.0, 0.0, 1.0) UV(48.0, -9.360001)
|
||||
V 41: Pos(30.0, -4.68, -0.01) Norm(0.0, 0.0, 1.0) UV(60.0, -9.36)
|
||||
|
||||
===Triangles (Indices): 2
|
||||
===Triangles (Indices): 40
|
||||
Tri: 0 1 2
|
||||
Tri: 0 3 1
|
||||
Tri: 3 4 5
|
||||
Tri: 6 7 3
|
||||
Tri: 8 9 6
|
||||
Tri: 10 11 8
|
||||
Tri: 12 13 10
|
||||
Tri: 14 15 12
|
||||
Tri: 16 17 14
|
||||
Tri: 18 19 16
|
||||
Tri: 20 21 18
|
||||
Tri: 22 23 20
|
||||
Tri: 24 25 22
|
||||
Tri: 26 27 24
|
||||
Tri: 28 29 26
|
||||
Tri: 30 31 28
|
||||
Tri: 32 33 30
|
||||
Tri: 34 35 32
|
||||
Tri: 36 37 34
|
||||
Tri: 38 39 36
|
||||
Tri: 2 40 38
|
||||
Tri: 0 41 1
|
||||
Tri: 3 7 4
|
||||
Tri: 6 9 7
|
||||
Tri: 8 11 9
|
||||
Tri: 10 13 11
|
||||
Tri: 12 15 13
|
||||
Tri: 14 17 15
|
||||
Tri: 16 19 17
|
||||
Tri: 18 21 19
|
||||
Tri: 20 23 21
|
||||
Tri: 22 25 23
|
||||
Tri: 24 27 25
|
||||
Tri: 26 29 27
|
||||
Tri: 28 31 29
|
||||
Tri: 30 33 31
|
||||
Tri: 32 35 33
|
||||
Tri: 34 37 35
|
||||
Tri: 36 39 37
|
||||
Tri: 38 40 39
|
||||
Tri: 2 1 40
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,859 @@
|
||||
===Vertices (Split by UV/Normal): 582
|
||||
V 0: Pos(0.32, 0.0, 0.87) Norm(-0.980785, -0.19509, 0.0) UV(0.001953, 0.312667)
|
||||
V 1: Pos(0.295641, 0.122459, 0.0) Norm(-0.980785, -0.19509, 0.0) UV(0.048828, 0.001953)
|
||||
V 2: Pos(0.32, 0.0, 0.0) Norm(-0.980785, -0.19509, 0.0) UV(0.001953, 0.001953)
|
||||
V 3: Pos(0.226274, 0.226274, 0.0) Norm(0.83147, 0.55557, 0.0) UV(0.095703, 0.001953)
|
||||
V 4: Pos(0.295641, 0.122459, 0.87) Norm(0.83147, 0.55557, 0.0) UV(0.048828, 0.312667)
|
||||
V 5: Pos(0.295641, 0.122459, 0.0) Norm(0.83147, 0.55557, 0.0) UV(0.048828, 0.001953)
|
||||
V 6: Pos(0.226274, 0.226274, 0.87) Norm(-0.55557, -0.83147, 0.0) UV(0.095703, 0.312667)
|
||||
V 7: Pos(0.122459, 0.295641, 0.0) Norm(-0.55557, -0.83147, 0.0) UV(0.142578, 0.001953)
|
||||
V 8: Pos(0.226274, 0.226274, 0.0) Norm(-0.55557, -0.83147, 0.0) UV(0.095703, 0.001953)
|
||||
V 9: Pos(0.122459, 0.295641, 0.87) Norm(-0.19509, -0.980785, 0.0) UV(0.142578, 0.312667)
|
||||
V 10: Pos(0.0, 0.32, 0.0) Norm(-0.19509, -0.980785, 0.0) UV(0.189453, 0.001953)
|
||||
V 11: Pos(0.122459, 0.295641, 0.0) Norm(-0.19509, -0.980785, 0.0) UV(0.142578, 0.001953)
|
||||
V 12: Pos(0.0, 0.32, 0.87) Norm(0.19509, -0.980785, 0.0) UV(0.189453, 0.312667)
|
||||
V 13: Pos(-0.122459, 0.295641, 0.0) Norm(0.19509, -0.980785, 0.0) UV(0.236328, 0.001953)
|
||||
V 14: Pos(0.0, 0.32, 0.0) Norm(0.19509, -0.980785, 0.0) UV(0.189453, 0.001953)
|
||||
V 15: Pos(-0.226274, 0.226274, 0.0) Norm(-0.55557, 0.83147, 0.0) UV(0.283203, 0.001953)
|
||||
V 16: Pos(-0.122459, 0.295641, 0.87) Norm(-0.55557, 0.83147, 0.0) UV(0.236328, 0.312667)
|
||||
V 17: Pos(-0.122459, 0.295641, 0.0) Norm(-0.55557, 0.83147, 0.0) UV(0.236328, 0.001953)
|
||||
V 18: Pos(-0.226274, 0.226274, 0.87) Norm(0.83147, -0.55557, 0.0) UV(0.033203, 0.312667)
|
||||
V 19: Pos(-0.295641, 0.122459, 0.0) Norm(0.83147, -0.55557, 0.0) UV(0.080078, 0.001953)
|
||||
V 20: Pos(-0.226274, 0.226274, 0.0) Norm(0.83147, -0.55557, 0.0) UV(0.033203, 0.001953)
|
||||
V 21: Pos(-0.295641, 0.122459, 0.87) Norm(0.980785, -0.19509, 0.0) UV(0.080078, 0.312667)
|
||||
V 22: Pos(-0.32, 0.0, 0.0) Norm(0.980785, -0.19509, 0.0) UV(0.126953, 0.001953)
|
||||
V 23: Pos(-0.295641, 0.122459, 0.0) Norm(0.980785, -0.19509, 0.0) UV(0.080078, 0.001953)
|
||||
V 24: Pos(-0.32, 0.0, 0.87) Norm(0.980785, 0.19509, 0.0) UV(0.126953, 0.312667)
|
||||
V 25: Pos(-0.295641, -0.122459, 0.0) Norm(0.980785, 0.19509, 0.0) UV(0.173828, 0.001953)
|
||||
V 26: Pos(-0.32, 0.0, 0.0) Norm(0.980785, 0.19509, 0.0) UV(0.126953, 0.001953)
|
||||
V 27: Pos(-0.226274, -0.226274, 0.0) Norm(-0.83147, -0.55557, 0.0) UV(0.220703, 0.001953)
|
||||
V 28: Pos(-0.295641, -0.122459, 0.87) Norm(-0.83147, -0.55557, 0.0) UV(0.173828, 0.312667)
|
||||
V 29: Pos(-0.295641, -0.122459, 0.0) Norm(-0.83147, -0.55557, 0.0) UV(0.173828, 0.001953)
|
||||
V 30: Pos(-0.226274, -0.226274, 0.87) Norm(0.55557, 0.83147, 0.0) UV(0.220703, 0.312667)
|
||||
V 31: Pos(-0.122459, -0.295641, 0.0) Norm(0.55557, 0.83147, 0.0) UV(0.267578, 0.001953)
|
||||
V 32: Pos(-0.226274, -0.226274, 0.0) Norm(0.55557, 0.83147, 0.0) UV(0.220703, 0.001953)
|
||||
V 33: Pos(-0.122459, -0.295641, 0.87) Norm(0.19509, 0.980785, 0.0) UV(0.017578, 0.312667)
|
||||
V 34: Pos(0.0, -0.32, 0.0) Norm(0.19509, 0.980785, 0.0) UV(0.064453, 0.001953)
|
||||
V 35: Pos(-0.122459, -0.295641, 0.0) Norm(0.19509, 0.980785, 0.0) UV(0.017578, 0.001953)
|
||||
V 36: Pos(0.0, -0.32, 0.87) Norm(-0.19509, 0.980785, 0.0) UV(0.064453, 0.312667)
|
||||
V 37: Pos(0.122459, -0.295641, 0.0) Norm(-0.19509, 0.980785, 0.0) UV(0.111328, 0.001953)
|
||||
V 38: Pos(0.0, -0.32, 0.0) Norm(-0.19509, 0.980785, 0.0) UV(0.064453, 0.001953)
|
||||
V 39: Pos(0.226274, -0.226274, 0.0) Norm(0.55557, -0.83147, 0.0) UV(0.158203, 0.001953)
|
||||
V 40: Pos(0.122459, -0.295641, 0.87) Norm(0.55557, -0.83147, 0.0) UV(0.111328, 0.312667)
|
||||
V 41: Pos(0.122459, -0.295641, 0.0) Norm(0.55557, -0.83147, 0.0) UV(0.111328, 0.001953)
|
||||
V 42: Pos(0.226274, -0.226274, 0.87) Norm(-0.83147, 0.55557, 0.0) UV(0.158203, 0.312667)
|
||||
V 43: Pos(0.295641, -0.122459, 0.0) Norm(-0.83147, 0.55557, 0.0) UV(0.205078, 0.001953)
|
||||
V 44: Pos(0.226274, -0.226274, 0.0) Norm(-0.83147, 0.55557, 0.0) UV(0.158203, 0.001953)
|
||||
V 45: Pos(0.295641, -0.122459, 0.87) Norm(-0.980785, 0.19509, 0.0) UV(0.205078, 0.312667)
|
||||
V 46: Pos(0.32, 0.0, 0.0) Norm(-0.980785, 0.19509, 0.0) UV(0.251953, 0.001953)
|
||||
V 47: Pos(0.295641, -0.122459, 0.0) Norm(-0.980785, 0.19509, 0.0) UV(0.205078, 0.001953)
|
||||
V 48: Pos(0.324, 0.0, 0.36) Norm(0.980785, -0.19509, 0.0) UV(0.599609, 0.506836)
|
||||
V 49: Pos(0.299337, -0.123989, 0.62) Norm(0.980785, -0.19509, 0.0) UV(0.505859, 0.694336)
|
||||
V 50: Pos(0.299337, -0.123989, 0.36) Norm(0.980785, -0.19509, 0.0) UV(0.505859, 0.506836)
|
||||
V 51: Pos(0.299337, 0.123989, 0.36) Norm(0.980785, 0.19509, 0.0) UV(0.693359, 0.506836)
|
||||
V 52: Pos(0.324, 0.0, 0.62) Norm(0.980785, 0.19509, 0.0) UV(0.599609, 0.694336)
|
||||
V 53: Pos(0.324, 0.0, 0.36) Norm(0.980785, 0.19509, 0.0) UV(0.599609, 0.506836)
|
||||
V 54: Pos(0.316891, 0.13126, 0.9) Norm(0.853456, 0.169763, 0.492741) UV(0.048828, 0.505859)
|
||||
V 55: Pos(0.3345, 0.0, 0.914722) Norm(0.853456, 0.169763, 0.492741) UV(0.001953, 0.547526)
|
||||
V 56: Pos(0.343, 0.0, 0.9) Norm(0.853456, 0.169763, 0.492741) UV(0.001953, 0.505859)
|
||||
V 57: Pos(0.309038, 0.128008, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.048828, 0.547526)
|
||||
V 58: Pos(0.3175, 0.0, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.001953, 0.589193)
|
||||
V 59: Pos(0.3345, 0.0, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.001953, 0.547526)
|
||||
V 60: Pos(0.309, 0.0, 0.9) Norm(0.853455, 0.169763, -0.492742) UV(0.001953, 0.630859)
|
||||
V 61: Pos(0.293332, 0.121502, 0.914722) Norm(0.853455, 0.169763, -0.492742) UV(0.048828, 0.589193)
|
||||
V 62: Pos(0.3175, 0.0, 0.914722) Norm(0.853455, 0.169763, -0.492742) UV(0.001953, 0.589193)
|
||||
V 63: Pos(0.285479, 0.118249, 0.9) Norm(-0.853454, -0.169763, -0.492744) UV(0.048828, 0.630859)
|
||||
V 64: Pos(0.3175, 0.0, 0.885278) Norm(-0.853454, -0.169763, -0.492744) UV(0.001953, 0.672526)
|
||||
V 65: Pos(0.309, 0.0, 0.9) Norm(-0.853454, -0.169763, -0.492744) UV(0.001953, 0.630859)
|
||||
V 66: Pos(0.3175, 0.0, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.001953, 0.672526)
|
||||
V 67: Pos(0.309038, 0.128008, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.048828, 0.714193)
|
||||
V 68: Pos(0.293332, 0.121502, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.048828, 0.672526)
|
||||
V 69: Pos(0.309038, 0.128008, 0.885278) Norm(0.853455, 0.169763, -0.492742) UV(0.048828, 0.714193)
|
||||
V 70: Pos(0.343, 0.0, 0.9) Norm(0.853455, 0.169763, -0.492742) UV(0.001953, 0.755859)
|
||||
V 71: Pos(0.3345, 0.0, 0.885278) Norm(0.853455, 0.169763, -0.492742) UV(0.001953, 0.714193)
|
||||
V 72: Pos(0.309038, 0.128008, 0.914722) Norm(-0.723525, -0.483444, -0.492741) UV(0.048828, 0.547526)
|
||||
V 73: Pos(0.242538, 0.242538, 0.9) Norm(-0.723525, -0.483444, -0.492741) UV(0.095703, 0.505859)
|
||||
V 74: Pos(0.316891, 0.13126, 0.9) Norm(-0.723525, -0.483444, -0.492741) UV(0.048828, 0.505859)
|
||||
V 75: Pos(0.293332, 0.121502, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.048828, 0.589193)
|
||||
V 76: Pos(0.236527, 0.236527, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.095703, 0.547526)
|
||||
V 77: Pos(0.309038, 0.128008, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.048828, 0.547526)
|
||||
V 78: Pos(0.285479, 0.118249, 0.9) Norm(0.723525, 0.483444, -0.492742) UV(0.048828, 0.630859)
|
||||
V 79: Pos(0.224506, 0.224506, 0.914722) Norm(0.723525, 0.483444, -0.492742) UV(0.095703, 0.589193)
|
||||
V 80: Pos(0.293332, 0.121502, 0.914722) Norm(0.723525, 0.483444, -0.492742) UV(0.048828, 0.589193)
|
||||
V 81: Pos(0.293332, 0.121502, 0.885278) Norm(0.723524, 0.483443, 0.492743) UV(0.048828, 0.672526)
|
||||
V 82: Pos(0.218496, 0.218496, 0.9) Norm(0.723524, 0.483443, 0.492743) UV(0.095703, 0.630859)
|
||||
V 83: Pos(0.285479, 0.118249, 0.9) Norm(0.723524, 0.483443, 0.492743) UV(0.048828, 0.630859)
|
||||
V 84: Pos(0.224506, 0.224506, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.095703, 0.672526)
|
||||
V 85: Pos(0.309038, 0.128008, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.048828, 0.714193)
|
||||
V 86: Pos(0.293332, 0.121502, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.048828, 0.672526)
|
||||
V 87: Pos(0.236527, 0.236527, 0.885278) Norm(0.723524, 0.483443, -0.492743) UV(0.095703, 0.714193)
|
||||
V 88: Pos(0.316891, 0.13126, 0.9) Norm(0.723524, 0.483443, -0.492743) UV(0.048828, 0.755859)
|
||||
V 89: Pos(0.309038, 0.128008, 0.885278) Norm(0.723524, 0.483443, -0.492743) UV(0.048828, 0.714193)
|
||||
V 90: Pos(0.236527, 0.236527, 0.914722) Norm(-0.483443, -0.723524, -0.492742) UV(0.095703, 0.547526)
|
||||
V 91: Pos(0.13126, 0.316891, 0.9) Norm(-0.483443, -0.723524, -0.492742) UV(0.142578, 0.505859)
|
||||
V 92: Pos(0.242538, 0.242538, 0.9) Norm(-0.483443, -0.723524, -0.492742) UV(0.095703, 0.505859)
|
||||
V 93: Pos(0.224506, 0.224506, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.095703, 0.589193)
|
||||
V 94: Pos(0.128008, 0.309038, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.142578, 0.547526)
|
||||
V 95: Pos(0.121502, 0.293332, 0.914722) Norm(-0.483444, -0.723525, 0.492742) UV(0.142578, 0.589193)
|
||||
V 96: Pos(0.218496, 0.218496, 0.9) Norm(-0.483444, -0.723525, 0.492742) UV(0.095703, 0.630859)
|
||||
V 97: Pos(0.224506, 0.224506, 0.914722) Norm(-0.483444, -0.723525, 0.492742) UV(0.095703, 0.589193)
|
||||
V 98: Pos(0.118249, 0.285479, 0.9) Norm(-0.483443, -0.723524, -0.492743) UV(0.142578, 0.630859)
|
||||
V 99: Pos(0.224506, 0.224506, 0.885278) Norm(-0.483443, -0.723524, -0.492743) UV(0.095703, 0.672526)
|
||||
V 100: Pos(0.218496, 0.218496, 0.9) Norm(-0.483443, -0.723524, -0.492743) UV(0.095703, 0.630859)
|
||||
V 101: Pos(0.121502, 0.293332, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.142578, 0.672526)
|
||||
V 102: Pos(0.236527, 0.236527, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.095703, 0.714193)
|
||||
V 103: Pos(0.128008, 0.309038, 0.885278) Norm(0.483443, 0.723524, -0.492743) UV(0.142578, 0.714193)
|
||||
V 104: Pos(0.242538, 0.242538, 0.9) Norm(0.483443, 0.723524, -0.492743) UV(0.095703, 0.755859)
|
||||
V 105: Pos(0.236527, 0.236527, 0.885278) Norm(0.483443, 0.723524, -0.492743) UV(0.095703, 0.714193)
|
||||
V 106: Pos(0.0, 0.343, 0.9) Norm(0.169763, 0.853456, 0.492741) UV(0.189453, 0.505859)
|
||||
V 107: Pos(0.128008, 0.309038, 0.914722) Norm(0.169763, 0.853456, 0.492741) UV(0.142578, 0.547526)
|
||||
V 108: Pos(0.13126, 0.316891, 0.9) Norm(0.169763, 0.853456, 0.492741) UV(0.142578, 0.505859)
|
||||
V 109: Pos(0.128008, 0.309038, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.142578, 0.547526)
|
||||
V 110: Pos(0.0, 0.3175, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.189453, 0.589193)
|
||||
V 111: Pos(0.121502, 0.293332, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.142578, 0.589193)
|
||||
V 112: Pos(0.118249, 0.285479, 0.9) Norm(0.169763, 0.853456, -0.492741) UV(0.142578, 0.630859)
|
||||
V 113: Pos(0.0, 0.3175, 0.914722) Norm(0.169763, 0.853456, -0.492741) UV(0.189453, 0.589193)
|
||||
V 114: Pos(0.121502, 0.293332, 0.914722) Norm(0.169763, 0.853456, -0.492741) UV(0.142578, 0.589193)
|
||||
V 115: Pos(0.0, 0.309, 0.9) Norm(-0.169763, -0.853455, -0.492743) UV(0.189453, 0.630859)
|
||||
V 116: Pos(0.121502, 0.293332, 0.885278) Norm(-0.169763, -0.853455, -0.492743) UV(0.142578, 0.672526)
|
||||
V 117: Pos(0.118249, 0.285479, 0.9) Norm(-0.169763, -0.853455, -0.492743) UV(0.142578, 0.630859)
|
||||
V 118: Pos(0.128008, 0.309038, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.142578, 0.714193)
|
||||
V 119: Pos(0.0, 0.3175, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.189453, 0.672526)
|
||||
V 120: Pos(0.121502, 0.293332, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.142578, 0.672526)
|
||||
V 121: Pos(0.0, 0.3345, 0.885278) Norm(0.169763, 0.853455, -0.492743) UV(0.189453, 0.714193)
|
||||
V 122: Pos(0.13126, 0.316891, 0.9) Norm(0.169763, 0.853455, -0.492743) UV(0.142578, 0.755859)
|
||||
V 123: Pos(0.128008, 0.309038, 0.885278) Norm(0.169763, 0.853455, -0.492743) UV(0.142578, 0.714193)
|
||||
V 124: Pos(-0.13126, 0.316891, 0.9) Norm(-0.169763, 0.853456, 0.492741) UV(0.236328, 0.505859)
|
||||
V 125: Pos(0.0, 0.3345, 0.914722) Norm(-0.169763, 0.853456, 0.492741) UV(0.189453, 0.547526)
|
||||
V 126: Pos(0.0, 0.343, 0.9) Norm(-0.169763, 0.853456, 0.492741) UV(0.189453, 0.505859)
|
||||
V 127: Pos(-0.128008, 0.309038, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.236328, 0.547526)
|
||||
V 128: Pos(0.0, 0.3345, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.189453, 0.547526)
|
||||
V 129: Pos(0.0, 0.309, 0.9) Norm(-0.169763, 0.853455, -0.492742) UV(0.189453, 0.630859)
|
||||
V 130: Pos(-0.121502, 0.293332, 0.914722) Norm(-0.169763, 0.853455, -0.492742) UV(0.236328, 0.589193)
|
||||
V 131: Pos(0.0, 0.3175, 0.914722) Norm(-0.169763, 0.853455, -0.492742) UV(0.189453, 0.589193)
|
||||
V 132: Pos(-0.118249, 0.285479, 0.9) Norm(0.169763, -0.853454, -0.492744) UV(0.236328, 0.630859)
|
||||
V 133: Pos(0.0, 0.3175, 0.885278) Norm(0.169763, -0.853454, -0.492744) UV(0.189453, 0.672526)
|
||||
V 134: Pos(0.0, 0.309, 0.9) Norm(0.169763, -0.853454, -0.492744) UV(0.189453, 0.630859)
|
||||
V 135: Pos(-0.128008, 0.309038, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.236328, 0.714193)
|
||||
V 136: Pos(-0.121502, 0.293332, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.236328, 0.672526)
|
||||
V 137: Pos(-0.128008, 0.309038, 0.885278) Norm(-0.169763, 0.853455, -0.492742) UV(0.236328, 0.714193)
|
||||
V 138: Pos(0.0, 0.343, 0.9) Norm(-0.169763, 0.853455, -0.492742) UV(0.189453, 0.755859)
|
||||
V 139: Pos(0.0, 0.3345, 0.885278) Norm(-0.169763, 0.853455, -0.492742) UV(0.189453, 0.714193)
|
||||
V 140: Pos(-0.128008, 0.309038, 0.914722) Norm(0.483444, -0.723525, -0.492741) UV(0.236328, 0.547526)
|
||||
V 141: Pos(-0.242538, 0.242538, 0.9) Norm(0.483444, -0.723525, -0.492741) UV(0.283203, 0.505859)
|
||||
V 142: Pos(-0.13126, 0.316891, 0.9) Norm(0.483444, -0.723525, -0.492741) UV(0.236328, 0.505859)
|
||||
V 143: Pos(-0.121502, 0.293332, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.236328, 0.589193)
|
||||
V 144: Pos(-0.236527, 0.236527, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.283203, 0.547526)
|
||||
V 145: Pos(-0.128008, 0.309038, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.236328, 0.547526)
|
||||
V 146: Pos(-0.224506, 0.224506, 0.914722) Norm(0.483444, -0.723525, 0.492742) UV(0.283203, 0.589193)
|
||||
V 147: Pos(-0.118249, 0.285479, 0.9) Norm(0.483444, -0.723525, 0.492742) UV(0.236328, 0.630859)
|
||||
V 148: Pos(-0.121502, 0.293332, 0.914722) Norm(0.483444, -0.723525, 0.492742) UV(0.236328, 0.589193)
|
||||
V 149: Pos(-0.121502, 0.293332, 0.885278) Norm(-0.483443, 0.723524, 0.492743) UV(0.236328, 0.672526)
|
||||
V 150: Pos(-0.218496, 0.218496, 0.9) Norm(-0.483443, 0.723524, 0.492743) UV(0.283203, 0.630859)
|
||||
V 151: Pos(-0.118249, 0.285479, 0.9) Norm(-0.483443, 0.723524, 0.492743) UV(0.236328, 0.630859)
|
||||
V 152: Pos(-0.224506, 0.224506, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.283203, 0.672526)
|
||||
V 153: Pos(-0.128008, 0.309038, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.236328, 0.714193)
|
||||
V 154: Pos(-0.121502, 0.293332, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.236328, 0.672526)
|
||||
V 155: Pos(-0.13126, 0.316891, 0.9) Norm(0.483443, -0.723524, 0.492743) UV(0.236328, 0.755859)
|
||||
V 156: Pos(-0.236527, 0.236527, 0.885278) Norm(0.483443, -0.723524, 0.492743) UV(0.283203, 0.714193)
|
||||
V 157: Pos(-0.128008, 0.309038, 0.885278) Norm(0.483443, -0.723524, 0.492743) UV(0.236328, 0.714193)
|
||||
V 158: Pos(-0.236527, 0.236527, 0.914722) Norm(0.723524, -0.483443, -0.492742) UV(0.033203, 0.547526)
|
||||
V 159: Pos(-0.316891, 0.13126, 0.9) Norm(0.723524, -0.483443, -0.492742) UV(0.080078, 0.505859)
|
||||
V 160: Pos(-0.242538, 0.242538, 0.9) Norm(0.723524, -0.483443, -0.492742) UV(0.033203, 0.505859)
|
||||
V 161: Pos(-0.309038, 0.128008, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.080078, 0.547526)
|
||||
V 162: Pos(-0.224506, 0.224506, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.033203, 0.589193)
|
||||
V 163: Pos(-0.236527, 0.236527, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.033203, 0.547526)
|
||||
V 164: Pos(-0.218496, 0.218496, 0.9) Norm(-0.723525, 0.483444, -0.492742) UV(0.033203, 0.630859)
|
||||
V 165: Pos(-0.293332, 0.121502, 0.914722) Norm(-0.723525, 0.483444, -0.492742) UV(0.080078, 0.589193)
|
||||
V 166: Pos(-0.224506, 0.224506, 0.914722) Norm(-0.723525, 0.483444, -0.492742) UV(0.033203, 0.589193)
|
||||
V 167: Pos(-0.224506, 0.224506, 0.885278) Norm(-0.723524, 0.483443, 0.492743) UV(0.033203, 0.672526)
|
||||
V 168: Pos(-0.285479, 0.118249, 0.9) Norm(-0.723524, 0.483443, 0.492743) UV(0.080078, 0.630859)
|
||||
V 169: Pos(-0.218496, 0.218496, 0.9) Norm(-0.723524, 0.483443, 0.492743) UV(0.033203, 0.630859)
|
||||
V 170: Pos(-0.293332, 0.121502, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.080078, 0.672526)
|
||||
V 171: Pos(-0.236527, 0.236527, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.033203, 0.714193)
|
||||
V 172: Pos(-0.224506, 0.224506, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.033203, 0.672526)
|
||||
V 173: Pos(-0.309038, 0.128008, 0.885278) Norm(-0.723524, 0.483443, -0.492743) UV(0.080078, 0.714193)
|
||||
V 174: Pos(-0.242538, 0.242538, 0.9) Norm(-0.723524, 0.483443, -0.492743) UV(0.033203, 0.755859)
|
||||
V 175: Pos(-0.236527, 0.236527, 0.885278) Norm(-0.723524, 0.483443, -0.492743) UV(0.033203, 0.714193)
|
||||
V 176: Pos(-0.343, 0.0, 0.9) Norm(-0.853456, 0.169763, 0.492741) UV(0.126953, 0.505859)
|
||||
V 177: Pos(-0.309038, 0.128008, 0.914722) Norm(-0.853456, 0.169763, 0.492741) UV(0.080078, 0.547526)
|
||||
V 178: Pos(-0.316891, 0.13126, 0.9) Norm(-0.853456, 0.169763, 0.492741) UV(0.080078, 0.505859)
|
||||
V 179: Pos(-0.3175, 0.0, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.126953, 0.589193)
|
||||
V 180: Pos(-0.293332, 0.121502, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.080078, 0.589193)
|
||||
V 181: Pos(-0.285479, 0.118249, 0.9) Norm(-0.853456, 0.169763, -0.492741) UV(0.080078, 0.630859)
|
||||
V 182: Pos(-0.3175, 0.0, 0.914722) Norm(-0.853456, 0.169763, -0.492741) UV(0.126953, 0.589193)
|
||||
V 183: Pos(-0.293332, 0.121502, 0.914722) Norm(-0.853456, 0.169763, -0.492741) UV(0.080078, 0.589193)
|
||||
V 184: Pos(-0.309, 0.0, 0.9) Norm(0.853455, -0.169763, -0.492743) UV(0.126953, 0.630859)
|
||||
V 185: Pos(-0.293332, 0.121502, 0.885278) Norm(0.853455, -0.169763, -0.492743) UV(0.080078, 0.672526)
|
||||
V 186: Pos(-0.285479, 0.118249, 0.9) Norm(0.853455, -0.169763, -0.492743) UV(0.080078, 0.630859)
|
||||
V 187: Pos(-0.309038, 0.128008, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.080078, 0.714193)
|
||||
V 188: Pos(-0.3175, 0.0, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.126953, 0.672526)
|
||||
V 189: Pos(-0.293332, 0.121502, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.080078, 0.672526)
|
||||
V 190: Pos(-0.3345, 0.0, 0.885278) Norm(-0.853455, 0.169763, -0.492743) UV(0.126953, 0.714193)
|
||||
V 191: Pos(-0.316891, 0.13126, 0.9) Norm(-0.853455, 0.169763, -0.492743) UV(0.080078, 0.755859)
|
||||
V 192: Pos(-0.309038, 0.128008, 0.885278) Norm(-0.853455, 0.169763, -0.492743) UV(0.080078, 0.714193)
|
||||
V 193: Pos(-0.316891, -0.13126, 0.9) Norm(-0.853456, -0.169763, 0.492741) UV(0.173828, 0.505859)
|
||||
V 194: Pos(-0.3345, 0.0, 0.914722) Norm(-0.853456, -0.169763, 0.492741) UV(0.126953, 0.547526)
|
||||
V 195: Pos(-0.343, 0.0, 0.9) Norm(-0.853456, -0.169763, 0.492741) UV(0.126953, 0.505859)
|
||||
V 196: Pos(-0.309038, -0.128008, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.173828, 0.547526)
|
||||
V 197: Pos(-0.3345, 0.0, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.126953, 0.547526)
|
||||
V 198: Pos(-0.309, 0.0, 0.9) Norm(-0.853455, -0.169763, -0.492742) UV(0.126953, 0.630859)
|
||||
V 199: Pos(-0.293332, -0.121502, 0.914722) Norm(-0.853455, -0.169763, -0.492742) UV(0.173828, 0.589193)
|
||||
V 200: Pos(-0.3175, 0.0, 0.914722) Norm(-0.853455, -0.169763, -0.492742) UV(0.126953, 0.589193)
|
||||
V 201: Pos(-0.285479, -0.118249, 0.9) Norm(0.853454, 0.169763, -0.492744) UV(0.173828, 0.630859)
|
||||
V 202: Pos(-0.3175, 0.0, 0.885278) Norm(0.853454, 0.169763, -0.492744) UV(0.126953, 0.672526)
|
||||
V 203: Pos(-0.309, 0.0, 0.9) Norm(0.853454, 0.169763, -0.492744) UV(0.126953, 0.630859)
|
||||
V 204: Pos(-0.309038, -0.128008, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.173828, 0.714193)
|
||||
V 205: Pos(-0.293332, -0.121502, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.173828, 0.672526)
|
||||
V 206: Pos(-0.309038, -0.128008, 0.885278) Norm(-0.853455, -0.169763, -0.492742) UV(0.173828, 0.714193)
|
||||
V 207: Pos(-0.343, 0.0, 0.9) Norm(-0.853455, -0.169763, -0.492742) UV(0.126953, 0.755859)
|
||||
V 208: Pos(-0.3345, 0.0, 0.885278) Norm(-0.853455, -0.169763, -0.492742) UV(0.126953, 0.714193)
|
||||
V 209: Pos(-0.309038, -0.128008, 0.914722) Norm(0.723525, 0.483444, -0.492741) UV(0.173828, 0.547526)
|
||||
V 210: Pos(-0.242538, -0.242538, 0.9) Norm(0.723525, 0.483444, -0.492741) UV(0.220703, 0.505859)
|
||||
V 211: Pos(-0.316891, -0.13126, 0.9) Norm(0.723525, 0.483444, -0.492741) UV(0.173828, 0.505859)
|
||||
V 212: Pos(-0.293332, -0.121502, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.173828, 0.589193)
|
||||
V 213: Pos(-0.236527, -0.236527, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.220703, 0.547526)
|
||||
V 214: Pos(-0.309038, -0.128008, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.173828, 0.547526)
|
||||
V 215: Pos(-0.285479, -0.118249, 0.9) Norm(-0.723525, -0.483444, -0.492742) UV(0.173828, 0.630859)
|
||||
V 216: Pos(-0.224506, -0.224506, 0.914722) Norm(-0.723525, -0.483444, -0.492742) UV(0.220703, 0.589193)
|
||||
V 217: Pos(-0.293332, -0.121502, 0.914722) Norm(-0.723525, -0.483444, -0.492742) UV(0.173828, 0.589193)
|
||||
V 218: Pos(-0.293332, -0.121502, 0.885278) Norm(-0.723524, -0.483443, 0.492743) UV(0.173828, 0.672526)
|
||||
V 219: Pos(-0.218496, -0.218496, 0.9) Norm(-0.723524, -0.483443, 0.492743) UV(0.220703, 0.630859)
|
||||
V 220: Pos(-0.285479, -0.118249, 0.9) Norm(-0.723524, -0.483443, 0.492743) UV(0.173828, 0.630859)
|
||||
V 221: Pos(-0.224506, -0.224506, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.220703, 0.672526)
|
||||
V 222: Pos(-0.309038, -0.128008, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.173828, 0.714193)
|
||||
V 223: Pos(-0.293332, -0.121502, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.173828, 0.672526)
|
||||
V 224: Pos(-0.236527, -0.236527, 0.885278) Norm(-0.723524, -0.483443, -0.492743) UV(0.220703, 0.714193)
|
||||
V 225: Pos(-0.316891, -0.13126, 0.9) Norm(-0.723524, -0.483443, -0.492743) UV(0.173828, 0.755859)
|
||||
V 226: Pos(-0.309038, -0.128008, 0.885278) Norm(-0.723524, -0.483443, -0.492743) UV(0.173828, 0.714193)
|
||||
V 227: Pos(-0.236527, -0.236527, 0.914722) Norm(0.483443, 0.723524, -0.492742) UV(0.220703, 0.547526)
|
||||
V 228: Pos(-0.13126, -0.316891, 0.9) Norm(0.483443, 0.723524, -0.492742) UV(0.267578, 0.505859)
|
||||
V 229: Pos(-0.242538, -0.242538, 0.9) Norm(0.483443, 0.723524, -0.492742) UV(0.220703, 0.505859)
|
||||
V 230: Pos(-0.224506, -0.224506, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.220703, 0.589193)
|
||||
V 231: Pos(-0.128008, -0.309038, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.267578, 0.547526)
|
||||
V 232: Pos(-0.121502, -0.293332, 0.914722) Norm(0.483444, 0.723525, 0.492742) UV(0.267578, 0.589193)
|
||||
V 233: Pos(-0.218496, -0.218496, 0.9) Norm(0.483444, 0.723525, 0.492742) UV(0.220703, 0.630859)
|
||||
V 234: Pos(-0.224506, -0.224506, 0.914722) Norm(0.483444, 0.723525, 0.492742) UV(0.220703, 0.589193)
|
||||
V 235: Pos(-0.118249, -0.285479, 0.9) Norm(0.483443, 0.723524, -0.492743) UV(0.267578, 0.630859)
|
||||
V 236: Pos(-0.224506, -0.224506, 0.885278) Norm(0.483443, 0.723524, -0.492743) UV(0.220703, 0.672526)
|
||||
V 237: Pos(-0.218496, -0.218496, 0.9) Norm(0.483443, 0.723524, -0.492743) UV(0.220703, 0.630859)
|
||||
V 238: Pos(-0.121502, -0.293332, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.267578, 0.672526)
|
||||
V 239: Pos(-0.236527, -0.236527, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.220703, 0.714193)
|
||||
V 240: Pos(-0.128008, -0.309038, 0.885278) Norm(-0.483443, -0.723524, -0.492743) UV(0.267578, 0.714193)
|
||||
V 241: Pos(-0.242538, -0.242538, 0.9) Norm(-0.483443, -0.723524, -0.492743) UV(0.220703, 0.755859)
|
||||
V 242: Pos(-0.236527, -0.236527, 0.885278) Norm(-0.483443, -0.723524, -0.492743) UV(0.220703, 0.714193)
|
||||
V 243: Pos(0.0, -0.343, 0.9) Norm(-0.169763, -0.853456, 0.492741) UV(0.064453, 0.505859)
|
||||
V 244: Pos(-0.128008, -0.309038, 0.914722) Norm(-0.169763, -0.853456, 0.492741) UV(0.017578, 0.547526)
|
||||
V 245: Pos(-0.13126, -0.316891, 0.9) Norm(-0.169763, -0.853456, 0.492741) UV(0.017578, 0.505859)
|
||||
V 246: Pos(-0.128008, -0.309038, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.017578, 0.547526)
|
||||
V 247: Pos(0.0, -0.3175, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.064453, 0.589193)
|
||||
V 248: Pos(-0.121502, -0.293332, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.017578, 0.589193)
|
||||
V 249: Pos(-0.118249, -0.285479, 0.9) Norm(-0.169763, -0.853456, -0.492741) UV(0.017578, 0.630859)
|
||||
V 250: Pos(0.0, -0.3175, 0.914722) Norm(-0.169763, -0.853456, -0.492741) UV(0.064453, 0.589193)
|
||||
V 251: Pos(-0.121502, -0.293332, 0.914722) Norm(-0.169763, -0.853456, -0.492741) UV(0.017578, 0.589193)
|
||||
V 252: Pos(0.0, -0.309, 0.9) Norm(0.169763, 0.853455, -0.492743) UV(0.064453, 0.630859)
|
||||
V 253: Pos(-0.121502, -0.293332, 0.885278) Norm(0.169763, 0.853455, -0.492743) UV(0.017578, 0.672526)
|
||||
V 254: Pos(-0.118249, -0.285479, 0.9) Norm(0.169763, 0.853455, -0.492743) UV(0.017578, 0.630859)
|
||||
V 255: Pos(-0.128008, -0.309038, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.017578, 0.714193)
|
||||
V 256: Pos(0.0, -0.3175, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.064453, 0.672526)
|
||||
V 257: Pos(-0.121502, -0.293332, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.017578, 0.672526)
|
||||
V 258: Pos(0.0, -0.3345, 0.885278) Norm(-0.169763, -0.853455, -0.492743) UV(0.064453, 0.714193)
|
||||
V 259: Pos(-0.13126, -0.316891, 0.9) Norm(-0.169763, -0.853455, -0.492743) UV(0.017578, 0.755859)
|
||||
V 260: Pos(-0.128008, -0.309038, 0.885278) Norm(-0.169763, -0.853455, -0.492743) UV(0.017578, 0.714193)
|
||||
V 261: Pos(0.13126, -0.316891, 0.9) Norm(0.169763, -0.853456, 0.492741) UV(0.111328, 0.505859)
|
||||
V 262: Pos(0.0, -0.3345, 0.914722) Norm(0.169763, -0.853456, 0.492741) UV(0.064453, 0.547526)
|
||||
V 263: Pos(0.0, -0.343, 0.9) Norm(0.169763, -0.853456, 0.492741) UV(0.064453, 0.505859)
|
||||
V 264: Pos(0.128008, -0.309038, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.111328, 0.547526)
|
||||
V 265: Pos(0.0, -0.3345, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.064453, 0.547526)
|
||||
V 266: Pos(0.0, -0.309, 0.9) Norm(0.169763, -0.853455, -0.492742) UV(0.064453, 0.630859)
|
||||
V 267: Pos(0.121502, -0.293332, 0.914722) Norm(0.169763, -0.853455, -0.492742) UV(0.111328, 0.589193)
|
||||
V 268: Pos(0.0, -0.3175, 0.914722) Norm(0.169763, -0.853455, -0.492742) UV(0.064453, 0.589193)
|
||||
V 269: Pos(0.118249, -0.285479, 0.9) Norm(-0.169763, 0.853454, -0.492744) UV(0.111328, 0.630859)
|
||||
V 270: Pos(0.0, -0.3175, 0.885278) Norm(-0.169763, 0.853454, -0.492744) UV(0.064453, 0.672526)
|
||||
V 271: Pos(0.0, -0.309, 0.9) Norm(-0.169763, 0.853454, -0.492744) UV(0.064453, 0.630859)
|
||||
V 272: Pos(0.128008, -0.309038, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.111328, 0.714193)
|
||||
V 273: Pos(0.121502, -0.293332, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.111328, 0.672526)
|
||||
V 274: Pos(0.128008, -0.309038, 0.885278) Norm(0.169763, -0.853455, -0.492742) UV(0.111328, 0.714193)
|
||||
V 275: Pos(0.0, -0.343, 0.9) Norm(0.169763, -0.853455, -0.492742) UV(0.064453, 0.755859)
|
||||
V 276: Pos(0.0, -0.3345, 0.885278) Norm(0.169763, -0.853455, -0.492742) UV(0.064453, 0.714193)
|
||||
V 277: Pos(0.128008, -0.309038, 0.914722) Norm(-0.483444, 0.723525, -0.492741) UV(0.111328, 0.547526)
|
||||
V 278: Pos(0.242538, -0.242538, 0.9) Norm(-0.483444, 0.723525, -0.492741) UV(0.158203, 0.505859)
|
||||
V 279: Pos(0.13126, -0.316891, 0.9) Norm(-0.483444, 0.723525, -0.492741) UV(0.111328, 0.505859)
|
||||
V 280: Pos(0.121502, -0.293332, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.111328, 0.589193)
|
||||
V 281: Pos(0.236527, -0.236527, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.158203, 0.547526)
|
||||
V 282: Pos(0.128008, -0.309038, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.111328, 0.547526)
|
||||
V 283: Pos(0.224506, -0.224506, 0.914722) Norm(-0.483444, 0.723525, 0.492742) UV(0.158203, 0.589193)
|
||||
V 284: Pos(0.118249, -0.285479, 0.9) Norm(-0.483444, 0.723525, 0.492742) UV(0.111328, 0.630859)
|
||||
V 285: Pos(0.121502, -0.293332, 0.914722) Norm(-0.483444, 0.723525, 0.492742) UV(0.111328, 0.589193)
|
||||
V 286: Pos(0.121502, -0.293332, 0.885278) Norm(0.483443, -0.723524, 0.492743) UV(0.111328, 0.672526)
|
||||
V 287: Pos(0.218496, -0.218496, 0.9) Norm(0.483443, -0.723524, 0.492743) UV(0.158203, 0.630859)
|
||||
V 288: Pos(0.118249, -0.285479, 0.9) Norm(0.483443, -0.723524, 0.492743) UV(0.111328, 0.630859)
|
||||
V 289: Pos(0.224506, -0.224506, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.158203, 0.672526)
|
||||
V 290: Pos(0.128008, -0.309038, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.111328, 0.714193)
|
||||
V 291: Pos(0.121502, -0.293332, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.111328, 0.672526)
|
||||
V 292: Pos(0.13126, -0.316891, 0.9) Norm(-0.483443, 0.723524, 0.492743) UV(0.111328, 0.755859)
|
||||
V 293: Pos(0.236527, -0.236527, 0.885278) Norm(-0.483443, 0.723524, 0.492743) UV(0.158203, 0.714193)
|
||||
V 294: Pos(0.128008, -0.309038, 0.885278) Norm(-0.483443, 0.723524, 0.492743) UV(0.111328, 0.714193)
|
||||
V 295: Pos(0.236527, -0.236527, 0.914722) Norm(-0.723524, 0.483443, -0.492742) UV(0.158203, 0.547526)
|
||||
V 296: Pos(0.316891, -0.13126, 0.9) Norm(-0.723524, 0.483443, -0.492742) UV(0.205078, 0.505859)
|
||||
V 297: Pos(0.242538, -0.242538, 0.9) Norm(-0.723524, 0.483443, -0.492742) UV(0.158203, 0.505859)
|
||||
V 298: Pos(0.309038, -0.128008, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.205078, 0.547526)
|
||||
V 299: Pos(0.224506, -0.224506, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.158203, 0.589193)
|
||||
V 300: Pos(0.236527, -0.236527, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.158203, 0.547526)
|
||||
V 301: Pos(0.218496, -0.218496, 0.9) Norm(0.723525, -0.483444, -0.492742) UV(0.158203, 0.630859)
|
||||
V 302: Pos(0.293332, -0.121502, 0.914722) Norm(0.723525, -0.483444, -0.492742) UV(0.205078, 0.589193)
|
||||
V 303: Pos(0.224506, -0.224506, 0.914722) Norm(0.723525, -0.483444, -0.492742) UV(0.158203, 0.589193)
|
||||
V 304: Pos(0.224506, -0.224506, 0.885278) Norm(0.723524, -0.483443, 0.492743) UV(0.158203, 0.672526)
|
||||
V 305: Pos(0.285479, -0.118249, 0.9) Norm(0.723524, -0.483443, 0.492743) UV(0.205078, 0.630859)
|
||||
V 306: Pos(0.218496, -0.218496, 0.9) Norm(0.723524, -0.483443, 0.492743) UV(0.158203, 0.630859)
|
||||
V 307: Pos(0.293332, -0.121502, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.205078, 0.672526)
|
||||
V 308: Pos(0.236527, -0.236527, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.158203, 0.714193)
|
||||
V 309: Pos(0.309038, -0.128008, 0.885278) Norm(0.723524, -0.483443, -0.492743) UV(0.205078, 0.714193)
|
||||
V 310: Pos(0.242538, -0.242538, 0.9) Norm(0.723524, -0.483443, -0.492743) UV(0.158203, 0.755859)
|
||||
V 311: Pos(0.236527, -0.236527, 0.885278) Norm(0.723524, -0.483443, -0.492743) UV(0.158203, 0.714193)
|
||||
V 312: Pos(0.343, 0.0, 0.9) Norm(0.853456, -0.169763, 0.492741) UV(0.251953, 0.505859)
|
||||
V 313: Pos(0.309038, -0.128008, 0.914722) Norm(0.853456, -0.169763, 0.492741) UV(0.205078, 0.547526)
|
||||
V 314: Pos(0.316891, -0.13126, 0.9) Norm(0.853456, -0.169763, 0.492741) UV(0.205078, 0.505859)
|
||||
V 315: Pos(0.3175, 0.0, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.251953, 0.589193)
|
||||
V 316: Pos(0.293332, -0.121502, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.205078, 0.589193)
|
||||
V 317: Pos(0.285479, -0.118249, 0.9) Norm(0.853456, -0.169763, -0.492741) UV(0.205078, 0.630859)
|
||||
V 318: Pos(0.3175, 0.0, 0.914722) Norm(0.853456, -0.169763, -0.492741) UV(0.251953, 0.589193)
|
||||
V 319: Pos(0.293332, -0.121502, 0.914722) Norm(0.853456, -0.169763, -0.492741) UV(0.205078, 0.589193)
|
||||
V 320: Pos(0.309, 0.0, 0.9) Norm(-0.853455, 0.169763, -0.492743) UV(0.251953, 0.630859)
|
||||
V 321: Pos(0.293332, -0.121502, 0.885278) Norm(-0.853455, 0.169763, -0.492743) UV(0.205078, 0.672526)
|
||||
V 322: Pos(0.285479, -0.118249, 0.9) Norm(-0.853455, 0.169763, -0.492743) UV(0.205078, 0.630859)
|
||||
V 323: Pos(0.309038, -0.128008, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.205078, 0.714193)
|
||||
V 324: Pos(0.3175, 0.0, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.251953, 0.672526)
|
||||
V 325: Pos(0.293332, -0.121502, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.205078, 0.672526)
|
||||
V 326: Pos(0.3345, 0.0, 0.885278) Norm(0.853455, -0.169763, -0.492743) UV(0.251953, 0.714193)
|
||||
V 327: Pos(0.316891, -0.13126, 0.9) Norm(0.853455, -0.169763, -0.492743) UV(0.205078, 0.755859)
|
||||
V 328: Pos(0.309038, -0.128008, 0.885278) Norm(0.853455, -0.169763, -0.492743) UV(0.205078, 0.714193)
|
||||
V 329: Pos(0.308, 0.0, 0.35) Norm(-0.980785, -0.19509, 0.0) UV(0.505859, 0.001953)
|
||||
V 330: Pos(0.284555, 0.117866, 0.88) Norm(-0.980785, -0.19509, 0.0) UV(0.552734, 0.345703)
|
||||
V 331: Pos(0.284555, 0.117866, 0.35) Norm(-0.980785, -0.19509, 0.0) UV(0.552734, 0.001953)
|
||||
V 332: Pos(0.284555, 0.117866, 0.35) Norm(-0.83147, -0.55557, 0.0) UV(0.552734, 0.001953)
|
||||
V 333: Pos(0.217789, 0.217789, 0.88) Norm(-0.83147, -0.55557, 0.0) UV(0.599609, 0.345703)
|
||||
V 334: Pos(0.217789, 0.217789, 0.35) Norm(-0.83147, -0.55557, 0.0) UV(0.599609, 0.001953)
|
||||
V 335: Pos(0.217789, 0.217789, 0.35) Norm(-0.55557, -0.83147, 0.0) UV(0.599609, 0.001953)
|
||||
V 336: Pos(0.117866, 0.284555, 0.88) Norm(-0.55557, -0.83147, 0.0) UV(0.646484, 0.345703)
|
||||
V 337: Pos(0.117866, 0.284555, 0.35) Norm(-0.55557, -0.83147, 0.0) UV(0.646484, 0.001953)
|
||||
V 338: Pos(0.117866, 0.284555, 0.35) Norm(-0.19509, -0.980785, 0.0) UV(0.646484, 0.001953)
|
||||
V 339: Pos(0.0, 0.308, 0.88) Norm(-0.19509, -0.980785, 0.0) UV(0.693359, 0.345703)
|
||||
V 340: Pos(0.0, 0.308, 0.35) Norm(-0.19509, -0.980785, 0.0) UV(0.693359, 0.001953)
|
||||
V 341: Pos(0.0, 0.308, 0.35) Norm(0.19509, -0.980785, 0.0) UV(0.693359, 0.001953)
|
||||
V 342: Pos(-0.117866, 0.284555, 0.88) Norm(0.19509, -0.980785, 0.0) UV(0.740234, 0.345703)
|
||||
V 343: Pos(-0.117866, 0.284555, 0.35) Norm(0.19509, -0.980785, 0.0) UV(0.740234, 0.001953)
|
||||
V 344: Pos(-0.117866, 0.284555, 0.35) Norm(0.55557, -0.83147, 0.0) UV(0.740234, 0.001953)
|
||||
V 345: Pos(-0.217789, 0.217789, 0.88) Norm(0.55557, -0.83147, 0.0) UV(0.787109, 0.345703)
|
||||
V 346: Pos(-0.217789, 0.217789, 0.35) Norm(0.55557, -0.83147, 0.0) UV(0.787109, 0.001953)
|
||||
V 347: Pos(-0.217789, 0.217789, 0.35) Norm(0.83147, -0.55557, 0.0) UV(0.787109, 0.001953)
|
||||
V 348: Pos(-0.284555, 0.117866, 0.88) Norm(0.83147, -0.55557, 0.0) UV(0.833984, 0.345703)
|
||||
V 349: Pos(-0.284555, 0.117866, 0.35) Norm(0.83147, -0.55557, 0.0) UV(0.833984, 0.001953)
|
||||
V 350: Pos(-0.284555, 0.117866, 0.35) Norm(0.980785, -0.19509, 0.0) UV(0.833984, 0.001953)
|
||||
V 351: Pos(-0.308, 0.0, 0.88) Norm(0.980785, -0.19509, 0.0) UV(0.880859, 0.345703)
|
||||
V 352: Pos(-0.308, 0.0, 0.35) Norm(0.980785, -0.19509, 0.0) UV(0.880859, 0.001953)
|
||||
V 353: Pos(-0.308, 0.0, 0.35) Norm(0.980785, 0.19509, 0.0) UV(0.505859, 0.001953)
|
||||
V 354: Pos(-0.284555, -0.117866, 0.88) Norm(0.980785, 0.19509, 0.0) UV(0.552734, 0.345703)
|
||||
V 355: Pos(-0.284555, -0.117866, 0.35) Norm(0.980785, 0.19509, 0.0) UV(0.552734, 0.001953)
|
||||
V 356: Pos(-0.284555, -0.117866, 0.35) Norm(0.83147, 0.55557, 0.0) UV(0.552734, 0.001953)
|
||||
V 357: Pos(-0.217789, -0.217789, 0.88) Norm(0.83147, 0.55557, 0.0) UV(0.599609, 0.345703)
|
||||
V 358: Pos(-0.217789, -0.217789, 0.35) Norm(0.83147, 0.55557, 0.0) UV(0.599609, 0.001953)
|
||||
V 359: Pos(-0.217789, -0.217789, 0.35) Norm(0.55557, 0.83147, 0.0) UV(0.599609, 0.001953)
|
||||
V 360: Pos(-0.117866, -0.284555, 0.88) Norm(0.55557, 0.83147, 0.0) UV(0.646484, 0.345703)
|
||||
V 361: Pos(-0.117866, -0.284555, 0.35) Norm(0.55557, 0.83147, 0.0) UV(0.646484, 0.001953)
|
||||
V 362: Pos(-0.117866, -0.284555, 0.35) Norm(0.19509, 0.980785, 0.0) UV(0.646484, 0.001953)
|
||||
V 363: Pos(0.0, -0.308, 0.88) Norm(0.19509, 0.980785, 0.0) UV(0.693359, 0.345703)
|
||||
V 364: Pos(0.0, -0.308, 0.35) Norm(0.19509, 0.980785, 0.0) UV(0.693359, 0.001953)
|
||||
V 365: Pos(0.0, -0.308, 0.35) Norm(-0.19509, 0.980785, 0.0) UV(0.693359, 0.001953)
|
||||
V 366: Pos(0.117866, -0.284555, 0.88) Norm(-0.19509, 0.980785, 0.0) UV(0.740234, 0.345703)
|
||||
V 367: Pos(0.117866, -0.284555, 0.35) Norm(-0.19509, 0.980785, 0.0) UV(0.740234, 0.001953)
|
||||
V 368: Pos(0.117866, -0.284555, 0.35) Norm(-0.55557, 0.83147, 0.0) UV(0.740234, 0.001953)
|
||||
V 369: Pos(0.217789, -0.217789, 0.88) Norm(-0.55557, 0.83147, 0.0) UV(0.787109, 0.345703)
|
||||
V 370: Pos(0.217789, -0.217789, 0.35) Norm(-0.55557, 0.83147, 0.0) UV(0.787109, 0.001953)
|
||||
V 371: Pos(0.217789, -0.217789, 0.35) Norm(-0.83147, 0.55557, 0.0) UV(0.787109, 0.001953)
|
||||
V 372: Pos(0.284555, -0.117866, 0.88) Norm(-0.83147, 0.55557, 0.0) UV(0.833984, 0.345703)
|
||||
V 373: Pos(0.284555, -0.117866, 0.35) Norm(-0.83147, 0.55557, 0.0) UV(0.833984, 0.001953)
|
||||
V 374: Pos(0.284555, -0.117866, 0.35) Norm(-0.980785, 0.19509, 0.0) UV(0.833984, 0.001953)
|
||||
V 375: Pos(0.308, 0.0, 0.88) Norm(-0.980785, 0.19509, 0.0) UV(0.880859, 0.345703)
|
||||
V 376: Pos(0.308, 0.0, 0.35) Norm(-0.980785, 0.19509, 0.0) UV(0.880859, 0.001953)
|
||||
V 377: Pos(-0.308, 0.0, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 378: Pos(0.0, 0.308, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 379: Pos(0.308, 0.0, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 380: Pos(0.295641, 0.122459, 0.87) Norm(-0.980785, -0.19509, 0.0) UV(0.048828, 0.312667)
|
||||
V 381: Pos(0.226274, 0.226274, 0.87) Norm(0.83147, 0.55557, 0.0) UV(0.095703, 0.312667)
|
||||
V 382: Pos(0.122459, 0.295641, 0.87) Norm(-0.55557, -0.83147, 0.0) UV(0.142578, 0.312667)
|
||||
V 383: Pos(0.0, 0.32, 0.87) Norm(-0.19509, -0.980785, 0.0) UV(0.189453, 0.312667)
|
||||
V 384: Pos(-0.122459, 0.295641, 0.87) Norm(0.19509, -0.980785, 0.0) UV(0.236328, 0.312667)
|
||||
V 385: Pos(-0.226274, 0.226274, 0.87) Norm(-0.55557, 0.83147, 0.0) UV(0.283203, 0.312667)
|
||||
V 386: Pos(-0.295641, 0.122459, 0.87) Norm(0.83147, -0.55557, 0.0) UV(0.080078, 0.312667)
|
||||
V 387: Pos(-0.32, 0.0, 0.87) Norm(0.980785, -0.19509, 0.0) UV(0.126953, 0.312667)
|
||||
V 388: Pos(-0.295641, -0.122459, 0.87) Norm(0.980785, 0.19509, 0.0) UV(0.173828, 0.312667)
|
||||
V 389: Pos(-0.226274, -0.226274, 0.87) Norm(-0.83147, -0.55557, 0.0) UV(0.220703, 0.312667)
|
||||
V 390: Pos(-0.122459, -0.295641, 0.87) Norm(0.55557, 0.83147, 0.0) UV(0.267578, 0.312667)
|
||||
V 391: Pos(0.0, -0.32, 0.87) Norm(0.19509, 0.980785, 0.0) UV(0.064453, 0.312667)
|
||||
V 392: Pos(0.122459, -0.295641, 0.87) Norm(-0.19509, 0.980785, 0.0) UV(0.111328, 0.312667)
|
||||
V 393: Pos(0.226274, -0.226274, 0.87) Norm(0.55557, -0.83147, 0.0) UV(0.158203, 0.312667)
|
||||
V 394: Pos(0.295641, -0.122459, 0.87) Norm(-0.83147, 0.55557, 0.0) UV(0.205078, 0.312667)
|
||||
V 395: Pos(0.32, 0.0, 0.87) Norm(-0.980785, 0.19509, 0.0) UV(0.251953, 0.312667)
|
||||
V 396: Pos(0.324, 0.0, 0.62) Norm(0.980785, -0.19509, 0.0) UV(0.599609, 0.694336)
|
||||
V 397: Pos(0.299337, 0.123989, 0.62) Norm(0.980785, 0.19509, 0.0) UV(0.693359, 0.694336)
|
||||
V 398: Pos(0.309038, 0.128008, 0.914722) Norm(0.853456, 0.169763, 0.492741) UV(0.048828, 0.547526)
|
||||
V 399: Pos(0.293332, 0.121502, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.048828, 0.589193)
|
||||
V 400: Pos(0.309, 0.0, 0.9) Norm(0.853456, 0.169763, -0.492741) UV(0.001953, 0.630859)
|
||||
V 401: Pos(0.285479, 0.118249, 0.9) Norm(0.853456, 0.169763, -0.492741) UV(0.048828, 0.630859)
|
||||
V 402: Pos(0.293332, 0.121502, 0.914722) Norm(0.853456, 0.169763, -0.492741) UV(0.048828, 0.589193)
|
||||
V 403: Pos(0.285479, 0.118249, 0.9) Norm(-0.853455, -0.169763, -0.492743) UV(0.048828, 0.630859)
|
||||
V 404: Pos(0.293332, 0.121502, 0.885278) Norm(-0.853455, -0.169763, -0.492743) UV(0.048828, 0.672526)
|
||||
V 405: Pos(0.3175, 0.0, 0.885278) Norm(-0.853455, -0.169763, -0.492743) UV(0.001953, 0.672526)
|
||||
V 406: Pos(0.3345, 0.0, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.001953, 0.714193)
|
||||
V 407: Pos(0.309038, 0.128008, 0.885278) Norm(0.853455, 0.169763, -0.492743) UV(0.048828, 0.714193)
|
||||
V 408: Pos(0.316891, 0.13126, 0.9) Norm(0.853455, 0.169763, -0.492743) UV(0.048828, 0.755859)
|
||||
V 409: Pos(0.343, 0.0, 0.9) Norm(0.853455, 0.169763, -0.492743) UV(0.001953, 0.755859)
|
||||
V 410: Pos(0.309038, 0.128008, 0.914722) Norm(-0.723524, -0.483444, -0.492742) UV(0.048828, 0.547526)
|
||||
V 411: Pos(0.236527, 0.236527, 0.914722) Norm(-0.723524, -0.483444, -0.492742) UV(0.095703, 0.547526)
|
||||
V 412: Pos(0.242538, 0.242538, 0.9) Norm(-0.723524, -0.483444, -0.492742) UV(0.095703, 0.505859)
|
||||
V 413: Pos(0.285479, 0.118249, 0.9) Norm(0.723524, 0.483444, -0.492742) UV(0.048828, 0.630859)
|
||||
V 414: Pos(0.218496, 0.218496, 0.9) Norm(0.723524, 0.483444, -0.492742) UV(0.095703, 0.630859)
|
||||
V 415: Pos(0.224506, 0.224506, 0.914722) Norm(0.723524, 0.483444, -0.492742) UV(0.095703, 0.589193)
|
||||
V 416: Pos(0.224506, 0.224506, 0.885278) Norm(0.723524, 0.483443, 0.492743) UV(0.095703, 0.672526)
|
||||
V 417: Pos(0.242538, 0.242538, 0.9) Norm(0.723524, 0.483443, -0.492743) UV(0.095703, 0.755859)
|
||||
V 418: Pos(0.236527, 0.236527, 0.914722) Norm(-0.483444, -0.723525, -0.492741) UV(0.095703, 0.547526)
|
||||
V 419: Pos(0.128008, 0.309038, 0.914722) Norm(-0.483444, -0.723525, -0.492741) UV(0.142578, 0.547526)
|
||||
V 420: Pos(0.13126, 0.316891, 0.9) Norm(-0.483444, -0.723525, -0.492741) UV(0.142578, 0.505859)
|
||||
V 421: Pos(0.121502, 0.293332, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.142578, 0.589193)
|
||||
V 422: Pos(0.118249, 0.285479, 0.9) Norm(-0.483444, -0.723525, 0.492742) UV(0.142578, 0.630859)
|
||||
V 423: Pos(0.121502, 0.293332, 0.885278) Norm(-0.483443, -0.723524, -0.492743) UV(0.142578, 0.672526)
|
||||
V 424: Pos(0.128008, 0.309038, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.142578, 0.714193)
|
||||
V 425: Pos(0.13126, 0.316891, 0.9) Norm(0.483443, 0.723524, -0.492743) UV(0.142578, 0.755859)
|
||||
V 426: Pos(0.0, 0.3345, 0.914722) Norm(0.169763, 0.853456, 0.492741) UV(0.189453, 0.547526)
|
||||
V 427: Pos(0.118249, 0.285479, 0.9) Norm(0.169763, 0.853455, -0.492742) UV(0.142578, 0.630859)
|
||||
V 428: Pos(0.0, 0.309, 0.9) Norm(0.169763, 0.853455, -0.492742) UV(0.189453, 0.630859)
|
||||
V 429: Pos(0.0, 0.3175, 0.914722) Norm(0.169763, 0.853455, -0.492742) UV(0.189453, 0.589193)
|
||||
V 430: Pos(0.0, 0.309, 0.9) Norm(-0.169763, -0.853454, -0.492743) UV(0.189453, 0.630859)
|
||||
V 431: Pos(0.0, 0.3175, 0.885278) Norm(-0.169763, -0.853454, -0.492743) UV(0.189453, 0.672526)
|
||||
V 432: Pos(0.121502, 0.293332, 0.885278) Norm(-0.169763, -0.853454, -0.492743) UV(0.142578, 0.672526)
|
||||
V 433: Pos(0.0, 0.3345, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.189453, 0.714193)
|
||||
V 434: Pos(0.0, 0.3345, 0.885278) Norm(0.169763, 0.853455, -0.492742) UV(0.189453, 0.714193)
|
||||
V 435: Pos(0.0, 0.343, 0.9) Norm(0.169763, 0.853455, -0.492742) UV(0.189453, 0.755859)
|
||||
V 436: Pos(0.13126, 0.316891, 0.9) Norm(0.169763, 0.853455, -0.492742) UV(0.142578, 0.755859)
|
||||
V 437: Pos(-0.128008, 0.309038, 0.914722) Norm(-0.169763, 0.853456, 0.492741) UV(0.236328, 0.547526)
|
||||
V 438: Pos(-0.121502, 0.293332, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.236328, 0.589193)
|
||||
V 439: Pos(0.0, 0.309, 0.9) Norm(-0.169763, 0.853456, -0.492741) UV(0.189453, 0.630859)
|
||||
V 440: Pos(-0.118249, 0.285479, 0.9) Norm(-0.169763, 0.853456, -0.492741) UV(0.236328, 0.630859)
|
||||
V 441: Pos(-0.121502, 0.293332, 0.914722) Norm(-0.169763, 0.853456, -0.492741) UV(0.236328, 0.589193)
|
||||
V 442: Pos(-0.118249, 0.285479, 0.9) Norm(0.169763, -0.853455, -0.492743) UV(0.236328, 0.630859)
|
||||
V 443: Pos(-0.121502, 0.293332, 0.885278) Norm(0.169763, -0.853455, -0.492743) UV(0.236328, 0.672526)
|
||||
V 444: Pos(0.0, 0.3175, 0.885278) Norm(0.169763, -0.853455, -0.492743) UV(0.189453, 0.672526)
|
||||
V 445: Pos(-0.128008, 0.309038, 0.885278) Norm(-0.169763, 0.853455, -0.492743) UV(0.236328, 0.714193)
|
||||
V 446: Pos(-0.13126, 0.316891, 0.9) Norm(-0.169763, 0.853455, -0.492743) UV(0.236328, 0.755859)
|
||||
V 447: Pos(0.0, 0.343, 0.9) Norm(-0.169763, 0.853455, -0.492743) UV(0.189453, 0.755859)
|
||||
V 448: Pos(-0.128008, 0.309038, 0.914722) Norm(0.483444, -0.723524, -0.492742) UV(0.236328, 0.547526)
|
||||
V 449: Pos(-0.236527, 0.236527, 0.914722) Norm(0.483444, -0.723524, -0.492742) UV(0.283203, 0.547526)
|
||||
V 450: Pos(-0.242538, 0.242538, 0.9) Norm(0.483444, -0.723524, -0.492742) UV(0.283203, 0.505859)
|
||||
V 451: Pos(-0.224506, 0.224506, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.283203, 0.589193)
|
||||
V 452: Pos(-0.224506, 0.224506, 0.914722) Norm(0.483444, -0.723524, 0.492742) UV(0.283203, 0.589193)
|
||||
V 453: Pos(-0.218496, 0.218496, 0.9) Norm(0.483444, -0.723524, 0.492742) UV(0.283203, 0.630859)
|
||||
V 454: Pos(-0.118249, 0.285479, 0.9) Norm(0.483444, -0.723524, 0.492742) UV(0.236328, 0.630859)
|
||||
V 455: Pos(-0.224506, 0.224506, 0.885278) Norm(-0.483443, 0.723524, 0.492743) UV(0.283203, 0.672526)
|
||||
V 456: Pos(-0.236527, 0.236527, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.283203, 0.714193)
|
||||
V 457: Pos(-0.242538, 0.242538, 0.9) Norm(0.483443, -0.723524, 0.492743) UV(0.283203, 0.755859)
|
||||
V 458: Pos(-0.236527, 0.236527, 0.914722) Norm(0.723525, -0.483444, -0.492741) UV(0.033203, 0.547526)
|
||||
V 459: Pos(-0.309038, 0.128008, 0.914722) Norm(0.723525, -0.483444, -0.492741) UV(0.080078, 0.547526)
|
||||
V 460: Pos(-0.316891, 0.13126, 0.9) Norm(0.723525, -0.483444, -0.492741) UV(0.080078, 0.505859)
|
||||
V 461: Pos(-0.285479, 0.118249, 0.9) Norm(-0.723525, 0.483444, -0.492742) UV(0.080078, 0.630859)
|
||||
V 462: Pos(-0.293332, 0.121502, 0.885278) Norm(-0.723524, 0.483443, 0.492743) UV(0.080078, 0.672526)
|
||||
V 463: Pos(-0.309038, 0.128008, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.080078, 0.714193)
|
||||
V 464: Pos(-0.316891, 0.13126, 0.9) Norm(-0.723524, 0.483443, -0.492743) UV(0.080078, 0.755859)
|
||||
V 465: Pos(-0.3345, 0.0, 0.914722) Norm(-0.853456, 0.169763, 0.492741) UV(0.126953, 0.547526)
|
||||
V 466: Pos(-0.285479, 0.118249, 0.9) Norm(-0.853455, 0.169763, -0.492742) UV(0.080078, 0.630859)
|
||||
V 467: Pos(-0.309, 0.0, 0.9) Norm(-0.853455, 0.169763, -0.492742) UV(0.126953, 0.630859)
|
||||
V 468: Pos(-0.3175, 0.0, 0.914722) Norm(-0.853455, 0.169763, -0.492742) UV(0.126953, 0.589193)
|
||||
V 469: Pos(-0.309, 0.0, 0.9) Norm(0.853454, -0.169763, -0.492743) UV(0.126953, 0.630859)
|
||||
V 470: Pos(-0.3175, 0.0, 0.885278) Norm(0.853454, -0.169763, -0.492743) UV(0.126953, 0.672526)
|
||||
V 471: Pos(-0.293332, 0.121502, 0.885278) Norm(0.853454, -0.169763, -0.492743) UV(0.080078, 0.672526)
|
||||
V 472: Pos(-0.3345, 0.0, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.126953, 0.714193)
|
||||
V 473: Pos(-0.3345, 0.0, 0.885278) Norm(-0.853455, 0.169763, -0.492742) UV(0.126953, 0.714193)
|
||||
V 474: Pos(-0.343, 0.0, 0.9) Norm(-0.853455, 0.169763, -0.492742) UV(0.126953, 0.755859)
|
||||
V 475: Pos(-0.316891, 0.13126, 0.9) Norm(-0.853455, 0.169763, -0.492742) UV(0.080078, 0.755859)
|
||||
V 476: Pos(-0.309038, -0.128008, 0.914722) Norm(-0.853456, -0.169763, 0.492741) UV(0.173828, 0.547526)
|
||||
V 477: Pos(-0.293332, -0.121502, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.173828, 0.589193)
|
||||
V 478: Pos(-0.309, 0.0, 0.9) Norm(-0.853456, -0.169763, -0.492741) UV(0.126953, 0.630859)
|
||||
V 479: Pos(-0.285479, -0.118249, 0.9) Norm(-0.853456, -0.169763, -0.492741) UV(0.173828, 0.630859)
|
||||
V 480: Pos(-0.293332, -0.121502, 0.914722) Norm(-0.853456, -0.169763, -0.492741) UV(0.173828, 0.589193)
|
||||
V 481: Pos(-0.285479, -0.118249, 0.9) Norm(0.853455, 0.169763, -0.492743) UV(0.173828, 0.630859)
|
||||
V 482: Pos(-0.293332, -0.121502, 0.885278) Norm(0.853455, 0.169763, -0.492743) UV(0.173828, 0.672526)
|
||||
V 483: Pos(-0.3175, 0.0, 0.885278) Norm(0.853455, 0.169763, -0.492743) UV(0.126953, 0.672526)
|
||||
V 484: Pos(-0.309038, -0.128008, 0.885278) Norm(-0.853455, -0.169763, -0.492743) UV(0.173828, 0.714193)
|
||||
V 485: Pos(-0.316891, -0.13126, 0.9) Norm(-0.853455, -0.169763, -0.492743) UV(0.173828, 0.755859)
|
||||
V 486: Pos(-0.343, 0.0, 0.9) Norm(-0.853455, -0.169763, -0.492743) UV(0.126953, 0.755859)
|
||||
V 487: Pos(-0.309038, -0.128008, 0.914722) Norm(0.723524, 0.483444, -0.492742) UV(0.173828, 0.547526)
|
||||
V 488: Pos(-0.236527, -0.236527, 0.914722) Norm(0.723524, 0.483444, -0.492742) UV(0.220703, 0.547526)
|
||||
V 489: Pos(-0.242538, -0.242538, 0.9) Norm(0.723524, 0.483444, -0.492742) UV(0.220703, 0.505859)
|
||||
V 490: Pos(-0.285479, -0.118249, 0.9) Norm(-0.723524, -0.483444, -0.492742) UV(0.173828, 0.630859)
|
||||
V 491: Pos(-0.218496, -0.218496, 0.9) Norm(-0.723524, -0.483444, -0.492742) UV(0.220703, 0.630859)
|
||||
V 492: Pos(-0.224506, -0.224506, 0.914722) Norm(-0.723524, -0.483444, -0.492742) UV(0.220703, 0.589193)
|
||||
V 493: Pos(-0.224506, -0.224506, 0.885278) Norm(-0.723524, -0.483443, 0.492743) UV(0.220703, 0.672526)
|
||||
V 494: Pos(-0.242538, -0.242538, 0.9) Norm(-0.723524, -0.483443, -0.492743) UV(0.220703, 0.755859)
|
||||
V 495: Pos(-0.236527, -0.236527, 0.914722) Norm(0.483444, 0.723525, -0.492741) UV(0.220703, 0.547526)
|
||||
V 496: Pos(-0.128008, -0.309038, 0.914722) Norm(0.483444, 0.723525, -0.492741) UV(0.267578, 0.547526)
|
||||
V 497: Pos(-0.13126, -0.316891, 0.9) Norm(0.483444, 0.723525, -0.492741) UV(0.267578, 0.505859)
|
||||
V 498: Pos(-0.121502, -0.293332, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.267578, 0.589193)
|
||||
V 499: Pos(-0.118249, -0.285479, 0.9) Norm(0.483444, 0.723525, 0.492742) UV(0.267578, 0.630859)
|
||||
V 500: Pos(-0.121502, -0.293332, 0.885278) Norm(0.483443, 0.723524, -0.492743) UV(0.267578, 0.672526)
|
||||
V 501: Pos(-0.128008, -0.309038, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.267578, 0.714193)
|
||||
V 502: Pos(-0.13126, -0.316891, 0.9) Norm(-0.483443, -0.723524, -0.492743) UV(0.267578, 0.755859)
|
||||
V 503: Pos(0.0, -0.3345, 0.914722) Norm(-0.169763, -0.853456, 0.492741) UV(0.064453, 0.547526)
|
||||
V 504: Pos(-0.118249, -0.285479, 0.9) Norm(-0.169763, -0.853455, -0.492742) UV(0.017578, 0.630859)
|
||||
V 505: Pos(0.0, -0.309, 0.9) Norm(-0.169763, -0.853455, -0.492742) UV(0.064453, 0.630859)
|
||||
V 506: Pos(0.0, -0.3175, 0.914722) Norm(-0.169763, -0.853455, -0.492742) UV(0.064453, 0.589193)
|
||||
V 507: Pos(0.0, -0.309, 0.9) Norm(0.169763, 0.853454, -0.492743) UV(0.064453, 0.630859)
|
||||
V 508: Pos(0.0, -0.3175, 0.885278) Norm(0.169763, 0.853454, -0.492743) UV(0.064453, 0.672526)
|
||||
V 509: Pos(-0.121502, -0.293332, 0.885278) Norm(0.169763, 0.853454, -0.492743) UV(0.017578, 0.672526)
|
||||
V 510: Pos(0.0, -0.3345, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.064453, 0.714193)
|
||||
V 511: Pos(0.0, -0.3345, 0.885278) Norm(-0.169763, -0.853455, -0.492742) UV(0.064453, 0.714193)
|
||||
V 512: Pos(0.0, -0.343, 0.9) Norm(-0.169763, -0.853455, -0.492742) UV(0.064453, 0.755859)
|
||||
V 513: Pos(-0.13126, -0.316891, 0.9) Norm(-0.169763, -0.853455, -0.492742) UV(0.017578, 0.755859)
|
||||
V 514: Pos(0.128008, -0.309038, 0.914722) Norm(0.169763, -0.853456, 0.492741) UV(0.111328, 0.547526)
|
||||
V 515: Pos(0.121502, -0.293332, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.111328, 0.589193)
|
||||
V 516: Pos(0.0, -0.309, 0.9) Norm(0.169763, -0.853456, -0.492741) UV(0.064453, 0.630859)
|
||||
V 517: Pos(0.118249, -0.285479, 0.9) Norm(0.169763, -0.853456, -0.492741) UV(0.111328, 0.630859)
|
||||
V 518: Pos(0.121502, -0.293332, 0.914722) Norm(0.169763, -0.853456, -0.492741) UV(0.111328, 0.589193)
|
||||
V 519: Pos(0.118249, -0.285479, 0.9) Norm(-0.169763, 0.853455, -0.492743) UV(0.111328, 0.630859)
|
||||
V 520: Pos(0.121502, -0.293332, 0.885278) Norm(-0.169763, 0.853455, -0.492743) UV(0.111328, 0.672526)
|
||||
V 521: Pos(0.0, -0.3175, 0.885278) Norm(-0.169763, 0.853455, -0.492743) UV(0.064453, 0.672526)
|
||||
V 522: Pos(0.128008, -0.309038, 0.885278) Norm(0.169763, -0.853455, -0.492743) UV(0.111328, 0.714193)
|
||||
V 523: Pos(0.13126, -0.316891, 0.9) Norm(0.169763, -0.853455, -0.492743) UV(0.111328, 0.755859)
|
||||
V 524: Pos(0.0, -0.343, 0.9) Norm(0.169763, -0.853455, -0.492743) UV(0.064453, 0.755859)
|
||||
V 525: Pos(0.128008, -0.309038, 0.914722) Norm(-0.483444, 0.723524, -0.492742) UV(0.111328, 0.547526)
|
||||
V 526: Pos(0.236527, -0.236527, 0.914722) Norm(-0.483444, 0.723524, -0.492742) UV(0.158203, 0.547526)
|
||||
V 527: Pos(0.242538, -0.242538, 0.9) Norm(-0.483444, 0.723524, -0.492742) UV(0.158203, 0.505859)
|
||||
V 528: Pos(0.224506, -0.224506, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.158203, 0.589193)
|
||||
V 529: Pos(0.224506, -0.224506, 0.914722) Norm(-0.483444, 0.723524, 0.492742) UV(0.158203, 0.589193)
|
||||
V 530: Pos(0.218496, -0.218496, 0.9) Norm(-0.483444, 0.723524, 0.492742) UV(0.158203, 0.630859)
|
||||
V 531: Pos(0.118249, -0.285479, 0.9) Norm(-0.483444, 0.723524, 0.492742) UV(0.111328, 0.630859)
|
||||
V 532: Pos(0.224506, -0.224506, 0.885278) Norm(0.483443, -0.723524, 0.492743) UV(0.158203, 0.672526)
|
||||
V 533: Pos(0.242538, -0.242538, 0.9) Norm(-0.483443, 0.723524, 0.492743) UV(0.158203, 0.755859)
|
||||
V 534: Pos(0.236527, -0.236527, 0.914722) Norm(-0.723525, 0.483444, -0.492741) UV(0.158203, 0.547526)
|
||||
V 535: Pos(0.309038, -0.128008, 0.914722) Norm(-0.723525, 0.483444, -0.492741) UV(0.205078, 0.547526)
|
||||
V 536: Pos(0.316891, -0.13126, 0.9) Norm(-0.723525, 0.483444, -0.492741) UV(0.205078, 0.505859)
|
||||
V 537: Pos(0.285479, -0.118249, 0.9) Norm(0.723525, -0.483444, -0.492742) UV(0.205078, 0.630859)
|
||||
V 538: Pos(0.293332, -0.121502, 0.885278) Norm(0.723524, -0.483443, 0.492743) UV(0.205078, 0.672526)
|
||||
V 539: Pos(0.309038, -0.128008, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.205078, 0.714193)
|
||||
V 540: Pos(0.316891, -0.13126, 0.9) Norm(0.723524, -0.483443, -0.492743) UV(0.205078, 0.755859)
|
||||
V 541: Pos(0.3345, 0.0, 0.914722) Norm(0.853456, -0.169763, 0.492741) UV(0.251953, 0.547526)
|
||||
V 542: Pos(0.3345, 0.0, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.251953, 0.547526)
|
||||
V 543: Pos(0.285479, -0.118249, 0.9) Norm(0.853455, -0.169763, -0.492742) UV(0.205078, 0.630859)
|
||||
V 544: Pos(0.309, 0.0, 0.9) Norm(0.853455, -0.169763, -0.492742) UV(0.251953, 0.630859)
|
||||
V 545: Pos(0.3175, 0.0, 0.914722) Norm(0.853455, -0.169763, -0.492742) UV(0.251953, 0.589193)
|
||||
V 546: Pos(0.309, 0.0, 0.9) Norm(-0.853454, 0.169763, -0.492743) UV(0.251953, 0.630859)
|
||||
V 547: Pos(0.3175, 0.0, 0.885278) Norm(-0.853454, 0.169763, -0.492743) UV(0.251953, 0.672526)
|
||||
V 548: Pos(0.293332, -0.121502, 0.885278) Norm(-0.853454, 0.169763, -0.492743) UV(0.205078, 0.672526)
|
||||
V 549: Pos(0.3345, 0.0, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.251953, 0.714193)
|
||||
V 550: Pos(0.3345, 0.0, 0.885278) Norm(0.853455, -0.169763, -0.492742) UV(0.251953, 0.714193)
|
||||
V 551: Pos(0.343, 0.0, 0.9) Norm(0.853455, -0.169763, -0.492742) UV(0.251953, 0.755859)
|
||||
V 552: Pos(0.316891, -0.13126, 0.9) Norm(0.853455, -0.169763, -0.492742) UV(0.205078, 0.755859)
|
||||
V 553: Pos(0.308, 0.0, 0.88) Norm(-0.980785, -0.19509, 0.0) UV(0.505859, 0.345703)
|
||||
V 554: Pos(0.284555, 0.117866, 0.88) Norm(-0.83147, -0.55557, 0.0) UV(0.552734, 0.345703)
|
||||
V 555: Pos(0.217789, 0.217789, 0.88) Norm(-0.55557, -0.83147, 0.0) UV(0.599609, 0.345703)
|
||||
V 556: Pos(0.117866, 0.284555, 0.88) Norm(-0.19509, -0.980785, 0.0) UV(0.646484, 0.345703)
|
||||
V 557: Pos(0.0, 0.308, 0.88) Norm(0.19509, -0.980785, 0.0) UV(0.693359, 0.345703)
|
||||
V 558: Pos(-0.117866, 0.284555, 0.88) Norm(0.55557, -0.83147, 0.0) UV(0.740234, 0.345703)
|
||||
V 559: Pos(-0.217789, 0.217789, 0.88) Norm(0.83147, -0.55557, 0.0) UV(0.787109, 0.345703)
|
||||
V 560: Pos(-0.284555, 0.117866, 0.88) Norm(0.980785, -0.19509, 0.0) UV(0.833984, 0.345703)
|
||||
V 561: Pos(-0.308, 0.0, 0.88) Norm(0.980785, 0.19509, 0.0) UV(0.505859, 0.345703)
|
||||
V 562: Pos(-0.284555, -0.117866, 0.88) Norm(0.83147, 0.55557, 0.0) UV(0.552734, 0.345703)
|
||||
V 563: Pos(-0.217789, -0.217789, 0.88) Norm(0.55557, 0.83147, 0.0) UV(0.599609, 0.345703)
|
||||
V 564: Pos(-0.117866, -0.284555, 0.88) Norm(0.19509, 0.980785, 0.0) UV(0.646484, 0.345703)
|
||||
V 565: Pos(0.0, -0.308, 0.88) Norm(-0.19509, 0.980785, 0.0) UV(0.693359, 0.345703)
|
||||
V 566: Pos(0.117866, -0.284555, 0.88) Norm(-0.55557, 0.83147, 0.0) UV(0.740234, 0.345703)
|
||||
V 567: Pos(0.217789, -0.217789, 0.88) Norm(-0.83147, 0.55557, 0.0) UV(0.787109, 0.345703)
|
||||
V 568: Pos(0.284555, -0.117866, 0.88) Norm(-0.980785, 0.19509, 0.0) UV(0.833984, 0.345703)
|
||||
V 569: Pos(0.284555, -0.117866, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 570: Pos(0.217789, -0.217789, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 571: Pos(0.117866, -0.284555, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 572: Pos(0.0, -0.308, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 573: Pos(-0.117866, -0.284555, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 574: Pos(-0.217789, -0.217789, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 575: Pos(-0.284555, -0.117866, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 576: Pos(-0.284555, 0.117866, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 577: Pos(-0.217789, 0.217789, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 578: Pos(-0.117866, 0.284555, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 579: Pos(0.117866, 0.284555, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 580: Pos(0.217789, 0.217789, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 581: Pos(0.284555, 0.117866, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
|
||||
===Triangles (Indices): 274
|
||||
Tri: 0 1 2
|
||||
Tri: 3 4 5
|
||||
Tri: 6 7 8
|
||||
Tri: 9 10 11
|
||||
Tri: 12 13 14
|
||||
Tri: 15 16 17
|
||||
Tri: 18 19 20
|
||||
Tri: 21 22 23
|
||||
Tri: 24 25 26
|
||||
Tri: 27 28 29
|
||||
Tri: 30 31 32
|
||||
Tri: 33 34 35
|
||||
Tri: 36 37 38
|
||||
Tri: 39 40 41
|
||||
Tri: 42 43 44
|
||||
Tri: 45 46 47
|
||||
Tri: 48 49 50
|
||||
Tri: 51 52 53
|
||||
Tri: 54 55 56
|
||||
Tri: 57 58 59
|
||||
Tri: 60 61 62
|
||||
Tri: 63 64 65
|
||||
Tri: 66 67 68
|
||||
Tri: 69 70 71
|
||||
Tri: 72 73 74
|
||||
Tri: 75 76 77
|
||||
Tri: 78 79 80
|
||||
Tri: 81 82 83
|
||||
Tri: 84 85 86
|
||||
Tri: 87 88 89
|
||||
Tri: 90 91 92
|
||||
Tri: 93 94 76
|
||||
Tri: 95 96 97
|
||||
Tri: 98 99 100
|
||||
Tri: 101 102 84
|
||||
Tri: 103 104 105
|
||||
Tri: 106 107 108
|
||||
Tri: 109 110 111
|
||||
Tri: 112 113 114
|
||||
Tri: 115 116 117
|
||||
Tri: 118 119 120
|
||||
Tri: 121 122 123
|
||||
Tri: 124 125 126
|
||||
Tri: 127 110 128
|
||||
Tri: 129 130 131
|
||||
Tri: 132 133 134
|
||||
Tri: 119 135 136
|
||||
Tri: 137 138 139
|
||||
Tri: 140 141 142
|
||||
Tri: 143 144 145
|
||||
Tri: 146 147 148
|
||||
Tri: 149 150 151
|
||||
Tri: 152 153 154
|
||||
Tri: 155 156 157
|
||||
Tri: 158 159 160
|
||||
Tri: 161 162 163
|
||||
Tri: 164 165 166
|
||||
Tri: 167 168 169
|
||||
Tri: 170 171 172
|
||||
Tri: 173 174 175
|
||||
Tri: 176 177 178
|
||||
Tri: 161 179 180
|
||||
Tri: 181 182 183
|
||||
Tri: 184 185 186
|
||||
Tri: 187 188 189
|
||||
Tri: 190 191 192
|
||||
Tri: 193 194 195
|
||||
Tri: 196 179 197
|
||||
Tri: 198 199 200
|
||||
Tri: 201 202 203
|
||||
Tri: 188 204 205
|
||||
Tri: 206 207 208
|
||||
Tri: 209 210 211
|
||||
Tri: 212 213 214
|
||||
Tri: 215 216 217
|
||||
Tri: 218 219 220
|
||||
Tri: 221 222 223
|
||||
Tri: 224 225 226
|
||||
Tri: 227 228 229
|
||||
Tri: 230 231 213
|
||||
Tri: 232 233 234
|
||||
Tri: 235 236 237
|
||||
Tri: 238 239 221
|
||||
Tri: 240 241 242
|
||||
Tri: 243 244 245
|
||||
Tri: 246 247 248
|
||||
Tri: 249 250 251
|
||||
Tri: 252 253 254
|
||||
Tri: 255 256 257
|
||||
Tri: 258 259 260
|
||||
Tri: 261 262 263
|
||||
Tri: 264 247 265
|
||||
Tri: 266 267 268
|
||||
Tri: 269 270 271
|
||||
Tri: 256 272 273
|
||||
Tri: 274 275 276
|
||||
Tri: 277 278 279
|
||||
Tri: 280 281 282
|
||||
Tri: 283 284 285
|
||||
Tri: 286 287 288
|
||||
Tri: 289 290 291
|
||||
Tri: 292 293 294
|
||||
Tri: 295 296 297
|
||||
Tri: 298 299 300
|
||||
Tri: 301 302 303
|
||||
Tri: 304 305 306
|
||||
Tri: 307 308 289
|
||||
Tri: 309 310 311
|
||||
Tri: 312 313 314
|
||||
Tri: 298 315 316
|
||||
Tri: 317 318 319
|
||||
Tri: 320 321 322
|
||||
Tri: 323 324 325
|
||||
Tri: 326 327 328
|
||||
Tri: 329 330 331
|
||||
Tri: 332 333 334
|
||||
Tri: 335 336 337
|
||||
Tri: 338 339 340
|
||||
Tri: 341 342 343
|
||||
Tri: 344 345 346
|
||||
Tri: 347 348 349
|
||||
Tri: 350 351 352
|
||||
Tri: 353 354 355
|
||||
Tri: 356 357 358
|
||||
Tri: 359 360 361
|
||||
Tri: 362 363 364
|
||||
Tri: 365 366 367
|
||||
Tri: 368 369 370
|
||||
Tri: 371 372 373
|
||||
Tri: 374 375 376
|
||||
Tri: 377 378 379
|
||||
Tri: 0 380 1
|
||||
Tri: 3 381 4
|
||||
Tri: 6 382 7
|
||||
Tri: 9 383 10
|
||||
Tri: 12 384 13
|
||||
Tri: 15 385 16
|
||||
Tri: 18 386 19
|
||||
Tri: 21 387 22
|
||||
Tri: 24 388 25
|
||||
Tri: 27 389 28
|
||||
Tri: 30 390 31
|
||||
Tri: 33 391 34
|
||||
Tri: 36 392 37
|
||||
Tri: 39 393 40
|
||||
Tri: 42 394 43
|
||||
Tri: 45 395 46
|
||||
Tri: 48 396 49
|
||||
Tri: 51 397 52
|
||||
Tri: 54 398 55
|
||||
Tri: 57 399 58
|
||||
Tri: 400 401 402
|
||||
Tri: 403 404 405
|
||||
Tri: 66 406 67
|
||||
Tri: 407 408 409
|
||||
Tri: 410 411 412
|
||||
Tri: 75 93 76
|
||||
Tri: 413 414 415
|
||||
Tri: 81 416 82
|
||||
Tri: 84 102 85
|
||||
Tri: 87 417 88
|
||||
Tri: 418 419 420
|
||||
Tri: 93 421 94
|
||||
Tri: 95 422 96
|
||||
Tri: 98 423 99
|
||||
Tri: 101 424 102
|
||||
Tri: 103 425 104
|
||||
Tri: 106 426 107
|
||||
Tri: 109 128 110
|
||||
Tri: 427 428 429
|
||||
Tri: 430 431 432
|
||||
Tri: 118 433 119
|
||||
Tri: 434 435 436
|
||||
Tri: 124 437 125
|
||||
Tri: 127 438 110
|
||||
Tri: 439 440 441
|
||||
Tri: 442 443 444
|
||||
Tri: 119 433 135
|
||||
Tri: 445 446 447
|
||||
Tri: 448 449 450
|
||||
Tri: 143 451 144
|
||||
Tri: 452 453 454
|
||||
Tri: 149 455 150
|
||||
Tri: 152 456 153
|
||||
Tri: 155 457 156
|
||||
Tri: 458 459 460
|
||||
Tri: 161 180 162
|
||||
Tri: 164 461 165
|
||||
Tri: 167 462 168
|
||||
Tri: 170 463 171
|
||||
Tri: 173 464 174
|
||||
Tri: 176 465 177
|
||||
Tri: 161 197 179
|
||||
Tri: 466 467 468
|
||||
Tri: 469 470 471
|
||||
Tri: 187 472 188
|
||||
Tri: 473 474 475
|
||||
Tri: 193 476 194
|
||||
Tri: 196 477 179
|
||||
Tri: 478 479 480
|
||||
Tri: 481 482 483
|
||||
Tri: 188 472 204
|
||||
Tri: 484 485 486
|
||||
Tri: 487 488 489
|
||||
Tri: 212 230 213
|
||||
Tri: 490 491 492
|
||||
Tri: 218 493 219
|
||||
Tri: 221 239 222
|
||||
Tri: 224 494 225
|
||||
Tri: 495 496 497
|
||||
Tri: 230 498 231
|
||||
Tri: 232 499 233
|
||||
Tri: 235 500 236
|
||||
Tri: 238 501 239
|
||||
Tri: 240 502 241
|
||||
Tri: 243 503 244
|
||||
Tri: 246 265 247
|
||||
Tri: 504 505 506
|
||||
Tri: 507 508 509
|
||||
Tri: 255 510 256
|
||||
Tri: 511 512 513
|
||||
Tri: 261 514 262
|
||||
Tri: 264 515 247
|
||||
Tri: 516 517 518
|
||||
Tri: 519 520 521
|
||||
Tri: 256 510 272
|
||||
Tri: 522 523 524
|
||||
Tri: 525 526 527
|
||||
Tri: 280 528 281
|
||||
Tri: 529 530 531
|
||||
Tri: 286 532 287
|
||||
Tri: 289 308 290
|
||||
Tri: 292 533 293
|
||||
Tri: 534 535 536
|
||||
Tri: 298 316 299
|
||||
Tri: 301 537 302
|
||||
Tri: 304 538 305
|
||||
Tri: 307 539 308
|
||||
Tri: 309 540 310
|
||||
Tri: 312 541 313
|
||||
Tri: 298 542 315
|
||||
Tri: 543 544 545
|
||||
Tri: 546 547 548
|
||||
Tri: 323 549 324
|
||||
Tri: 550 551 552
|
||||
Tri: 329 553 330
|
||||
Tri: 332 554 333
|
||||
Tri: 335 555 336
|
||||
Tri: 338 556 339
|
||||
Tri: 341 557 342
|
||||
Tri: 344 558 345
|
||||
Tri: 347 559 348
|
||||
Tri: 350 560 351
|
||||
Tri: 353 561 354
|
||||
Tri: 356 562 357
|
||||
Tri: 359 563 360
|
||||
Tri: 362 564 363
|
||||
Tri: 365 565 366
|
||||
Tri: 368 566 369
|
||||
Tri: 371 567 372
|
||||
Tri: 374 568 375
|
||||
Tri: 379 569 570
|
||||
Tri: 570 571 572
|
||||
Tri: 572 573 574
|
||||
Tri: 574 575 377
|
||||
Tri: 377 576 577
|
||||
Tri: 577 578 378
|
||||
Tri: 378 579 580
|
||||
Tri: 580 581 379
|
||||
Tri: 379 570 572
|
||||
Tri: 572 574 377
|
||||
Tri: 377 577 378
|
||||
Tri: 378 580 379
|
||||
Tri: 379 572 377
|
||||
@@ -0,0 +1,859 @@
|
||||
===Vertices (Split by UV/Normal): 582
|
||||
V 0: Pos(0.32, 0.0, 0.87) Norm(-0.980785, -0.19509, 0.0) UV(0.001953, 0.312667)
|
||||
V 1: Pos(0.295641, 0.122459, 0.0) Norm(-0.980785, -0.19509, 0.0) UV(0.048828, 0.001953)
|
||||
V 2: Pos(0.32, 0.0, 0.0) Norm(-0.980785, -0.19509, 0.0) UV(0.001953, 0.001953)
|
||||
V 3: Pos(0.226274, 0.226274, 0.0) Norm(0.83147, 0.55557, 0.0) UV(0.095703, 0.001953)
|
||||
V 4: Pos(0.295641, 0.122459, 0.87) Norm(0.83147, 0.55557, 0.0) UV(0.048828, 0.312667)
|
||||
V 5: Pos(0.295641, 0.122459, 0.0) Norm(0.83147, 0.55557, 0.0) UV(0.048828, 0.001953)
|
||||
V 6: Pos(0.226274, 0.226274, 0.87) Norm(-0.55557, -0.83147, 0.0) UV(0.095703, 0.312667)
|
||||
V 7: Pos(0.122459, 0.295641, 0.0) Norm(-0.55557, -0.83147, 0.0) UV(0.142578, 0.001953)
|
||||
V 8: Pos(0.226274, 0.226274, 0.0) Norm(-0.55557, -0.83147, 0.0) UV(0.095703, 0.001953)
|
||||
V 9: Pos(0.122459, 0.295641, 0.87) Norm(-0.19509, -0.980785, 0.0) UV(0.142578, 0.312667)
|
||||
V 10: Pos(0.0, 0.32, 0.0) Norm(-0.19509, -0.980785, 0.0) UV(0.189453, 0.001953)
|
||||
V 11: Pos(0.122459, 0.295641, 0.0) Norm(-0.19509, -0.980785, 0.0) UV(0.142578, 0.001953)
|
||||
V 12: Pos(0.0, 0.32, 0.87) Norm(0.19509, -0.980785, 0.0) UV(0.189453, 0.312667)
|
||||
V 13: Pos(-0.122459, 0.295641, 0.0) Norm(0.19509, -0.980785, 0.0) UV(0.236328, 0.001953)
|
||||
V 14: Pos(0.0, 0.32, 0.0) Norm(0.19509, -0.980785, 0.0) UV(0.189453, 0.001953)
|
||||
V 15: Pos(-0.226274, 0.226274, 0.0) Norm(-0.55557, 0.83147, 0.0) UV(0.283203, 0.001953)
|
||||
V 16: Pos(-0.122459, 0.295641, 0.87) Norm(-0.55557, 0.83147, 0.0) UV(0.236328, 0.312667)
|
||||
V 17: Pos(-0.122459, 0.295641, 0.0) Norm(-0.55557, 0.83147, 0.0) UV(0.236328, 0.001953)
|
||||
V 18: Pos(-0.226274, 0.226274, 0.87) Norm(0.83147, -0.55557, 0.0) UV(0.033203, 0.312667)
|
||||
V 19: Pos(-0.295641, 0.122459, 0.0) Norm(0.83147, -0.55557, 0.0) UV(0.080078, 0.001953)
|
||||
V 20: Pos(-0.226274, 0.226274, 0.0) Norm(0.83147, -0.55557, 0.0) UV(0.033203, 0.001953)
|
||||
V 21: Pos(-0.295641, 0.122459, 0.87) Norm(0.980785, -0.19509, 0.0) UV(0.080078, 0.312667)
|
||||
V 22: Pos(-0.32, 0.0, 0.0) Norm(0.980785, -0.19509, 0.0) UV(0.126953, 0.001953)
|
||||
V 23: Pos(-0.295641, 0.122459, 0.0) Norm(0.980785, -0.19509, 0.0) UV(0.080078, 0.001953)
|
||||
V 24: Pos(-0.32, 0.0, 0.87) Norm(0.980785, 0.19509, 0.0) UV(0.126953, 0.312667)
|
||||
V 25: Pos(-0.295641, -0.122459, 0.0) Norm(0.980785, 0.19509, 0.0) UV(0.173828, 0.001953)
|
||||
V 26: Pos(-0.32, 0.0, 0.0) Norm(0.980785, 0.19509, 0.0) UV(0.126953, 0.001953)
|
||||
V 27: Pos(-0.226274, -0.226274, 0.0) Norm(-0.83147, -0.55557, 0.0) UV(0.220703, 0.001953)
|
||||
V 28: Pos(-0.295641, -0.122459, 0.87) Norm(-0.83147, -0.55557, 0.0) UV(0.173828, 0.312667)
|
||||
V 29: Pos(-0.295641, -0.122459, 0.0) Norm(-0.83147, -0.55557, 0.0) UV(0.173828, 0.001953)
|
||||
V 30: Pos(-0.226274, -0.226274, 0.87) Norm(0.55557, 0.83147, 0.0) UV(0.220703, 0.312667)
|
||||
V 31: Pos(-0.122459, -0.295641, 0.0) Norm(0.55557, 0.83147, 0.0) UV(0.267578, 0.001953)
|
||||
V 32: Pos(-0.226274, -0.226274, 0.0) Norm(0.55557, 0.83147, 0.0) UV(0.220703, 0.001953)
|
||||
V 33: Pos(-0.122459, -0.295641, 0.87) Norm(0.19509, 0.980785, 0.0) UV(0.017578, 0.312667)
|
||||
V 34: Pos(0.0, -0.32, 0.0) Norm(0.19509, 0.980785, 0.0) UV(0.064453, 0.001953)
|
||||
V 35: Pos(-0.122459, -0.295641, 0.0) Norm(0.19509, 0.980785, 0.0) UV(0.017578, 0.001953)
|
||||
V 36: Pos(0.0, -0.32, 0.87) Norm(-0.19509, 0.980785, 0.0) UV(0.064453, 0.312667)
|
||||
V 37: Pos(0.122459, -0.295641, 0.0) Norm(-0.19509, 0.980785, 0.0) UV(0.111328, 0.001953)
|
||||
V 38: Pos(0.0, -0.32, 0.0) Norm(-0.19509, 0.980785, 0.0) UV(0.064453, 0.001953)
|
||||
V 39: Pos(0.226274, -0.226274, 0.0) Norm(0.55557, -0.83147, 0.0) UV(0.158203, 0.001953)
|
||||
V 40: Pos(0.122459, -0.295641, 0.87) Norm(0.55557, -0.83147, 0.0) UV(0.111328, 0.312667)
|
||||
V 41: Pos(0.122459, -0.295641, 0.0) Norm(0.55557, -0.83147, 0.0) UV(0.111328, 0.001953)
|
||||
V 42: Pos(0.226274, -0.226274, 0.87) Norm(-0.83147, 0.55557, 0.0) UV(0.158203, 0.312667)
|
||||
V 43: Pos(0.295641, -0.122459, 0.0) Norm(-0.83147, 0.55557, 0.0) UV(0.205078, 0.001953)
|
||||
V 44: Pos(0.226274, -0.226274, 0.0) Norm(-0.83147, 0.55557, 0.0) UV(0.158203, 0.001953)
|
||||
V 45: Pos(0.295641, -0.122459, 0.87) Norm(-0.980785, 0.19509, 0.0) UV(0.205078, 0.312667)
|
||||
V 46: Pos(0.32, 0.0, 0.0) Norm(-0.980785, 0.19509, 0.0) UV(0.251953, 0.001953)
|
||||
V 47: Pos(0.295641, -0.122459, 0.0) Norm(-0.980785, 0.19509, 0.0) UV(0.205078, 0.001953)
|
||||
V 48: Pos(0.324, 0.0, 0.36) Norm(0.980785, -0.19509, 0.0) UV(0.600586, 0.506836)
|
||||
V 49: Pos(0.299337, -0.123989, 0.62) Norm(0.980785, -0.19509, 0.0) UV(0.506836, 0.694336)
|
||||
V 50: Pos(0.299337, -0.123989, 0.36) Norm(0.980785, -0.19509, 0.0) UV(0.506836, 0.506836)
|
||||
V 51: Pos(0.299337, 0.123989, 0.36) Norm(0.980785, 0.19509, 0.0) UV(0.694336, 0.506836)
|
||||
V 52: Pos(0.324, 0.0, 0.62) Norm(0.980785, 0.19509, 0.0) UV(0.600586, 0.694336)
|
||||
V 53: Pos(0.324, 0.0, 0.36) Norm(0.980785, 0.19509, 0.0) UV(0.600586, 0.506836)
|
||||
V 54: Pos(0.316891, 0.13126, 0.9) Norm(0.853456, 0.169763, 0.492741) UV(0.048828, 0.505859)
|
||||
V 55: Pos(0.3345, 0.0, 0.914722) Norm(0.853456, 0.169763, 0.492741) UV(0.001953, 0.547526)
|
||||
V 56: Pos(0.343, 0.0, 0.9) Norm(0.853456, 0.169763, 0.492741) UV(0.001953, 0.505859)
|
||||
V 57: Pos(0.309038, 0.128008, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.048828, 0.547526)
|
||||
V 58: Pos(0.3175, 0.0, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.001953, 0.589193)
|
||||
V 59: Pos(0.3345, 0.0, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.001953, 0.547526)
|
||||
V 60: Pos(0.309, 0.0, 0.9) Norm(0.853455, 0.169763, -0.492742) UV(0.001953, 0.630859)
|
||||
V 61: Pos(0.293332, 0.121502, 0.914722) Norm(0.853455, 0.169763, -0.492742) UV(0.048828, 0.589193)
|
||||
V 62: Pos(0.3175, 0.0, 0.914722) Norm(0.853455, 0.169763, -0.492742) UV(0.001953, 0.589193)
|
||||
V 63: Pos(0.285479, 0.118249, 0.9) Norm(-0.853454, -0.169763, -0.492744) UV(0.048828, 0.630859)
|
||||
V 64: Pos(0.3175, 0.0, 0.885278) Norm(-0.853454, -0.169763, -0.492744) UV(0.001953, 0.672526)
|
||||
V 65: Pos(0.309, 0.0, 0.9) Norm(-0.853454, -0.169763, -0.492744) UV(0.001953, 0.630859)
|
||||
V 66: Pos(0.3175, 0.0, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.001953, 0.672526)
|
||||
V 67: Pos(0.309038, 0.128008, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.048828, 0.714193)
|
||||
V 68: Pos(0.293332, 0.121502, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.048828, 0.672526)
|
||||
V 69: Pos(0.309038, 0.128008, 0.885278) Norm(0.853455, 0.169763, -0.492742) UV(0.048828, 0.714193)
|
||||
V 70: Pos(0.343, 0.0, 0.9) Norm(0.853455, 0.169763, -0.492742) UV(0.001953, 0.755859)
|
||||
V 71: Pos(0.3345, 0.0, 0.885278) Norm(0.853455, 0.169763, -0.492742) UV(0.001953, 0.714193)
|
||||
V 72: Pos(0.309038, 0.128008, 0.914722) Norm(-0.723525, -0.483444, -0.492741) UV(0.048828, 0.547526)
|
||||
V 73: Pos(0.242538, 0.242538, 0.9) Norm(-0.723525, -0.483444, -0.492741) UV(0.095703, 0.505859)
|
||||
V 74: Pos(0.316891, 0.13126, 0.9) Norm(-0.723525, -0.483444, -0.492741) UV(0.048828, 0.505859)
|
||||
V 75: Pos(0.293332, 0.121502, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.048828, 0.589193)
|
||||
V 76: Pos(0.236527, 0.236527, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.095703, 0.547526)
|
||||
V 77: Pos(0.309038, 0.128008, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.048828, 0.547526)
|
||||
V 78: Pos(0.285479, 0.118249, 0.9) Norm(0.723525, 0.483444, -0.492742) UV(0.048828, 0.630859)
|
||||
V 79: Pos(0.224506, 0.224506, 0.914722) Norm(0.723525, 0.483444, -0.492742) UV(0.095703, 0.589193)
|
||||
V 80: Pos(0.293332, 0.121502, 0.914722) Norm(0.723525, 0.483444, -0.492742) UV(0.048828, 0.589193)
|
||||
V 81: Pos(0.293332, 0.121502, 0.885278) Norm(0.723524, 0.483443, 0.492743) UV(0.048828, 0.672526)
|
||||
V 82: Pos(0.218496, 0.218496, 0.9) Norm(0.723524, 0.483443, 0.492743) UV(0.095703, 0.630859)
|
||||
V 83: Pos(0.285479, 0.118249, 0.9) Norm(0.723524, 0.483443, 0.492743) UV(0.048828, 0.630859)
|
||||
V 84: Pos(0.224506, 0.224506, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.095703, 0.672526)
|
||||
V 85: Pos(0.309038, 0.128008, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.048828, 0.714193)
|
||||
V 86: Pos(0.293332, 0.121502, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.048828, 0.672526)
|
||||
V 87: Pos(0.236527, 0.236527, 0.885278) Norm(0.723524, 0.483443, -0.492743) UV(0.095703, 0.714193)
|
||||
V 88: Pos(0.316891, 0.13126, 0.9) Norm(0.723524, 0.483443, -0.492743) UV(0.048828, 0.755859)
|
||||
V 89: Pos(0.309038, 0.128008, 0.885278) Norm(0.723524, 0.483443, -0.492743) UV(0.048828, 0.714193)
|
||||
V 90: Pos(0.236527, 0.236527, 0.914722) Norm(-0.483443, -0.723524, -0.492742) UV(0.095703, 0.547526)
|
||||
V 91: Pos(0.13126, 0.316891, 0.9) Norm(-0.483443, -0.723524, -0.492742) UV(0.142578, 0.505859)
|
||||
V 92: Pos(0.242538, 0.242538, 0.9) Norm(-0.483443, -0.723524, -0.492742) UV(0.095703, 0.505859)
|
||||
V 93: Pos(0.224506, 0.224506, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.095703, 0.589193)
|
||||
V 94: Pos(0.128008, 0.309038, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.142578, 0.547526)
|
||||
V 95: Pos(0.121502, 0.293332, 0.914722) Norm(-0.483444, -0.723525, 0.492742) UV(0.142578, 0.589193)
|
||||
V 96: Pos(0.218496, 0.218496, 0.9) Norm(-0.483444, -0.723525, 0.492742) UV(0.095703, 0.630859)
|
||||
V 97: Pos(0.224506, 0.224506, 0.914722) Norm(-0.483444, -0.723525, 0.492742) UV(0.095703, 0.589193)
|
||||
V 98: Pos(0.118249, 0.285479, 0.9) Norm(-0.483443, -0.723524, -0.492743) UV(0.142578, 0.630859)
|
||||
V 99: Pos(0.224506, 0.224506, 0.885278) Norm(-0.483443, -0.723524, -0.492743) UV(0.095703, 0.672526)
|
||||
V 100: Pos(0.218496, 0.218496, 0.9) Norm(-0.483443, -0.723524, -0.492743) UV(0.095703, 0.630859)
|
||||
V 101: Pos(0.121502, 0.293332, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.142578, 0.672526)
|
||||
V 102: Pos(0.236527, 0.236527, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.095703, 0.714193)
|
||||
V 103: Pos(0.128008, 0.309038, 0.885278) Norm(0.483443, 0.723524, -0.492743) UV(0.142578, 0.714193)
|
||||
V 104: Pos(0.242538, 0.242538, 0.9) Norm(0.483443, 0.723524, -0.492743) UV(0.095703, 0.755859)
|
||||
V 105: Pos(0.236527, 0.236527, 0.885278) Norm(0.483443, 0.723524, -0.492743) UV(0.095703, 0.714193)
|
||||
V 106: Pos(0.0, 0.343, 0.9) Norm(0.169763, 0.853456, 0.492741) UV(0.189453, 0.505859)
|
||||
V 107: Pos(0.128008, 0.309038, 0.914722) Norm(0.169763, 0.853456, 0.492741) UV(0.142578, 0.547526)
|
||||
V 108: Pos(0.13126, 0.316891, 0.9) Norm(0.169763, 0.853456, 0.492741) UV(0.142578, 0.505859)
|
||||
V 109: Pos(0.128008, 0.309038, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.142578, 0.547526)
|
||||
V 110: Pos(0.0, 0.3175, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.189453, 0.589193)
|
||||
V 111: Pos(0.121502, 0.293332, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.142578, 0.589193)
|
||||
V 112: Pos(0.118249, 0.285479, 0.9) Norm(0.169763, 0.853456, -0.492741) UV(0.142578, 0.630859)
|
||||
V 113: Pos(0.0, 0.3175, 0.914722) Norm(0.169763, 0.853456, -0.492741) UV(0.189453, 0.589193)
|
||||
V 114: Pos(0.121502, 0.293332, 0.914722) Norm(0.169763, 0.853456, -0.492741) UV(0.142578, 0.589193)
|
||||
V 115: Pos(0.0, 0.309, 0.9) Norm(-0.169763, -0.853455, -0.492743) UV(0.189453, 0.630859)
|
||||
V 116: Pos(0.121502, 0.293332, 0.885278) Norm(-0.169763, -0.853455, -0.492743) UV(0.142578, 0.672526)
|
||||
V 117: Pos(0.118249, 0.285479, 0.9) Norm(-0.169763, -0.853455, -0.492743) UV(0.142578, 0.630859)
|
||||
V 118: Pos(0.128008, 0.309038, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.142578, 0.714193)
|
||||
V 119: Pos(0.0, 0.3175, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.189453, 0.672526)
|
||||
V 120: Pos(0.121502, 0.293332, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.142578, 0.672526)
|
||||
V 121: Pos(0.0, 0.3345, 0.885278) Norm(0.169763, 0.853455, -0.492743) UV(0.189453, 0.714193)
|
||||
V 122: Pos(0.13126, 0.316891, 0.9) Norm(0.169763, 0.853455, -0.492743) UV(0.142578, 0.755859)
|
||||
V 123: Pos(0.128008, 0.309038, 0.885278) Norm(0.169763, 0.853455, -0.492743) UV(0.142578, 0.714193)
|
||||
V 124: Pos(-0.13126, 0.316891, 0.9) Norm(-0.169763, 0.853456, 0.492741) UV(0.236328, 0.505859)
|
||||
V 125: Pos(0.0, 0.3345, 0.914722) Norm(-0.169763, 0.853456, 0.492741) UV(0.189453, 0.547526)
|
||||
V 126: Pos(0.0, 0.343, 0.9) Norm(-0.169763, 0.853456, 0.492741) UV(0.189453, 0.505859)
|
||||
V 127: Pos(-0.128008, 0.309038, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.236328, 0.547526)
|
||||
V 128: Pos(0.0, 0.3345, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.189453, 0.547526)
|
||||
V 129: Pos(0.0, 0.309, 0.9) Norm(-0.169763, 0.853455, -0.492742) UV(0.189453, 0.630859)
|
||||
V 130: Pos(-0.121502, 0.293332, 0.914722) Norm(-0.169763, 0.853455, -0.492742) UV(0.236328, 0.589193)
|
||||
V 131: Pos(0.0, 0.3175, 0.914722) Norm(-0.169763, 0.853455, -0.492742) UV(0.189453, 0.589193)
|
||||
V 132: Pos(-0.118249, 0.285479, 0.9) Norm(0.169763, -0.853454, -0.492744) UV(0.236328, 0.630859)
|
||||
V 133: Pos(0.0, 0.3175, 0.885278) Norm(0.169763, -0.853454, -0.492744) UV(0.189453, 0.672526)
|
||||
V 134: Pos(0.0, 0.309, 0.9) Norm(0.169763, -0.853454, -0.492744) UV(0.189453, 0.630859)
|
||||
V 135: Pos(-0.128008, 0.309038, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.236328, 0.714193)
|
||||
V 136: Pos(-0.121502, 0.293332, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.236328, 0.672526)
|
||||
V 137: Pos(-0.128008, 0.309038, 0.885278) Norm(-0.169763, 0.853455, -0.492742) UV(0.236328, 0.714193)
|
||||
V 138: Pos(0.0, 0.343, 0.9) Norm(-0.169763, 0.853455, -0.492742) UV(0.189453, 0.755859)
|
||||
V 139: Pos(0.0, 0.3345, 0.885278) Norm(-0.169763, 0.853455, -0.492742) UV(0.189453, 0.714193)
|
||||
V 140: Pos(-0.128008, 0.309038, 0.914722) Norm(0.483444, -0.723525, -0.492741) UV(0.236328, 0.547526)
|
||||
V 141: Pos(-0.242538, 0.242538, 0.9) Norm(0.483444, -0.723525, -0.492741) UV(0.283203, 0.505859)
|
||||
V 142: Pos(-0.13126, 0.316891, 0.9) Norm(0.483444, -0.723525, -0.492741) UV(0.236328, 0.505859)
|
||||
V 143: Pos(-0.121502, 0.293332, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.236328, 0.589193)
|
||||
V 144: Pos(-0.236527, 0.236527, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.283203, 0.547526)
|
||||
V 145: Pos(-0.128008, 0.309038, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.236328, 0.547526)
|
||||
V 146: Pos(-0.224506, 0.224506, 0.914722) Norm(0.483444, -0.723525, 0.492742) UV(0.283203, 0.589193)
|
||||
V 147: Pos(-0.118249, 0.285479, 0.9) Norm(0.483444, -0.723525, 0.492742) UV(0.236328, 0.630859)
|
||||
V 148: Pos(-0.121502, 0.293332, 0.914722) Norm(0.483444, -0.723525, 0.492742) UV(0.236328, 0.589193)
|
||||
V 149: Pos(-0.121502, 0.293332, 0.885278) Norm(-0.483443, 0.723524, 0.492743) UV(0.236328, 0.672526)
|
||||
V 150: Pos(-0.218496, 0.218496, 0.9) Norm(-0.483443, 0.723524, 0.492743) UV(0.283203, 0.630859)
|
||||
V 151: Pos(-0.118249, 0.285479, 0.9) Norm(-0.483443, 0.723524, 0.492743) UV(0.236328, 0.630859)
|
||||
V 152: Pos(-0.224506, 0.224506, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.283203, 0.672526)
|
||||
V 153: Pos(-0.128008, 0.309038, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.236328, 0.714193)
|
||||
V 154: Pos(-0.121502, 0.293332, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.236328, 0.672526)
|
||||
V 155: Pos(-0.13126, 0.316891, 0.9) Norm(0.483443, -0.723524, 0.492743) UV(0.236328, 0.755859)
|
||||
V 156: Pos(-0.236527, 0.236527, 0.885278) Norm(0.483443, -0.723524, 0.492743) UV(0.283203, 0.714193)
|
||||
V 157: Pos(-0.128008, 0.309038, 0.885278) Norm(0.483443, -0.723524, 0.492743) UV(0.236328, 0.714193)
|
||||
V 158: Pos(-0.236527, 0.236527, 0.914722) Norm(0.723524, -0.483443, -0.492742) UV(0.033203, 0.547526)
|
||||
V 159: Pos(-0.316891, 0.13126, 0.9) Norm(0.723524, -0.483443, -0.492742) UV(0.080078, 0.505859)
|
||||
V 160: Pos(-0.242538, 0.242538, 0.9) Norm(0.723524, -0.483443, -0.492742) UV(0.033203, 0.505859)
|
||||
V 161: Pos(-0.309038, 0.128008, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.080078, 0.547526)
|
||||
V 162: Pos(-0.224506, 0.224506, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.033203, 0.589193)
|
||||
V 163: Pos(-0.236527, 0.236527, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.033203, 0.547526)
|
||||
V 164: Pos(-0.218496, 0.218496, 0.9) Norm(-0.723525, 0.483444, -0.492742) UV(0.033203, 0.630859)
|
||||
V 165: Pos(-0.293332, 0.121502, 0.914722) Norm(-0.723525, 0.483444, -0.492742) UV(0.080078, 0.589193)
|
||||
V 166: Pos(-0.224506, 0.224506, 0.914722) Norm(-0.723525, 0.483444, -0.492742) UV(0.033203, 0.589193)
|
||||
V 167: Pos(-0.224506, 0.224506, 0.885278) Norm(-0.723524, 0.483443, 0.492743) UV(0.033203, 0.672526)
|
||||
V 168: Pos(-0.285479, 0.118249, 0.9) Norm(-0.723524, 0.483443, 0.492743) UV(0.080078, 0.630859)
|
||||
V 169: Pos(-0.218496, 0.218496, 0.9) Norm(-0.723524, 0.483443, 0.492743) UV(0.033203, 0.630859)
|
||||
V 170: Pos(-0.293332, 0.121502, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.080078, 0.672526)
|
||||
V 171: Pos(-0.236527, 0.236527, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.033203, 0.714193)
|
||||
V 172: Pos(-0.224506, 0.224506, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.033203, 0.672526)
|
||||
V 173: Pos(-0.309038, 0.128008, 0.885278) Norm(-0.723524, 0.483443, -0.492743) UV(0.080078, 0.714193)
|
||||
V 174: Pos(-0.242538, 0.242538, 0.9) Norm(-0.723524, 0.483443, -0.492743) UV(0.033203, 0.755859)
|
||||
V 175: Pos(-0.236527, 0.236527, 0.885278) Norm(-0.723524, 0.483443, -0.492743) UV(0.033203, 0.714193)
|
||||
V 176: Pos(-0.343, 0.0, 0.9) Norm(-0.853456, 0.169763, 0.492741) UV(0.126953, 0.505859)
|
||||
V 177: Pos(-0.309038, 0.128008, 0.914722) Norm(-0.853456, 0.169763, 0.492741) UV(0.080078, 0.547526)
|
||||
V 178: Pos(-0.316891, 0.13126, 0.9) Norm(-0.853456, 0.169763, 0.492741) UV(0.080078, 0.505859)
|
||||
V 179: Pos(-0.3175, 0.0, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.126953, 0.589193)
|
||||
V 180: Pos(-0.293332, 0.121502, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.080078, 0.589193)
|
||||
V 181: Pos(-0.285479, 0.118249, 0.9) Norm(-0.853456, 0.169763, -0.492741) UV(0.080078, 0.630859)
|
||||
V 182: Pos(-0.3175, 0.0, 0.914722) Norm(-0.853456, 0.169763, -0.492741) UV(0.126953, 0.589193)
|
||||
V 183: Pos(-0.293332, 0.121502, 0.914722) Norm(-0.853456, 0.169763, -0.492741) UV(0.080078, 0.589193)
|
||||
V 184: Pos(-0.309, 0.0, 0.9) Norm(0.853455, -0.169763, -0.492743) UV(0.126953, 0.630859)
|
||||
V 185: Pos(-0.293332, 0.121502, 0.885278) Norm(0.853455, -0.169763, -0.492743) UV(0.080078, 0.672526)
|
||||
V 186: Pos(-0.285479, 0.118249, 0.9) Norm(0.853455, -0.169763, -0.492743) UV(0.080078, 0.630859)
|
||||
V 187: Pos(-0.309038, 0.128008, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.080078, 0.714193)
|
||||
V 188: Pos(-0.3175, 0.0, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.126953, 0.672526)
|
||||
V 189: Pos(-0.293332, 0.121502, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.080078, 0.672526)
|
||||
V 190: Pos(-0.3345, 0.0, 0.885278) Norm(-0.853455, 0.169763, -0.492743) UV(0.126953, 0.714193)
|
||||
V 191: Pos(-0.316891, 0.13126, 0.9) Norm(-0.853455, 0.169763, -0.492743) UV(0.080078, 0.755859)
|
||||
V 192: Pos(-0.309038, 0.128008, 0.885278) Norm(-0.853455, 0.169763, -0.492743) UV(0.080078, 0.714193)
|
||||
V 193: Pos(-0.316891, -0.13126, 0.9) Norm(-0.853456, -0.169763, 0.492741) UV(0.173828, 0.505859)
|
||||
V 194: Pos(-0.3345, 0.0, 0.914722) Norm(-0.853456, -0.169763, 0.492741) UV(0.126953, 0.547526)
|
||||
V 195: Pos(-0.343, 0.0, 0.9) Norm(-0.853456, -0.169763, 0.492741) UV(0.126953, 0.505859)
|
||||
V 196: Pos(-0.309038, -0.128008, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.173828, 0.547526)
|
||||
V 197: Pos(-0.3345, 0.0, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.126953, 0.547526)
|
||||
V 198: Pos(-0.309, 0.0, 0.9) Norm(-0.853455, -0.169763, -0.492742) UV(0.126953, 0.630859)
|
||||
V 199: Pos(-0.293332, -0.121502, 0.914722) Norm(-0.853455, -0.169763, -0.492742) UV(0.173828, 0.589193)
|
||||
V 200: Pos(-0.3175, 0.0, 0.914722) Norm(-0.853455, -0.169763, -0.492742) UV(0.126953, 0.589193)
|
||||
V 201: Pos(-0.285479, -0.118249, 0.9) Norm(0.853454, 0.169763, -0.492744) UV(0.173828, 0.630859)
|
||||
V 202: Pos(-0.3175, 0.0, 0.885278) Norm(0.853454, 0.169763, -0.492744) UV(0.126953, 0.672526)
|
||||
V 203: Pos(-0.309, 0.0, 0.9) Norm(0.853454, 0.169763, -0.492744) UV(0.126953, 0.630859)
|
||||
V 204: Pos(-0.309038, -0.128008, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.173828, 0.714193)
|
||||
V 205: Pos(-0.293332, -0.121502, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.173828, 0.672526)
|
||||
V 206: Pos(-0.309038, -0.128008, 0.885278) Norm(-0.853455, -0.169763, -0.492742) UV(0.173828, 0.714193)
|
||||
V 207: Pos(-0.343, 0.0, 0.9) Norm(-0.853455, -0.169763, -0.492742) UV(0.126953, 0.755859)
|
||||
V 208: Pos(-0.3345, 0.0, 0.885278) Norm(-0.853455, -0.169763, -0.492742) UV(0.126953, 0.714193)
|
||||
V 209: Pos(-0.309038, -0.128008, 0.914722) Norm(0.723525, 0.483444, -0.492741) UV(0.173828, 0.547526)
|
||||
V 210: Pos(-0.242538, -0.242538, 0.9) Norm(0.723525, 0.483444, -0.492741) UV(0.220703, 0.505859)
|
||||
V 211: Pos(-0.316891, -0.13126, 0.9) Norm(0.723525, 0.483444, -0.492741) UV(0.173828, 0.505859)
|
||||
V 212: Pos(-0.293332, -0.121502, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.173828, 0.589193)
|
||||
V 213: Pos(-0.236527, -0.236527, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.220703, 0.547526)
|
||||
V 214: Pos(-0.309038, -0.128008, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.173828, 0.547526)
|
||||
V 215: Pos(-0.285479, -0.118249, 0.9) Norm(-0.723525, -0.483444, -0.492742) UV(0.173828, 0.630859)
|
||||
V 216: Pos(-0.224506, -0.224506, 0.914722) Norm(-0.723525, -0.483444, -0.492742) UV(0.220703, 0.589193)
|
||||
V 217: Pos(-0.293332, -0.121502, 0.914722) Norm(-0.723525, -0.483444, -0.492742) UV(0.173828, 0.589193)
|
||||
V 218: Pos(-0.293332, -0.121502, 0.885278) Norm(-0.723524, -0.483443, 0.492743) UV(0.173828, 0.672526)
|
||||
V 219: Pos(-0.218496, -0.218496, 0.9) Norm(-0.723524, -0.483443, 0.492743) UV(0.220703, 0.630859)
|
||||
V 220: Pos(-0.285479, -0.118249, 0.9) Norm(-0.723524, -0.483443, 0.492743) UV(0.173828, 0.630859)
|
||||
V 221: Pos(-0.224506, -0.224506, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.220703, 0.672526)
|
||||
V 222: Pos(-0.309038, -0.128008, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.173828, 0.714193)
|
||||
V 223: Pos(-0.293332, -0.121502, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.173828, 0.672526)
|
||||
V 224: Pos(-0.236527, -0.236527, 0.885278) Norm(-0.723524, -0.483443, -0.492743) UV(0.220703, 0.714193)
|
||||
V 225: Pos(-0.316891, -0.13126, 0.9) Norm(-0.723524, -0.483443, -0.492743) UV(0.173828, 0.755859)
|
||||
V 226: Pos(-0.309038, -0.128008, 0.885278) Norm(-0.723524, -0.483443, -0.492743) UV(0.173828, 0.714193)
|
||||
V 227: Pos(-0.236527, -0.236527, 0.914722) Norm(0.483443, 0.723524, -0.492742) UV(0.220703, 0.547526)
|
||||
V 228: Pos(-0.13126, -0.316891, 0.9) Norm(0.483443, 0.723524, -0.492742) UV(0.267578, 0.505859)
|
||||
V 229: Pos(-0.242538, -0.242538, 0.9) Norm(0.483443, 0.723524, -0.492742) UV(0.220703, 0.505859)
|
||||
V 230: Pos(-0.224506, -0.224506, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.220703, 0.589193)
|
||||
V 231: Pos(-0.128008, -0.309038, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.267578, 0.547526)
|
||||
V 232: Pos(-0.121502, -0.293332, 0.914722) Norm(0.483444, 0.723525, 0.492742) UV(0.267578, 0.589193)
|
||||
V 233: Pos(-0.218496, -0.218496, 0.9) Norm(0.483444, 0.723525, 0.492742) UV(0.220703, 0.630859)
|
||||
V 234: Pos(-0.224506, -0.224506, 0.914722) Norm(0.483444, 0.723525, 0.492742) UV(0.220703, 0.589193)
|
||||
V 235: Pos(-0.118249, -0.285479, 0.9) Norm(0.483443, 0.723524, -0.492743) UV(0.267578, 0.630859)
|
||||
V 236: Pos(-0.224506, -0.224506, 0.885278) Norm(0.483443, 0.723524, -0.492743) UV(0.220703, 0.672526)
|
||||
V 237: Pos(-0.218496, -0.218496, 0.9) Norm(0.483443, 0.723524, -0.492743) UV(0.220703, 0.630859)
|
||||
V 238: Pos(-0.121502, -0.293332, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.267578, 0.672526)
|
||||
V 239: Pos(-0.236527, -0.236527, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.220703, 0.714193)
|
||||
V 240: Pos(-0.128008, -0.309038, 0.885278) Norm(-0.483443, -0.723524, -0.492743) UV(0.267578, 0.714193)
|
||||
V 241: Pos(-0.242538, -0.242538, 0.9) Norm(-0.483443, -0.723524, -0.492743) UV(0.220703, 0.755859)
|
||||
V 242: Pos(-0.236527, -0.236527, 0.885278) Norm(-0.483443, -0.723524, -0.492743) UV(0.220703, 0.714193)
|
||||
V 243: Pos(0.0, -0.343, 0.9) Norm(-0.169763, -0.853456, 0.492741) UV(0.064453, 0.505859)
|
||||
V 244: Pos(-0.128008, -0.309038, 0.914722) Norm(-0.169763, -0.853456, 0.492741) UV(0.017578, 0.547526)
|
||||
V 245: Pos(-0.13126, -0.316891, 0.9) Norm(-0.169763, -0.853456, 0.492741) UV(0.017578, 0.505859)
|
||||
V 246: Pos(-0.128008, -0.309038, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.017578, 0.547526)
|
||||
V 247: Pos(0.0, -0.3175, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.064453, 0.589193)
|
||||
V 248: Pos(-0.121502, -0.293332, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.017578, 0.589193)
|
||||
V 249: Pos(-0.118249, -0.285479, 0.9) Norm(-0.169763, -0.853456, -0.492741) UV(0.017578, 0.630859)
|
||||
V 250: Pos(0.0, -0.3175, 0.914722) Norm(-0.169763, -0.853456, -0.492741) UV(0.064453, 0.589193)
|
||||
V 251: Pos(-0.121502, -0.293332, 0.914722) Norm(-0.169763, -0.853456, -0.492741) UV(0.017578, 0.589193)
|
||||
V 252: Pos(0.0, -0.309, 0.9) Norm(0.169763, 0.853455, -0.492743) UV(0.064453, 0.630859)
|
||||
V 253: Pos(-0.121502, -0.293332, 0.885278) Norm(0.169763, 0.853455, -0.492743) UV(0.017578, 0.672526)
|
||||
V 254: Pos(-0.118249, -0.285479, 0.9) Norm(0.169763, 0.853455, -0.492743) UV(0.017578, 0.630859)
|
||||
V 255: Pos(-0.128008, -0.309038, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.017578, 0.714193)
|
||||
V 256: Pos(0.0, -0.3175, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.064453, 0.672526)
|
||||
V 257: Pos(-0.121502, -0.293332, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.017578, 0.672526)
|
||||
V 258: Pos(0.0, -0.3345, 0.885278) Norm(-0.169763, -0.853455, -0.492743) UV(0.064453, 0.714193)
|
||||
V 259: Pos(-0.13126, -0.316891, 0.9) Norm(-0.169763, -0.853455, -0.492743) UV(0.017578, 0.755859)
|
||||
V 260: Pos(-0.128008, -0.309038, 0.885278) Norm(-0.169763, -0.853455, -0.492743) UV(0.017578, 0.714193)
|
||||
V 261: Pos(0.13126, -0.316891, 0.9) Norm(0.169763, -0.853456, 0.492741) UV(0.111328, 0.505859)
|
||||
V 262: Pos(0.0, -0.3345, 0.914722) Norm(0.169763, -0.853456, 0.492741) UV(0.064453, 0.547526)
|
||||
V 263: Pos(0.0, -0.343, 0.9) Norm(0.169763, -0.853456, 0.492741) UV(0.064453, 0.505859)
|
||||
V 264: Pos(0.128008, -0.309038, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.111328, 0.547526)
|
||||
V 265: Pos(0.0, -0.3345, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.064453, 0.547526)
|
||||
V 266: Pos(0.0, -0.309, 0.9) Norm(0.169763, -0.853455, -0.492742) UV(0.064453, 0.630859)
|
||||
V 267: Pos(0.121502, -0.293332, 0.914722) Norm(0.169763, -0.853455, -0.492742) UV(0.111328, 0.589193)
|
||||
V 268: Pos(0.0, -0.3175, 0.914722) Norm(0.169763, -0.853455, -0.492742) UV(0.064453, 0.589193)
|
||||
V 269: Pos(0.118249, -0.285479, 0.9) Norm(-0.169763, 0.853454, -0.492744) UV(0.111328, 0.630859)
|
||||
V 270: Pos(0.0, -0.3175, 0.885278) Norm(-0.169763, 0.853454, -0.492744) UV(0.064453, 0.672526)
|
||||
V 271: Pos(0.0, -0.309, 0.9) Norm(-0.169763, 0.853454, -0.492744) UV(0.064453, 0.630859)
|
||||
V 272: Pos(0.128008, -0.309038, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.111328, 0.714193)
|
||||
V 273: Pos(0.121502, -0.293332, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.111328, 0.672526)
|
||||
V 274: Pos(0.128008, -0.309038, 0.885278) Norm(0.169763, -0.853455, -0.492742) UV(0.111328, 0.714193)
|
||||
V 275: Pos(0.0, -0.343, 0.9) Norm(0.169763, -0.853455, -0.492742) UV(0.064453, 0.755859)
|
||||
V 276: Pos(0.0, -0.3345, 0.885278) Norm(0.169763, -0.853455, -0.492742) UV(0.064453, 0.714193)
|
||||
V 277: Pos(0.128008, -0.309038, 0.914722) Norm(-0.483444, 0.723525, -0.492741) UV(0.111328, 0.547526)
|
||||
V 278: Pos(0.242538, -0.242538, 0.9) Norm(-0.483444, 0.723525, -0.492741) UV(0.158203, 0.505859)
|
||||
V 279: Pos(0.13126, -0.316891, 0.9) Norm(-0.483444, 0.723525, -0.492741) UV(0.111328, 0.505859)
|
||||
V 280: Pos(0.121502, -0.293332, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.111328, 0.589193)
|
||||
V 281: Pos(0.236527, -0.236527, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.158203, 0.547526)
|
||||
V 282: Pos(0.128008, -0.309038, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.111328, 0.547526)
|
||||
V 283: Pos(0.224506, -0.224506, 0.914722) Norm(-0.483444, 0.723525, 0.492742) UV(0.158203, 0.589193)
|
||||
V 284: Pos(0.118249, -0.285479, 0.9) Norm(-0.483444, 0.723525, 0.492742) UV(0.111328, 0.630859)
|
||||
V 285: Pos(0.121502, -0.293332, 0.914722) Norm(-0.483444, 0.723525, 0.492742) UV(0.111328, 0.589193)
|
||||
V 286: Pos(0.121502, -0.293332, 0.885278) Norm(0.483443, -0.723524, 0.492743) UV(0.111328, 0.672526)
|
||||
V 287: Pos(0.218496, -0.218496, 0.9) Norm(0.483443, -0.723524, 0.492743) UV(0.158203, 0.630859)
|
||||
V 288: Pos(0.118249, -0.285479, 0.9) Norm(0.483443, -0.723524, 0.492743) UV(0.111328, 0.630859)
|
||||
V 289: Pos(0.224506, -0.224506, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.158203, 0.672526)
|
||||
V 290: Pos(0.128008, -0.309038, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.111328, 0.714193)
|
||||
V 291: Pos(0.121502, -0.293332, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.111328, 0.672526)
|
||||
V 292: Pos(0.13126, -0.316891, 0.9) Norm(-0.483443, 0.723524, 0.492743) UV(0.111328, 0.755859)
|
||||
V 293: Pos(0.236527, -0.236527, 0.885278) Norm(-0.483443, 0.723524, 0.492743) UV(0.158203, 0.714193)
|
||||
V 294: Pos(0.128008, -0.309038, 0.885278) Norm(-0.483443, 0.723524, 0.492743) UV(0.111328, 0.714193)
|
||||
V 295: Pos(0.236527, -0.236527, 0.914722) Norm(-0.723524, 0.483443, -0.492742) UV(0.158203, 0.547526)
|
||||
V 296: Pos(0.316891, -0.13126, 0.9) Norm(-0.723524, 0.483443, -0.492742) UV(0.205078, 0.505859)
|
||||
V 297: Pos(0.242538, -0.242538, 0.9) Norm(-0.723524, 0.483443, -0.492742) UV(0.158203, 0.505859)
|
||||
V 298: Pos(0.309038, -0.128008, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.205078, 0.547526)
|
||||
V 299: Pos(0.224506, -0.224506, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.158203, 0.589193)
|
||||
V 300: Pos(0.236527, -0.236527, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.158203, 0.547526)
|
||||
V 301: Pos(0.218496, -0.218496, 0.9) Norm(0.723525, -0.483444, -0.492742) UV(0.158203, 0.630859)
|
||||
V 302: Pos(0.293332, -0.121502, 0.914722) Norm(0.723525, -0.483444, -0.492742) UV(0.205078, 0.589193)
|
||||
V 303: Pos(0.224506, -0.224506, 0.914722) Norm(0.723525, -0.483444, -0.492742) UV(0.158203, 0.589193)
|
||||
V 304: Pos(0.224506, -0.224506, 0.885278) Norm(0.723524, -0.483443, 0.492743) UV(0.158203, 0.672526)
|
||||
V 305: Pos(0.285479, -0.118249, 0.9) Norm(0.723524, -0.483443, 0.492743) UV(0.205078, 0.630859)
|
||||
V 306: Pos(0.218496, -0.218496, 0.9) Norm(0.723524, -0.483443, 0.492743) UV(0.158203, 0.630859)
|
||||
V 307: Pos(0.293332, -0.121502, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.205078, 0.672526)
|
||||
V 308: Pos(0.236527, -0.236527, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.158203, 0.714193)
|
||||
V 309: Pos(0.309038, -0.128008, 0.885278) Norm(0.723524, -0.483443, -0.492743) UV(0.205078, 0.714193)
|
||||
V 310: Pos(0.242538, -0.242538, 0.9) Norm(0.723524, -0.483443, -0.492743) UV(0.158203, 0.755859)
|
||||
V 311: Pos(0.236527, -0.236527, 0.885278) Norm(0.723524, -0.483443, -0.492743) UV(0.158203, 0.714193)
|
||||
V 312: Pos(0.343, 0.0, 0.9) Norm(0.853456, -0.169763, 0.492741) UV(0.251953, 0.505859)
|
||||
V 313: Pos(0.309038, -0.128008, 0.914722) Norm(0.853456, -0.169763, 0.492741) UV(0.205078, 0.547526)
|
||||
V 314: Pos(0.316891, -0.13126, 0.9) Norm(0.853456, -0.169763, 0.492741) UV(0.205078, 0.505859)
|
||||
V 315: Pos(0.3175, 0.0, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.251953, 0.589193)
|
||||
V 316: Pos(0.293332, -0.121502, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.205078, 0.589193)
|
||||
V 317: Pos(0.285479, -0.118249, 0.9) Norm(0.853456, -0.169763, -0.492741) UV(0.205078, 0.630859)
|
||||
V 318: Pos(0.3175, 0.0, 0.914722) Norm(0.853456, -0.169763, -0.492741) UV(0.251953, 0.589193)
|
||||
V 319: Pos(0.293332, -0.121502, 0.914722) Norm(0.853456, -0.169763, -0.492741) UV(0.205078, 0.589193)
|
||||
V 320: Pos(0.309, 0.0, 0.9) Norm(-0.853455, 0.169763, -0.492743) UV(0.251953, 0.630859)
|
||||
V 321: Pos(0.293332, -0.121502, 0.885278) Norm(-0.853455, 0.169763, -0.492743) UV(0.205078, 0.672526)
|
||||
V 322: Pos(0.285479, -0.118249, 0.9) Norm(-0.853455, 0.169763, -0.492743) UV(0.205078, 0.630859)
|
||||
V 323: Pos(0.309038, -0.128008, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.205078, 0.714193)
|
||||
V 324: Pos(0.3175, 0.0, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.251953, 0.672526)
|
||||
V 325: Pos(0.293332, -0.121502, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.205078, 0.672526)
|
||||
V 326: Pos(0.3345, 0.0, 0.885278) Norm(0.853455, -0.169763, -0.492743) UV(0.251953, 0.714193)
|
||||
V 327: Pos(0.316891, -0.13126, 0.9) Norm(0.853455, -0.169763, -0.492743) UV(0.205078, 0.755859)
|
||||
V 328: Pos(0.309038, -0.128008, 0.885278) Norm(0.853455, -0.169763, -0.492743) UV(0.205078, 0.714193)
|
||||
V 329: Pos(0.308, 0.0, 0.35) Norm(-0.980785, -0.19509, 0.0) UV(0.505859, 0.001953)
|
||||
V 330: Pos(0.284555, 0.117866, 0.88) Norm(-0.980785, -0.19509, 0.0) UV(0.552734, 0.345703)
|
||||
V 331: Pos(0.284555, 0.117866, 0.35) Norm(-0.980785, -0.19509, 0.0) UV(0.552734, 0.001953)
|
||||
V 332: Pos(0.284555, 0.117866, 0.35) Norm(-0.83147, -0.55557, 0.0) UV(0.552734, 0.001953)
|
||||
V 333: Pos(0.217789, 0.217789, 0.88) Norm(-0.83147, -0.55557, 0.0) UV(0.599609, 0.345703)
|
||||
V 334: Pos(0.217789, 0.217789, 0.35) Norm(-0.83147, -0.55557, 0.0) UV(0.599609, 0.001953)
|
||||
V 335: Pos(0.217789, 0.217789, 0.35) Norm(-0.55557, -0.83147, 0.0) UV(0.599609, 0.001953)
|
||||
V 336: Pos(0.117866, 0.284555, 0.88) Norm(-0.55557, -0.83147, 0.0) UV(0.646484, 0.345703)
|
||||
V 337: Pos(0.117866, 0.284555, 0.35) Norm(-0.55557, -0.83147, 0.0) UV(0.646484, 0.001953)
|
||||
V 338: Pos(0.117866, 0.284555, 0.35) Norm(-0.19509, -0.980785, 0.0) UV(0.646484, 0.001953)
|
||||
V 339: Pos(0.0, 0.308, 0.88) Norm(-0.19509, -0.980785, 0.0) UV(0.693359, 0.345703)
|
||||
V 340: Pos(0.0, 0.308, 0.35) Norm(-0.19509, -0.980785, 0.0) UV(0.693359, 0.001953)
|
||||
V 341: Pos(0.0, 0.308, 0.35) Norm(0.19509, -0.980785, 0.0) UV(0.693359, 0.001953)
|
||||
V 342: Pos(-0.117866, 0.284555, 0.88) Norm(0.19509, -0.980785, 0.0) UV(0.740234, 0.345703)
|
||||
V 343: Pos(-0.117866, 0.284555, 0.35) Norm(0.19509, -0.980785, 0.0) UV(0.740234, 0.001953)
|
||||
V 344: Pos(-0.117866, 0.284555, 0.35) Norm(0.55557, -0.83147, 0.0) UV(0.740234, 0.001953)
|
||||
V 345: Pos(-0.217789, 0.217789, 0.88) Norm(0.55557, -0.83147, 0.0) UV(0.787109, 0.345703)
|
||||
V 346: Pos(-0.217789, 0.217789, 0.35) Norm(0.55557, -0.83147, 0.0) UV(0.787109, 0.001953)
|
||||
V 347: Pos(-0.217789, 0.217789, 0.35) Norm(0.83147, -0.55557, 0.0) UV(0.787109, 0.001953)
|
||||
V 348: Pos(-0.284555, 0.117866, 0.88) Norm(0.83147, -0.55557, 0.0) UV(0.833984, 0.345703)
|
||||
V 349: Pos(-0.284555, 0.117866, 0.35) Norm(0.83147, -0.55557, 0.0) UV(0.833984, 0.001953)
|
||||
V 350: Pos(-0.284555, 0.117866, 0.35) Norm(0.980785, -0.19509, 0.0) UV(0.833984, 0.001953)
|
||||
V 351: Pos(-0.308, 0.0, 0.88) Norm(0.980785, -0.19509, 0.0) UV(0.880859, 0.345703)
|
||||
V 352: Pos(-0.308, 0.0, 0.35) Norm(0.980785, -0.19509, 0.0) UV(0.880859, 0.001953)
|
||||
V 353: Pos(-0.308, 0.0, 0.35) Norm(0.980785, 0.19509, 0.0) UV(0.505859, 0.001953)
|
||||
V 354: Pos(-0.284555, -0.117866, 0.88) Norm(0.980785, 0.19509, 0.0) UV(0.552734, 0.345703)
|
||||
V 355: Pos(-0.284555, -0.117866, 0.35) Norm(0.980785, 0.19509, 0.0) UV(0.552734, 0.001953)
|
||||
V 356: Pos(-0.284555, -0.117866, 0.35) Norm(0.83147, 0.55557, 0.0) UV(0.552734, 0.001953)
|
||||
V 357: Pos(-0.217789, -0.217789, 0.88) Norm(0.83147, 0.55557, 0.0) UV(0.599609, 0.345703)
|
||||
V 358: Pos(-0.217789, -0.217789, 0.35) Norm(0.83147, 0.55557, 0.0) UV(0.599609, 0.001953)
|
||||
V 359: Pos(-0.217789, -0.217789, 0.35) Norm(0.55557, 0.83147, 0.0) UV(0.599609, 0.001953)
|
||||
V 360: Pos(-0.117866, -0.284555, 0.88) Norm(0.55557, 0.83147, 0.0) UV(0.646484, 0.345703)
|
||||
V 361: Pos(-0.117866, -0.284555, 0.35) Norm(0.55557, 0.83147, 0.0) UV(0.646484, 0.001953)
|
||||
V 362: Pos(-0.117866, -0.284555, 0.35) Norm(0.19509, 0.980785, 0.0) UV(0.646484, 0.001953)
|
||||
V 363: Pos(0.0, -0.308, 0.88) Norm(0.19509, 0.980785, 0.0) UV(0.693359, 0.345703)
|
||||
V 364: Pos(0.0, -0.308, 0.35) Norm(0.19509, 0.980785, 0.0) UV(0.693359, 0.001953)
|
||||
V 365: Pos(0.0, -0.308, 0.35) Norm(-0.19509, 0.980785, 0.0) UV(0.693359, 0.001953)
|
||||
V 366: Pos(0.117866, -0.284555, 0.88) Norm(-0.19509, 0.980785, 0.0) UV(0.740234, 0.345703)
|
||||
V 367: Pos(0.117866, -0.284555, 0.35) Norm(-0.19509, 0.980785, 0.0) UV(0.740234, 0.001953)
|
||||
V 368: Pos(0.117866, -0.284555, 0.35) Norm(-0.55557, 0.83147, 0.0) UV(0.740234, 0.001953)
|
||||
V 369: Pos(0.217789, -0.217789, 0.88) Norm(-0.55557, 0.83147, 0.0) UV(0.787109, 0.345703)
|
||||
V 370: Pos(0.217789, -0.217789, 0.35) Norm(-0.55557, 0.83147, 0.0) UV(0.787109, 0.001953)
|
||||
V 371: Pos(0.217789, -0.217789, 0.35) Norm(-0.83147, 0.55557, 0.0) UV(0.787109, 0.001953)
|
||||
V 372: Pos(0.284555, -0.117866, 0.88) Norm(-0.83147, 0.55557, 0.0) UV(0.833984, 0.345703)
|
||||
V 373: Pos(0.284555, -0.117866, 0.35) Norm(-0.83147, 0.55557, 0.0) UV(0.833984, 0.001953)
|
||||
V 374: Pos(0.284555, -0.117866, 0.35) Norm(-0.980785, 0.19509, 0.0) UV(0.833984, 0.001953)
|
||||
V 375: Pos(0.308, 0.0, 0.88) Norm(-0.980785, 0.19509, 0.0) UV(0.880859, 0.345703)
|
||||
V 376: Pos(0.308, 0.0, 0.35) Norm(-0.980785, 0.19509, 0.0) UV(0.880859, 0.001953)
|
||||
V 377: Pos(-0.308, 0.0, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 378: Pos(0.0, 0.308, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 379: Pos(0.308, 0.0, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 380: Pos(0.295641, 0.122459, 0.87) Norm(-0.980785, -0.19509, 0.0) UV(0.048828, 0.312667)
|
||||
V 381: Pos(0.226274, 0.226274, 0.87) Norm(0.83147, 0.55557, 0.0) UV(0.095703, 0.312667)
|
||||
V 382: Pos(0.122459, 0.295641, 0.87) Norm(-0.55557, -0.83147, 0.0) UV(0.142578, 0.312667)
|
||||
V 383: Pos(0.0, 0.32, 0.87) Norm(-0.19509, -0.980785, 0.0) UV(0.189453, 0.312667)
|
||||
V 384: Pos(-0.122459, 0.295641, 0.87) Norm(0.19509, -0.980785, 0.0) UV(0.236328, 0.312667)
|
||||
V 385: Pos(-0.226274, 0.226274, 0.87) Norm(-0.55557, 0.83147, 0.0) UV(0.283203, 0.312667)
|
||||
V 386: Pos(-0.295641, 0.122459, 0.87) Norm(0.83147, -0.55557, 0.0) UV(0.080078, 0.312667)
|
||||
V 387: Pos(-0.32, 0.0, 0.87) Norm(0.980785, -0.19509, 0.0) UV(0.126953, 0.312667)
|
||||
V 388: Pos(-0.295641, -0.122459, 0.87) Norm(0.980785, 0.19509, 0.0) UV(0.173828, 0.312667)
|
||||
V 389: Pos(-0.226274, -0.226274, 0.87) Norm(-0.83147, -0.55557, 0.0) UV(0.220703, 0.312667)
|
||||
V 390: Pos(-0.122459, -0.295641, 0.87) Norm(0.55557, 0.83147, 0.0) UV(0.267578, 0.312667)
|
||||
V 391: Pos(0.0, -0.32, 0.87) Norm(0.19509, 0.980785, 0.0) UV(0.064453, 0.312667)
|
||||
V 392: Pos(0.122459, -0.295641, 0.87) Norm(-0.19509, 0.980785, 0.0) UV(0.111328, 0.312667)
|
||||
V 393: Pos(0.226274, -0.226274, 0.87) Norm(0.55557, -0.83147, 0.0) UV(0.158203, 0.312667)
|
||||
V 394: Pos(0.295641, -0.122459, 0.87) Norm(-0.83147, 0.55557, 0.0) UV(0.205078, 0.312667)
|
||||
V 395: Pos(0.32, 0.0, 0.87) Norm(-0.980785, 0.19509, 0.0) UV(0.251953, 0.312667)
|
||||
V 396: Pos(0.324, 0.0, 0.62) Norm(0.980785, -0.19509, 0.0) UV(0.600586, 0.694336)
|
||||
V 397: Pos(0.299337, 0.123989, 0.62) Norm(0.980785, 0.19509, 0.0) UV(0.694336, 0.694336)
|
||||
V 398: Pos(0.309038, 0.128008, 0.914722) Norm(0.853456, 0.169763, 0.492741) UV(0.048828, 0.547526)
|
||||
V 399: Pos(0.293332, 0.121502, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.048828, 0.589193)
|
||||
V 400: Pos(0.309, 0.0, 0.9) Norm(0.853456, 0.169763, -0.492741) UV(0.001953, 0.630859)
|
||||
V 401: Pos(0.285479, 0.118249, 0.9) Norm(0.853456, 0.169763, -0.492741) UV(0.048828, 0.630859)
|
||||
V 402: Pos(0.293332, 0.121502, 0.914722) Norm(0.853456, 0.169763, -0.492741) UV(0.048828, 0.589193)
|
||||
V 403: Pos(0.285479, 0.118249, 0.9) Norm(-0.853455, -0.169763, -0.492743) UV(0.048828, 0.630859)
|
||||
V 404: Pos(0.293332, 0.121502, 0.885278) Norm(-0.853455, -0.169763, -0.492743) UV(0.048828, 0.672526)
|
||||
V 405: Pos(0.3175, 0.0, 0.885278) Norm(-0.853455, -0.169763, -0.492743) UV(0.001953, 0.672526)
|
||||
V 406: Pos(0.3345, 0.0, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.001953, 0.714193)
|
||||
V 407: Pos(0.309038, 0.128008, 0.885278) Norm(0.853455, 0.169763, -0.492743) UV(0.048828, 0.714193)
|
||||
V 408: Pos(0.316891, 0.13126, 0.9) Norm(0.853455, 0.169763, -0.492743) UV(0.048828, 0.755859)
|
||||
V 409: Pos(0.343, 0.0, 0.9) Norm(0.853455, 0.169763, -0.492743) UV(0.001953, 0.755859)
|
||||
V 410: Pos(0.309038, 0.128008, 0.914722) Norm(-0.723524, -0.483444, -0.492742) UV(0.048828, 0.547526)
|
||||
V 411: Pos(0.236527, 0.236527, 0.914722) Norm(-0.723524, -0.483444, -0.492742) UV(0.095703, 0.547526)
|
||||
V 412: Pos(0.242538, 0.242538, 0.9) Norm(-0.723524, -0.483444, -0.492742) UV(0.095703, 0.505859)
|
||||
V 413: Pos(0.285479, 0.118249, 0.9) Norm(0.723524, 0.483444, -0.492742) UV(0.048828, 0.630859)
|
||||
V 414: Pos(0.218496, 0.218496, 0.9) Norm(0.723524, 0.483444, -0.492742) UV(0.095703, 0.630859)
|
||||
V 415: Pos(0.224506, 0.224506, 0.914722) Norm(0.723524, 0.483444, -0.492742) UV(0.095703, 0.589193)
|
||||
V 416: Pos(0.224506, 0.224506, 0.885278) Norm(0.723524, 0.483443, 0.492743) UV(0.095703, 0.672526)
|
||||
V 417: Pos(0.242538, 0.242538, 0.9) Norm(0.723524, 0.483443, -0.492743) UV(0.095703, 0.755859)
|
||||
V 418: Pos(0.236527, 0.236527, 0.914722) Norm(-0.483444, -0.723525, -0.492741) UV(0.095703, 0.547526)
|
||||
V 419: Pos(0.128008, 0.309038, 0.914722) Norm(-0.483444, -0.723525, -0.492741) UV(0.142578, 0.547526)
|
||||
V 420: Pos(0.13126, 0.316891, 0.9) Norm(-0.483444, -0.723525, -0.492741) UV(0.142578, 0.505859)
|
||||
V 421: Pos(0.121502, 0.293332, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.142578, 0.589193)
|
||||
V 422: Pos(0.118249, 0.285479, 0.9) Norm(-0.483444, -0.723525, 0.492742) UV(0.142578, 0.630859)
|
||||
V 423: Pos(0.121502, 0.293332, 0.885278) Norm(-0.483443, -0.723524, -0.492743) UV(0.142578, 0.672526)
|
||||
V 424: Pos(0.128008, 0.309038, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.142578, 0.714193)
|
||||
V 425: Pos(0.13126, 0.316891, 0.9) Norm(0.483443, 0.723524, -0.492743) UV(0.142578, 0.755859)
|
||||
V 426: Pos(0.0, 0.3345, 0.914722) Norm(0.169763, 0.853456, 0.492741) UV(0.189453, 0.547526)
|
||||
V 427: Pos(0.118249, 0.285479, 0.9) Norm(0.169763, 0.853455, -0.492742) UV(0.142578, 0.630859)
|
||||
V 428: Pos(0.0, 0.309, 0.9) Norm(0.169763, 0.853455, -0.492742) UV(0.189453, 0.630859)
|
||||
V 429: Pos(0.0, 0.3175, 0.914722) Norm(0.169763, 0.853455, -0.492742) UV(0.189453, 0.589193)
|
||||
V 430: Pos(0.0, 0.309, 0.9) Norm(-0.169763, -0.853454, -0.492743) UV(0.189453, 0.630859)
|
||||
V 431: Pos(0.0, 0.3175, 0.885278) Norm(-0.169763, -0.853454, -0.492743) UV(0.189453, 0.672526)
|
||||
V 432: Pos(0.121502, 0.293332, 0.885278) Norm(-0.169763, -0.853454, -0.492743) UV(0.142578, 0.672526)
|
||||
V 433: Pos(0.0, 0.3345, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.189453, 0.714193)
|
||||
V 434: Pos(0.0, 0.3345, 0.885278) Norm(0.169763, 0.853455, -0.492742) UV(0.189453, 0.714193)
|
||||
V 435: Pos(0.0, 0.343, 0.9) Norm(0.169763, 0.853455, -0.492742) UV(0.189453, 0.755859)
|
||||
V 436: Pos(0.13126, 0.316891, 0.9) Norm(0.169763, 0.853455, -0.492742) UV(0.142578, 0.755859)
|
||||
V 437: Pos(-0.128008, 0.309038, 0.914722) Norm(-0.169763, 0.853456, 0.492741) UV(0.236328, 0.547526)
|
||||
V 438: Pos(-0.121502, 0.293332, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.236328, 0.589193)
|
||||
V 439: Pos(0.0, 0.309, 0.9) Norm(-0.169763, 0.853456, -0.492741) UV(0.189453, 0.630859)
|
||||
V 440: Pos(-0.118249, 0.285479, 0.9) Norm(-0.169763, 0.853456, -0.492741) UV(0.236328, 0.630859)
|
||||
V 441: Pos(-0.121502, 0.293332, 0.914722) Norm(-0.169763, 0.853456, -0.492741) UV(0.236328, 0.589193)
|
||||
V 442: Pos(-0.118249, 0.285479, 0.9) Norm(0.169763, -0.853455, -0.492743) UV(0.236328, 0.630859)
|
||||
V 443: Pos(-0.121502, 0.293332, 0.885278) Norm(0.169763, -0.853455, -0.492743) UV(0.236328, 0.672526)
|
||||
V 444: Pos(0.0, 0.3175, 0.885278) Norm(0.169763, -0.853455, -0.492743) UV(0.189453, 0.672526)
|
||||
V 445: Pos(-0.128008, 0.309038, 0.885278) Norm(-0.169763, 0.853455, -0.492743) UV(0.236328, 0.714193)
|
||||
V 446: Pos(-0.13126, 0.316891, 0.9) Norm(-0.169763, 0.853455, -0.492743) UV(0.236328, 0.755859)
|
||||
V 447: Pos(0.0, 0.343, 0.9) Norm(-0.169763, 0.853455, -0.492743) UV(0.189453, 0.755859)
|
||||
V 448: Pos(-0.128008, 0.309038, 0.914722) Norm(0.483444, -0.723524, -0.492742) UV(0.236328, 0.547526)
|
||||
V 449: Pos(-0.236527, 0.236527, 0.914722) Norm(0.483444, -0.723524, -0.492742) UV(0.283203, 0.547526)
|
||||
V 450: Pos(-0.242538, 0.242538, 0.9) Norm(0.483444, -0.723524, -0.492742) UV(0.283203, 0.505859)
|
||||
V 451: Pos(-0.224506, 0.224506, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.283203, 0.589193)
|
||||
V 452: Pos(-0.224506, 0.224506, 0.914722) Norm(0.483444, -0.723524, 0.492742) UV(0.283203, 0.589193)
|
||||
V 453: Pos(-0.218496, 0.218496, 0.9) Norm(0.483444, -0.723524, 0.492742) UV(0.283203, 0.630859)
|
||||
V 454: Pos(-0.118249, 0.285479, 0.9) Norm(0.483444, -0.723524, 0.492742) UV(0.236328, 0.630859)
|
||||
V 455: Pos(-0.224506, 0.224506, 0.885278) Norm(-0.483443, 0.723524, 0.492743) UV(0.283203, 0.672526)
|
||||
V 456: Pos(-0.236527, 0.236527, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.283203, 0.714193)
|
||||
V 457: Pos(-0.242538, 0.242538, 0.9) Norm(0.483443, -0.723524, 0.492743) UV(0.283203, 0.755859)
|
||||
V 458: Pos(-0.236527, 0.236527, 0.914722) Norm(0.723525, -0.483444, -0.492741) UV(0.033203, 0.547526)
|
||||
V 459: Pos(-0.309038, 0.128008, 0.914722) Norm(0.723525, -0.483444, -0.492741) UV(0.080078, 0.547526)
|
||||
V 460: Pos(-0.316891, 0.13126, 0.9) Norm(0.723525, -0.483444, -0.492741) UV(0.080078, 0.505859)
|
||||
V 461: Pos(-0.285479, 0.118249, 0.9) Norm(-0.723525, 0.483444, -0.492742) UV(0.080078, 0.630859)
|
||||
V 462: Pos(-0.293332, 0.121502, 0.885278) Norm(-0.723524, 0.483443, 0.492743) UV(0.080078, 0.672526)
|
||||
V 463: Pos(-0.309038, 0.128008, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.080078, 0.714193)
|
||||
V 464: Pos(-0.316891, 0.13126, 0.9) Norm(-0.723524, 0.483443, -0.492743) UV(0.080078, 0.755859)
|
||||
V 465: Pos(-0.3345, 0.0, 0.914722) Norm(-0.853456, 0.169763, 0.492741) UV(0.126953, 0.547526)
|
||||
V 466: Pos(-0.285479, 0.118249, 0.9) Norm(-0.853455, 0.169763, -0.492742) UV(0.080078, 0.630859)
|
||||
V 467: Pos(-0.309, 0.0, 0.9) Norm(-0.853455, 0.169763, -0.492742) UV(0.126953, 0.630859)
|
||||
V 468: Pos(-0.3175, 0.0, 0.914722) Norm(-0.853455, 0.169763, -0.492742) UV(0.126953, 0.589193)
|
||||
V 469: Pos(-0.309, 0.0, 0.9) Norm(0.853454, -0.169763, -0.492743) UV(0.126953, 0.630859)
|
||||
V 470: Pos(-0.3175, 0.0, 0.885278) Norm(0.853454, -0.169763, -0.492743) UV(0.126953, 0.672526)
|
||||
V 471: Pos(-0.293332, 0.121502, 0.885278) Norm(0.853454, -0.169763, -0.492743) UV(0.080078, 0.672526)
|
||||
V 472: Pos(-0.3345, 0.0, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.126953, 0.714193)
|
||||
V 473: Pos(-0.3345, 0.0, 0.885278) Norm(-0.853455, 0.169763, -0.492742) UV(0.126953, 0.714193)
|
||||
V 474: Pos(-0.343, 0.0, 0.9) Norm(-0.853455, 0.169763, -0.492742) UV(0.126953, 0.755859)
|
||||
V 475: Pos(-0.316891, 0.13126, 0.9) Norm(-0.853455, 0.169763, -0.492742) UV(0.080078, 0.755859)
|
||||
V 476: Pos(-0.309038, -0.128008, 0.914722) Norm(-0.853456, -0.169763, 0.492741) UV(0.173828, 0.547526)
|
||||
V 477: Pos(-0.293332, -0.121502, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.173828, 0.589193)
|
||||
V 478: Pos(-0.309, 0.0, 0.9) Norm(-0.853456, -0.169763, -0.492741) UV(0.126953, 0.630859)
|
||||
V 479: Pos(-0.285479, -0.118249, 0.9) Norm(-0.853456, -0.169763, -0.492741) UV(0.173828, 0.630859)
|
||||
V 480: Pos(-0.293332, -0.121502, 0.914722) Norm(-0.853456, -0.169763, -0.492741) UV(0.173828, 0.589193)
|
||||
V 481: Pos(-0.285479, -0.118249, 0.9) Norm(0.853455, 0.169763, -0.492743) UV(0.173828, 0.630859)
|
||||
V 482: Pos(-0.293332, -0.121502, 0.885278) Norm(0.853455, 0.169763, -0.492743) UV(0.173828, 0.672526)
|
||||
V 483: Pos(-0.3175, 0.0, 0.885278) Norm(0.853455, 0.169763, -0.492743) UV(0.126953, 0.672526)
|
||||
V 484: Pos(-0.309038, -0.128008, 0.885278) Norm(-0.853455, -0.169763, -0.492743) UV(0.173828, 0.714193)
|
||||
V 485: Pos(-0.316891, -0.13126, 0.9) Norm(-0.853455, -0.169763, -0.492743) UV(0.173828, 0.755859)
|
||||
V 486: Pos(-0.343, 0.0, 0.9) Norm(-0.853455, -0.169763, -0.492743) UV(0.126953, 0.755859)
|
||||
V 487: Pos(-0.309038, -0.128008, 0.914722) Norm(0.723524, 0.483444, -0.492742) UV(0.173828, 0.547526)
|
||||
V 488: Pos(-0.236527, -0.236527, 0.914722) Norm(0.723524, 0.483444, -0.492742) UV(0.220703, 0.547526)
|
||||
V 489: Pos(-0.242538, -0.242538, 0.9) Norm(0.723524, 0.483444, -0.492742) UV(0.220703, 0.505859)
|
||||
V 490: Pos(-0.285479, -0.118249, 0.9) Norm(-0.723524, -0.483444, -0.492742) UV(0.173828, 0.630859)
|
||||
V 491: Pos(-0.218496, -0.218496, 0.9) Norm(-0.723524, -0.483444, -0.492742) UV(0.220703, 0.630859)
|
||||
V 492: Pos(-0.224506, -0.224506, 0.914722) Norm(-0.723524, -0.483444, -0.492742) UV(0.220703, 0.589193)
|
||||
V 493: Pos(-0.224506, -0.224506, 0.885278) Norm(-0.723524, -0.483443, 0.492743) UV(0.220703, 0.672526)
|
||||
V 494: Pos(-0.242538, -0.242538, 0.9) Norm(-0.723524, -0.483443, -0.492743) UV(0.220703, 0.755859)
|
||||
V 495: Pos(-0.236527, -0.236527, 0.914722) Norm(0.483444, 0.723525, -0.492741) UV(0.220703, 0.547526)
|
||||
V 496: Pos(-0.128008, -0.309038, 0.914722) Norm(0.483444, 0.723525, -0.492741) UV(0.267578, 0.547526)
|
||||
V 497: Pos(-0.13126, -0.316891, 0.9) Norm(0.483444, 0.723525, -0.492741) UV(0.267578, 0.505859)
|
||||
V 498: Pos(-0.121502, -0.293332, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.267578, 0.589193)
|
||||
V 499: Pos(-0.118249, -0.285479, 0.9) Norm(0.483444, 0.723525, 0.492742) UV(0.267578, 0.630859)
|
||||
V 500: Pos(-0.121502, -0.293332, 0.885278) Norm(0.483443, 0.723524, -0.492743) UV(0.267578, 0.672526)
|
||||
V 501: Pos(-0.128008, -0.309038, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.267578, 0.714193)
|
||||
V 502: Pos(-0.13126, -0.316891, 0.9) Norm(-0.483443, -0.723524, -0.492743) UV(0.267578, 0.755859)
|
||||
V 503: Pos(0.0, -0.3345, 0.914722) Norm(-0.169763, -0.853456, 0.492741) UV(0.064453, 0.547526)
|
||||
V 504: Pos(-0.118249, -0.285479, 0.9) Norm(-0.169763, -0.853455, -0.492742) UV(0.017578, 0.630859)
|
||||
V 505: Pos(0.0, -0.309, 0.9) Norm(-0.169763, -0.853455, -0.492742) UV(0.064453, 0.630859)
|
||||
V 506: Pos(0.0, -0.3175, 0.914722) Norm(-0.169763, -0.853455, -0.492742) UV(0.064453, 0.589193)
|
||||
V 507: Pos(0.0, -0.309, 0.9) Norm(0.169763, 0.853454, -0.492743) UV(0.064453, 0.630859)
|
||||
V 508: Pos(0.0, -0.3175, 0.885278) Norm(0.169763, 0.853454, -0.492743) UV(0.064453, 0.672526)
|
||||
V 509: Pos(-0.121502, -0.293332, 0.885278) Norm(0.169763, 0.853454, -0.492743) UV(0.017578, 0.672526)
|
||||
V 510: Pos(0.0, -0.3345, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.064453, 0.714193)
|
||||
V 511: Pos(0.0, -0.3345, 0.885278) Norm(-0.169763, -0.853455, -0.492742) UV(0.064453, 0.714193)
|
||||
V 512: Pos(0.0, -0.343, 0.9) Norm(-0.169763, -0.853455, -0.492742) UV(0.064453, 0.755859)
|
||||
V 513: Pos(-0.13126, -0.316891, 0.9) Norm(-0.169763, -0.853455, -0.492742) UV(0.017578, 0.755859)
|
||||
V 514: Pos(0.128008, -0.309038, 0.914722) Norm(0.169763, -0.853456, 0.492741) UV(0.111328, 0.547526)
|
||||
V 515: Pos(0.121502, -0.293332, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.111328, 0.589193)
|
||||
V 516: Pos(0.0, -0.309, 0.9) Norm(0.169763, -0.853456, -0.492741) UV(0.064453, 0.630859)
|
||||
V 517: Pos(0.118249, -0.285479, 0.9) Norm(0.169763, -0.853456, -0.492741) UV(0.111328, 0.630859)
|
||||
V 518: Pos(0.121502, -0.293332, 0.914722) Norm(0.169763, -0.853456, -0.492741) UV(0.111328, 0.589193)
|
||||
V 519: Pos(0.118249, -0.285479, 0.9) Norm(-0.169763, 0.853455, -0.492743) UV(0.111328, 0.630859)
|
||||
V 520: Pos(0.121502, -0.293332, 0.885278) Norm(-0.169763, 0.853455, -0.492743) UV(0.111328, 0.672526)
|
||||
V 521: Pos(0.0, -0.3175, 0.885278) Norm(-0.169763, 0.853455, -0.492743) UV(0.064453, 0.672526)
|
||||
V 522: Pos(0.128008, -0.309038, 0.885278) Norm(0.169763, -0.853455, -0.492743) UV(0.111328, 0.714193)
|
||||
V 523: Pos(0.13126, -0.316891, 0.9) Norm(0.169763, -0.853455, -0.492743) UV(0.111328, 0.755859)
|
||||
V 524: Pos(0.0, -0.343, 0.9) Norm(0.169763, -0.853455, -0.492743) UV(0.064453, 0.755859)
|
||||
V 525: Pos(0.128008, -0.309038, 0.914722) Norm(-0.483444, 0.723524, -0.492742) UV(0.111328, 0.547526)
|
||||
V 526: Pos(0.236527, -0.236527, 0.914722) Norm(-0.483444, 0.723524, -0.492742) UV(0.158203, 0.547526)
|
||||
V 527: Pos(0.242538, -0.242538, 0.9) Norm(-0.483444, 0.723524, -0.492742) UV(0.158203, 0.505859)
|
||||
V 528: Pos(0.224506, -0.224506, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.158203, 0.589193)
|
||||
V 529: Pos(0.224506, -0.224506, 0.914722) Norm(-0.483444, 0.723524, 0.492742) UV(0.158203, 0.589193)
|
||||
V 530: Pos(0.218496, -0.218496, 0.9) Norm(-0.483444, 0.723524, 0.492742) UV(0.158203, 0.630859)
|
||||
V 531: Pos(0.118249, -0.285479, 0.9) Norm(-0.483444, 0.723524, 0.492742) UV(0.111328, 0.630859)
|
||||
V 532: Pos(0.224506, -0.224506, 0.885278) Norm(0.483443, -0.723524, 0.492743) UV(0.158203, 0.672526)
|
||||
V 533: Pos(0.242538, -0.242538, 0.9) Norm(-0.483443, 0.723524, 0.492743) UV(0.158203, 0.755859)
|
||||
V 534: Pos(0.236527, -0.236527, 0.914722) Norm(-0.723525, 0.483444, -0.492741) UV(0.158203, 0.547526)
|
||||
V 535: Pos(0.309038, -0.128008, 0.914722) Norm(-0.723525, 0.483444, -0.492741) UV(0.205078, 0.547526)
|
||||
V 536: Pos(0.316891, -0.13126, 0.9) Norm(-0.723525, 0.483444, -0.492741) UV(0.205078, 0.505859)
|
||||
V 537: Pos(0.285479, -0.118249, 0.9) Norm(0.723525, -0.483444, -0.492742) UV(0.205078, 0.630859)
|
||||
V 538: Pos(0.293332, -0.121502, 0.885278) Norm(0.723524, -0.483443, 0.492743) UV(0.205078, 0.672526)
|
||||
V 539: Pos(0.309038, -0.128008, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.205078, 0.714193)
|
||||
V 540: Pos(0.316891, -0.13126, 0.9) Norm(0.723524, -0.483443, -0.492743) UV(0.205078, 0.755859)
|
||||
V 541: Pos(0.3345, 0.0, 0.914722) Norm(0.853456, -0.169763, 0.492741) UV(0.251953, 0.547526)
|
||||
V 542: Pos(0.3345, 0.0, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.251953, 0.547526)
|
||||
V 543: Pos(0.285479, -0.118249, 0.9) Norm(0.853455, -0.169763, -0.492742) UV(0.205078, 0.630859)
|
||||
V 544: Pos(0.309, 0.0, 0.9) Norm(0.853455, -0.169763, -0.492742) UV(0.251953, 0.630859)
|
||||
V 545: Pos(0.3175, 0.0, 0.914722) Norm(0.853455, -0.169763, -0.492742) UV(0.251953, 0.589193)
|
||||
V 546: Pos(0.309, 0.0, 0.9) Norm(-0.853454, 0.169763, -0.492743) UV(0.251953, 0.630859)
|
||||
V 547: Pos(0.3175, 0.0, 0.885278) Norm(-0.853454, 0.169763, -0.492743) UV(0.251953, 0.672526)
|
||||
V 548: Pos(0.293332, -0.121502, 0.885278) Norm(-0.853454, 0.169763, -0.492743) UV(0.205078, 0.672526)
|
||||
V 549: Pos(0.3345, 0.0, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.251953, 0.714193)
|
||||
V 550: Pos(0.3345, 0.0, 0.885278) Norm(0.853455, -0.169763, -0.492742) UV(0.251953, 0.714193)
|
||||
V 551: Pos(0.343, 0.0, 0.9) Norm(0.853455, -0.169763, -0.492742) UV(0.251953, 0.755859)
|
||||
V 552: Pos(0.316891, -0.13126, 0.9) Norm(0.853455, -0.169763, -0.492742) UV(0.205078, 0.755859)
|
||||
V 553: Pos(0.308, 0.0, 0.88) Norm(-0.980785, -0.19509, 0.0) UV(0.505859, 0.345703)
|
||||
V 554: Pos(0.284555, 0.117866, 0.88) Norm(-0.83147, -0.55557, 0.0) UV(0.552734, 0.345703)
|
||||
V 555: Pos(0.217789, 0.217789, 0.88) Norm(-0.55557, -0.83147, 0.0) UV(0.599609, 0.345703)
|
||||
V 556: Pos(0.117866, 0.284555, 0.88) Norm(-0.19509, -0.980785, 0.0) UV(0.646484, 0.345703)
|
||||
V 557: Pos(0.0, 0.308, 0.88) Norm(0.19509, -0.980785, 0.0) UV(0.693359, 0.345703)
|
||||
V 558: Pos(-0.117866, 0.284555, 0.88) Norm(0.55557, -0.83147, 0.0) UV(0.740234, 0.345703)
|
||||
V 559: Pos(-0.217789, 0.217789, 0.88) Norm(0.83147, -0.55557, 0.0) UV(0.787109, 0.345703)
|
||||
V 560: Pos(-0.284555, 0.117866, 0.88) Norm(0.980785, -0.19509, 0.0) UV(0.833984, 0.345703)
|
||||
V 561: Pos(-0.308, 0.0, 0.88) Norm(0.980785, 0.19509, 0.0) UV(0.505859, 0.345703)
|
||||
V 562: Pos(-0.284555, -0.117866, 0.88) Norm(0.83147, 0.55557, 0.0) UV(0.552734, 0.345703)
|
||||
V 563: Pos(-0.217789, -0.217789, 0.88) Norm(0.55557, 0.83147, 0.0) UV(0.599609, 0.345703)
|
||||
V 564: Pos(-0.117866, -0.284555, 0.88) Norm(0.19509, 0.980785, 0.0) UV(0.646484, 0.345703)
|
||||
V 565: Pos(0.0, -0.308, 0.88) Norm(-0.19509, 0.980785, 0.0) UV(0.693359, 0.345703)
|
||||
V 566: Pos(0.117866, -0.284555, 0.88) Norm(-0.55557, 0.83147, 0.0) UV(0.740234, 0.345703)
|
||||
V 567: Pos(0.217789, -0.217789, 0.88) Norm(-0.83147, 0.55557, 0.0) UV(0.787109, 0.345703)
|
||||
V 568: Pos(0.284555, -0.117866, 0.88) Norm(-0.980785, 0.19509, 0.0) UV(0.833984, 0.345703)
|
||||
V 569: Pos(0.284555, -0.117866, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 570: Pos(0.217789, -0.217789, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 571: Pos(0.117866, -0.284555, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 572: Pos(0.0, -0.308, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 573: Pos(-0.117866, -0.284555, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 574: Pos(-0.217789, -0.217789, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 575: Pos(-0.284555, -0.117866, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 576: Pos(-0.284555, 0.117866, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 577: Pos(-0.217789, 0.217789, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 578: Pos(-0.117866, 0.284555, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 579: Pos(0.117866, 0.284555, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 580: Pos(0.217789, 0.217789, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 581: Pos(0.284555, 0.117866, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
|
||||
===Triangles (Indices): 274
|
||||
Tri: 0 1 2
|
||||
Tri: 3 4 5
|
||||
Tri: 6 7 8
|
||||
Tri: 9 10 11
|
||||
Tri: 12 13 14
|
||||
Tri: 15 16 17
|
||||
Tri: 18 19 20
|
||||
Tri: 21 22 23
|
||||
Tri: 24 25 26
|
||||
Tri: 27 28 29
|
||||
Tri: 30 31 32
|
||||
Tri: 33 34 35
|
||||
Tri: 36 37 38
|
||||
Tri: 39 40 41
|
||||
Tri: 42 43 44
|
||||
Tri: 45 46 47
|
||||
Tri: 48 49 50
|
||||
Tri: 51 52 53
|
||||
Tri: 54 55 56
|
||||
Tri: 57 58 59
|
||||
Tri: 60 61 62
|
||||
Tri: 63 64 65
|
||||
Tri: 66 67 68
|
||||
Tri: 69 70 71
|
||||
Tri: 72 73 74
|
||||
Tri: 75 76 77
|
||||
Tri: 78 79 80
|
||||
Tri: 81 82 83
|
||||
Tri: 84 85 86
|
||||
Tri: 87 88 89
|
||||
Tri: 90 91 92
|
||||
Tri: 93 94 76
|
||||
Tri: 95 96 97
|
||||
Tri: 98 99 100
|
||||
Tri: 101 102 84
|
||||
Tri: 103 104 105
|
||||
Tri: 106 107 108
|
||||
Tri: 109 110 111
|
||||
Tri: 112 113 114
|
||||
Tri: 115 116 117
|
||||
Tri: 118 119 120
|
||||
Tri: 121 122 123
|
||||
Tri: 124 125 126
|
||||
Tri: 127 110 128
|
||||
Tri: 129 130 131
|
||||
Tri: 132 133 134
|
||||
Tri: 119 135 136
|
||||
Tri: 137 138 139
|
||||
Tri: 140 141 142
|
||||
Tri: 143 144 145
|
||||
Tri: 146 147 148
|
||||
Tri: 149 150 151
|
||||
Tri: 152 153 154
|
||||
Tri: 155 156 157
|
||||
Tri: 158 159 160
|
||||
Tri: 161 162 163
|
||||
Tri: 164 165 166
|
||||
Tri: 167 168 169
|
||||
Tri: 170 171 172
|
||||
Tri: 173 174 175
|
||||
Tri: 176 177 178
|
||||
Tri: 161 179 180
|
||||
Tri: 181 182 183
|
||||
Tri: 184 185 186
|
||||
Tri: 187 188 189
|
||||
Tri: 190 191 192
|
||||
Tri: 193 194 195
|
||||
Tri: 196 179 197
|
||||
Tri: 198 199 200
|
||||
Tri: 201 202 203
|
||||
Tri: 188 204 205
|
||||
Tri: 206 207 208
|
||||
Tri: 209 210 211
|
||||
Tri: 212 213 214
|
||||
Tri: 215 216 217
|
||||
Tri: 218 219 220
|
||||
Tri: 221 222 223
|
||||
Tri: 224 225 226
|
||||
Tri: 227 228 229
|
||||
Tri: 230 231 213
|
||||
Tri: 232 233 234
|
||||
Tri: 235 236 237
|
||||
Tri: 238 239 221
|
||||
Tri: 240 241 242
|
||||
Tri: 243 244 245
|
||||
Tri: 246 247 248
|
||||
Tri: 249 250 251
|
||||
Tri: 252 253 254
|
||||
Tri: 255 256 257
|
||||
Tri: 258 259 260
|
||||
Tri: 261 262 263
|
||||
Tri: 264 247 265
|
||||
Tri: 266 267 268
|
||||
Tri: 269 270 271
|
||||
Tri: 256 272 273
|
||||
Tri: 274 275 276
|
||||
Tri: 277 278 279
|
||||
Tri: 280 281 282
|
||||
Tri: 283 284 285
|
||||
Tri: 286 287 288
|
||||
Tri: 289 290 291
|
||||
Tri: 292 293 294
|
||||
Tri: 295 296 297
|
||||
Tri: 298 299 300
|
||||
Tri: 301 302 303
|
||||
Tri: 304 305 306
|
||||
Tri: 307 308 289
|
||||
Tri: 309 310 311
|
||||
Tri: 312 313 314
|
||||
Tri: 298 315 316
|
||||
Tri: 317 318 319
|
||||
Tri: 320 321 322
|
||||
Tri: 323 324 325
|
||||
Tri: 326 327 328
|
||||
Tri: 329 330 331
|
||||
Tri: 332 333 334
|
||||
Tri: 335 336 337
|
||||
Tri: 338 339 340
|
||||
Tri: 341 342 343
|
||||
Tri: 344 345 346
|
||||
Tri: 347 348 349
|
||||
Tri: 350 351 352
|
||||
Tri: 353 354 355
|
||||
Tri: 356 357 358
|
||||
Tri: 359 360 361
|
||||
Tri: 362 363 364
|
||||
Tri: 365 366 367
|
||||
Tri: 368 369 370
|
||||
Tri: 371 372 373
|
||||
Tri: 374 375 376
|
||||
Tri: 377 378 379
|
||||
Tri: 0 380 1
|
||||
Tri: 3 381 4
|
||||
Tri: 6 382 7
|
||||
Tri: 9 383 10
|
||||
Tri: 12 384 13
|
||||
Tri: 15 385 16
|
||||
Tri: 18 386 19
|
||||
Tri: 21 387 22
|
||||
Tri: 24 388 25
|
||||
Tri: 27 389 28
|
||||
Tri: 30 390 31
|
||||
Tri: 33 391 34
|
||||
Tri: 36 392 37
|
||||
Tri: 39 393 40
|
||||
Tri: 42 394 43
|
||||
Tri: 45 395 46
|
||||
Tri: 48 396 49
|
||||
Tri: 51 397 52
|
||||
Tri: 54 398 55
|
||||
Tri: 57 399 58
|
||||
Tri: 400 401 402
|
||||
Tri: 403 404 405
|
||||
Tri: 66 406 67
|
||||
Tri: 407 408 409
|
||||
Tri: 410 411 412
|
||||
Tri: 75 93 76
|
||||
Tri: 413 414 415
|
||||
Tri: 81 416 82
|
||||
Tri: 84 102 85
|
||||
Tri: 87 417 88
|
||||
Tri: 418 419 420
|
||||
Tri: 93 421 94
|
||||
Tri: 95 422 96
|
||||
Tri: 98 423 99
|
||||
Tri: 101 424 102
|
||||
Tri: 103 425 104
|
||||
Tri: 106 426 107
|
||||
Tri: 109 128 110
|
||||
Tri: 427 428 429
|
||||
Tri: 430 431 432
|
||||
Tri: 118 433 119
|
||||
Tri: 434 435 436
|
||||
Tri: 124 437 125
|
||||
Tri: 127 438 110
|
||||
Tri: 439 440 441
|
||||
Tri: 442 443 444
|
||||
Tri: 119 433 135
|
||||
Tri: 445 446 447
|
||||
Tri: 448 449 450
|
||||
Tri: 143 451 144
|
||||
Tri: 452 453 454
|
||||
Tri: 149 455 150
|
||||
Tri: 152 456 153
|
||||
Tri: 155 457 156
|
||||
Tri: 458 459 460
|
||||
Tri: 161 180 162
|
||||
Tri: 164 461 165
|
||||
Tri: 167 462 168
|
||||
Tri: 170 463 171
|
||||
Tri: 173 464 174
|
||||
Tri: 176 465 177
|
||||
Tri: 161 197 179
|
||||
Tri: 466 467 468
|
||||
Tri: 469 470 471
|
||||
Tri: 187 472 188
|
||||
Tri: 473 474 475
|
||||
Tri: 193 476 194
|
||||
Tri: 196 477 179
|
||||
Tri: 478 479 480
|
||||
Tri: 481 482 483
|
||||
Tri: 188 472 204
|
||||
Tri: 484 485 486
|
||||
Tri: 487 488 489
|
||||
Tri: 212 230 213
|
||||
Tri: 490 491 492
|
||||
Tri: 218 493 219
|
||||
Tri: 221 239 222
|
||||
Tri: 224 494 225
|
||||
Tri: 495 496 497
|
||||
Tri: 230 498 231
|
||||
Tri: 232 499 233
|
||||
Tri: 235 500 236
|
||||
Tri: 238 501 239
|
||||
Tri: 240 502 241
|
||||
Tri: 243 503 244
|
||||
Tri: 246 265 247
|
||||
Tri: 504 505 506
|
||||
Tri: 507 508 509
|
||||
Tri: 255 510 256
|
||||
Tri: 511 512 513
|
||||
Tri: 261 514 262
|
||||
Tri: 264 515 247
|
||||
Tri: 516 517 518
|
||||
Tri: 519 520 521
|
||||
Tri: 256 510 272
|
||||
Tri: 522 523 524
|
||||
Tri: 525 526 527
|
||||
Tri: 280 528 281
|
||||
Tri: 529 530 531
|
||||
Tri: 286 532 287
|
||||
Tri: 289 308 290
|
||||
Tri: 292 533 293
|
||||
Tri: 534 535 536
|
||||
Tri: 298 316 299
|
||||
Tri: 301 537 302
|
||||
Tri: 304 538 305
|
||||
Tri: 307 539 308
|
||||
Tri: 309 540 310
|
||||
Tri: 312 541 313
|
||||
Tri: 298 542 315
|
||||
Tri: 543 544 545
|
||||
Tri: 546 547 548
|
||||
Tri: 323 549 324
|
||||
Tri: 550 551 552
|
||||
Tri: 329 553 330
|
||||
Tri: 332 554 333
|
||||
Tri: 335 555 336
|
||||
Tri: 338 556 339
|
||||
Tri: 341 557 342
|
||||
Tri: 344 558 345
|
||||
Tri: 347 559 348
|
||||
Tri: 350 560 351
|
||||
Tri: 353 561 354
|
||||
Tri: 356 562 357
|
||||
Tri: 359 563 360
|
||||
Tri: 362 564 363
|
||||
Tri: 365 565 366
|
||||
Tri: 368 566 369
|
||||
Tri: 371 567 372
|
||||
Tri: 374 568 375
|
||||
Tri: 379 569 570
|
||||
Tri: 570 571 572
|
||||
Tri: 572 573 574
|
||||
Tri: 574 575 377
|
||||
Tri: 377 576 577
|
||||
Tri: 577 578 378
|
||||
Tri: 378 579 580
|
||||
Tri: 580 581 379
|
||||
Tri: 379 570 572
|
||||
Tri: 572 574 377
|
||||
Tri: 377 577 378
|
||||
Tri: 378 580 379
|
||||
Tri: 379 572 377
|
||||
@@ -0,0 +1,859 @@
|
||||
===Vertices (Split by UV/Normal): 582
|
||||
V 0: Pos(0.32, 0.0, 0.87) Norm(-0.980785, -0.19509, 0.0) UV(0.001953, 0.312667)
|
||||
V 1: Pos(0.295641, 0.122459, 0.0) Norm(-0.980785, -0.19509, 0.0) UV(0.048828, 0.001953)
|
||||
V 2: Pos(0.32, 0.0, 0.0) Norm(-0.980785, -0.19509, 0.0) UV(0.001953, 0.001953)
|
||||
V 3: Pos(0.226274, 0.226274, 0.0) Norm(0.83147, 0.55557, 0.0) UV(0.095703, 0.001953)
|
||||
V 4: Pos(0.295641, 0.122459, 0.87) Norm(0.83147, 0.55557, 0.0) UV(0.048828, 0.312667)
|
||||
V 5: Pos(0.295641, 0.122459, 0.0) Norm(0.83147, 0.55557, 0.0) UV(0.048828, 0.001953)
|
||||
V 6: Pos(0.226274, 0.226274, 0.87) Norm(-0.55557, -0.83147, 0.0) UV(0.095703, 0.312667)
|
||||
V 7: Pos(0.122459, 0.295641, 0.0) Norm(-0.55557, -0.83147, 0.0) UV(0.142578, 0.001953)
|
||||
V 8: Pos(0.226274, 0.226274, 0.0) Norm(-0.55557, -0.83147, 0.0) UV(0.095703, 0.001953)
|
||||
V 9: Pos(0.122459, 0.295641, 0.87) Norm(-0.19509, -0.980785, 0.0) UV(0.142578, 0.312667)
|
||||
V 10: Pos(0.0, 0.32, 0.0) Norm(-0.19509, -0.980785, 0.0) UV(0.189453, 0.001953)
|
||||
V 11: Pos(0.122459, 0.295641, 0.0) Norm(-0.19509, -0.980785, 0.0) UV(0.142578, 0.001953)
|
||||
V 12: Pos(0.0, 0.32, 0.87) Norm(0.19509, -0.980785, 0.0) UV(0.189453, 0.312667)
|
||||
V 13: Pos(-0.122459, 0.295641, 0.0) Norm(0.19509, -0.980785, 0.0) UV(0.236328, 0.001953)
|
||||
V 14: Pos(0.0, 0.32, 0.0) Norm(0.19509, -0.980785, 0.0) UV(0.189453, 0.001953)
|
||||
V 15: Pos(-0.226274, 0.226274, 0.0) Norm(-0.55557, 0.83147, 0.0) UV(0.283203, 0.001953)
|
||||
V 16: Pos(-0.122459, 0.295641, 0.87) Norm(-0.55557, 0.83147, 0.0) UV(0.236328, 0.312667)
|
||||
V 17: Pos(-0.122459, 0.295641, 0.0) Norm(-0.55557, 0.83147, 0.0) UV(0.236328, 0.001953)
|
||||
V 18: Pos(-0.226274, 0.226274, 0.87) Norm(0.83147, -0.55557, 0.0) UV(0.033203, 0.312667)
|
||||
V 19: Pos(-0.295641, 0.122459, 0.0) Norm(0.83147, -0.55557, 0.0) UV(0.080078, 0.001953)
|
||||
V 20: Pos(-0.226274, 0.226274, 0.0) Norm(0.83147, -0.55557, 0.0) UV(0.033203, 0.001953)
|
||||
V 21: Pos(-0.295641, 0.122459, 0.87) Norm(0.980785, -0.19509, 0.0) UV(0.080078, 0.312667)
|
||||
V 22: Pos(-0.32, 0.0, 0.0) Norm(0.980785, -0.19509, 0.0) UV(0.126953, 0.001953)
|
||||
V 23: Pos(-0.295641, 0.122459, 0.0) Norm(0.980785, -0.19509, 0.0) UV(0.080078, 0.001953)
|
||||
V 24: Pos(-0.32, 0.0, 0.87) Norm(0.980785, 0.19509, 0.0) UV(0.126953, 0.312667)
|
||||
V 25: Pos(-0.295641, -0.122459, 0.0) Norm(0.980785, 0.19509, 0.0) UV(0.173828, 0.001953)
|
||||
V 26: Pos(-0.32, 0.0, 0.0) Norm(0.980785, 0.19509, 0.0) UV(0.126953, 0.001953)
|
||||
V 27: Pos(-0.226274, -0.226274, 0.0) Norm(-0.83147, -0.55557, 0.0) UV(0.220703, 0.001953)
|
||||
V 28: Pos(-0.295641, -0.122459, 0.87) Norm(-0.83147, -0.55557, 0.0) UV(0.173828, 0.312667)
|
||||
V 29: Pos(-0.295641, -0.122459, 0.0) Norm(-0.83147, -0.55557, 0.0) UV(0.173828, 0.001953)
|
||||
V 30: Pos(-0.226274, -0.226274, 0.87) Norm(0.55557, 0.83147, 0.0) UV(0.220703, 0.312667)
|
||||
V 31: Pos(-0.122459, -0.295641, 0.0) Norm(0.55557, 0.83147, 0.0) UV(0.267578, 0.001953)
|
||||
V 32: Pos(-0.226274, -0.226274, 0.0) Norm(0.55557, 0.83147, 0.0) UV(0.220703, 0.001953)
|
||||
V 33: Pos(-0.122459, -0.295641, 0.87) Norm(0.19509, 0.980785, 0.0) UV(0.017578, 0.312667)
|
||||
V 34: Pos(0.0, -0.32, 0.0) Norm(0.19509, 0.980785, 0.0) UV(0.064453, 0.001953)
|
||||
V 35: Pos(-0.122459, -0.295641, 0.0) Norm(0.19509, 0.980785, 0.0) UV(0.017578, 0.001953)
|
||||
V 36: Pos(0.0, -0.32, 0.87) Norm(-0.19509, 0.980785, 0.0) UV(0.064453, 0.312667)
|
||||
V 37: Pos(0.122459, -0.295641, 0.0) Norm(-0.19509, 0.980785, 0.0) UV(0.111328, 0.001953)
|
||||
V 38: Pos(0.0, -0.32, 0.0) Norm(-0.19509, 0.980785, 0.0) UV(0.064453, 0.001953)
|
||||
V 39: Pos(0.226274, -0.226274, 0.0) Norm(0.55557, -0.83147, 0.0) UV(0.158203, 0.001953)
|
||||
V 40: Pos(0.122459, -0.295641, 0.87) Norm(0.55557, -0.83147, 0.0) UV(0.111328, 0.312667)
|
||||
V 41: Pos(0.122459, -0.295641, 0.0) Norm(0.55557, -0.83147, 0.0) UV(0.111328, 0.001953)
|
||||
V 42: Pos(0.226274, -0.226274, 0.87) Norm(-0.83147, 0.55557, 0.0) UV(0.158203, 0.312667)
|
||||
V 43: Pos(0.295641, -0.122459, 0.0) Norm(-0.83147, 0.55557, 0.0) UV(0.205078, 0.001953)
|
||||
V 44: Pos(0.226274, -0.226274, 0.0) Norm(-0.83147, 0.55557, 0.0) UV(0.158203, 0.001953)
|
||||
V 45: Pos(0.295641, -0.122459, 0.87) Norm(-0.980785, 0.19509, 0.0) UV(0.205078, 0.312667)
|
||||
V 46: Pos(0.32, 0.0, 0.0) Norm(-0.980785, 0.19509, 0.0) UV(0.251953, 0.001953)
|
||||
V 47: Pos(0.295641, -0.122459, 0.0) Norm(-0.980785, 0.19509, 0.0) UV(0.205078, 0.001953)
|
||||
V 48: Pos(0.324, 0.0, 0.36) Norm(0.980785, -0.19509, 0.0) UV(0.599609, 0.505859)
|
||||
V 49: Pos(0.299337, -0.123989, 0.62) Norm(0.980785, -0.19509, 0.0) UV(0.505859, 0.693359)
|
||||
V 50: Pos(0.299337, -0.123989, 0.36) Norm(0.980785, -0.19509, 0.0) UV(0.505859, 0.505859)
|
||||
V 51: Pos(0.299337, 0.123989, 0.36) Norm(0.980785, 0.19509, 0.0) UV(0.693359, 0.505859)
|
||||
V 52: Pos(0.324, 0.0, 0.62) Norm(0.980785, 0.19509, 0.0) UV(0.599609, 0.693359)
|
||||
V 53: Pos(0.324, 0.0, 0.36) Norm(0.980785, 0.19509, 0.0) UV(0.599609, 0.505859)
|
||||
V 54: Pos(0.316891, 0.13126, 0.9) Norm(0.853456, 0.169763, 0.492741) UV(0.048828, 0.505859)
|
||||
V 55: Pos(0.3345, 0.0, 0.914722) Norm(0.853456, 0.169763, 0.492741) UV(0.001953, 0.547526)
|
||||
V 56: Pos(0.343, 0.0, 0.9) Norm(0.853456, 0.169763, 0.492741) UV(0.001953, 0.505859)
|
||||
V 57: Pos(0.309038, 0.128008, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.048828, 0.547526)
|
||||
V 58: Pos(0.3175, 0.0, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.001953, 0.589193)
|
||||
V 59: Pos(0.3345, 0.0, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.001953, 0.547526)
|
||||
V 60: Pos(0.309, 0.0, 0.9) Norm(0.853455, 0.169763, -0.492742) UV(0.001953, 0.630859)
|
||||
V 61: Pos(0.293332, 0.121502, 0.914722) Norm(0.853455, 0.169763, -0.492742) UV(0.048828, 0.589193)
|
||||
V 62: Pos(0.3175, 0.0, 0.914722) Norm(0.853455, 0.169763, -0.492742) UV(0.001953, 0.589193)
|
||||
V 63: Pos(0.285479, 0.118249, 0.9) Norm(-0.853454, -0.169763, -0.492744) UV(0.048828, 0.630859)
|
||||
V 64: Pos(0.3175, 0.0, 0.885278) Norm(-0.853454, -0.169763, -0.492744) UV(0.001953, 0.672526)
|
||||
V 65: Pos(0.309, 0.0, 0.9) Norm(-0.853454, -0.169763, -0.492744) UV(0.001953, 0.630859)
|
||||
V 66: Pos(0.3175, 0.0, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.001953, 0.672526)
|
||||
V 67: Pos(0.309038, 0.128008, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.048828, 0.714193)
|
||||
V 68: Pos(0.293332, 0.121502, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.048828, 0.672526)
|
||||
V 69: Pos(0.309038, 0.128008, 0.885278) Norm(0.853455, 0.169763, -0.492742) UV(0.048828, 0.714193)
|
||||
V 70: Pos(0.343, 0.0, 0.9) Norm(0.853455, 0.169763, -0.492742) UV(0.001953, 0.755859)
|
||||
V 71: Pos(0.3345, 0.0, 0.885278) Norm(0.853455, 0.169763, -0.492742) UV(0.001953, 0.714193)
|
||||
V 72: Pos(0.309038, 0.128008, 0.914722) Norm(-0.723525, -0.483444, -0.492741) UV(0.048828, 0.547526)
|
||||
V 73: Pos(0.242538, 0.242538, 0.9) Norm(-0.723525, -0.483444, -0.492741) UV(0.095703, 0.505859)
|
||||
V 74: Pos(0.316891, 0.13126, 0.9) Norm(-0.723525, -0.483444, -0.492741) UV(0.048828, 0.505859)
|
||||
V 75: Pos(0.293332, 0.121502, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.048828, 0.589193)
|
||||
V 76: Pos(0.236527, 0.236527, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.095703, 0.547526)
|
||||
V 77: Pos(0.309038, 0.128008, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.048828, 0.547526)
|
||||
V 78: Pos(0.285479, 0.118249, 0.9) Norm(0.723525, 0.483444, -0.492742) UV(0.048828, 0.630859)
|
||||
V 79: Pos(0.224506, 0.224506, 0.914722) Norm(0.723525, 0.483444, -0.492742) UV(0.095703, 0.589193)
|
||||
V 80: Pos(0.293332, 0.121502, 0.914722) Norm(0.723525, 0.483444, -0.492742) UV(0.048828, 0.589193)
|
||||
V 81: Pos(0.293332, 0.121502, 0.885278) Norm(0.723524, 0.483443, 0.492743) UV(0.048828, 0.672526)
|
||||
V 82: Pos(0.218496, 0.218496, 0.9) Norm(0.723524, 0.483443, 0.492743) UV(0.095703, 0.630859)
|
||||
V 83: Pos(0.285479, 0.118249, 0.9) Norm(0.723524, 0.483443, 0.492743) UV(0.048828, 0.630859)
|
||||
V 84: Pos(0.224506, 0.224506, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.095703, 0.672526)
|
||||
V 85: Pos(0.309038, 0.128008, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.048828, 0.714193)
|
||||
V 86: Pos(0.293332, 0.121502, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.048828, 0.672526)
|
||||
V 87: Pos(0.236527, 0.236527, 0.885278) Norm(0.723524, 0.483443, -0.492743) UV(0.095703, 0.714193)
|
||||
V 88: Pos(0.316891, 0.13126, 0.9) Norm(0.723524, 0.483443, -0.492743) UV(0.048828, 0.755859)
|
||||
V 89: Pos(0.309038, 0.128008, 0.885278) Norm(0.723524, 0.483443, -0.492743) UV(0.048828, 0.714193)
|
||||
V 90: Pos(0.236527, 0.236527, 0.914722) Norm(-0.483443, -0.723524, -0.492742) UV(0.095703, 0.547526)
|
||||
V 91: Pos(0.13126, 0.316891, 0.9) Norm(-0.483443, -0.723524, -0.492742) UV(0.142578, 0.505859)
|
||||
V 92: Pos(0.242538, 0.242538, 0.9) Norm(-0.483443, -0.723524, -0.492742) UV(0.095703, 0.505859)
|
||||
V 93: Pos(0.224506, 0.224506, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.095703, 0.589193)
|
||||
V 94: Pos(0.128008, 0.309038, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.142578, 0.547526)
|
||||
V 95: Pos(0.121502, 0.293332, 0.914722) Norm(-0.483444, -0.723525, 0.492742) UV(0.142578, 0.589193)
|
||||
V 96: Pos(0.218496, 0.218496, 0.9) Norm(-0.483444, -0.723525, 0.492742) UV(0.095703, 0.630859)
|
||||
V 97: Pos(0.224506, 0.224506, 0.914722) Norm(-0.483444, -0.723525, 0.492742) UV(0.095703, 0.589193)
|
||||
V 98: Pos(0.118249, 0.285479, 0.9) Norm(-0.483443, -0.723524, -0.492743) UV(0.142578, 0.630859)
|
||||
V 99: Pos(0.224506, 0.224506, 0.885278) Norm(-0.483443, -0.723524, -0.492743) UV(0.095703, 0.672526)
|
||||
V 100: Pos(0.218496, 0.218496, 0.9) Norm(-0.483443, -0.723524, -0.492743) UV(0.095703, 0.630859)
|
||||
V 101: Pos(0.121502, 0.293332, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.142578, 0.672526)
|
||||
V 102: Pos(0.236527, 0.236527, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.095703, 0.714193)
|
||||
V 103: Pos(0.128008, 0.309038, 0.885278) Norm(0.483443, 0.723524, -0.492743) UV(0.142578, 0.714193)
|
||||
V 104: Pos(0.242538, 0.242538, 0.9) Norm(0.483443, 0.723524, -0.492743) UV(0.095703, 0.755859)
|
||||
V 105: Pos(0.236527, 0.236527, 0.885278) Norm(0.483443, 0.723524, -0.492743) UV(0.095703, 0.714193)
|
||||
V 106: Pos(0.0, 0.343, 0.9) Norm(0.169763, 0.853456, 0.492741) UV(0.189453, 0.505859)
|
||||
V 107: Pos(0.128008, 0.309038, 0.914722) Norm(0.169763, 0.853456, 0.492741) UV(0.142578, 0.547526)
|
||||
V 108: Pos(0.13126, 0.316891, 0.9) Norm(0.169763, 0.853456, 0.492741) UV(0.142578, 0.505859)
|
||||
V 109: Pos(0.128008, 0.309038, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.142578, 0.547526)
|
||||
V 110: Pos(0.0, 0.3175, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.189453, 0.589193)
|
||||
V 111: Pos(0.121502, 0.293332, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.142578, 0.589193)
|
||||
V 112: Pos(0.118249, 0.285479, 0.9) Norm(0.169763, 0.853456, -0.492741) UV(0.142578, 0.630859)
|
||||
V 113: Pos(0.0, 0.3175, 0.914722) Norm(0.169763, 0.853456, -0.492741) UV(0.189453, 0.589193)
|
||||
V 114: Pos(0.121502, 0.293332, 0.914722) Norm(0.169763, 0.853456, -0.492741) UV(0.142578, 0.589193)
|
||||
V 115: Pos(0.0, 0.309, 0.9) Norm(-0.169763, -0.853455, -0.492743) UV(0.189453, 0.630859)
|
||||
V 116: Pos(0.121502, 0.293332, 0.885278) Norm(-0.169763, -0.853455, -0.492743) UV(0.142578, 0.672526)
|
||||
V 117: Pos(0.118249, 0.285479, 0.9) Norm(-0.169763, -0.853455, -0.492743) UV(0.142578, 0.630859)
|
||||
V 118: Pos(0.128008, 0.309038, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.142578, 0.714193)
|
||||
V 119: Pos(0.0, 0.3175, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.189453, 0.672526)
|
||||
V 120: Pos(0.121502, 0.293332, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.142578, 0.672526)
|
||||
V 121: Pos(0.0, 0.3345, 0.885278) Norm(0.169763, 0.853455, -0.492743) UV(0.189453, 0.714193)
|
||||
V 122: Pos(0.13126, 0.316891, 0.9) Norm(0.169763, 0.853455, -0.492743) UV(0.142578, 0.755859)
|
||||
V 123: Pos(0.128008, 0.309038, 0.885278) Norm(0.169763, 0.853455, -0.492743) UV(0.142578, 0.714193)
|
||||
V 124: Pos(-0.13126, 0.316891, 0.9) Norm(-0.169763, 0.853456, 0.492741) UV(0.236328, 0.505859)
|
||||
V 125: Pos(0.0, 0.3345, 0.914722) Norm(-0.169763, 0.853456, 0.492741) UV(0.189453, 0.547526)
|
||||
V 126: Pos(0.0, 0.343, 0.9) Norm(-0.169763, 0.853456, 0.492741) UV(0.189453, 0.505859)
|
||||
V 127: Pos(-0.128008, 0.309038, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.236328, 0.547526)
|
||||
V 128: Pos(0.0, 0.3345, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.189453, 0.547526)
|
||||
V 129: Pos(0.0, 0.309, 0.9) Norm(-0.169763, 0.853455, -0.492742) UV(0.189453, 0.630859)
|
||||
V 130: Pos(-0.121502, 0.293332, 0.914722) Norm(-0.169763, 0.853455, -0.492742) UV(0.236328, 0.589193)
|
||||
V 131: Pos(0.0, 0.3175, 0.914722) Norm(-0.169763, 0.853455, -0.492742) UV(0.189453, 0.589193)
|
||||
V 132: Pos(-0.118249, 0.285479, 0.9) Norm(0.169763, -0.853454, -0.492744) UV(0.236328, 0.630859)
|
||||
V 133: Pos(0.0, 0.3175, 0.885278) Norm(0.169763, -0.853454, -0.492744) UV(0.189453, 0.672526)
|
||||
V 134: Pos(0.0, 0.309, 0.9) Norm(0.169763, -0.853454, -0.492744) UV(0.189453, 0.630859)
|
||||
V 135: Pos(-0.128008, 0.309038, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.236328, 0.714193)
|
||||
V 136: Pos(-0.121502, 0.293332, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.236328, 0.672526)
|
||||
V 137: Pos(-0.128008, 0.309038, 0.885278) Norm(-0.169763, 0.853455, -0.492742) UV(0.236328, 0.714193)
|
||||
V 138: Pos(0.0, 0.343, 0.9) Norm(-0.169763, 0.853455, -0.492742) UV(0.189453, 0.755859)
|
||||
V 139: Pos(0.0, 0.3345, 0.885278) Norm(-0.169763, 0.853455, -0.492742) UV(0.189453, 0.714193)
|
||||
V 140: Pos(-0.128008, 0.309038, 0.914722) Norm(0.483444, -0.723525, -0.492741) UV(0.236328, 0.547526)
|
||||
V 141: Pos(-0.242538, 0.242538, 0.9) Norm(0.483444, -0.723525, -0.492741) UV(0.283203, 0.505859)
|
||||
V 142: Pos(-0.13126, 0.316891, 0.9) Norm(0.483444, -0.723525, -0.492741) UV(0.236328, 0.505859)
|
||||
V 143: Pos(-0.121502, 0.293332, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.236328, 0.589193)
|
||||
V 144: Pos(-0.236527, 0.236527, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.283203, 0.547526)
|
||||
V 145: Pos(-0.128008, 0.309038, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.236328, 0.547526)
|
||||
V 146: Pos(-0.224506, 0.224506, 0.914722) Norm(0.483444, -0.723525, 0.492742) UV(0.283203, 0.589193)
|
||||
V 147: Pos(-0.118249, 0.285479, 0.9) Norm(0.483444, -0.723525, 0.492742) UV(0.236328, 0.630859)
|
||||
V 148: Pos(-0.121502, 0.293332, 0.914722) Norm(0.483444, -0.723525, 0.492742) UV(0.236328, 0.589193)
|
||||
V 149: Pos(-0.121502, 0.293332, 0.885278) Norm(-0.483443, 0.723524, 0.492743) UV(0.236328, 0.672526)
|
||||
V 150: Pos(-0.218496, 0.218496, 0.9) Norm(-0.483443, 0.723524, 0.492743) UV(0.283203, 0.630859)
|
||||
V 151: Pos(-0.118249, 0.285479, 0.9) Norm(-0.483443, 0.723524, 0.492743) UV(0.236328, 0.630859)
|
||||
V 152: Pos(-0.224506, 0.224506, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.283203, 0.672526)
|
||||
V 153: Pos(-0.128008, 0.309038, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.236328, 0.714193)
|
||||
V 154: Pos(-0.121502, 0.293332, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.236328, 0.672526)
|
||||
V 155: Pos(-0.13126, 0.316891, 0.9) Norm(0.483443, -0.723524, 0.492743) UV(0.236328, 0.755859)
|
||||
V 156: Pos(-0.236527, 0.236527, 0.885278) Norm(0.483443, -0.723524, 0.492743) UV(0.283203, 0.714193)
|
||||
V 157: Pos(-0.128008, 0.309038, 0.885278) Norm(0.483443, -0.723524, 0.492743) UV(0.236328, 0.714193)
|
||||
V 158: Pos(-0.236527, 0.236527, 0.914722) Norm(0.723524, -0.483443, -0.492742) UV(0.033203, 0.547526)
|
||||
V 159: Pos(-0.316891, 0.13126, 0.9) Norm(0.723524, -0.483443, -0.492742) UV(0.080078, 0.505859)
|
||||
V 160: Pos(-0.242538, 0.242538, 0.9) Norm(0.723524, -0.483443, -0.492742) UV(0.033203, 0.505859)
|
||||
V 161: Pos(-0.309038, 0.128008, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.080078, 0.547526)
|
||||
V 162: Pos(-0.224506, 0.224506, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.033203, 0.589193)
|
||||
V 163: Pos(-0.236527, 0.236527, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.033203, 0.547526)
|
||||
V 164: Pos(-0.218496, 0.218496, 0.9) Norm(-0.723525, 0.483444, -0.492742) UV(0.033203, 0.630859)
|
||||
V 165: Pos(-0.293332, 0.121502, 0.914722) Norm(-0.723525, 0.483444, -0.492742) UV(0.080078, 0.589193)
|
||||
V 166: Pos(-0.224506, 0.224506, 0.914722) Norm(-0.723525, 0.483444, -0.492742) UV(0.033203, 0.589193)
|
||||
V 167: Pos(-0.224506, 0.224506, 0.885278) Norm(-0.723524, 0.483443, 0.492743) UV(0.033203, 0.672526)
|
||||
V 168: Pos(-0.285479, 0.118249, 0.9) Norm(-0.723524, 0.483443, 0.492743) UV(0.080078, 0.630859)
|
||||
V 169: Pos(-0.218496, 0.218496, 0.9) Norm(-0.723524, 0.483443, 0.492743) UV(0.033203, 0.630859)
|
||||
V 170: Pos(-0.293332, 0.121502, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.080078, 0.672526)
|
||||
V 171: Pos(-0.236527, 0.236527, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.033203, 0.714193)
|
||||
V 172: Pos(-0.224506, 0.224506, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.033203, 0.672526)
|
||||
V 173: Pos(-0.309038, 0.128008, 0.885278) Norm(-0.723524, 0.483443, -0.492743) UV(0.080078, 0.714193)
|
||||
V 174: Pos(-0.242538, 0.242538, 0.9) Norm(-0.723524, 0.483443, -0.492743) UV(0.033203, 0.755859)
|
||||
V 175: Pos(-0.236527, 0.236527, 0.885278) Norm(-0.723524, 0.483443, -0.492743) UV(0.033203, 0.714193)
|
||||
V 176: Pos(-0.343, 0.0, 0.9) Norm(-0.853456, 0.169763, 0.492741) UV(0.126953, 0.505859)
|
||||
V 177: Pos(-0.309038, 0.128008, 0.914722) Norm(-0.853456, 0.169763, 0.492741) UV(0.080078, 0.547526)
|
||||
V 178: Pos(-0.316891, 0.13126, 0.9) Norm(-0.853456, 0.169763, 0.492741) UV(0.080078, 0.505859)
|
||||
V 179: Pos(-0.3175, 0.0, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.126953, 0.589193)
|
||||
V 180: Pos(-0.293332, 0.121502, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.080078, 0.589193)
|
||||
V 181: Pos(-0.285479, 0.118249, 0.9) Norm(-0.853456, 0.169763, -0.492741) UV(0.080078, 0.630859)
|
||||
V 182: Pos(-0.3175, 0.0, 0.914722) Norm(-0.853456, 0.169763, -0.492741) UV(0.126953, 0.589193)
|
||||
V 183: Pos(-0.293332, 0.121502, 0.914722) Norm(-0.853456, 0.169763, -0.492741) UV(0.080078, 0.589193)
|
||||
V 184: Pos(-0.309, 0.0, 0.9) Norm(0.853455, -0.169763, -0.492743) UV(0.126953, 0.630859)
|
||||
V 185: Pos(-0.293332, 0.121502, 0.885278) Norm(0.853455, -0.169763, -0.492743) UV(0.080078, 0.672526)
|
||||
V 186: Pos(-0.285479, 0.118249, 0.9) Norm(0.853455, -0.169763, -0.492743) UV(0.080078, 0.630859)
|
||||
V 187: Pos(-0.309038, 0.128008, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.080078, 0.714193)
|
||||
V 188: Pos(-0.3175, 0.0, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.126953, 0.672526)
|
||||
V 189: Pos(-0.293332, 0.121502, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.080078, 0.672526)
|
||||
V 190: Pos(-0.3345, 0.0, 0.885278) Norm(-0.853455, 0.169763, -0.492743) UV(0.126953, 0.714193)
|
||||
V 191: Pos(-0.316891, 0.13126, 0.9) Norm(-0.853455, 0.169763, -0.492743) UV(0.080078, 0.755859)
|
||||
V 192: Pos(-0.309038, 0.128008, 0.885278) Norm(-0.853455, 0.169763, -0.492743) UV(0.080078, 0.714193)
|
||||
V 193: Pos(-0.316891, -0.13126, 0.9) Norm(-0.853456, -0.169763, 0.492741) UV(0.173828, 0.505859)
|
||||
V 194: Pos(-0.3345, 0.0, 0.914722) Norm(-0.853456, -0.169763, 0.492741) UV(0.126953, 0.547526)
|
||||
V 195: Pos(-0.343, 0.0, 0.9) Norm(-0.853456, -0.169763, 0.492741) UV(0.126953, 0.505859)
|
||||
V 196: Pos(-0.309038, -0.128008, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.173828, 0.547526)
|
||||
V 197: Pos(-0.3345, 0.0, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.126953, 0.547526)
|
||||
V 198: Pos(-0.309, 0.0, 0.9) Norm(-0.853455, -0.169763, -0.492742) UV(0.126953, 0.630859)
|
||||
V 199: Pos(-0.293332, -0.121502, 0.914722) Norm(-0.853455, -0.169763, -0.492742) UV(0.173828, 0.589193)
|
||||
V 200: Pos(-0.3175, 0.0, 0.914722) Norm(-0.853455, -0.169763, -0.492742) UV(0.126953, 0.589193)
|
||||
V 201: Pos(-0.285479, -0.118249, 0.9) Norm(0.853454, 0.169763, -0.492744) UV(0.173828, 0.630859)
|
||||
V 202: Pos(-0.3175, 0.0, 0.885278) Norm(0.853454, 0.169763, -0.492744) UV(0.126953, 0.672526)
|
||||
V 203: Pos(-0.309, 0.0, 0.9) Norm(0.853454, 0.169763, -0.492744) UV(0.126953, 0.630859)
|
||||
V 204: Pos(-0.309038, -0.128008, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.173828, 0.714193)
|
||||
V 205: Pos(-0.293332, -0.121502, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.173828, 0.672526)
|
||||
V 206: Pos(-0.309038, -0.128008, 0.885278) Norm(-0.853455, -0.169763, -0.492742) UV(0.173828, 0.714193)
|
||||
V 207: Pos(-0.343, 0.0, 0.9) Norm(-0.853455, -0.169763, -0.492742) UV(0.126953, 0.755859)
|
||||
V 208: Pos(-0.3345, 0.0, 0.885278) Norm(-0.853455, -0.169763, -0.492742) UV(0.126953, 0.714193)
|
||||
V 209: Pos(-0.309038, -0.128008, 0.914722) Norm(0.723525, 0.483444, -0.492741) UV(0.173828, 0.547526)
|
||||
V 210: Pos(-0.242538, -0.242538, 0.9) Norm(0.723525, 0.483444, -0.492741) UV(0.220703, 0.505859)
|
||||
V 211: Pos(-0.316891, -0.13126, 0.9) Norm(0.723525, 0.483444, -0.492741) UV(0.173828, 0.505859)
|
||||
V 212: Pos(-0.293332, -0.121502, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.173828, 0.589193)
|
||||
V 213: Pos(-0.236527, -0.236527, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.220703, 0.547526)
|
||||
V 214: Pos(-0.309038, -0.128008, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.173828, 0.547526)
|
||||
V 215: Pos(-0.285479, -0.118249, 0.9) Norm(-0.723525, -0.483444, -0.492742) UV(0.173828, 0.630859)
|
||||
V 216: Pos(-0.224506, -0.224506, 0.914722) Norm(-0.723525, -0.483444, -0.492742) UV(0.220703, 0.589193)
|
||||
V 217: Pos(-0.293332, -0.121502, 0.914722) Norm(-0.723525, -0.483444, -0.492742) UV(0.173828, 0.589193)
|
||||
V 218: Pos(-0.293332, -0.121502, 0.885278) Norm(-0.723524, -0.483443, 0.492743) UV(0.173828, 0.672526)
|
||||
V 219: Pos(-0.218496, -0.218496, 0.9) Norm(-0.723524, -0.483443, 0.492743) UV(0.220703, 0.630859)
|
||||
V 220: Pos(-0.285479, -0.118249, 0.9) Norm(-0.723524, -0.483443, 0.492743) UV(0.173828, 0.630859)
|
||||
V 221: Pos(-0.224506, -0.224506, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.220703, 0.672526)
|
||||
V 222: Pos(-0.309038, -0.128008, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.173828, 0.714193)
|
||||
V 223: Pos(-0.293332, -0.121502, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.173828, 0.672526)
|
||||
V 224: Pos(-0.236527, -0.236527, 0.885278) Norm(-0.723524, -0.483443, -0.492743) UV(0.220703, 0.714193)
|
||||
V 225: Pos(-0.316891, -0.13126, 0.9) Norm(-0.723524, -0.483443, -0.492743) UV(0.173828, 0.755859)
|
||||
V 226: Pos(-0.309038, -0.128008, 0.885278) Norm(-0.723524, -0.483443, -0.492743) UV(0.173828, 0.714193)
|
||||
V 227: Pos(-0.236527, -0.236527, 0.914722) Norm(0.483443, 0.723524, -0.492742) UV(0.220703, 0.547526)
|
||||
V 228: Pos(-0.13126, -0.316891, 0.9) Norm(0.483443, 0.723524, -0.492742) UV(0.267578, 0.505859)
|
||||
V 229: Pos(-0.242538, -0.242538, 0.9) Norm(0.483443, 0.723524, -0.492742) UV(0.220703, 0.505859)
|
||||
V 230: Pos(-0.224506, -0.224506, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.220703, 0.589193)
|
||||
V 231: Pos(-0.128008, -0.309038, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.267578, 0.547526)
|
||||
V 232: Pos(-0.121502, -0.293332, 0.914722) Norm(0.483444, 0.723525, 0.492742) UV(0.267578, 0.589193)
|
||||
V 233: Pos(-0.218496, -0.218496, 0.9) Norm(0.483444, 0.723525, 0.492742) UV(0.220703, 0.630859)
|
||||
V 234: Pos(-0.224506, -0.224506, 0.914722) Norm(0.483444, 0.723525, 0.492742) UV(0.220703, 0.589193)
|
||||
V 235: Pos(-0.118249, -0.285479, 0.9) Norm(0.483443, 0.723524, -0.492743) UV(0.267578, 0.630859)
|
||||
V 236: Pos(-0.224506, -0.224506, 0.885278) Norm(0.483443, 0.723524, -0.492743) UV(0.220703, 0.672526)
|
||||
V 237: Pos(-0.218496, -0.218496, 0.9) Norm(0.483443, 0.723524, -0.492743) UV(0.220703, 0.630859)
|
||||
V 238: Pos(-0.121502, -0.293332, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.267578, 0.672526)
|
||||
V 239: Pos(-0.236527, -0.236527, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.220703, 0.714193)
|
||||
V 240: Pos(-0.128008, -0.309038, 0.885278) Norm(-0.483443, -0.723524, -0.492743) UV(0.267578, 0.714193)
|
||||
V 241: Pos(-0.242538, -0.242538, 0.9) Norm(-0.483443, -0.723524, -0.492743) UV(0.220703, 0.755859)
|
||||
V 242: Pos(-0.236527, -0.236527, 0.885278) Norm(-0.483443, -0.723524, -0.492743) UV(0.220703, 0.714193)
|
||||
V 243: Pos(0.0, -0.343, 0.9) Norm(-0.169763, -0.853456, 0.492741) UV(0.064453, 0.505859)
|
||||
V 244: Pos(-0.128008, -0.309038, 0.914722) Norm(-0.169763, -0.853456, 0.492741) UV(0.017578, 0.547526)
|
||||
V 245: Pos(-0.13126, -0.316891, 0.9) Norm(-0.169763, -0.853456, 0.492741) UV(0.017578, 0.505859)
|
||||
V 246: Pos(-0.128008, -0.309038, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.017578, 0.547526)
|
||||
V 247: Pos(0.0, -0.3175, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.064453, 0.589193)
|
||||
V 248: Pos(-0.121502, -0.293332, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.017578, 0.589193)
|
||||
V 249: Pos(-0.118249, -0.285479, 0.9) Norm(-0.169763, -0.853456, -0.492741) UV(0.017578, 0.630859)
|
||||
V 250: Pos(0.0, -0.3175, 0.914722) Norm(-0.169763, -0.853456, -0.492741) UV(0.064453, 0.589193)
|
||||
V 251: Pos(-0.121502, -0.293332, 0.914722) Norm(-0.169763, -0.853456, -0.492741) UV(0.017578, 0.589193)
|
||||
V 252: Pos(0.0, -0.309, 0.9) Norm(0.169763, 0.853455, -0.492743) UV(0.064453, 0.630859)
|
||||
V 253: Pos(-0.121502, -0.293332, 0.885278) Norm(0.169763, 0.853455, -0.492743) UV(0.017578, 0.672526)
|
||||
V 254: Pos(-0.118249, -0.285479, 0.9) Norm(0.169763, 0.853455, -0.492743) UV(0.017578, 0.630859)
|
||||
V 255: Pos(-0.128008, -0.309038, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.017578, 0.714193)
|
||||
V 256: Pos(0.0, -0.3175, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.064453, 0.672526)
|
||||
V 257: Pos(-0.121502, -0.293332, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.017578, 0.672526)
|
||||
V 258: Pos(0.0, -0.3345, 0.885278) Norm(-0.169763, -0.853455, -0.492743) UV(0.064453, 0.714193)
|
||||
V 259: Pos(-0.13126, -0.316891, 0.9) Norm(-0.169763, -0.853455, -0.492743) UV(0.017578, 0.755859)
|
||||
V 260: Pos(-0.128008, -0.309038, 0.885278) Norm(-0.169763, -0.853455, -0.492743) UV(0.017578, 0.714193)
|
||||
V 261: Pos(0.13126, -0.316891, 0.9) Norm(0.169763, -0.853456, 0.492741) UV(0.111328, 0.505859)
|
||||
V 262: Pos(0.0, -0.3345, 0.914722) Norm(0.169763, -0.853456, 0.492741) UV(0.064453, 0.547526)
|
||||
V 263: Pos(0.0, -0.343, 0.9) Norm(0.169763, -0.853456, 0.492741) UV(0.064453, 0.505859)
|
||||
V 264: Pos(0.128008, -0.309038, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.111328, 0.547526)
|
||||
V 265: Pos(0.0, -0.3345, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.064453, 0.547526)
|
||||
V 266: Pos(0.0, -0.309, 0.9) Norm(0.169763, -0.853455, -0.492742) UV(0.064453, 0.630859)
|
||||
V 267: Pos(0.121502, -0.293332, 0.914722) Norm(0.169763, -0.853455, -0.492742) UV(0.111328, 0.589193)
|
||||
V 268: Pos(0.0, -0.3175, 0.914722) Norm(0.169763, -0.853455, -0.492742) UV(0.064453, 0.589193)
|
||||
V 269: Pos(0.118249, -0.285479, 0.9) Norm(-0.169763, 0.853454, -0.492744) UV(0.111328, 0.630859)
|
||||
V 270: Pos(0.0, -0.3175, 0.885278) Norm(-0.169763, 0.853454, -0.492744) UV(0.064453, 0.672526)
|
||||
V 271: Pos(0.0, -0.309, 0.9) Norm(-0.169763, 0.853454, -0.492744) UV(0.064453, 0.630859)
|
||||
V 272: Pos(0.128008, -0.309038, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.111328, 0.714193)
|
||||
V 273: Pos(0.121502, -0.293332, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.111328, 0.672526)
|
||||
V 274: Pos(0.128008, -0.309038, 0.885278) Norm(0.169763, -0.853455, -0.492742) UV(0.111328, 0.714193)
|
||||
V 275: Pos(0.0, -0.343, 0.9) Norm(0.169763, -0.853455, -0.492742) UV(0.064453, 0.755859)
|
||||
V 276: Pos(0.0, -0.3345, 0.885278) Norm(0.169763, -0.853455, -0.492742) UV(0.064453, 0.714193)
|
||||
V 277: Pos(0.128008, -0.309038, 0.914722) Norm(-0.483444, 0.723525, -0.492741) UV(0.111328, 0.547526)
|
||||
V 278: Pos(0.242538, -0.242538, 0.9) Norm(-0.483444, 0.723525, -0.492741) UV(0.158203, 0.505859)
|
||||
V 279: Pos(0.13126, -0.316891, 0.9) Norm(-0.483444, 0.723525, -0.492741) UV(0.111328, 0.505859)
|
||||
V 280: Pos(0.121502, -0.293332, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.111328, 0.589193)
|
||||
V 281: Pos(0.236527, -0.236527, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.158203, 0.547526)
|
||||
V 282: Pos(0.128008, -0.309038, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.111328, 0.547526)
|
||||
V 283: Pos(0.224506, -0.224506, 0.914722) Norm(-0.483444, 0.723525, 0.492742) UV(0.158203, 0.589193)
|
||||
V 284: Pos(0.118249, -0.285479, 0.9) Norm(-0.483444, 0.723525, 0.492742) UV(0.111328, 0.630859)
|
||||
V 285: Pos(0.121502, -0.293332, 0.914722) Norm(-0.483444, 0.723525, 0.492742) UV(0.111328, 0.589193)
|
||||
V 286: Pos(0.121502, -0.293332, 0.885278) Norm(0.483443, -0.723524, 0.492743) UV(0.111328, 0.672526)
|
||||
V 287: Pos(0.218496, -0.218496, 0.9) Norm(0.483443, -0.723524, 0.492743) UV(0.158203, 0.630859)
|
||||
V 288: Pos(0.118249, -0.285479, 0.9) Norm(0.483443, -0.723524, 0.492743) UV(0.111328, 0.630859)
|
||||
V 289: Pos(0.224506, -0.224506, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.158203, 0.672526)
|
||||
V 290: Pos(0.128008, -0.309038, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.111328, 0.714193)
|
||||
V 291: Pos(0.121502, -0.293332, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.111328, 0.672526)
|
||||
V 292: Pos(0.13126, -0.316891, 0.9) Norm(-0.483443, 0.723524, 0.492743) UV(0.111328, 0.755859)
|
||||
V 293: Pos(0.236527, -0.236527, 0.885278) Norm(-0.483443, 0.723524, 0.492743) UV(0.158203, 0.714193)
|
||||
V 294: Pos(0.128008, -0.309038, 0.885278) Norm(-0.483443, 0.723524, 0.492743) UV(0.111328, 0.714193)
|
||||
V 295: Pos(0.236527, -0.236527, 0.914722) Norm(-0.723524, 0.483443, -0.492742) UV(0.158203, 0.547526)
|
||||
V 296: Pos(0.316891, -0.13126, 0.9) Norm(-0.723524, 0.483443, -0.492742) UV(0.205078, 0.505859)
|
||||
V 297: Pos(0.242538, -0.242538, 0.9) Norm(-0.723524, 0.483443, -0.492742) UV(0.158203, 0.505859)
|
||||
V 298: Pos(0.309038, -0.128008, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.205078, 0.547526)
|
||||
V 299: Pos(0.224506, -0.224506, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.158203, 0.589193)
|
||||
V 300: Pos(0.236527, -0.236527, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.158203, 0.547526)
|
||||
V 301: Pos(0.218496, -0.218496, 0.9) Norm(0.723525, -0.483444, -0.492742) UV(0.158203, 0.630859)
|
||||
V 302: Pos(0.293332, -0.121502, 0.914722) Norm(0.723525, -0.483444, -0.492742) UV(0.205078, 0.589193)
|
||||
V 303: Pos(0.224506, -0.224506, 0.914722) Norm(0.723525, -0.483444, -0.492742) UV(0.158203, 0.589193)
|
||||
V 304: Pos(0.224506, -0.224506, 0.885278) Norm(0.723524, -0.483443, 0.492743) UV(0.158203, 0.672526)
|
||||
V 305: Pos(0.285479, -0.118249, 0.9) Norm(0.723524, -0.483443, 0.492743) UV(0.205078, 0.630859)
|
||||
V 306: Pos(0.218496, -0.218496, 0.9) Norm(0.723524, -0.483443, 0.492743) UV(0.158203, 0.630859)
|
||||
V 307: Pos(0.293332, -0.121502, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.205078, 0.672526)
|
||||
V 308: Pos(0.236527, -0.236527, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.158203, 0.714193)
|
||||
V 309: Pos(0.309038, -0.128008, 0.885278) Norm(0.723524, -0.483443, -0.492743) UV(0.205078, 0.714193)
|
||||
V 310: Pos(0.242538, -0.242538, 0.9) Norm(0.723524, -0.483443, -0.492743) UV(0.158203, 0.755859)
|
||||
V 311: Pos(0.236527, -0.236527, 0.885278) Norm(0.723524, -0.483443, -0.492743) UV(0.158203, 0.714193)
|
||||
V 312: Pos(0.343, 0.0, 0.9) Norm(0.853456, -0.169763, 0.492741) UV(0.251953, 0.505859)
|
||||
V 313: Pos(0.309038, -0.128008, 0.914722) Norm(0.853456, -0.169763, 0.492741) UV(0.205078, 0.547526)
|
||||
V 314: Pos(0.316891, -0.13126, 0.9) Norm(0.853456, -0.169763, 0.492741) UV(0.205078, 0.505859)
|
||||
V 315: Pos(0.3175, 0.0, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.251953, 0.589193)
|
||||
V 316: Pos(0.293332, -0.121502, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.205078, 0.589193)
|
||||
V 317: Pos(0.285479, -0.118249, 0.9) Norm(0.853456, -0.169763, -0.492741) UV(0.205078, 0.630859)
|
||||
V 318: Pos(0.3175, 0.0, 0.914722) Norm(0.853456, -0.169763, -0.492741) UV(0.251953, 0.589193)
|
||||
V 319: Pos(0.293332, -0.121502, 0.914722) Norm(0.853456, -0.169763, -0.492741) UV(0.205078, 0.589193)
|
||||
V 320: Pos(0.309, 0.0, 0.9) Norm(-0.853455, 0.169763, -0.492743) UV(0.251953, 0.630859)
|
||||
V 321: Pos(0.293332, -0.121502, 0.885278) Norm(-0.853455, 0.169763, -0.492743) UV(0.205078, 0.672526)
|
||||
V 322: Pos(0.285479, -0.118249, 0.9) Norm(-0.853455, 0.169763, -0.492743) UV(0.205078, 0.630859)
|
||||
V 323: Pos(0.309038, -0.128008, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.205078, 0.714193)
|
||||
V 324: Pos(0.3175, 0.0, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.251953, 0.672526)
|
||||
V 325: Pos(0.293332, -0.121502, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.205078, 0.672526)
|
||||
V 326: Pos(0.3345, 0.0, 0.885278) Norm(0.853455, -0.169763, -0.492743) UV(0.251953, 0.714193)
|
||||
V 327: Pos(0.316891, -0.13126, 0.9) Norm(0.853455, -0.169763, -0.492743) UV(0.205078, 0.755859)
|
||||
V 328: Pos(0.309038, -0.128008, 0.885278) Norm(0.853455, -0.169763, -0.492743) UV(0.205078, 0.714193)
|
||||
V 329: Pos(0.308, 0.0, 0.35) Norm(-0.980785, -0.19509, 0.0) UV(0.505859, 0.001953)
|
||||
V 330: Pos(0.284555, 0.117866, 0.88) Norm(-0.980785, -0.19509, 0.0) UV(0.552734, 0.345703)
|
||||
V 331: Pos(0.284555, 0.117866, 0.35) Norm(-0.980785, -0.19509, 0.0) UV(0.552734, 0.001953)
|
||||
V 332: Pos(0.284555, 0.117866, 0.35) Norm(-0.83147, -0.55557, 0.0) UV(0.552734, 0.001953)
|
||||
V 333: Pos(0.217789, 0.217789, 0.88) Norm(-0.83147, -0.55557, 0.0) UV(0.599609, 0.345703)
|
||||
V 334: Pos(0.217789, 0.217789, 0.35) Norm(-0.83147, -0.55557, 0.0) UV(0.599609, 0.001953)
|
||||
V 335: Pos(0.217789, 0.217789, 0.35) Norm(-0.55557, -0.83147, 0.0) UV(0.599609, 0.001953)
|
||||
V 336: Pos(0.117866, 0.284555, 0.88) Norm(-0.55557, -0.83147, 0.0) UV(0.646484, 0.345703)
|
||||
V 337: Pos(0.117866, 0.284555, 0.35) Norm(-0.55557, -0.83147, 0.0) UV(0.646484, 0.001953)
|
||||
V 338: Pos(0.117866, 0.284555, 0.35) Norm(-0.19509, -0.980785, 0.0) UV(0.646484, 0.001953)
|
||||
V 339: Pos(0.0, 0.308, 0.88) Norm(-0.19509, -0.980785, 0.0) UV(0.693359, 0.345703)
|
||||
V 340: Pos(0.0, 0.308, 0.35) Norm(-0.19509, -0.980785, 0.0) UV(0.693359, 0.001953)
|
||||
V 341: Pos(0.0, 0.308, 0.35) Norm(0.19509, -0.980785, 0.0) UV(0.693359, 0.001953)
|
||||
V 342: Pos(-0.117866, 0.284555, 0.88) Norm(0.19509, -0.980785, 0.0) UV(0.740234, 0.345703)
|
||||
V 343: Pos(-0.117866, 0.284555, 0.35) Norm(0.19509, -0.980785, 0.0) UV(0.740234, 0.001953)
|
||||
V 344: Pos(-0.117866, 0.284555, 0.35) Norm(0.55557, -0.83147, 0.0) UV(0.740234, 0.001953)
|
||||
V 345: Pos(-0.217789, 0.217789, 0.88) Norm(0.55557, -0.83147, 0.0) UV(0.787109, 0.345703)
|
||||
V 346: Pos(-0.217789, 0.217789, 0.35) Norm(0.55557, -0.83147, 0.0) UV(0.787109, 0.001953)
|
||||
V 347: Pos(-0.217789, 0.217789, 0.35) Norm(0.83147, -0.55557, 0.0) UV(0.787109, 0.001953)
|
||||
V 348: Pos(-0.284555, 0.117866, 0.88) Norm(0.83147, -0.55557, 0.0) UV(0.833984, 0.345703)
|
||||
V 349: Pos(-0.284555, 0.117866, 0.35) Norm(0.83147, -0.55557, 0.0) UV(0.833984, 0.001953)
|
||||
V 350: Pos(-0.284555, 0.117866, 0.35) Norm(0.980785, -0.19509, 0.0) UV(0.833984, 0.001953)
|
||||
V 351: Pos(-0.308, 0.0, 0.88) Norm(0.980785, -0.19509, 0.0) UV(0.880859, 0.345703)
|
||||
V 352: Pos(-0.308, 0.0, 0.35) Norm(0.980785, -0.19509, 0.0) UV(0.880859, 0.001953)
|
||||
V 353: Pos(-0.308, 0.0, 0.35) Norm(0.980785, 0.19509, 0.0) UV(0.505859, 0.001953)
|
||||
V 354: Pos(-0.284555, -0.117866, 0.88) Norm(0.980785, 0.19509, 0.0) UV(0.552734, 0.345703)
|
||||
V 355: Pos(-0.284555, -0.117866, 0.35) Norm(0.980785, 0.19509, 0.0) UV(0.552734, 0.001953)
|
||||
V 356: Pos(-0.284555, -0.117866, 0.35) Norm(0.83147, 0.55557, 0.0) UV(0.552734, 0.001953)
|
||||
V 357: Pos(-0.217789, -0.217789, 0.88) Norm(0.83147, 0.55557, 0.0) UV(0.599609, 0.345703)
|
||||
V 358: Pos(-0.217789, -0.217789, 0.35) Norm(0.83147, 0.55557, 0.0) UV(0.599609, 0.001953)
|
||||
V 359: Pos(-0.217789, -0.217789, 0.35) Norm(0.55557, 0.83147, 0.0) UV(0.599609, 0.001953)
|
||||
V 360: Pos(-0.117866, -0.284555, 0.88) Norm(0.55557, 0.83147, 0.0) UV(0.646484, 0.345703)
|
||||
V 361: Pos(-0.117866, -0.284555, 0.35) Norm(0.55557, 0.83147, 0.0) UV(0.646484, 0.001953)
|
||||
V 362: Pos(-0.117866, -0.284555, 0.35) Norm(0.19509, 0.980785, 0.0) UV(0.646484, 0.001953)
|
||||
V 363: Pos(0.0, -0.308, 0.88) Norm(0.19509, 0.980785, 0.0) UV(0.693359, 0.345703)
|
||||
V 364: Pos(0.0, -0.308, 0.35) Norm(0.19509, 0.980785, 0.0) UV(0.693359, 0.001953)
|
||||
V 365: Pos(0.0, -0.308, 0.35) Norm(-0.19509, 0.980785, 0.0) UV(0.693359, 0.001953)
|
||||
V 366: Pos(0.117866, -0.284555, 0.88) Norm(-0.19509, 0.980785, 0.0) UV(0.740234, 0.345703)
|
||||
V 367: Pos(0.117866, -0.284555, 0.35) Norm(-0.19509, 0.980785, 0.0) UV(0.740234, 0.001953)
|
||||
V 368: Pos(0.117866, -0.284555, 0.35) Norm(-0.55557, 0.83147, 0.0) UV(0.740234, 0.001953)
|
||||
V 369: Pos(0.217789, -0.217789, 0.88) Norm(-0.55557, 0.83147, 0.0) UV(0.787109, 0.345703)
|
||||
V 370: Pos(0.217789, -0.217789, 0.35) Norm(-0.55557, 0.83147, 0.0) UV(0.787109, 0.001953)
|
||||
V 371: Pos(0.217789, -0.217789, 0.35) Norm(-0.83147, 0.55557, 0.0) UV(0.787109, 0.001953)
|
||||
V 372: Pos(0.284555, -0.117866, 0.88) Norm(-0.83147, 0.55557, 0.0) UV(0.833984, 0.345703)
|
||||
V 373: Pos(0.284555, -0.117866, 0.35) Norm(-0.83147, 0.55557, 0.0) UV(0.833984, 0.001953)
|
||||
V 374: Pos(0.284555, -0.117866, 0.35) Norm(-0.980785, 0.19509, 0.0) UV(0.833984, 0.001953)
|
||||
V 375: Pos(0.308, 0.0, 0.88) Norm(-0.980785, 0.19509, 0.0) UV(0.880859, 0.345703)
|
||||
V 376: Pos(0.308, 0.0, 0.35) Norm(-0.980785, 0.19509, 0.0) UV(0.880859, 0.001953)
|
||||
V 377: Pos(-0.308, 0.0, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 378: Pos(0.0, 0.308, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 379: Pos(0.308, 0.0, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 380: Pos(0.295641, 0.122459, 0.87) Norm(-0.980785, -0.19509, 0.0) UV(0.048828, 0.312667)
|
||||
V 381: Pos(0.226274, 0.226274, 0.87) Norm(0.83147, 0.55557, 0.0) UV(0.095703, 0.312667)
|
||||
V 382: Pos(0.122459, 0.295641, 0.87) Norm(-0.55557, -0.83147, 0.0) UV(0.142578, 0.312667)
|
||||
V 383: Pos(0.0, 0.32, 0.87) Norm(-0.19509, -0.980785, 0.0) UV(0.189453, 0.312667)
|
||||
V 384: Pos(-0.122459, 0.295641, 0.87) Norm(0.19509, -0.980785, 0.0) UV(0.236328, 0.312667)
|
||||
V 385: Pos(-0.226274, 0.226274, 0.87) Norm(-0.55557, 0.83147, 0.0) UV(0.283203, 0.312667)
|
||||
V 386: Pos(-0.295641, 0.122459, 0.87) Norm(0.83147, -0.55557, 0.0) UV(0.080078, 0.312667)
|
||||
V 387: Pos(-0.32, 0.0, 0.87) Norm(0.980785, -0.19509, 0.0) UV(0.126953, 0.312667)
|
||||
V 388: Pos(-0.295641, -0.122459, 0.87) Norm(0.980785, 0.19509, 0.0) UV(0.173828, 0.312667)
|
||||
V 389: Pos(-0.226274, -0.226274, 0.87) Norm(-0.83147, -0.55557, 0.0) UV(0.220703, 0.312667)
|
||||
V 390: Pos(-0.122459, -0.295641, 0.87) Norm(0.55557, 0.83147, 0.0) UV(0.267578, 0.312667)
|
||||
V 391: Pos(0.0, -0.32, 0.87) Norm(0.19509, 0.980785, 0.0) UV(0.064453, 0.312667)
|
||||
V 392: Pos(0.122459, -0.295641, 0.87) Norm(-0.19509, 0.980785, 0.0) UV(0.111328, 0.312667)
|
||||
V 393: Pos(0.226274, -0.226274, 0.87) Norm(0.55557, -0.83147, 0.0) UV(0.158203, 0.312667)
|
||||
V 394: Pos(0.295641, -0.122459, 0.87) Norm(-0.83147, 0.55557, 0.0) UV(0.205078, 0.312667)
|
||||
V 395: Pos(0.32, 0.0, 0.87) Norm(-0.980785, 0.19509, 0.0) UV(0.251953, 0.312667)
|
||||
V 396: Pos(0.324, 0.0, 0.62) Norm(0.980785, -0.19509, 0.0) UV(0.599609, 0.693359)
|
||||
V 397: Pos(0.299337, 0.123989, 0.62) Norm(0.980785, 0.19509, 0.0) UV(0.693359, 0.693359)
|
||||
V 398: Pos(0.309038, 0.128008, 0.914722) Norm(0.853456, 0.169763, 0.492741) UV(0.048828, 0.547526)
|
||||
V 399: Pos(0.293332, 0.121502, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.048828, 0.589193)
|
||||
V 400: Pos(0.309, 0.0, 0.9) Norm(0.853456, 0.169763, -0.492741) UV(0.001953, 0.630859)
|
||||
V 401: Pos(0.285479, 0.118249, 0.9) Norm(0.853456, 0.169763, -0.492741) UV(0.048828, 0.630859)
|
||||
V 402: Pos(0.293332, 0.121502, 0.914722) Norm(0.853456, 0.169763, -0.492741) UV(0.048828, 0.589193)
|
||||
V 403: Pos(0.285479, 0.118249, 0.9) Norm(-0.853455, -0.169763, -0.492743) UV(0.048828, 0.630859)
|
||||
V 404: Pos(0.293332, 0.121502, 0.885278) Norm(-0.853455, -0.169763, -0.492743) UV(0.048828, 0.672526)
|
||||
V 405: Pos(0.3175, 0.0, 0.885278) Norm(-0.853455, -0.169763, -0.492743) UV(0.001953, 0.672526)
|
||||
V 406: Pos(0.3345, 0.0, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.001953, 0.714193)
|
||||
V 407: Pos(0.309038, 0.128008, 0.885278) Norm(0.853455, 0.169763, -0.492743) UV(0.048828, 0.714193)
|
||||
V 408: Pos(0.316891, 0.13126, 0.9) Norm(0.853455, 0.169763, -0.492743) UV(0.048828, 0.755859)
|
||||
V 409: Pos(0.343, 0.0, 0.9) Norm(0.853455, 0.169763, -0.492743) UV(0.001953, 0.755859)
|
||||
V 410: Pos(0.309038, 0.128008, 0.914722) Norm(-0.723524, -0.483444, -0.492742) UV(0.048828, 0.547526)
|
||||
V 411: Pos(0.236527, 0.236527, 0.914722) Norm(-0.723524, -0.483444, -0.492742) UV(0.095703, 0.547526)
|
||||
V 412: Pos(0.242538, 0.242538, 0.9) Norm(-0.723524, -0.483444, -0.492742) UV(0.095703, 0.505859)
|
||||
V 413: Pos(0.285479, 0.118249, 0.9) Norm(0.723524, 0.483444, -0.492742) UV(0.048828, 0.630859)
|
||||
V 414: Pos(0.218496, 0.218496, 0.9) Norm(0.723524, 0.483444, -0.492742) UV(0.095703, 0.630859)
|
||||
V 415: Pos(0.224506, 0.224506, 0.914722) Norm(0.723524, 0.483444, -0.492742) UV(0.095703, 0.589193)
|
||||
V 416: Pos(0.224506, 0.224506, 0.885278) Norm(0.723524, 0.483443, 0.492743) UV(0.095703, 0.672526)
|
||||
V 417: Pos(0.242538, 0.242538, 0.9) Norm(0.723524, 0.483443, -0.492743) UV(0.095703, 0.755859)
|
||||
V 418: Pos(0.236527, 0.236527, 0.914722) Norm(-0.483444, -0.723525, -0.492741) UV(0.095703, 0.547526)
|
||||
V 419: Pos(0.128008, 0.309038, 0.914722) Norm(-0.483444, -0.723525, -0.492741) UV(0.142578, 0.547526)
|
||||
V 420: Pos(0.13126, 0.316891, 0.9) Norm(-0.483444, -0.723525, -0.492741) UV(0.142578, 0.505859)
|
||||
V 421: Pos(0.121502, 0.293332, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.142578, 0.589193)
|
||||
V 422: Pos(0.118249, 0.285479, 0.9) Norm(-0.483444, -0.723525, 0.492742) UV(0.142578, 0.630859)
|
||||
V 423: Pos(0.121502, 0.293332, 0.885278) Norm(-0.483443, -0.723524, -0.492743) UV(0.142578, 0.672526)
|
||||
V 424: Pos(0.128008, 0.309038, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.142578, 0.714193)
|
||||
V 425: Pos(0.13126, 0.316891, 0.9) Norm(0.483443, 0.723524, -0.492743) UV(0.142578, 0.755859)
|
||||
V 426: Pos(0.0, 0.3345, 0.914722) Norm(0.169763, 0.853456, 0.492741) UV(0.189453, 0.547526)
|
||||
V 427: Pos(0.118249, 0.285479, 0.9) Norm(0.169763, 0.853455, -0.492742) UV(0.142578, 0.630859)
|
||||
V 428: Pos(0.0, 0.309, 0.9) Norm(0.169763, 0.853455, -0.492742) UV(0.189453, 0.630859)
|
||||
V 429: Pos(0.0, 0.3175, 0.914722) Norm(0.169763, 0.853455, -0.492742) UV(0.189453, 0.589193)
|
||||
V 430: Pos(0.0, 0.309, 0.9) Norm(-0.169763, -0.853454, -0.492743) UV(0.189453, 0.630859)
|
||||
V 431: Pos(0.0, 0.3175, 0.885278) Norm(-0.169763, -0.853454, -0.492743) UV(0.189453, 0.672526)
|
||||
V 432: Pos(0.121502, 0.293332, 0.885278) Norm(-0.169763, -0.853454, -0.492743) UV(0.142578, 0.672526)
|
||||
V 433: Pos(0.0, 0.3345, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.189453, 0.714193)
|
||||
V 434: Pos(0.0, 0.3345, 0.885278) Norm(0.169763, 0.853455, -0.492742) UV(0.189453, 0.714193)
|
||||
V 435: Pos(0.0, 0.343, 0.9) Norm(0.169763, 0.853455, -0.492742) UV(0.189453, 0.755859)
|
||||
V 436: Pos(0.13126, 0.316891, 0.9) Norm(0.169763, 0.853455, -0.492742) UV(0.142578, 0.755859)
|
||||
V 437: Pos(-0.128008, 0.309038, 0.914722) Norm(-0.169763, 0.853456, 0.492741) UV(0.236328, 0.547526)
|
||||
V 438: Pos(-0.121502, 0.293332, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.236328, 0.589193)
|
||||
V 439: Pos(0.0, 0.309, 0.9) Norm(-0.169763, 0.853456, -0.492741) UV(0.189453, 0.630859)
|
||||
V 440: Pos(-0.118249, 0.285479, 0.9) Norm(-0.169763, 0.853456, -0.492741) UV(0.236328, 0.630859)
|
||||
V 441: Pos(-0.121502, 0.293332, 0.914722) Norm(-0.169763, 0.853456, -0.492741) UV(0.236328, 0.589193)
|
||||
V 442: Pos(-0.118249, 0.285479, 0.9) Norm(0.169763, -0.853455, -0.492743) UV(0.236328, 0.630859)
|
||||
V 443: Pos(-0.121502, 0.293332, 0.885278) Norm(0.169763, -0.853455, -0.492743) UV(0.236328, 0.672526)
|
||||
V 444: Pos(0.0, 0.3175, 0.885278) Norm(0.169763, -0.853455, -0.492743) UV(0.189453, 0.672526)
|
||||
V 445: Pos(-0.128008, 0.309038, 0.885278) Norm(-0.169763, 0.853455, -0.492743) UV(0.236328, 0.714193)
|
||||
V 446: Pos(-0.13126, 0.316891, 0.9) Norm(-0.169763, 0.853455, -0.492743) UV(0.236328, 0.755859)
|
||||
V 447: Pos(0.0, 0.343, 0.9) Norm(-0.169763, 0.853455, -0.492743) UV(0.189453, 0.755859)
|
||||
V 448: Pos(-0.128008, 0.309038, 0.914722) Norm(0.483444, -0.723524, -0.492742) UV(0.236328, 0.547526)
|
||||
V 449: Pos(-0.236527, 0.236527, 0.914722) Norm(0.483444, -0.723524, -0.492742) UV(0.283203, 0.547526)
|
||||
V 450: Pos(-0.242538, 0.242538, 0.9) Norm(0.483444, -0.723524, -0.492742) UV(0.283203, 0.505859)
|
||||
V 451: Pos(-0.224506, 0.224506, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.283203, 0.589193)
|
||||
V 452: Pos(-0.224506, 0.224506, 0.914722) Norm(0.483444, -0.723524, 0.492742) UV(0.283203, 0.589193)
|
||||
V 453: Pos(-0.218496, 0.218496, 0.9) Norm(0.483444, -0.723524, 0.492742) UV(0.283203, 0.630859)
|
||||
V 454: Pos(-0.118249, 0.285479, 0.9) Norm(0.483444, -0.723524, 0.492742) UV(0.236328, 0.630859)
|
||||
V 455: Pos(-0.224506, 0.224506, 0.885278) Norm(-0.483443, 0.723524, 0.492743) UV(0.283203, 0.672526)
|
||||
V 456: Pos(-0.236527, 0.236527, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.283203, 0.714193)
|
||||
V 457: Pos(-0.242538, 0.242538, 0.9) Norm(0.483443, -0.723524, 0.492743) UV(0.283203, 0.755859)
|
||||
V 458: Pos(-0.236527, 0.236527, 0.914722) Norm(0.723525, -0.483444, -0.492741) UV(0.033203, 0.547526)
|
||||
V 459: Pos(-0.309038, 0.128008, 0.914722) Norm(0.723525, -0.483444, -0.492741) UV(0.080078, 0.547526)
|
||||
V 460: Pos(-0.316891, 0.13126, 0.9) Norm(0.723525, -0.483444, -0.492741) UV(0.080078, 0.505859)
|
||||
V 461: Pos(-0.285479, 0.118249, 0.9) Norm(-0.723525, 0.483444, -0.492742) UV(0.080078, 0.630859)
|
||||
V 462: Pos(-0.293332, 0.121502, 0.885278) Norm(-0.723524, 0.483443, 0.492743) UV(0.080078, 0.672526)
|
||||
V 463: Pos(-0.309038, 0.128008, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.080078, 0.714193)
|
||||
V 464: Pos(-0.316891, 0.13126, 0.9) Norm(-0.723524, 0.483443, -0.492743) UV(0.080078, 0.755859)
|
||||
V 465: Pos(-0.3345, 0.0, 0.914722) Norm(-0.853456, 0.169763, 0.492741) UV(0.126953, 0.547526)
|
||||
V 466: Pos(-0.285479, 0.118249, 0.9) Norm(-0.853455, 0.169763, -0.492742) UV(0.080078, 0.630859)
|
||||
V 467: Pos(-0.309, 0.0, 0.9) Norm(-0.853455, 0.169763, -0.492742) UV(0.126953, 0.630859)
|
||||
V 468: Pos(-0.3175, 0.0, 0.914722) Norm(-0.853455, 0.169763, -0.492742) UV(0.126953, 0.589193)
|
||||
V 469: Pos(-0.309, 0.0, 0.9) Norm(0.853454, -0.169763, -0.492743) UV(0.126953, 0.630859)
|
||||
V 470: Pos(-0.3175, 0.0, 0.885278) Norm(0.853454, -0.169763, -0.492743) UV(0.126953, 0.672526)
|
||||
V 471: Pos(-0.293332, 0.121502, 0.885278) Norm(0.853454, -0.169763, -0.492743) UV(0.080078, 0.672526)
|
||||
V 472: Pos(-0.3345, 0.0, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.126953, 0.714193)
|
||||
V 473: Pos(-0.3345, 0.0, 0.885278) Norm(-0.853455, 0.169763, -0.492742) UV(0.126953, 0.714193)
|
||||
V 474: Pos(-0.343, 0.0, 0.9) Norm(-0.853455, 0.169763, -0.492742) UV(0.126953, 0.755859)
|
||||
V 475: Pos(-0.316891, 0.13126, 0.9) Norm(-0.853455, 0.169763, -0.492742) UV(0.080078, 0.755859)
|
||||
V 476: Pos(-0.309038, -0.128008, 0.914722) Norm(-0.853456, -0.169763, 0.492741) UV(0.173828, 0.547526)
|
||||
V 477: Pos(-0.293332, -0.121502, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.173828, 0.589193)
|
||||
V 478: Pos(-0.309, 0.0, 0.9) Norm(-0.853456, -0.169763, -0.492741) UV(0.126953, 0.630859)
|
||||
V 479: Pos(-0.285479, -0.118249, 0.9) Norm(-0.853456, -0.169763, -0.492741) UV(0.173828, 0.630859)
|
||||
V 480: Pos(-0.293332, -0.121502, 0.914722) Norm(-0.853456, -0.169763, -0.492741) UV(0.173828, 0.589193)
|
||||
V 481: Pos(-0.285479, -0.118249, 0.9) Norm(0.853455, 0.169763, -0.492743) UV(0.173828, 0.630859)
|
||||
V 482: Pos(-0.293332, -0.121502, 0.885278) Norm(0.853455, 0.169763, -0.492743) UV(0.173828, 0.672526)
|
||||
V 483: Pos(-0.3175, 0.0, 0.885278) Norm(0.853455, 0.169763, -0.492743) UV(0.126953, 0.672526)
|
||||
V 484: Pos(-0.309038, -0.128008, 0.885278) Norm(-0.853455, -0.169763, -0.492743) UV(0.173828, 0.714193)
|
||||
V 485: Pos(-0.316891, -0.13126, 0.9) Norm(-0.853455, -0.169763, -0.492743) UV(0.173828, 0.755859)
|
||||
V 486: Pos(-0.343, 0.0, 0.9) Norm(-0.853455, -0.169763, -0.492743) UV(0.126953, 0.755859)
|
||||
V 487: Pos(-0.309038, -0.128008, 0.914722) Norm(0.723524, 0.483444, -0.492742) UV(0.173828, 0.547526)
|
||||
V 488: Pos(-0.236527, -0.236527, 0.914722) Norm(0.723524, 0.483444, -0.492742) UV(0.220703, 0.547526)
|
||||
V 489: Pos(-0.242538, -0.242538, 0.9) Norm(0.723524, 0.483444, -0.492742) UV(0.220703, 0.505859)
|
||||
V 490: Pos(-0.285479, -0.118249, 0.9) Norm(-0.723524, -0.483444, -0.492742) UV(0.173828, 0.630859)
|
||||
V 491: Pos(-0.218496, -0.218496, 0.9) Norm(-0.723524, -0.483444, -0.492742) UV(0.220703, 0.630859)
|
||||
V 492: Pos(-0.224506, -0.224506, 0.914722) Norm(-0.723524, -0.483444, -0.492742) UV(0.220703, 0.589193)
|
||||
V 493: Pos(-0.224506, -0.224506, 0.885278) Norm(-0.723524, -0.483443, 0.492743) UV(0.220703, 0.672526)
|
||||
V 494: Pos(-0.242538, -0.242538, 0.9) Norm(-0.723524, -0.483443, -0.492743) UV(0.220703, 0.755859)
|
||||
V 495: Pos(-0.236527, -0.236527, 0.914722) Norm(0.483444, 0.723525, -0.492741) UV(0.220703, 0.547526)
|
||||
V 496: Pos(-0.128008, -0.309038, 0.914722) Norm(0.483444, 0.723525, -0.492741) UV(0.267578, 0.547526)
|
||||
V 497: Pos(-0.13126, -0.316891, 0.9) Norm(0.483444, 0.723525, -0.492741) UV(0.267578, 0.505859)
|
||||
V 498: Pos(-0.121502, -0.293332, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.267578, 0.589193)
|
||||
V 499: Pos(-0.118249, -0.285479, 0.9) Norm(0.483444, 0.723525, 0.492742) UV(0.267578, 0.630859)
|
||||
V 500: Pos(-0.121502, -0.293332, 0.885278) Norm(0.483443, 0.723524, -0.492743) UV(0.267578, 0.672526)
|
||||
V 501: Pos(-0.128008, -0.309038, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.267578, 0.714193)
|
||||
V 502: Pos(-0.13126, -0.316891, 0.9) Norm(-0.483443, -0.723524, -0.492743) UV(0.267578, 0.755859)
|
||||
V 503: Pos(0.0, -0.3345, 0.914722) Norm(-0.169763, -0.853456, 0.492741) UV(0.064453, 0.547526)
|
||||
V 504: Pos(-0.118249, -0.285479, 0.9) Norm(-0.169763, -0.853455, -0.492742) UV(0.017578, 0.630859)
|
||||
V 505: Pos(0.0, -0.309, 0.9) Norm(-0.169763, -0.853455, -0.492742) UV(0.064453, 0.630859)
|
||||
V 506: Pos(0.0, -0.3175, 0.914722) Norm(-0.169763, -0.853455, -0.492742) UV(0.064453, 0.589193)
|
||||
V 507: Pos(0.0, -0.309, 0.9) Norm(0.169763, 0.853454, -0.492743) UV(0.064453, 0.630859)
|
||||
V 508: Pos(0.0, -0.3175, 0.885278) Norm(0.169763, 0.853454, -0.492743) UV(0.064453, 0.672526)
|
||||
V 509: Pos(-0.121502, -0.293332, 0.885278) Norm(0.169763, 0.853454, -0.492743) UV(0.017578, 0.672526)
|
||||
V 510: Pos(0.0, -0.3345, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.064453, 0.714193)
|
||||
V 511: Pos(0.0, -0.3345, 0.885278) Norm(-0.169763, -0.853455, -0.492742) UV(0.064453, 0.714193)
|
||||
V 512: Pos(0.0, -0.343, 0.9) Norm(-0.169763, -0.853455, -0.492742) UV(0.064453, 0.755859)
|
||||
V 513: Pos(-0.13126, -0.316891, 0.9) Norm(-0.169763, -0.853455, -0.492742) UV(0.017578, 0.755859)
|
||||
V 514: Pos(0.128008, -0.309038, 0.914722) Norm(0.169763, -0.853456, 0.492741) UV(0.111328, 0.547526)
|
||||
V 515: Pos(0.121502, -0.293332, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.111328, 0.589193)
|
||||
V 516: Pos(0.0, -0.309, 0.9) Norm(0.169763, -0.853456, -0.492741) UV(0.064453, 0.630859)
|
||||
V 517: Pos(0.118249, -0.285479, 0.9) Norm(0.169763, -0.853456, -0.492741) UV(0.111328, 0.630859)
|
||||
V 518: Pos(0.121502, -0.293332, 0.914722) Norm(0.169763, -0.853456, -0.492741) UV(0.111328, 0.589193)
|
||||
V 519: Pos(0.118249, -0.285479, 0.9) Norm(-0.169763, 0.853455, -0.492743) UV(0.111328, 0.630859)
|
||||
V 520: Pos(0.121502, -0.293332, 0.885278) Norm(-0.169763, 0.853455, -0.492743) UV(0.111328, 0.672526)
|
||||
V 521: Pos(0.0, -0.3175, 0.885278) Norm(-0.169763, 0.853455, -0.492743) UV(0.064453, 0.672526)
|
||||
V 522: Pos(0.128008, -0.309038, 0.885278) Norm(0.169763, -0.853455, -0.492743) UV(0.111328, 0.714193)
|
||||
V 523: Pos(0.13126, -0.316891, 0.9) Norm(0.169763, -0.853455, -0.492743) UV(0.111328, 0.755859)
|
||||
V 524: Pos(0.0, -0.343, 0.9) Norm(0.169763, -0.853455, -0.492743) UV(0.064453, 0.755859)
|
||||
V 525: Pos(0.128008, -0.309038, 0.914722) Norm(-0.483444, 0.723524, -0.492742) UV(0.111328, 0.547526)
|
||||
V 526: Pos(0.236527, -0.236527, 0.914722) Norm(-0.483444, 0.723524, -0.492742) UV(0.158203, 0.547526)
|
||||
V 527: Pos(0.242538, -0.242538, 0.9) Norm(-0.483444, 0.723524, -0.492742) UV(0.158203, 0.505859)
|
||||
V 528: Pos(0.224506, -0.224506, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.158203, 0.589193)
|
||||
V 529: Pos(0.224506, -0.224506, 0.914722) Norm(-0.483444, 0.723524, 0.492742) UV(0.158203, 0.589193)
|
||||
V 530: Pos(0.218496, -0.218496, 0.9) Norm(-0.483444, 0.723524, 0.492742) UV(0.158203, 0.630859)
|
||||
V 531: Pos(0.118249, -0.285479, 0.9) Norm(-0.483444, 0.723524, 0.492742) UV(0.111328, 0.630859)
|
||||
V 532: Pos(0.224506, -0.224506, 0.885278) Norm(0.483443, -0.723524, 0.492743) UV(0.158203, 0.672526)
|
||||
V 533: Pos(0.242538, -0.242538, 0.9) Norm(-0.483443, 0.723524, 0.492743) UV(0.158203, 0.755859)
|
||||
V 534: Pos(0.236527, -0.236527, 0.914722) Norm(-0.723525, 0.483444, -0.492741) UV(0.158203, 0.547526)
|
||||
V 535: Pos(0.309038, -0.128008, 0.914722) Norm(-0.723525, 0.483444, -0.492741) UV(0.205078, 0.547526)
|
||||
V 536: Pos(0.316891, -0.13126, 0.9) Norm(-0.723525, 0.483444, -0.492741) UV(0.205078, 0.505859)
|
||||
V 537: Pos(0.285479, -0.118249, 0.9) Norm(0.723525, -0.483444, -0.492742) UV(0.205078, 0.630859)
|
||||
V 538: Pos(0.293332, -0.121502, 0.885278) Norm(0.723524, -0.483443, 0.492743) UV(0.205078, 0.672526)
|
||||
V 539: Pos(0.309038, -0.128008, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.205078, 0.714193)
|
||||
V 540: Pos(0.316891, -0.13126, 0.9) Norm(0.723524, -0.483443, -0.492743) UV(0.205078, 0.755859)
|
||||
V 541: Pos(0.3345, 0.0, 0.914722) Norm(0.853456, -0.169763, 0.492741) UV(0.251953, 0.547526)
|
||||
V 542: Pos(0.3345, 0.0, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.251953, 0.547526)
|
||||
V 543: Pos(0.285479, -0.118249, 0.9) Norm(0.853455, -0.169763, -0.492742) UV(0.205078, 0.630859)
|
||||
V 544: Pos(0.309, 0.0, 0.9) Norm(0.853455, -0.169763, -0.492742) UV(0.251953, 0.630859)
|
||||
V 545: Pos(0.3175, 0.0, 0.914722) Norm(0.853455, -0.169763, -0.492742) UV(0.251953, 0.589193)
|
||||
V 546: Pos(0.309, 0.0, 0.9) Norm(-0.853454, 0.169763, -0.492743) UV(0.251953, 0.630859)
|
||||
V 547: Pos(0.3175, 0.0, 0.885278) Norm(-0.853454, 0.169763, -0.492743) UV(0.251953, 0.672526)
|
||||
V 548: Pos(0.293332, -0.121502, 0.885278) Norm(-0.853454, 0.169763, -0.492743) UV(0.205078, 0.672526)
|
||||
V 549: Pos(0.3345, 0.0, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.251953, 0.714193)
|
||||
V 550: Pos(0.3345, 0.0, 0.885278) Norm(0.853455, -0.169763, -0.492742) UV(0.251953, 0.714193)
|
||||
V 551: Pos(0.343, 0.0, 0.9) Norm(0.853455, -0.169763, -0.492742) UV(0.251953, 0.755859)
|
||||
V 552: Pos(0.316891, -0.13126, 0.9) Norm(0.853455, -0.169763, -0.492742) UV(0.205078, 0.755859)
|
||||
V 553: Pos(0.308, 0.0, 0.88) Norm(-0.980785, -0.19509, 0.0) UV(0.505859, 0.345703)
|
||||
V 554: Pos(0.284555, 0.117866, 0.88) Norm(-0.83147, -0.55557, 0.0) UV(0.552734, 0.345703)
|
||||
V 555: Pos(0.217789, 0.217789, 0.88) Norm(-0.55557, -0.83147, 0.0) UV(0.599609, 0.345703)
|
||||
V 556: Pos(0.117866, 0.284555, 0.88) Norm(-0.19509, -0.980785, 0.0) UV(0.646484, 0.345703)
|
||||
V 557: Pos(0.0, 0.308, 0.88) Norm(0.19509, -0.980785, 0.0) UV(0.693359, 0.345703)
|
||||
V 558: Pos(-0.117866, 0.284555, 0.88) Norm(0.55557, -0.83147, 0.0) UV(0.740234, 0.345703)
|
||||
V 559: Pos(-0.217789, 0.217789, 0.88) Norm(0.83147, -0.55557, 0.0) UV(0.787109, 0.345703)
|
||||
V 560: Pos(-0.284555, 0.117866, 0.88) Norm(0.980785, -0.19509, 0.0) UV(0.833984, 0.345703)
|
||||
V 561: Pos(-0.308, 0.0, 0.88) Norm(0.980785, 0.19509, 0.0) UV(0.505859, 0.345703)
|
||||
V 562: Pos(-0.284555, -0.117866, 0.88) Norm(0.83147, 0.55557, 0.0) UV(0.552734, 0.345703)
|
||||
V 563: Pos(-0.217789, -0.217789, 0.88) Norm(0.55557, 0.83147, 0.0) UV(0.599609, 0.345703)
|
||||
V 564: Pos(-0.117866, -0.284555, 0.88) Norm(0.19509, 0.980785, 0.0) UV(0.646484, 0.345703)
|
||||
V 565: Pos(0.0, -0.308, 0.88) Norm(-0.19509, 0.980785, 0.0) UV(0.693359, 0.345703)
|
||||
V 566: Pos(0.117866, -0.284555, 0.88) Norm(-0.55557, 0.83147, 0.0) UV(0.740234, 0.345703)
|
||||
V 567: Pos(0.217789, -0.217789, 0.88) Norm(-0.83147, 0.55557, 0.0) UV(0.787109, 0.345703)
|
||||
V 568: Pos(0.284555, -0.117866, 0.88) Norm(-0.980785, 0.19509, 0.0) UV(0.833984, 0.345703)
|
||||
V 569: Pos(0.284555, -0.117866, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 570: Pos(0.217789, -0.217789, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 571: Pos(0.117866, -0.284555, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 572: Pos(0.0, -0.308, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 573: Pos(-0.117866, -0.284555, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 574: Pos(-0.217789, -0.217789, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 575: Pos(-0.284555, -0.117866, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 576: Pos(-0.284555, 0.117866, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 577: Pos(-0.217789, 0.217789, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 578: Pos(-0.117866, 0.284555, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 579: Pos(0.117866, 0.284555, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 580: Pos(0.217789, 0.217789, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 581: Pos(0.284555, 0.117866, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
|
||||
===Triangles (Indices): 274
|
||||
Tri: 0 1 2
|
||||
Tri: 3 4 5
|
||||
Tri: 6 7 8
|
||||
Tri: 9 10 11
|
||||
Tri: 12 13 14
|
||||
Tri: 15 16 17
|
||||
Tri: 18 19 20
|
||||
Tri: 21 22 23
|
||||
Tri: 24 25 26
|
||||
Tri: 27 28 29
|
||||
Tri: 30 31 32
|
||||
Tri: 33 34 35
|
||||
Tri: 36 37 38
|
||||
Tri: 39 40 41
|
||||
Tri: 42 43 44
|
||||
Tri: 45 46 47
|
||||
Tri: 48 49 50
|
||||
Tri: 51 52 53
|
||||
Tri: 54 55 56
|
||||
Tri: 57 58 59
|
||||
Tri: 60 61 62
|
||||
Tri: 63 64 65
|
||||
Tri: 66 67 68
|
||||
Tri: 69 70 71
|
||||
Tri: 72 73 74
|
||||
Tri: 75 76 77
|
||||
Tri: 78 79 80
|
||||
Tri: 81 82 83
|
||||
Tri: 84 85 86
|
||||
Tri: 87 88 89
|
||||
Tri: 90 91 92
|
||||
Tri: 93 94 76
|
||||
Tri: 95 96 97
|
||||
Tri: 98 99 100
|
||||
Tri: 101 102 84
|
||||
Tri: 103 104 105
|
||||
Tri: 106 107 108
|
||||
Tri: 109 110 111
|
||||
Tri: 112 113 114
|
||||
Tri: 115 116 117
|
||||
Tri: 118 119 120
|
||||
Tri: 121 122 123
|
||||
Tri: 124 125 126
|
||||
Tri: 127 110 128
|
||||
Tri: 129 130 131
|
||||
Tri: 132 133 134
|
||||
Tri: 119 135 136
|
||||
Tri: 137 138 139
|
||||
Tri: 140 141 142
|
||||
Tri: 143 144 145
|
||||
Tri: 146 147 148
|
||||
Tri: 149 150 151
|
||||
Tri: 152 153 154
|
||||
Tri: 155 156 157
|
||||
Tri: 158 159 160
|
||||
Tri: 161 162 163
|
||||
Tri: 164 165 166
|
||||
Tri: 167 168 169
|
||||
Tri: 170 171 172
|
||||
Tri: 173 174 175
|
||||
Tri: 176 177 178
|
||||
Tri: 161 179 180
|
||||
Tri: 181 182 183
|
||||
Tri: 184 185 186
|
||||
Tri: 187 188 189
|
||||
Tri: 190 191 192
|
||||
Tri: 193 194 195
|
||||
Tri: 196 179 197
|
||||
Tri: 198 199 200
|
||||
Tri: 201 202 203
|
||||
Tri: 188 204 205
|
||||
Tri: 206 207 208
|
||||
Tri: 209 210 211
|
||||
Tri: 212 213 214
|
||||
Tri: 215 216 217
|
||||
Tri: 218 219 220
|
||||
Tri: 221 222 223
|
||||
Tri: 224 225 226
|
||||
Tri: 227 228 229
|
||||
Tri: 230 231 213
|
||||
Tri: 232 233 234
|
||||
Tri: 235 236 237
|
||||
Tri: 238 239 221
|
||||
Tri: 240 241 242
|
||||
Tri: 243 244 245
|
||||
Tri: 246 247 248
|
||||
Tri: 249 250 251
|
||||
Tri: 252 253 254
|
||||
Tri: 255 256 257
|
||||
Tri: 258 259 260
|
||||
Tri: 261 262 263
|
||||
Tri: 264 247 265
|
||||
Tri: 266 267 268
|
||||
Tri: 269 270 271
|
||||
Tri: 256 272 273
|
||||
Tri: 274 275 276
|
||||
Tri: 277 278 279
|
||||
Tri: 280 281 282
|
||||
Tri: 283 284 285
|
||||
Tri: 286 287 288
|
||||
Tri: 289 290 291
|
||||
Tri: 292 293 294
|
||||
Tri: 295 296 297
|
||||
Tri: 298 299 300
|
||||
Tri: 301 302 303
|
||||
Tri: 304 305 306
|
||||
Tri: 307 308 289
|
||||
Tri: 309 310 311
|
||||
Tri: 312 313 314
|
||||
Tri: 298 315 316
|
||||
Tri: 317 318 319
|
||||
Tri: 320 321 322
|
||||
Tri: 323 324 325
|
||||
Tri: 326 327 328
|
||||
Tri: 329 330 331
|
||||
Tri: 332 333 334
|
||||
Tri: 335 336 337
|
||||
Tri: 338 339 340
|
||||
Tri: 341 342 343
|
||||
Tri: 344 345 346
|
||||
Tri: 347 348 349
|
||||
Tri: 350 351 352
|
||||
Tri: 353 354 355
|
||||
Tri: 356 357 358
|
||||
Tri: 359 360 361
|
||||
Tri: 362 363 364
|
||||
Tri: 365 366 367
|
||||
Tri: 368 369 370
|
||||
Tri: 371 372 373
|
||||
Tri: 374 375 376
|
||||
Tri: 377 378 379
|
||||
Tri: 0 380 1
|
||||
Tri: 3 381 4
|
||||
Tri: 6 382 7
|
||||
Tri: 9 383 10
|
||||
Tri: 12 384 13
|
||||
Tri: 15 385 16
|
||||
Tri: 18 386 19
|
||||
Tri: 21 387 22
|
||||
Tri: 24 388 25
|
||||
Tri: 27 389 28
|
||||
Tri: 30 390 31
|
||||
Tri: 33 391 34
|
||||
Tri: 36 392 37
|
||||
Tri: 39 393 40
|
||||
Tri: 42 394 43
|
||||
Tri: 45 395 46
|
||||
Tri: 48 396 49
|
||||
Tri: 51 397 52
|
||||
Tri: 54 398 55
|
||||
Tri: 57 399 58
|
||||
Tri: 400 401 402
|
||||
Tri: 403 404 405
|
||||
Tri: 66 406 67
|
||||
Tri: 407 408 409
|
||||
Tri: 410 411 412
|
||||
Tri: 75 93 76
|
||||
Tri: 413 414 415
|
||||
Tri: 81 416 82
|
||||
Tri: 84 102 85
|
||||
Tri: 87 417 88
|
||||
Tri: 418 419 420
|
||||
Tri: 93 421 94
|
||||
Tri: 95 422 96
|
||||
Tri: 98 423 99
|
||||
Tri: 101 424 102
|
||||
Tri: 103 425 104
|
||||
Tri: 106 426 107
|
||||
Tri: 109 128 110
|
||||
Tri: 427 428 429
|
||||
Tri: 430 431 432
|
||||
Tri: 118 433 119
|
||||
Tri: 434 435 436
|
||||
Tri: 124 437 125
|
||||
Tri: 127 438 110
|
||||
Tri: 439 440 441
|
||||
Tri: 442 443 444
|
||||
Tri: 119 433 135
|
||||
Tri: 445 446 447
|
||||
Tri: 448 449 450
|
||||
Tri: 143 451 144
|
||||
Tri: 452 453 454
|
||||
Tri: 149 455 150
|
||||
Tri: 152 456 153
|
||||
Tri: 155 457 156
|
||||
Tri: 458 459 460
|
||||
Tri: 161 180 162
|
||||
Tri: 164 461 165
|
||||
Tri: 167 462 168
|
||||
Tri: 170 463 171
|
||||
Tri: 173 464 174
|
||||
Tri: 176 465 177
|
||||
Tri: 161 197 179
|
||||
Tri: 466 467 468
|
||||
Tri: 469 470 471
|
||||
Tri: 187 472 188
|
||||
Tri: 473 474 475
|
||||
Tri: 193 476 194
|
||||
Tri: 196 477 179
|
||||
Tri: 478 479 480
|
||||
Tri: 481 482 483
|
||||
Tri: 188 472 204
|
||||
Tri: 484 485 486
|
||||
Tri: 487 488 489
|
||||
Tri: 212 230 213
|
||||
Tri: 490 491 492
|
||||
Tri: 218 493 219
|
||||
Tri: 221 239 222
|
||||
Tri: 224 494 225
|
||||
Tri: 495 496 497
|
||||
Tri: 230 498 231
|
||||
Tri: 232 499 233
|
||||
Tri: 235 500 236
|
||||
Tri: 238 501 239
|
||||
Tri: 240 502 241
|
||||
Tri: 243 503 244
|
||||
Tri: 246 265 247
|
||||
Tri: 504 505 506
|
||||
Tri: 507 508 509
|
||||
Tri: 255 510 256
|
||||
Tri: 511 512 513
|
||||
Tri: 261 514 262
|
||||
Tri: 264 515 247
|
||||
Tri: 516 517 518
|
||||
Tri: 519 520 521
|
||||
Tri: 256 510 272
|
||||
Tri: 522 523 524
|
||||
Tri: 525 526 527
|
||||
Tri: 280 528 281
|
||||
Tri: 529 530 531
|
||||
Tri: 286 532 287
|
||||
Tri: 289 308 290
|
||||
Tri: 292 533 293
|
||||
Tri: 534 535 536
|
||||
Tri: 298 316 299
|
||||
Tri: 301 537 302
|
||||
Tri: 304 538 305
|
||||
Tri: 307 539 308
|
||||
Tri: 309 540 310
|
||||
Tri: 312 541 313
|
||||
Tri: 298 542 315
|
||||
Tri: 543 544 545
|
||||
Tri: 546 547 548
|
||||
Tri: 323 549 324
|
||||
Tri: 550 551 552
|
||||
Tri: 329 553 330
|
||||
Tri: 332 554 333
|
||||
Tri: 335 555 336
|
||||
Tri: 338 556 339
|
||||
Tri: 341 557 342
|
||||
Tri: 344 558 345
|
||||
Tri: 347 559 348
|
||||
Tri: 350 560 351
|
||||
Tri: 353 561 354
|
||||
Tri: 356 562 357
|
||||
Tri: 359 563 360
|
||||
Tri: 362 564 363
|
||||
Tri: 365 565 366
|
||||
Tri: 368 566 369
|
||||
Tri: 371 567 372
|
||||
Tri: 374 568 375
|
||||
Tri: 379 569 570
|
||||
Tri: 570 571 572
|
||||
Tri: 572 573 574
|
||||
Tri: 574 575 377
|
||||
Tri: 377 576 577
|
||||
Tri: 577 578 378
|
||||
Tri: 378 579 580
|
||||
Tri: 580 581 379
|
||||
Tri: 379 570 572
|
||||
Tri: 572 574 377
|
||||
Tri: 377 577 378
|
||||
Tri: 378 580 379
|
||||
Tri: 379 572 377
|
||||
@@ -0,0 +1,859 @@
|
||||
===Vertices (Split by UV/Normal): 582
|
||||
V 0: Pos(0.32, 0.0, 0.87) Norm(-0.980785, -0.19509, 0.0) UV(0.001953, 0.312667)
|
||||
V 1: Pos(0.295641, 0.122459, 0.0) Norm(-0.980785, -0.19509, 0.0) UV(0.048828, 0.001953)
|
||||
V 2: Pos(0.32, 0.0, 0.0) Norm(-0.980785, -0.19509, 0.0) UV(0.001953, 0.001953)
|
||||
V 3: Pos(0.226274, 0.226274, 0.0) Norm(0.83147, 0.55557, 0.0) UV(0.095703, 0.001953)
|
||||
V 4: Pos(0.295641, 0.122459, 0.87) Norm(0.83147, 0.55557, 0.0) UV(0.048828, 0.312667)
|
||||
V 5: Pos(0.295641, 0.122459, 0.0) Norm(0.83147, 0.55557, 0.0) UV(0.048828, 0.001953)
|
||||
V 6: Pos(0.226274, 0.226274, 0.87) Norm(-0.55557, -0.83147, 0.0) UV(0.095703, 0.312667)
|
||||
V 7: Pos(0.122459, 0.295641, 0.0) Norm(-0.55557, -0.83147, 0.0) UV(0.142578, 0.001953)
|
||||
V 8: Pos(0.226274, 0.226274, 0.0) Norm(-0.55557, -0.83147, 0.0) UV(0.095703, 0.001953)
|
||||
V 9: Pos(0.122459, 0.295641, 0.87) Norm(-0.19509, -0.980785, 0.0) UV(0.142578, 0.312667)
|
||||
V 10: Pos(0.0, 0.32, 0.0) Norm(-0.19509, -0.980785, 0.0) UV(0.189453, 0.001953)
|
||||
V 11: Pos(0.122459, 0.295641, 0.0) Norm(-0.19509, -0.980785, 0.0) UV(0.142578, 0.001953)
|
||||
V 12: Pos(0.0, 0.32, 0.87) Norm(0.19509, -0.980785, 0.0) UV(0.189453, 0.312667)
|
||||
V 13: Pos(-0.122459, 0.295641, 0.0) Norm(0.19509, -0.980785, 0.0) UV(0.236328, 0.001953)
|
||||
V 14: Pos(0.0, 0.32, 0.0) Norm(0.19509, -0.980785, 0.0) UV(0.189453, 0.001953)
|
||||
V 15: Pos(-0.226274, 0.226274, 0.0) Norm(-0.55557, 0.83147, 0.0) UV(0.283203, 0.001953)
|
||||
V 16: Pos(-0.122459, 0.295641, 0.87) Norm(-0.55557, 0.83147, 0.0) UV(0.236328, 0.312667)
|
||||
V 17: Pos(-0.122459, 0.295641, 0.0) Norm(-0.55557, 0.83147, 0.0) UV(0.236328, 0.001953)
|
||||
V 18: Pos(-0.226274, 0.226274, 0.87) Norm(0.83147, -0.55557, 0.0) UV(0.033203, 0.312667)
|
||||
V 19: Pos(-0.295641, 0.122459, 0.0) Norm(0.83147, -0.55557, 0.0) UV(0.080078, 0.001953)
|
||||
V 20: Pos(-0.226274, 0.226274, 0.0) Norm(0.83147, -0.55557, 0.0) UV(0.033203, 0.001953)
|
||||
V 21: Pos(-0.295641, 0.122459, 0.87) Norm(0.980785, -0.19509, 0.0) UV(0.080078, 0.312667)
|
||||
V 22: Pos(-0.32, 0.0, 0.0) Norm(0.980785, -0.19509, 0.0) UV(0.126953, 0.001953)
|
||||
V 23: Pos(-0.295641, 0.122459, 0.0) Norm(0.980785, -0.19509, 0.0) UV(0.080078, 0.001953)
|
||||
V 24: Pos(-0.32, 0.0, 0.87) Norm(0.980785, 0.19509, 0.0) UV(0.126953, 0.312667)
|
||||
V 25: Pos(-0.295641, -0.122459, 0.0) Norm(0.980785, 0.19509, 0.0) UV(0.173828, 0.001953)
|
||||
V 26: Pos(-0.32, 0.0, 0.0) Norm(0.980785, 0.19509, 0.0) UV(0.126953, 0.001953)
|
||||
V 27: Pos(-0.226274, -0.226274, 0.0) Norm(-0.83147, -0.55557, 0.0) UV(0.220703, 0.001953)
|
||||
V 28: Pos(-0.295641, -0.122459, 0.87) Norm(-0.83147, -0.55557, 0.0) UV(0.173828, 0.312667)
|
||||
V 29: Pos(-0.295641, -0.122459, 0.0) Norm(-0.83147, -0.55557, 0.0) UV(0.173828, 0.001953)
|
||||
V 30: Pos(-0.226274, -0.226274, 0.87) Norm(0.55557, 0.83147, 0.0) UV(0.220703, 0.312667)
|
||||
V 31: Pos(-0.122459, -0.295641, 0.0) Norm(0.55557, 0.83147, 0.0) UV(0.267578, 0.001953)
|
||||
V 32: Pos(-0.226274, -0.226274, 0.0) Norm(0.55557, 0.83147, 0.0) UV(0.220703, 0.001953)
|
||||
V 33: Pos(-0.122459, -0.295641, 0.87) Norm(0.19509, 0.980785, 0.0) UV(0.017578, 0.312667)
|
||||
V 34: Pos(0.0, -0.32, 0.0) Norm(0.19509, 0.980785, 0.0) UV(0.064453, 0.001953)
|
||||
V 35: Pos(-0.122459, -0.295641, 0.0) Norm(0.19509, 0.980785, 0.0) UV(0.017578, 0.001953)
|
||||
V 36: Pos(0.0, -0.32, 0.87) Norm(-0.19509, 0.980785, 0.0) UV(0.064453, 0.312667)
|
||||
V 37: Pos(0.122459, -0.295641, 0.0) Norm(-0.19509, 0.980785, 0.0) UV(0.111328, 0.001953)
|
||||
V 38: Pos(0.0, -0.32, 0.0) Norm(-0.19509, 0.980785, 0.0) UV(0.064453, 0.001953)
|
||||
V 39: Pos(0.226274, -0.226274, 0.0) Norm(0.55557, -0.83147, 0.0) UV(0.158203, 0.001953)
|
||||
V 40: Pos(0.122459, -0.295641, 0.87) Norm(0.55557, -0.83147, 0.0) UV(0.111328, 0.312667)
|
||||
V 41: Pos(0.122459, -0.295641, 0.0) Norm(0.55557, -0.83147, 0.0) UV(0.111328, 0.001953)
|
||||
V 42: Pos(0.226274, -0.226274, 0.87) Norm(-0.83147, 0.55557, 0.0) UV(0.158203, 0.312667)
|
||||
V 43: Pos(0.295641, -0.122459, 0.0) Norm(-0.83147, 0.55557, 0.0) UV(0.205078, 0.001953)
|
||||
V 44: Pos(0.226274, -0.226274, 0.0) Norm(-0.83147, 0.55557, 0.0) UV(0.158203, 0.001953)
|
||||
V 45: Pos(0.295641, -0.122459, 0.87) Norm(-0.980785, 0.19509, 0.0) UV(0.205078, 0.312667)
|
||||
V 46: Pos(0.32, 0.0, 0.0) Norm(-0.980785, 0.19509, 0.0) UV(0.251953, 0.001953)
|
||||
V 47: Pos(0.295641, -0.122459, 0.0) Norm(-0.980785, 0.19509, 0.0) UV(0.205078, 0.001953)
|
||||
V 48: Pos(0.324, 0.0, 0.36) Norm(0.980785, -0.19509, 0.0) UV(0.600586, 0.505859)
|
||||
V 49: Pos(0.299337, -0.123989, 0.62) Norm(0.980785, -0.19509, 0.0) UV(0.506836, 0.693359)
|
||||
V 50: Pos(0.299337, -0.123989, 0.36) Norm(0.980785, -0.19509, 0.0) UV(0.506836, 0.505859)
|
||||
V 51: Pos(0.299337, 0.123989, 0.36) Norm(0.980785, 0.19509, 0.0) UV(0.694336, 0.505859)
|
||||
V 52: Pos(0.324, 0.0, 0.62) Norm(0.980785, 0.19509, 0.0) UV(0.600586, 0.693359)
|
||||
V 53: Pos(0.324, 0.0, 0.36) Norm(0.980785, 0.19509, 0.0) UV(0.600586, 0.505859)
|
||||
V 54: Pos(0.316891, 0.13126, 0.9) Norm(0.853456, 0.169763, 0.492741) UV(0.048828, 0.505859)
|
||||
V 55: Pos(0.3345, 0.0, 0.914722) Norm(0.853456, 0.169763, 0.492741) UV(0.001953, 0.547526)
|
||||
V 56: Pos(0.343, 0.0, 0.9) Norm(0.853456, 0.169763, 0.492741) UV(0.001953, 0.505859)
|
||||
V 57: Pos(0.309038, 0.128008, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.048828, 0.547526)
|
||||
V 58: Pos(0.3175, 0.0, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.001953, 0.589193)
|
||||
V 59: Pos(0.3345, 0.0, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.001953, 0.547526)
|
||||
V 60: Pos(0.309, 0.0, 0.9) Norm(0.853455, 0.169763, -0.492742) UV(0.001953, 0.630859)
|
||||
V 61: Pos(0.293332, 0.121502, 0.914722) Norm(0.853455, 0.169763, -0.492742) UV(0.048828, 0.589193)
|
||||
V 62: Pos(0.3175, 0.0, 0.914722) Norm(0.853455, 0.169763, -0.492742) UV(0.001953, 0.589193)
|
||||
V 63: Pos(0.285479, 0.118249, 0.9) Norm(-0.853454, -0.169763, -0.492744) UV(0.048828, 0.630859)
|
||||
V 64: Pos(0.3175, 0.0, 0.885278) Norm(-0.853454, -0.169763, -0.492744) UV(0.001953, 0.672526)
|
||||
V 65: Pos(0.309, 0.0, 0.9) Norm(-0.853454, -0.169763, -0.492744) UV(0.001953, 0.630859)
|
||||
V 66: Pos(0.3175, 0.0, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.001953, 0.672526)
|
||||
V 67: Pos(0.309038, 0.128008, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.048828, 0.714193)
|
||||
V 68: Pos(0.293332, 0.121502, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.048828, 0.672526)
|
||||
V 69: Pos(0.309038, 0.128008, 0.885278) Norm(0.853455, 0.169763, -0.492742) UV(0.048828, 0.714193)
|
||||
V 70: Pos(0.343, 0.0, 0.9) Norm(0.853455, 0.169763, -0.492742) UV(0.001953, 0.755859)
|
||||
V 71: Pos(0.3345, 0.0, 0.885278) Norm(0.853455, 0.169763, -0.492742) UV(0.001953, 0.714193)
|
||||
V 72: Pos(0.309038, 0.128008, 0.914722) Norm(-0.723525, -0.483444, -0.492741) UV(0.048828, 0.547526)
|
||||
V 73: Pos(0.242538, 0.242538, 0.9) Norm(-0.723525, -0.483444, -0.492741) UV(0.095703, 0.505859)
|
||||
V 74: Pos(0.316891, 0.13126, 0.9) Norm(-0.723525, -0.483444, -0.492741) UV(0.048828, 0.505859)
|
||||
V 75: Pos(0.293332, 0.121502, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.048828, 0.589193)
|
||||
V 76: Pos(0.236527, 0.236527, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.095703, 0.547526)
|
||||
V 77: Pos(0.309038, 0.128008, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.048828, 0.547526)
|
||||
V 78: Pos(0.285479, 0.118249, 0.9) Norm(0.723525, 0.483444, -0.492742) UV(0.048828, 0.630859)
|
||||
V 79: Pos(0.224506, 0.224506, 0.914722) Norm(0.723525, 0.483444, -0.492742) UV(0.095703, 0.589193)
|
||||
V 80: Pos(0.293332, 0.121502, 0.914722) Norm(0.723525, 0.483444, -0.492742) UV(0.048828, 0.589193)
|
||||
V 81: Pos(0.293332, 0.121502, 0.885278) Norm(0.723524, 0.483443, 0.492743) UV(0.048828, 0.672526)
|
||||
V 82: Pos(0.218496, 0.218496, 0.9) Norm(0.723524, 0.483443, 0.492743) UV(0.095703, 0.630859)
|
||||
V 83: Pos(0.285479, 0.118249, 0.9) Norm(0.723524, 0.483443, 0.492743) UV(0.048828, 0.630859)
|
||||
V 84: Pos(0.224506, 0.224506, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.095703, 0.672526)
|
||||
V 85: Pos(0.309038, 0.128008, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.048828, 0.714193)
|
||||
V 86: Pos(0.293332, 0.121502, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.048828, 0.672526)
|
||||
V 87: Pos(0.236527, 0.236527, 0.885278) Norm(0.723524, 0.483443, -0.492743) UV(0.095703, 0.714193)
|
||||
V 88: Pos(0.316891, 0.13126, 0.9) Norm(0.723524, 0.483443, -0.492743) UV(0.048828, 0.755859)
|
||||
V 89: Pos(0.309038, 0.128008, 0.885278) Norm(0.723524, 0.483443, -0.492743) UV(0.048828, 0.714193)
|
||||
V 90: Pos(0.236527, 0.236527, 0.914722) Norm(-0.483443, -0.723524, -0.492742) UV(0.095703, 0.547526)
|
||||
V 91: Pos(0.13126, 0.316891, 0.9) Norm(-0.483443, -0.723524, -0.492742) UV(0.142578, 0.505859)
|
||||
V 92: Pos(0.242538, 0.242538, 0.9) Norm(-0.483443, -0.723524, -0.492742) UV(0.095703, 0.505859)
|
||||
V 93: Pos(0.224506, 0.224506, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.095703, 0.589193)
|
||||
V 94: Pos(0.128008, 0.309038, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.142578, 0.547526)
|
||||
V 95: Pos(0.121502, 0.293332, 0.914722) Norm(-0.483444, -0.723525, 0.492742) UV(0.142578, 0.589193)
|
||||
V 96: Pos(0.218496, 0.218496, 0.9) Norm(-0.483444, -0.723525, 0.492742) UV(0.095703, 0.630859)
|
||||
V 97: Pos(0.224506, 0.224506, 0.914722) Norm(-0.483444, -0.723525, 0.492742) UV(0.095703, 0.589193)
|
||||
V 98: Pos(0.118249, 0.285479, 0.9) Norm(-0.483443, -0.723524, -0.492743) UV(0.142578, 0.630859)
|
||||
V 99: Pos(0.224506, 0.224506, 0.885278) Norm(-0.483443, -0.723524, -0.492743) UV(0.095703, 0.672526)
|
||||
V 100: Pos(0.218496, 0.218496, 0.9) Norm(-0.483443, -0.723524, -0.492743) UV(0.095703, 0.630859)
|
||||
V 101: Pos(0.121502, 0.293332, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.142578, 0.672526)
|
||||
V 102: Pos(0.236527, 0.236527, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.095703, 0.714193)
|
||||
V 103: Pos(0.128008, 0.309038, 0.885278) Norm(0.483443, 0.723524, -0.492743) UV(0.142578, 0.714193)
|
||||
V 104: Pos(0.242538, 0.242538, 0.9) Norm(0.483443, 0.723524, -0.492743) UV(0.095703, 0.755859)
|
||||
V 105: Pos(0.236527, 0.236527, 0.885278) Norm(0.483443, 0.723524, -0.492743) UV(0.095703, 0.714193)
|
||||
V 106: Pos(0.0, 0.343, 0.9) Norm(0.169763, 0.853456, 0.492741) UV(0.189453, 0.505859)
|
||||
V 107: Pos(0.128008, 0.309038, 0.914722) Norm(0.169763, 0.853456, 0.492741) UV(0.142578, 0.547526)
|
||||
V 108: Pos(0.13126, 0.316891, 0.9) Norm(0.169763, 0.853456, 0.492741) UV(0.142578, 0.505859)
|
||||
V 109: Pos(0.128008, 0.309038, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.142578, 0.547526)
|
||||
V 110: Pos(0.0, 0.3175, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.189453, 0.589193)
|
||||
V 111: Pos(0.121502, 0.293332, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.142578, 0.589193)
|
||||
V 112: Pos(0.118249, 0.285479, 0.9) Norm(0.169763, 0.853456, -0.492741) UV(0.142578, 0.630859)
|
||||
V 113: Pos(0.0, 0.3175, 0.914722) Norm(0.169763, 0.853456, -0.492741) UV(0.189453, 0.589193)
|
||||
V 114: Pos(0.121502, 0.293332, 0.914722) Norm(0.169763, 0.853456, -0.492741) UV(0.142578, 0.589193)
|
||||
V 115: Pos(0.0, 0.309, 0.9) Norm(-0.169763, -0.853455, -0.492743) UV(0.189453, 0.630859)
|
||||
V 116: Pos(0.121502, 0.293332, 0.885278) Norm(-0.169763, -0.853455, -0.492743) UV(0.142578, 0.672526)
|
||||
V 117: Pos(0.118249, 0.285479, 0.9) Norm(-0.169763, -0.853455, -0.492743) UV(0.142578, 0.630859)
|
||||
V 118: Pos(0.128008, 0.309038, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.142578, 0.714193)
|
||||
V 119: Pos(0.0, 0.3175, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.189453, 0.672526)
|
||||
V 120: Pos(0.121502, 0.293332, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.142578, 0.672526)
|
||||
V 121: Pos(0.0, 0.3345, 0.885278) Norm(0.169763, 0.853455, -0.492743) UV(0.189453, 0.714193)
|
||||
V 122: Pos(0.13126, 0.316891, 0.9) Norm(0.169763, 0.853455, -0.492743) UV(0.142578, 0.755859)
|
||||
V 123: Pos(0.128008, 0.309038, 0.885278) Norm(0.169763, 0.853455, -0.492743) UV(0.142578, 0.714193)
|
||||
V 124: Pos(-0.13126, 0.316891, 0.9) Norm(-0.169763, 0.853456, 0.492741) UV(0.236328, 0.505859)
|
||||
V 125: Pos(0.0, 0.3345, 0.914722) Norm(-0.169763, 0.853456, 0.492741) UV(0.189453, 0.547526)
|
||||
V 126: Pos(0.0, 0.343, 0.9) Norm(-0.169763, 0.853456, 0.492741) UV(0.189453, 0.505859)
|
||||
V 127: Pos(-0.128008, 0.309038, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.236328, 0.547526)
|
||||
V 128: Pos(0.0, 0.3345, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.189453, 0.547526)
|
||||
V 129: Pos(0.0, 0.309, 0.9) Norm(-0.169763, 0.853455, -0.492742) UV(0.189453, 0.630859)
|
||||
V 130: Pos(-0.121502, 0.293332, 0.914722) Norm(-0.169763, 0.853455, -0.492742) UV(0.236328, 0.589193)
|
||||
V 131: Pos(0.0, 0.3175, 0.914722) Norm(-0.169763, 0.853455, -0.492742) UV(0.189453, 0.589193)
|
||||
V 132: Pos(-0.118249, 0.285479, 0.9) Norm(0.169763, -0.853454, -0.492744) UV(0.236328, 0.630859)
|
||||
V 133: Pos(0.0, 0.3175, 0.885278) Norm(0.169763, -0.853454, -0.492744) UV(0.189453, 0.672526)
|
||||
V 134: Pos(0.0, 0.309, 0.9) Norm(0.169763, -0.853454, -0.492744) UV(0.189453, 0.630859)
|
||||
V 135: Pos(-0.128008, 0.309038, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.236328, 0.714193)
|
||||
V 136: Pos(-0.121502, 0.293332, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.236328, 0.672526)
|
||||
V 137: Pos(-0.128008, 0.309038, 0.885278) Norm(-0.169763, 0.853455, -0.492742) UV(0.236328, 0.714193)
|
||||
V 138: Pos(0.0, 0.343, 0.9) Norm(-0.169763, 0.853455, -0.492742) UV(0.189453, 0.755859)
|
||||
V 139: Pos(0.0, 0.3345, 0.885278) Norm(-0.169763, 0.853455, -0.492742) UV(0.189453, 0.714193)
|
||||
V 140: Pos(-0.128008, 0.309038, 0.914722) Norm(0.483444, -0.723525, -0.492741) UV(0.236328, 0.547526)
|
||||
V 141: Pos(-0.242538, 0.242538, 0.9) Norm(0.483444, -0.723525, -0.492741) UV(0.283203, 0.505859)
|
||||
V 142: Pos(-0.13126, 0.316891, 0.9) Norm(0.483444, -0.723525, -0.492741) UV(0.236328, 0.505859)
|
||||
V 143: Pos(-0.121502, 0.293332, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.236328, 0.589193)
|
||||
V 144: Pos(-0.236527, 0.236527, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.283203, 0.547526)
|
||||
V 145: Pos(-0.128008, 0.309038, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.236328, 0.547526)
|
||||
V 146: Pos(-0.224506, 0.224506, 0.914722) Norm(0.483444, -0.723525, 0.492742) UV(0.283203, 0.589193)
|
||||
V 147: Pos(-0.118249, 0.285479, 0.9) Norm(0.483444, -0.723525, 0.492742) UV(0.236328, 0.630859)
|
||||
V 148: Pos(-0.121502, 0.293332, 0.914722) Norm(0.483444, -0.723525, 0.492742) UV(0.236328, 0.589193)
|
||||
V 149: Pos(-0.121502, 0.293332, 0.885278) Norm(-0.483443, 0.723524, 0.492743) UV(0.236328, 0.672526)
|
||||
V 150: Pos(-0.218496, 0.218496, 0.9) Norm(-0.483443, 0.723524, 0.492743) UV(0.283203, 0.630859)
|
||||
V 151: Pos(-0.118249, 0.285479, 0.9) Norm(-0.483443, 0.723524, 0.492743) UV(0.236328, 0.630859)
|
||||
V 152: Pos(-0.224506, 0.224506, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.283203, 0.672526)
|
||||
V 153: Pos(-0.128008, 0.309038, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.236328, 0.714193)
|
||||
V 154: Pos(-0.121502, 0.293332, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.236328, 0.672526)
|
||||
V 155: Pos(-0.13126, 0.316891, 0.9) Norm(0.483443, -0.723524, 0.492743) UV(0.236328, 0.755859)
|
||||
V 156: Pos(-0.236527, 0.236527, 0.885278) Norm(0.483443, -0.723524, 0.492743) UV(0.283203, 0.714193)
|
||||
V 157: Pos(-0.128008, 0.309038, 0.885278) Norm(0.483443, -0.723524, 0.492743) UV(0.236328, 0.714193)
|
||||
V 158: Pos(-0.236527, 0.236527, 0.914722) Norm(0.723524, -0.483443, -0.492742) UV(0.033203, 0.547526)
|
||||
V 159: Pos(-0.316891, 0.13126, 0.9) Norm(0.723524, -0.483443, -0.492742) UV(0.080078, 0.505859)
|
||||
V 160: Pos(-0.242538, 0.242538, 0.9) Norm(0.723524, -0.483443, -0.492742) UV(0.033203, 0.505859)
|
||||
V 161: Pos(-0.309038, 0.128008, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.080078, 0.547526)
|
||||
V 162: Pos(-0.224506, 0.224506, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.033203, 0.589193)
|
||||
V 163: Pos(-0.236527, 0.236527, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.033203, 0.547526)
|
||||
V 164: Pos(-0.218496, 0.218496, 0.9) Norm(-0.723525, 0.483444, -0.492742) UV(0.033203, 0.630859)
|
||||
V 165: Pos(-0.293332, 0.121502, 0.914722) Norm(-0.723525, 0.483444, -0.492742) UV(0.080078, 0.589193)
|
||||
V 166: Pos(-0.224506, 0.224506, 0.914722) Norm(-0.723525, 0.483444, -0.492742) UV(0.033203, 0.589193)
|
||||
V 167: Pos(-0.224506, 0.224506, 0.885278) Norm(-0.723524, 0.483443, 0.492743) UV(0.033203, 0.672526)
|
||||
V 168: Pos(-0.285479, 0.118249, 0.9) Norm(-0.723524, 0.483443, 0.492743) UV(0.080078, 0.630859)
|
||||
V 169: Pos(-0.218496, 0.218496, 0.9) Norm(-0.723524, 0.483443, 0.492743) UV(0.033203, 0.630859)
|
||||
V 170: Pos(-0.293332, 0.121502, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.080078, 0.672526)
|
||||
V 171: Pos(-0.236527, 0.236527, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.033203, 0.714193)
|
||||
V 172: Pos(-0.224506, 0.224506, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.033203, 0.672526)
|
||||
V 173: Pos(-0.309038, 0.128008, 0.885278) Norm(-0.723524, 0.483443, -0.492743) UV(0.080078, 0.714193)
|
||||
V 174: Pos(-0.242538, 0.242538, 0.9) Norm(-0.723524, 0.483443, -0.492743) UV(0.033203, 0.755859)
|
||||
V 175: Pos(-0.236527, 0.236527, 0.885278) Norm(-0.723524, 0.483443, -0.492743) UV(0.033203, 0.714193)
|
||||
V 176: Pos(-0.343, 0.0, 0.9) Norm(-0.853456, 0.169763, 0.492741) UV(0.126953, 0.505859)
|
||||
V 177: Pos(-0.309038, 0.128008, 0.914722) Norm(-0.853456, 0.169763, 0.492741) UV(0.080078, 0.547526)
|
||||
V 178: Pos(-0.316891, 0.13126, 0.9) Norm(-0.853456, 0.169763, 0.492741) UV(0.080078, 0.505859)
|
||||
V 179: Pos(-0.3175, 0.0, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.126953, 0.589193)
|
||||
V 180: Pos(-0.293332, 0.121502, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.080078, 0.589193)
|
||||
V 181: Pos(-0.285479, 0.118249, 0.9) Norm(-0.853456, 0.169763, -0.492741) UV(0.080078, 0.630859)
|
||||
V 182: Pos(-0.3175, 0.0, 0.914722) Norm(-0.853456, 0.169763, -0.492741) UV(0.126953, 0.589193)
|
||||
V 183: Pos(-0.293332, 0.121502, 0.914722) Norm(-0.853456, 0.169763, -0.492741) UV(0.080078, 0.589193)
|
||||
V 184: Pos(-0.309, 0.0, 0.9) Norm(0.853455, -0.169763, -0.492743) UV(0.126953, 0.630859)
|
||||
V 185: Pos(-0.293332, 0.121502, 0.885278) Norm(0.853455, -0.169763, -0.492743) UV(0.080078, 0.672526)
|
||||
V 186: Pos(-0.285479, 0.118249, 0.9) Norm(0.853455, -0.169763, -0.492743) UV(0.080078, 0.630859)
|
||||
V 187: Pos(-0.309038, 0.128008, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.080078, 0.714193)
|
||||
V 188: Pos(-0.3175, 0.0, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.126953, 0.672526)
|
||||
V 189: Pos(-0.293332, 0.121502, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.080078, 0.672526)
|
||||
V 190: Pos(-0.3345, 0.0, 0.885278) Norm(-0.853455, 0.169763, -0.492743) UV(0.126953, 0.714193)
|
||||
V 191: Pos(-0.316891, 0.13126, 0.9) Norm(-0.853455, 0.169763, -0.492743) UV(0.080078, 0.755859)
|
||||
V 192: Pos(-0.309038, 0.128008, 0.885278) Norm(-0.853455, 0.169763, -0.492743) UV(0.080078, 0.714193)
|
||||
V 193: Pos(-0.316891, -0.13126, 0.9) Norm(-0.853456, -0.169763, 0.492741) UV(0.173828, 0.505859)
|
||||
V 194: Pos(-0.3345, 0.0, 0.914722) Norm(-0.853456, -0.169763, 0.492741) UV(0.126953, 0.547526)
|
||||
V 195: Pos(-0.343, 0.0, 0.9) Norm(-0.853456, -0.169763, 0.492741) UV(0.126953, 0.505859)
|
||||
V 196: Pos(-0.309038, -0.128008, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.173828, 0.547526)
|
||||
V 197: Pos(-0.3345, 0.0, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.126953, 0.547526)
|
||||
V 198: Pos(-0.309, 0.0, 0.9) Norm(-0.853455, -0.169763, -0.492742) UV(0.126953, 0.630859)
|
||||
V 199: Pos(-0.293332, -0.121502, 0.914722) Norm(-0.853455, -0.169763, -0.492742) UV(0.173828, 0.589193)
|
||||
V 200: Pos(-0.3175, 0.0, 0.914722) Norm(-0.853455, -0.169763, -0.492742) UV(0.126953, 0.589193)
|
||||
V 201: Pos(-0.285479, -0.118249, 0.9) Norm(0.853454, 0.169763, -0.492744) UV(0.173828, 0.630859)
|
||||
V 202: Pos(-0.3175, 0.0, 0.885278) Norm(0.853454, 0.169763, -0.492744) UV(0.126953, 0.672526)
|
||||
V 203: Pos(-0.309, 0.0, 0.9) Norm(0.853454, 0.169763, -0.492744) UV(0.126953, 0.630859)
|
||||
V 204: Pos(-0.309038, -0.128008, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.173828, 0.714193)
|
||||
V 205: Pos(-0.293332, -0.121502, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.173828, 0.672526)
|
||||
V 206: Pos(-0.309038, -0.128008, 0.885278) Norm(-0.853455, -0.169763, -0.492742) UV(0.173828, 0.714193)
|
||||
V 207: Pos(-0.343, 0.0, 0.9) Norm(-0.853455, -0.169763, -0.492742) UV(0.126953, 0.755859)
|
||||
V 208: Pos(-0.3345, 0.0, 0.885278) Norm(-0.853455, -0.169763, -0.492742) UV(0.126953, 0.714193)
|
||||
V 209: Pos(-0.309038, -0.128008, 0.914722) Norm(0.723525, 0.483444, -0.492741) UV(0.173828, 0.547526)
|
||||
V 210: Pos(-0.242538, -0.242538, 0.9) Norm(0.723525, 0.483444, -0.492741) UV(0.220703, 0.505859)
|
||||
V 211: Pos(-0.316891, -0.13126, 0.9) Norm(0.723525, 0.483444, -0.492741) UV(0.173828, 0.505859)
|
||||
V 212: Pos(-0.293332, -0.121502, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.173828, 0.589193)
|
||||
V 213: Pos(-0.236527, -0.236527, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.220703, 0.547526)
|
||||
V 214: Pos(-0.309038, -0.128008, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.173828, 0.547526)
|
||||
V 215: Pos(-0.285479, -0.118249, 0.9) Norm(-0.723525, -0.483444, -0.492742) UV(0.173828, 0.630859)
|
||||
V 216: Pos(-0.224506, -0.224506, 0.914722) Norm(-0.723525, -0.483444, -0.492742) UV(0.220703, 0.589193)
|
||||
V 217: Pos(-0.293332, -0.121502, 0.914722) Norm(-0.723525, -0.483444, -0.492742) UV(0.173828, 0.589193)
|
||||
V 218: Pos(-0.293332, -0.121502, 0.885278) Norm(-0.723524, -0.483443, 0.492743) UV(0.173828, 0.672526)
|
||||
V 219: Pos(-0.218496, -0.218496, 0.9) Norm(-0.723524, -0.483443, 0.492743) UV(0.220703, 0.630859)
|
||||
V 220: Pos(-0.285479, -0.118249, 0.9) Norm(-0.723524, -0.483443, 0.492743) UV(0.173828, 0.630859)
|
||||
V 221: Pos(-0.224506, -0.224506, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.220703, 0.672526)
|
||||
V 222: Pos(-0.309038, -0.128008, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.173828, 0.714193)
|
||||
V 223: Pos(-0.293332, -0.121502, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.173828, 0.672526)
|
||||
V 224: Pos(-0.236527, -0.236527, 0.885278) Norm(-0.723524, -0.483443, -0.492743) UV(0.220703, 0.714193)
|
||||
V 225: Pos(-0.316891, -0.13126, 0.9) Norm(-0.723524, -0.483443, -0.492743) UV(0.173828, 0.755859)
|
||||
V 226: Pos(-0.309038, -0.128008, 0.885278) Norm(-0.723524, -0.483443, -0.492743) UV(0.173828, 0.714193)
|
||||
V 227: Pos(-0.236527, -0.236527, 0.914722) Norm(0.483443, 0.723524, -0.492742) UV(0.220703, 0.547526)
|
||||
V 228: Pos(-0.13126, -0.316891, 0.9) Norm(0.483443, 0.723524, -0.492742) UV(0.267578, 0.505859)
|
||||
V 229: Pos(-0.242538, -0.242538, 0.9) Norm(0.483443, 0.723524, -0.492742) UV(0.220703, 0.505859)
|
||||
V 230: Pos(-0.224506, -0.224506, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.220703, 0.589193)
|
||||
V 231: Pos(-0.128008, -0.309038, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.267578, 0.547526)
|
||||
V 232: Pos(-0.121502, -0.293332, 0.914722) Norm(0.483444, 0.723525, 0.492742) UV(0.267578, 0.589193)
|
||||
V 233: Pos(-0.218496, -0.218496, 0.9) Norm(0.483444, 0.723525, 0.492742) UV(0.220703, 0.630859)
|
||||
V 234: Pos(-0.224506, -0.224506, 0.914722) Norm(0.483444, 0.723525, 0.492742) UV(0.220703, 0.589193)
|
||||
V 235: Pos(-0.118249, -0.285479, 0.9) Norm(0.483443, 0.723524, -0.492743) UV(0.267578, 0.630859)
|
||||
V 236: Pos(-0.224506, -0.224506, 0.885278) Norm(0.483443, 0.723524, -0.492743) UV(0.220703, 0.672526)
|
||||
V 237: Pos(-0.218496, -0.218496, 0.9) Norm(0.483443, 0.723524, -0.492743) UV(0.220703, 0.630859)
|
||||
V 238: Pos(-0.121502, -0.293332, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.267578, 0.672526)
|
||||
V 239: Pos(-0.236527, -0.236527, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.220703, 0.714193)
|
||||
V 240: Pos(-0.128008, -0.309038, 0.885278) Norm(-0.483443, -0.723524, -0.492743) UV(0.267578, 0.714193)
|
||||
V 241: Pos(-0.242538, -0.242538, 0.9) Norm(-0.483443, -0.723524, -0.492743) UV(0.220703, 0.755859)
|
||||
V 242: Pos(-0.236527, -0.236527, 0.885278) Norm(-0.483443, -0.723524, -0.492743) UV(0.220703, 0.714193)
|
||||
V 243: Pos(0.0, -0.343, 0.9) Norm(-0.169763, -0.853456, 0.492741) UV(0.064453, 0.505859)
|
||||
V 244: Pos(-0.128008, -0.309038, 0.914722) Norm(-0.169763, -0.853456, 0.492741) UV(0.017578, 0.547526)
|
||||
V 245: Pos(-0.13126, -0.316891, 0.9) Norm(-0.169763, -0.853456, 0.492741) UV(0.017578, 0.505859)
|
||||
V 246: Pos(-0.128008, -0.309038, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.017578, 0.547526)
|
||||
V 247: Pos(0.0, -0.3175, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.064453, 0.589193)
|
||||
V 248: Pos(-0.121502, -0.293332, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.017578, 0.589193)
|
||||
V 249: Pos(-0.118249, -0.285479, 0.9) Norm(-0.169763, -0.853456, -0.492741) UV(0.017578, 0.630859)
|
||||
V 250: Pos(0.0, -0.3175, 0.914722) Norm(-0.169763, -0.853456, -0.492741) UV(0.064453, 0.589193)
|
||||
V 251: Pos(-0.121502, -0.293332, 0.914722) Norm(-0.169763, -0.853456, -0.492741) UV(0.017578, 0.589193)
|
||||
V 252: Pos(0.0, -0.309, 0.9) Norm(0.169763, 0.853455, -0.492743) UV(0.064453, 0.630859)
|
||||
V 253: Pos(-0.121502, -0.293332, 0.885278) Norm(0.169763, 0.853455, -0.492743) UV(0.017578, 0.672526)
|
||||
V 254: Pos(-0.118249, -0.285479, 0.9) Norm(0.169763, 0.853455, -0.492743) UV(0.017578, 0.630859)
|
||||
V 255: Pos(-0.128008, -0.309038, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.017578, 0.714193)
|
||||
V 256: Pos(0.0, -0.3175, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.064453, 0.672526)
|
||||
V 257: Pos(-0.121502, -0.293332, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.017578, 0.672526)
|
||||
V 258: Pos(0.0, -0.3345, 0.885278) Norm(-0.169763, -0.853455, -0.492743) UV(0.064453, 0.714193)
|
||||
V 259: Pos(-0.13126, -0.316891, 0.9) Norm(-0.169763, -0.853455, -0.492743) UV(0.017578, 0.755859)
|
||||
V 260: Pos(-0.128008, -0.309038, 0.885278) Norm(-0.169763, -0.853455, -0.492743) UV(0.017578, 0.714193)
|
||||
V 261: Pos(0.13126, -0.316891, 0.9) Norm(0.169763, -0.853456, 0.492741) UV(0.111328, 0.505859)
|
||||
V 262: Pos(0.0, -0.3345, 0.914722) Norm(0.169763, -0.853456, 0.492741) UV(0.064453, 0.547526)
|
||||
V 263: Pos(0.0, -0.343, 0.9) Norm(0.169763, -0.853456, 0.492741) UV(0.064453, 0.505859)
|
||||
V 264: Pos(0.128008, -0.309038, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.111328, 0.547526)
|
||||
V 265: Pos(0.0, -0.3345, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.064453, 0.547526)
|
||||
V 266: Pos(0.0, -0.309, 0.9) Norm(0.169763, -0.853455, -0.492742) UV(0.064453, 0.630859)
|
||||
V 267: Pos(0.121502, -0.293332, 0.914722) Norm(0.169763, -0.853455, -0.492742) UV(0.111328, 0.589193)
|
||||
V 268: Pos(0.0, -0.3175, 0.914722) Norm(0.169763, -0.853455, -0.492742) UV(0.064453, 0.589193)
|
||||
V 269: Pos(0.118249, -0.285479, 0.9) Norm(-0.169763, 0.853454, -0.492744) UV(0.111328, 0.630859)
|
||||
V 270: Pos(0.0, -0.3175, 0.885278) Norm(-0.169763, 0.853454, -0.492744) UV(0.064453, 0.672526)
|
||||
V 271: Pos(0.0, -0.309, 0.9) Norm(-0.169763, 0.853454, -0.492744) UV(0.064453, 0.630859)
|
||||
V 272: Pos(0.128008, -0.309038, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.111328, 0.714193)
|
||||
V 273: Pos(0.121502, -0.293332, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.111328, 0.672526)
|
||||
V 274: Pos(0.128008, -0.309038, 0.885278) Norm(0.169763, -0.853455, -0.492742) UV(0.111328, 0.714193)
|
||||
V 275: Pos(0.0, -0.343, 0.9) Norm(0.169763, -0.853455, -0.492742) UV(0.064453, 0.755859)
|
||||
V 276: Pos(0.0, -0.3345, 0.885278) Norm(0.169763, -0.853455, -0.492742) UV(0.064453, 0.714193)
|
||||
V 277: Pos(0.128008, -0.309038, 0.914722) Norm(-0.483444, 0.723525, -0.492741) UV(0.111328, 0.547526)
|
||||
V 278: Pos(0.242538, -0.242538, 0.9) Norm(-0.483444, 0.723525, -0.492741) UV(0.158203, 0.505859)
|
||||
V 279: Pos(0.13126, -0.316891, 0.9) Norm(-0.483444, 0.723525, -0.492741) UV(0.111328, 0.505859)
|
||||
V 280: Pos(0.121502, -0.293332, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.111328, 0.589193)
|
||||
V 281: Pos(0.236527, -0.236527, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.158203, 0.547526)
|
||||
V 282: Pos(0.128008, -0.309038, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.111328, 0.547526)
|
||||
V 283: Pos(0.224506, -0.224506, 0.914722) Norm(-0.483444, 0.723525, 0.492742) UV(0.158203, 0.589193)
|
||||
V 284: Pos(0.118249, -0.285479, 0.9) Norm(-0.483444, 0.723525, 0.492742) UV(0.111328, 0.630859)
|
||||
V 285: Pos(0.121502, -0.293332, 0.914722) Norm(-0.483444, 0.723525, 0.492742) UV(0.111328, 0.589193)
|
||||
V 286: Pos(0.121502, -0.293332, 0.885278) Norm(0.483443, -0.723524, 0.492743) UV(0.111328, 0.672526)
|
||||
V 287: Pos(0.218496, -0.218496, 0.9) Norm(0.483443, -0.723524, 0.492743) UV(0.158203, 0.630859)
|
||||
V 288: Pos(0.118249, -0.285479, 0.9) Norm(0.483443, -0.723524, 0.492743) UV(0.111328, 0.630859)
|
||||
V 289: Pos(0.224506, -0.224506, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.158203, 0.672526)
|
||||
V 290: Pos(0.128008, -0.309038, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.111328, 0.714193)
|
||||
V 291: Pos(0.121502, -0.293332, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.111328, 0.672526)
|
||||
V 292: Pos(0.13126, -0.316891, 0.9) Norm(-0.483443, 0.723524, 0.492743) UV(0.111328, 0.755859)
|
||||
V 293: Pos(0.236527, -0.236527, 0.885278) Norm(-0.483443, 0.723524, 0.492743) UV(0.158203, 0.714193)
|
||||
V 294: Pos(0.128008, -0.309038, 0.885278) Norm(-0.483443, 0.723524, 0.492743) UV(0.111328, 0.714193)
|
||||
V 295: Pos(0.236527, -0.236527, 0.914722) Norm(-0.723524, 0.483443, -0.492742) UV(0.158203, 0.547526)
|
||||
V 296: Pos(0.316891, -0.13126, 0.9) Norm(-0.723524, 0.483443, -0.492742) UV(0.205078, 0.505859)
|
||||
V 297: Pos(0.242538, -0.242538, 0.9) Norm(-0.723524, 0.483443, -0.492742) UV(0.158203, 0.505859)
|
||||
V 298: Pos(0.309038, -0.128008, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.205078, 0.547526)
|
||||
V 299: Pos(0.224506, -0.224506, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.158203, 0.589193)
|
||||
V 300: Pos(0.236527, -0.236527, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.158203, 0.547526)
|
||||
V 301: Pos(0.218496, -0.218496, 0.9) Norm(0.723525, -0.483444, -0.492742) UV(0.158203, 0.630859)
|
||||
V 302: Pos(0.293332, -0.121502, 0.914722) Norm(0.723525, -0.483444, -0.492742) UV(0.205078, 0.589193)
|
||||
V 303: Pos(0.224506, -0.224506, 0.914722) Norm(0.723525, -0.483444, -0.492742) UV(0.158203, 0.589193)
|
||||
V 304: Pos(0.224506, -0.224506, 0.885278) Norm(0.723524, -0.483443, 0.492743) UV(0.158203, 0.672526)
|
||||
V 305: Pos(0.285479, -0.118249, 0.9) Norm(0.723524, -0.483443, 0.492743) UV(0.205078, 0.630859)
|
||||
V 306: Pos(0.218496, -0.218496, 0.9) Norm(0.723524, -0.483443, 0.492743) UV(0.158203, 0.630859)
|
||||
V 307: Pos(0.293332, -0.121502, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.205078, 0.672526)
|
||||
V 308: Pos(0.236527, -0.236527, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.158203, 0.714193)
|
||||
V 309: Pos(0.309038, -0.128008, 0.885278) Norm(0.723524, -0.483443, -0.492743) UV(0.205078, 0.714193)
|
||||
V 310: Pos(0.242538, -0.242538, 0.9) Norm(0.723524, -0.483443, -0.492743) UV(0.158203, 0.755859)
|
||||
V 311: Pos(0.236527, -0.236527, 0.885278) Norm(0.723524, -0.483443, -0.492743) UV(0.158203, 0.714193)
|
||||
V 312: Pos(0.343, 0.0, 0.9) Norm(0.853456, -0.169763, 0.492741) UV(0.251953, 0.505859)
|
||||
V 313: Pos(0.309038, -0.128008, 0.914722) Norm(0.853456, -0.169763, 0.492741) UV(0.205078, 0.547526)
|
||||
V 314: Pos(0.316891, -0.13126, 0.9) Norm(0.853456, -0.169763, 0.492741) UV(0.205078, 0.505859)
|
||||
V 315: Pos(0.3175, 0.0, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.251953, 0.589193)
|
||||
V 316: Pos(0.293332, -0.121502, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.205078, 0.589193)
|
||||
V 317: Pos(0.285479, -0.118249, 0.9) Norm(0.853456, -0.169763, -0.492741) UV(0.205078, 0.630859)
|
||||
V 318: Pos(0.3175, 0.0, 0.914722) Norm(0.853456, -0.169763, -0.492741) UV(0.251953, 0.589193)
|
||||
V 319: Pos(0.293332, -0.121502, 0.914722) Norm(0.853456, -0.169763, -0.492741) UV(0.205078, 0.589193)
|
||||
V 320: Pos(0.309, 0.0, 0.9) Norm(-0.853455, 0.169763, -0.492743) UV(0.251953, 0.630859)
|
||||
V 321: Pos(0.293332, -0.121502, 0.885278) Norm(-0.853455, 0.169763, -0.492743) UV(0.205078, 0.672526)
|
||||
V 322: Pos(0.285479, -0.118249, 0.9) Norm(-0.853455, 0.169763, -0.492743) UV(0.205078, 0.630859)
|
||||
V 323: Pos(0.309038, -0.128008, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.205078, 0.714193)
|
||||
V 324: Pos(0.3175, 0.0, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.251953, 0.672526)
|
||||
V 325: Pos(0.293332, -0.121502, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.205078, 0.672526)
|
||||
V 326: Pos(0.3345, 0.0, 0.885278) Norm(0.853455, -0.169763, -0.492743) UV(0.251953, 0.714193)
|
||||
V 327: Pos(0.316891, -0.13126, 0.9) Norm(0.853455, -0.169763, -0.492743) UV(0.205078, 0.755859)
|
||||
V 328: Pos(0.309038, -0.128008, 0.885278) Norm(0.853455, -0.169763, -0.492743) UV(0.205078, 0.714193)
|
||||
V 329: Pos(0.308, 0.0, 0.35) Norm(-0.980785, -0.19509, 0.0) UV(0.505859, 0.001953)
|
||||
V 330: Pos(0.284555, 0.117866, 0.88) Norm(-0.980785, -0.19509, 0.0) UV(0.552734, 0.345703)
|
||||
V 331: Pos(0.284555, 0.117866, 0.35) Norm(-0.980785, -0.19509, 0.0) UV(0.552734, 0.001953)
|
||||
V 332: Pos(0.284555, 0.117866, 0.35) Norm(-0.83147, -0.55557, 0.0) UV(0.552734, 0.001953)
|
||||
V 333: Pos(0.217789, 0.217789, 0.88) Norm(-0.83147, -0.55557, 0.0) UV(0.599609, 0.345703)
|
||||
V 334: Pos(0.217789, 0.217789, 0.35) Norm(-0.83147, -0.55557, 0.0) UV(0.599609, 0.001953)
|
||||
V 335: Pos(0.217789, 0.217789, 0.35) Norm(-0.55557, -0.83147, 0.0) UV(0.599609, 0.001953)
|
||||
V 336: Pos(0.117866, 0.284555, 0.88) Norm(-0.55557, -0.83147, 0.0) UV(0.646484, 0.345703)
|
||||
V 337: Pos(0.117866, 0.284555, 0.35) Norm(-0.55557, -0.83147, 0.0) UV(0.646484, 0.001953)
|
||||
V 338: Pos(0.117866, 0.284555, 0.35) Norm(-0.19509, -0.980785, 0.0) UV(0.646484, 0.001953)
|
||||
V 339: Pos(0.0, 0.308, 0.88) Norm(-0.19509, -0.980785, 0.0) UV(0.693359, 0.345703)
|
||||
V 340: Pos(0.0, 0.308, 0.35) Norm(-0.19509, -0.980785, 0.0) UV(0.693359, 0.001953)
|
||||
V 341: Pos(0.0, 0.308, 0.35) Norm(0.19509, -0.980785, 0.0) UV(0.693359, 0.001953)
|
||||
V 342: Pos(-0.117866, 0.284555, 0.88) Norm(0.19509, -0.980785, 0.0) UV(0.740234, 0.345703)
|
||||
V 343: Pos(-0.117866, 0.284555, 0.35) Norm(0.19509, -0.980785, 0.0) UV(0.740234, 0.001953)
|
||||
V 344: Pos(-0.117866, 0.284555, 0.35) Norm(0.55557, -0.83147, 0.0) UV(0.740234, 0.001953)
|
||||
V 345: Pos(-0.217789, 0.217789, 0.88) Norm(0.55557, -0.83147, 0.0) UV(0.787109, 0.345703)
|
||||
V 346: Pos(-0.217789, 0.217789, 0.35) Norm(0.55557, -0.83147, 0.0) UV(0.787109, 0.001953)
|
||||
V 347: Pos(-0.217789, 0.217789, 0.35) Norm(0.83147, -0.55557, 0.0) UV(0.787109, 0.001953)
|
||||
V 348: Pos(-0.284555, 0.117866, 0.88) Norm(0.83147, -0.55557, 0.0) UV(0.833984, 0.345703)
|
||||
V 349: Pos(-0.284555, 0.117866, 0.35) Norm(0.83147, -0.55557, 0.0) UV(0.833984, 0.001953)
|
||||
V 350: Pos(-0.284555, 0.117866, 0.35) Norm(0.980785, -0.19509, 0.0) UV(0.833984, 0.001953)
|
||||
V 351: Pos(-0.308, 0.0, 0.88) Norm(0.980785, -0.19509, 0.0) UV(0.880859, 0.345703)
|
||||
V 352: Pos(-0.308, 0.0, 0.35) Norm(0.980785, -0.19509, 0.0) UV(0.880859, 0.001953)
|
||||
V 353: Pos(-0.308, 0.0, 0.35) Norm(0.980785, 0.19509, 0.0) UV(0.505859, 0.001953)
|
||||
V 354: Pos(-0.284555, -0.117866, 0.88) Norm(0.980785, 0.19509, 0.0) UV(0.552734, 0.345703)
|
||||
V 355: Pos(-0.284555, -0.117866, 0.35) Norm(0.980785, 0.19509, 0.0) UV(0.552734, 0.001953)
|
||||
V 356: Pos(-0.284555, -0.117866, 0.35) Norm(0.83147, 0.55557, 0.0) UV(0.552734, 0.001953)
|
||||
V 357: Pos(-0.217789, -0.217789, 0.88) Norm(0.83147, 0.55557, 0.0) UV(0.599609, 0.345703)
|
||||
V 358: Pos(-0.217789, -0.217789, 0.35) Norm(0.83147, 0.55557, 0.0) UV(0.599609, 0.001953)
|
||||
V 359: Pos(-0.217789, -0.217789, 0.35) Norm(0.55557, 0.83147, 0.0) UV(0.599609, 0.001953)
|
||||
V 360: Pos(-0.117866, -0.284555, 0.88) Norm(0.55557, 0.83147, 0.0) UV(0.646484, 0.345703)
|
||||
V 361: Pos(-0.117866, -0.284555, 0.35) Norm(0.55557, 0.83147, 0.0) UV(0.646484, 0.001953)
|
||||
V 362: Pos(-0.117866, -0.284555, 0.35) Norm(0.19509, 0.980785, 0.0) UV(0.646484, 0.001953)
|
||||
V 363: Pos(0.0, -0.308, 0.88) Norm(0.19509, 0.980785, 0.0) UV(0.693359, 0.345703)
|
||||
V 364: Pos(0.0, -0.308, 0.35) Norm(0.19509, 0.980785, 0.0) UV(0.693359, 0.001953)
|
||||
V 365: Pos(0.0, -0.308, 0.35) Norm(-0.19509, 0.980785, 0.0) UV(0.693359, 0.001953)
|
||||
V 366: Pos(0.117866, -0.284555, 0.88) Norm(-0.19509, 0.980785, 0.0) UV(0.740234, 0.345703)
|
||||
V 367: Pos(0.117866, -0.284555, 0.35) Norm(-0.19509, 0.980785, 0.0) UV(0.740234, 0.001953)
|
||||
V 368: Pos(0.117866, -0.284555, 0.35) Norm(-0.55557, 0.83147, 0.0) UV(0.740234, 0.001953)
|
||||
V 369: Pos(0.217789, -0.217789, 0.88) Norm(-0.55557, 0.83147, 0.0) UV(0.787109, 0.345703)
|
||||
V 370: Pos(0.217789, -0.217789, 0.35) Norm(-0.55557, 0.83147, 0.0) UV(0.787109, 0.001953)
|
||||
V 371: Pos(0.217789, -0.217789, 0.35) Norm(-0.83147, 0.55557, 0.0) UV(0.787109, 0.001953)
|
||||
V 372: Pos(0.284555, -0.117866, 0.88) Norm(-0.83147, 0.55557, 0.0) UV(0.833984, 0.345703)
|
||||
V 373: Pos(0.284555, -0.117866, 0.35) Norm(-0.83147, 0.55557, 0.0) UV(0.833984, 0.001953)
|
||||
V 374: Pos(0.284555, -0.117866, 0.35) Norm(-0.980785, 0.19509, 0.0) UV(0.833984, 0.001953)
|
||||
V 375: Pos(0.308, 0.0, 0.88) Norm(-0.980785, 0.19509, 0.0) UV(0.880859, 0.345703)
|
||||
V 376: Pos(0.308, 0.0, 0.35) Norm(-0.980785, 0.19509, 0.0) UV(0.880859, 0.001953)
|
||||
V 377: Pos(-0.308, 0.0, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 378: Pos(0.0, 0.308, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 379: Pos(0.308, 0.0, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 380: Pos(0.295641, 0.122459, 0.87) Norm(-0.980785, -0.19509, 0.0) UV(0.048828, 0.312667)
|
||||
V 381: Pos(0.226274, 0.226274, 0.87) Norm(0.83147, 0.55557, 0.0) UV(0.095703, 0.312667)
|
||||
V 382: Pos(0.122459, 0.295641, 0.87) Norm(-0.55557, -0.83147, 0.0) UV(0.142578, 0.312667)
|
||||
V 383: Pos(0.0, 0.32, 0.87) Norm(-0.19509, -0.980785, 0.0) UV(0.189453, 0.312667)
|
||||
V 384: Pos(-0.122459, 0.295641, 0.87) Norm(0.19509, -0.980785, 0.0) UV(0.236328, 0.312667)
|
||||
V 385: Pos(-0.226274, 0.226274, 0.87) Norm(-0.55557, 0.83147, 0.0) UV(0.283203, 0.312667)
|
||||
V 386: Pos(-0.295641, 0.122459, 0.87) Norm(0.83147, -0.55557, 0.0) UV(0.080078, 0.312667)
|
||||
V 387: Pos(-0.32, 0.0, 0.87) Norm(0.980785, -0.19509, 0.0) UV(0.126953, 0.312667)
|
||||
V 388: Pos(-0.295641, -0.122459, 0.87) Norm(0.980785, 0.19509, 0.0) UV(0.173828, 0.312667)
|
||||
V 389: Pos(-0.226274, -0.226274, 0.87) Norm(-0.83147, -0.55557, 0.0) UV(0.220703, 0.312667)
|
||||
V 390: Pos(-0.122459, -0.295641, 0.87) Norm(0.55557, 0.83147, 0.0) UV(0.267578, 0.312667)
|
||||
V 391: Pos(0.0, -0.32, 0.87) Norm(0.19509, 0.980785, 0.0) UV(0.064453, 0.312667)
|
||||
V 392: Pos(0.122459, -0.295641, 0.87) Norm(-0.19509, 0.980785, 0.0) UV(0.111328, 0.312667)
|
||||
V 393: Pos(0.226274, -0.226274, 0.87) Norm(0.55557, -0.83147, 0.0) UV(0.158203, 0.312667)
|
||||
V 394: Pos(0.295641, -0.122459, 0.87) Norm(-0.83147, 0.55557, 0.0) UV(0.205078, 0.312667)
|
||||
V 395: Pos(0.32, 0.0, 0.87) Norm(-0.980785, 0.19509, 0.0) UV(0.251953, 0.312667)
|
||||
V 396: Pos(0.324, 0.0, 0.62) Norm(0.980785, -0.19509, 0.0) UV(0.600586, 0.693359)
|
||||
V 397: Pos(0.299337, 0.123989, 0.62) Norm(0.980785, 0.19509, 0.0) UV(0.694336, 0.693359)
|
||||
V 398: Pos(0.309038, 0.128008, 0.914722) Norm(0.853456, 0.169763, 0.492741) UV(0.048828, 0.547526)
|
||||
V 399: Pos(0.293332, 0.121502, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.048828, 0.589193)
|
||||
V 400: Pos(0.309, 0.0, 0.9) Norm(0.853456, 0.169763, -0.492741) UV(0.001953, 0.630859)
|
||||
V 401: Pos(0.285479, 0.118249, 0.9) Norm(0.853456, 0.169763, -0.492741) UV(0.048828, 0.630859)
|
||||
V 402: Pos(0.293332, 0.121502, 0.914722) Norm(0.853456, 0.169763, -0.492741) UV(0.048828, 0.589193)
|
||||
V 403: Pos(0.285479, 0.118249, 0.9) Norm(-0.853455, -0.169763, -0.492743) UV(0.048828, 0.630859)
|
||||
V 404: Pos(0.293332, 0.121502, 0.885278) Norm(-0.853455, -0.169763, -0.492743) UV(0.048828, 0.672526)
|
||||
V 405: Pos(0.3175, 0.0, 0.885278) Norm(-0.853455, -0.169763, -0.492743) UV(0.001953, 0.672526)
|
||||
V 406: Pos(0.3345, 0.0, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.001953, 0.714193)
|
||||
V 407: Pos(0.309038, 0.128008, 0.885278) Norm(0.853455, 0.169763, -0.492743) UV(0.048828, 0.714193)
|
||||
V 408: Pos(0.316891, 0.13126, 0.9) Norm(0.853455, 0.169763, -0.492743) UV(0.048828, 0.755859)
|
||||
V 409: Pos(0.343, 0.0, 0.9) Norm(0.853455, 0.169763, -0.492743) UV(0.001953, 0.755859)
|
||||
V 410: Pos(0.309038, 0.128008, 0.914722) Norm(-0.723524, -0.483444, -0.492742) UV(0.048828, 0.547526)
|
||||
V 411: Pos(0.236527, 0.236527, 0.914722) Norm(-0.723524, -0.483444, -0.492742) UV(0.095703, 0.547526)
|
||||
V 412: Pos(0.242538, 0.242538, 0.9) Norm(-0.723524, -0.483444, -0.492742) UV(0.095703, 0.505859)
|
||||
V 413: Pos(0.285479, 0.118249, 0.9) Norm(0.723524, 0.483444, -0.492742) UV(0.048828, 0.630859)
|
||||
V 414: Pos(0.218496, 0.218496, 0.9) Norm(0.723524, 0.483444, -0.492742) UV(0.095703, 0.630859)
|
||||
V 415: Pos(0.224506, 0.224506, 0.914722) Norm(0.723524, 0.483444, -0.492742) UV(0.095703, 0.589193)
|
||||
V 416: Pos(0.224506, 0.224506, 0.885278) Norm(0.723524, 0.483443, 0.492743) UV(0.095703, 0.672526)
|
||||
V 417: Pos(0.242538, 0.242538, 0.9) Norm(0.723524, 0.483443, -0.492743) UV(0.095703, 0.755859)
|
||||
V 418: Pos(0.236527, 0.236527, 0.914722) Norm(-0.483444, -0.723525, -0.492741) UV(0.095703, 0.547526)
|
||||
V 419: Pos(0.128008, 0.309038, 0.914722) Norm(-0.483444, -0.723525, -0.492741) UV(0.142578, 0.547526)
|
||||
V 420: Pos(0.13126, 0.316891, 0.9) Norm(-0.483444, -0.723525, -0.492741) UV(0.142578, 0.505859)
|
||||
V 421: Pos(0.121502, 0.293332, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.142578, 0.589193)
|
||||
V 422: Pos(0.118249, 0.285479, 0.9) Norm(-0.483444, -0.723525, 0.492742) UV(0.142578, 0.630859)
|
||||
V 423: Pos(0.121502, 0.293332, 0.885278) Norm(-0.483443, -0.723524, -0.492743) UV(0.142578, 0.672526)
|
||||
V 424: Pos(0.128008, 0.309038, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.142578, 0.714193)
|
||||
V 425: Pos(0.13126, 0.316891, 0.9) Norm(0.483443, 0.723524, -0.492743) UV(0.142578, 0.755859)
|
||||
V 426: Pos(0.0, 0.3345, 0.914722) Norm(0.169763, 0.853456, 0.492741) UV(0.189453, 0.547526)
|
||||
V 427: Pos(0.118249, 0.285479, 0.9) Norm(0.169763, 0.853455, -0.492742) UV(0.142578, 0.630859)
|
||||
V 428: Pos(0.0, 0.309, 0.9) Norm(0.169763, 0.853455, -0.492742) UV(0.189453, 0.630859)
|
||||
V 429: Pos(0.0, 0.3175, 0.914722) Norm(0.169763, 0.853455, -0.492742) UV(0.189453, 0.589193)
|
||||
V 430: Pos(0.0, 0.309, 0.9) Norm(-0.169763, -0.853454, -0.492743) UV(0.189453, 0.630859)
|
||||
V 431: Pos(0.0, 0.3175, 0.885278) Norm(-0.169763, -0.853454, -0.492743) UV(0.189453, 0.672526)
|
||||
V 432: Pos(0.121502, 0.293332, 0.885278) Norm(-0.169763, -0.853454, -0.492743) UV(0.142578, 0.672526)
|
||||
V 433: Pos(0.0, 0.3345, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.189453, 0.714193)
|
||||
V 434: Pos(0.0, 0.3345, 0.885278) Norm(0.169763, 0.853455, -0.492742) UV(0.189453, 0.714193)
|
||||
V 435: Pos(0.0, 0.343, 0.9) Norm(0.169763, 0.853455, -0.492742) UV(0.189453, 0.755859)
|
||||
V 436: Pos(0.13126, 0.316891, 0.9) Norm(0.169763, 0.853455, -0.492742) UV(0.142578, 0.755859)
|
||||
V 437: Pos(-0.128008, 0.309038, 0.914722) Norm(-0.169763, 0.853456, 0.492741) UV(0.236328, 0.547526)
|
||||
V 438: Pos(-0.121502, 0.293332, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.236328, 0.589193)
|
||||
V 439: Pos(0.0, 0.309, 0.9) Norm(-0.169763, 0.853456, -0.492741) UV(0.189453, 0.630859)
|
||||
V 440: Pos(-0.118249, 0.285479, 0.9) Norm(-0.169763, 0.853456, -0.492741) UV(0.236328, 0.630859)
|
||||
V 441: Pos(-0.121502, 0.293332, 0.914722) Norm(-0.169763, 0.853456, -0.492741) UV(0.236328, 0.589193)
|
||||
V 442: Pos(-0.118249, 0.285479, 0.9) Norm(0.169763, -0.853455, -0.492743) UV(0.236328, 0.630859)
|
||||
V 443: Pos(-0.121502, 0.293332, 0.885278) Norm(0.169763, -0.853455, -0.492743) UV(0.236328, 0.672526)
|
||||
V 444: Pos(0.0, 0.3175, 0.885278) Norm(0.169763, -0.853455, -0.492743) UV(0.189453, 0.672526)
|
||||
V 445: Pos(-0.128008, 0.309038, 0.885278) Norm(-0.169763, 0.853455, -0.492743) UV(0.236328, 0.714193)
|
||||
V 446: Pos(-0.13126, 0.316891, 0.9) Norm(-0.169763, 0.853455, -0.492743) UV(0.236328, 0.755859)
|
||||
V 447: Pos(0.0, 0.343, 0.9) Norm(-0.169763, 0.853455, -0.492743) UV(0.189453, 0.755859)
|
||||
V 448: Pos(-0.128008, 0.309038, 0.914722) Norm(0.483444, -0.723524, -0.492742) UV(0.236328, 0.547526)
|
||||
V 449: Pos(-0.236527, 0.236527, 0.914722) Norm(0.483444, -0.723524, -0.492742) UV(0.283203, 0.547526)
|
||||
V 450: Pos(-0.242538, 0.242538, 0.9) Norm(0.483444, -0.723524, -0.492742) UV(0.283203, 0.505859)
|
||||
V 451: Pos(-0.224506, 0.224506, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.283203, 0.589193)
|
||||
V 452: Pos(-0.224506, 0.224506, 0.914722) Norm(0.483444, -0.723524, 0.492742) UV(0.283203, 0.589193)
|
||||
V 453: Pos(-0.218496, 0.218496, 0.9) Norm(0.483444, -0.723524, 0.492742) UV(0.283203, 0.630859)
|
||||
V 454: Pos(-0.118249, 0.285479, 0.9) Norm(0.483444, -0.723524, 0.492742) UV(0.236328, 0.630859)
|
||||
V 455: Pos(-0.224506, 0.224506, 0.885278) Norm(-0.483443, 0.723524, 0.492743) UV(0.283203, 0.672526)
|
||||
V 456: Pos(-0.236527, 0.236527, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.283203, 0.714193)
|
||||
V 457: Pos(-0.242538, 0.242538, 0.9) Norm(0.483443, -0.723524, 0.492743) UV(0.283203, 0.755859)
|
||||
V 458: Pos(-0.236527, 0.236527, 0.914722) Norm(0.723525, -0.483444, -0.492741) UV(0.033203, 0.547526)
|
||||
V 459: Pos(-0.309038, 0.128008, 0.914722) Norm(0.723525, -0.483444, -0.492741) UV(0.080078, 0.547526)
|
||||
V 460: Pos(-0.316891, 0.13126, 0.9) Norm(0.723525, -0.483444, -0.492741) UV(0.080078, 0.505859)
|
||||
V 461: Pos(-0.285479, 0.118249, 0.9) Norm(-0.723525, 0.483444, -0.492742) UV(0.080078, 0.630859)
|
||||
V 462: Pos(-0.293332, 0.121502, 0.885278) Norm(-0.723524, 0.483443, 0.492743) UV(0.080078, 0.672526)
|
||||
V 463: Pos(-0.309038, 0.128008, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.080078, 0.714193)
|
||||
V 464: Pos(-0.316891, 0.13126, 0.9) Norm(-0.723524, 0.483443, -0.492743) UV(0.080078, 0.755859)
|
||||
V 465: Pos(-0.3345, 0.0, 0.914722) Norm(-0.853456, 0.169763, 0.492741) UV(0.126953, 0.547526)
|
||||
V 466: Pos(-0.285479, 0.118249, 0.9) Norm(-0.853455, 0.169763, -0.492742) UV(0.080078, 0.630859)
|
||||
V 467: Pos(-0.309, 0.0, 0.9) Norm(-0.853455, 0.169763, -0.492742) UV(0.126953, 0.630859)
|
||||
V 468: Pos(-0.3175, 0.0, 0.914722) Norm(-0.853455, 0.169763, -0.492742) UV(0.126953, 0.589193)
|
||||
V 469: Pos(-0.309, 0.0, 0.9) Norm(0.853454, -0.169763, -0.492743) UV(0.126953, 0.630859)
|
||||
V 470: Pos(-0.3175, 0.0, 0.885278) Norm(0.853454, -0.169763, -0.492743) UV(0.126953, 0.672526)
|
||||
V 471: Pos(-0.293332, 0.121502, 0.885278) Norm(0.853454, -0.169763, -0.492743) UV(0.080078, 0.672526)
|
||||
V 472: Pos(-0.3345, 0.0, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.126953, 0.714193)
|
||||
V 473: Pos(-0.3345, 0.0, 0.885278) Norm(-0.853455, 0.169763, -0.492742) UV(0.126953, 0.714193)
|
||||
V 474: Pos(-0.343, 0.0, 0.9) Norm(-0.853455, 0.169763, -0.492742) UV(0.126953, 0.755859)
|
||||
V 475: Pos(-0.316891, 0.13126, 0.9) Norm(-0.853455, 0.169763, -0.492742) UV(0.080078, 0.755859)
|
||||
V 476: Pos(-0.309038, -0.128008, 0.914722) Norm(-0.853456, -0.169763, 0.492741) UV(0.173828, 0.547526)
|
||||
V 477: Pos(-0.293332, -0.121502, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.173828, 0.589193)
|
||||
V 478: Pos(-0.309, 0.0, 0.9) Norm(-0.853456, -0.169763, -0.492741) UV(0.126953, 0.630859)
|
||||
V 479: Pos(-0.285479, -0.118249, 0.9) Norm(-0.853456, -0.169763, -0.492741) UV(0.173828, 0.630859)
|
||||
V 480: Pos(-0.293332, -0.121502, 0.914722) Norm(-0.853456, -0.169763, -0.492741) UV(0.173828, 0.589193)
|
||||
V 481: Pos(-0.285479, -0.118249, 0.9) Norm(0.853455, 0.169763, -0.492743) UV(0.173828, 0.630859)
|
||||
V 482: Pos(-0.293332, -0.121502, 0.885278) Norm(0.853455, 0.169763, -0.492743) UV(0.173828, 0.672526)
|
||||
V 483: Pos(-0.3175, 0.0, 0.885278) Norm(0.853455, 0.169763, -0.492743) UV(0.126953, 0.672526)
|
||||
V 484: Pos(-0.309038, -0.128008, 0.885278) Norm(-0.853455, -0.169763, -0.492743) UV(0.173828, 0.714193)
|
||||
V 485: Pos(-0.316891, -0.13126, 0.9) Norm(-0.853455, -0.169763, -0.492743) UV(0.173828, 0.755859)
|
||||
V 486: Pos(-0.343, 0.0, 0.9) Norm(-0.853455, -0.169763, -0.492743) UV(0.126953, 0.755859)
|
||||
V 487: Pos(-0.309038, -0.128008, 0.914722) Norm(0.723524, 0.483444, -0.492742) UV(0.173828, 0.547526)
|
||||
V 488: Pos(-0.236527, -0.236527, 0.914722) Norm(0.723524, 0.483444, -0.492742) UV(0.220703, 0.547526)
|
||||
V 489: Pos(-0.242538, -0.242538, 0.9) Norm(0.723524, 0.483444, -0.492742) UV(0.220703, 0.505859)
|
||||
V 490: Pos(-0.285479, -0.118249, 0.9) Norm(-0.723524, -0.483444, -0.492742) UV(0.173828, 0.630859)
|
||||
V 491: Pos(-0.218496, -0.218496, 0.9) Norm(-0.723524, -0.483444, -0.492742) UV(0.220703, 0.630859)
|
||||
V 492: Pos(-0.224506, -0.224506, 0.914722) Norm(-0.723524, -0.483444, -0.492742) UV(0.220703, 0.589193)
|
||||
V 493: Pos(-0.224506, -0.224506, 0.885278) Norm(-0.723524, -0.483443, 0.492743) UV(0.220703, 0.672526)
|
||||
V 494: Pos(-0.242538, -0.242538, 0.9) Norm(-0.723524, -0.483443, -0.492743) UV(0.220703, 0.755859)
|
||||
V 495: Pos(-0.236527, -0.236527, 0.914722) Norm(0.483444, 0.723525, -0.492741) UV(0.220703, 0.547526)
|
||||
V 496: Pos(-0.128008, -0.309038, 0.914722) Norm(0.483444, 0.723525, -0.492741) UV(0.267578, 0.547526)
|
||||
V 497: Pos(-0.13126, -0.316891, 0.9) Norm(0.483444, 0.723525, -0.492741) UV(0.267578, 0.505859)
|
||||
V 498: Pos(-0.121502, -0.293332, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.267578, 0.589193)
|
||||
V 499: Pos(-0.118249, -0.285479, 0.9) Norm(0.483444, 0.723525, 0.492742) UV(0.267578, 0.630859)
|
||||
V 500: Pos(-0.121502, -0.293332, 0.885278) Norm(0.483443, 0.723524, -0.492743) UV(0.267578, 0.672526)
|
||||
V 501: Pos(-0.128008, -0.309038, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.267578, 0.714193)
|
||||
V 502: Pos(-0.13126, -0.316891, 0.9) Norm(-0.483443, -0.723524, -0.492743) UV(0.267578, 0.755859)
|
||||
V 503: Pos(0.0, -0.3345, 0.914722) Norm(-0.169763, -0.853456, 0.492741) UV(0.064453, 0.547526)
|
||||
V 504: Pos(-0.118249, -0.285479, 0.9) Norm(-0.169763, -0.853455, -0.492742) UV(0.017578, 0.630859)
|
||||
V 505: Pos(0.0, -0.309, 0.9) Norm(-0.169763, -0.853455, -0.492742) UV(0.064453, 0.630859)
|
||||
V 506: Pos(0.0, -0.3175, 0.914722) Norm(-0.169763, -0.853455, -0.492742) UV(0.064453, 0.589193)
|
||||
V 507: Pos(0.0, -0.309, 0.9) Norm(0.169763, 0.853454, -0.492743) UV(0.064453, 0.630859)
|
||||
V 508: Pos(0.0, -0.3175, 0.885278) Norm(0.169763, 0.853454, -0.492743) UV(0.064453, 0.672526)
|
||||
V 509: Pos(-0.121502, -0.293332, 0.885278) Norm(0.169763, 0.853454, -0.492743) UV(0.017578, 0.672526)
|
||||
V 510: Pos(0.0, -0.3345, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.064453, 0.714193)
|
||||
V 511: Pos(0.0, -0.3345, 0.885278) Norm(-0.169763, -0.853455, -0.492742) UV(0.064453, 0.714193)
|
||||
V 512: Pos(0.0, -0.343, 0.9) Norm(-0.169763, -0.853455, -0.492742) UV(0.064453, 0.755859)
|
||||
V 513: Pos(-0.13126, -0.316891, 0.9) Norm(-0.169763, -0.853455, -0.492742) UV(0.017578, 0.755859)
|
||||
V 514: Pos(0.128008, -0.309038, 0.914722) Norm(0.169763, -0.853456, 0.492741) UV(0.111328, 0.547526)
|
||||
V 515: Pos(0.121502, -0.293332, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.111328, 0.589193)
|
||||
V 516: Pos(0.0, -0.309, 0.9) Norm(0.169763, -0.853456, -0.492741) UV(0.064453, 0.630859)
|
||||
V 517: Pos(0.118249, -0.285479, 0.9) Norm(0.169763, -0.853456, -0.492741) UV(0.111328, 0.630859)
|
||||
V 518: Pos(0.121502, -0.293332, 0.914722) Norm(0.169763, -0.853456, -0.492741) UV(0.111328, 0.589193)
|
||||
V 519: Pos(0.118249, -0.285479, 0.9) Norm(-0.169763, 0.853455, -0.492743) UV(0.111328, 0.630859)
|
||||
V 520: Pos(0.121502, -0.293332, 0.885278) Norm(-0.169763, 0.853455, -0.492743) UV(0.111328, 0.672526)
|
||||
V 521: Pos(0.0, -0.3175, 0.885278) Norm(-0.169763, 0.853455, -0.492743) UV(0.064453, 0.672526)
|
||||
V 522: Pos(0.128008, -0.309038, 0.885278) Norm(0.169763, -0.853455, -0.492743) UV(0.111328, 0.714193)
|
||||
V 523: Pos(0.13126, -0.316891, 0.9) Norm(0.169763, -0.853455, -0.492743) UV(0.111328, 0.755859)
|
||||
V 524: Pos(0.0, -0.343, 0.9) Norm(0.169763, -0.853455, -0.492743) UV(0.064453, 0.755859)
|
||||
V 525: Pos(0.128008, -0.309038, 0.914722) Norm(-0.483444, 0.723524, -0.492742) UV(0.111328, 0.547526)
|
||||
V 526: Pos(0.236527, -0.236527, 0.914722) Norm(-0.483444, 0.723524, -0.492742) UV(0.158203, 0.547526)
|
||||
V 527: Pos(0.242538, -0.242538, 0.9) Norm(-0.483444, 0.723524, -0.492742) UV(0.158203, 0.505859)
|
||||
V 528: Pos(0.224506, -0.224506, 0.914722) Norm(0.0, 0.0, -1.0) UV(0.158203, 0.589193)
|
||||
V 529: Pos(0.224506, -0.224506, 0.914722) Norm(-0.483444, 0.723524, 0.492742) UV(0.158203, 0.589193)
|
||||
V 530: Pos(0.218496, -0.218496, 0.9) Norm(-0.483444, 0.723524, 0.492742) UV(0.158203, 0.630859)
|
||||
V 531: Pos(0.118249, -0.285479, 0.9) Norm(-0.483444, 0.723524, 0.492742) UV(0.111328, 0.630859)
|
||||
V 532: Pos(0.224506, -0.224506, 0.885278) Norm(0.483443, -0.723524, 0.492743) UV(0.158203, 0.672526)
|
||||
V 533: Pos(0.242538, -0.242538, 0.9) Norm(-0.483443, 0.723524, 0.492743) UV(0.158203, 0.755859)
|
||||
V 534: Pos(0.236527, -0.236527, 0.914722) Norm(-0.723525, 0.483444, -0.492741) UV(0.158203, 0.547526)
|
||||
V 535: Pos(0.309038, -0.128008, 0.914722) Norm(-0.723525, 0.483444, -0.492741) UV(0.205078, 0.547526)
|
||||
V 536: Pos(0.316891, -0.13126, 0.9) Norm(-0.723525, 0.483444, -0.492741) UV(0.205078, 0.505859)
|
||||
V 537: Pos(0.285479, -0.118249, 0.9) Norm(0.723525, -0.483444, -0.492742) UV(0.205078, 0.630859)
|
||||
V 538: Pos(0.293332, -0.121502, 0.885278) Norm(0.723524, -0.483443, 0.492743) UV(0.205078, 0.672526)
|
||||
V 539: Pos(0.309038, -0.128008, 0.885278) Norm(0.0, 0.0, -1.0) UV(0.205078, 0.714193)
|
||||
V 540: Pos(0.316891, -0.13126, 0.9) Norm(0.723524, -0.483443, -0.492743) UV(0.205078, 0.755859)
|
||||
V 541: Pos(0.3345, 0.0, 0.914722) Norm(0.853456, -0.169763, 0.492741) UV(0.251953, 0.547526)
|
||||
V 542: Pos(0.3345, 0.0, 0.914722) Norm(0.0, 0.0, 1.0) UV(0.251953, 0.547526)
|
||||
V 543: Pos(0.285479, -0.118249, 0.9) Norm(0.853455, -0.169763, -0.492742) UV(0.205078, 0.630859)
|
||||
V 544: Pos(0.309, 0.0, 0.9) Norm(0.853455, -0.169763, -0.492742) UV(0.251953, 0.630859)
|
||||
V 545: Pos(0.3175, 0.0, 0.914722) Norm(0.853455, -0.169763, -0.492742) UV(0.251953, 0.589193)
|
||||
V 546: Pos(0.309, 0.0, 0.9) Norm(-0.853454, 0.169763, -0.492743) UV(0.251953, 0.630859)
|
||||
V 547: Pos(0.3175, 0.0, 0.885278) Norm(-0.853454, 0.169763, -0.492743) UV(0.251953, 0.672526)
|
||||
V 548: Pos(0.293332, -0.121502, 0.885278) Norm(-0.853454, 0.169763, -0.492743) UV(0.205078, 0.672526)
|
||||
V 549: Pos(0.3345, 0.0, 0.885278) Norm(0.0, 0.0, 1.0) UV(0.251953, 0.714193)
|
||||
V 550: Pos(0.3345, 0.0, 0.885278) Norm(0.853455, -0.169763, -0.492742) UV(0.251953, 0.714193)
|
||||
V 551: Pos(0.343, 0.0, 0.9) Norm(0.853455, -0.169763, -0.492742) UV(0.251953, 0.755859)
|
||||
V 552: Pos(0.316891, -0.13126, 0.9) Norm(0.853455, -0.169763, -0.492742) UV(0.205078, 0.755859)
|
||||
V 553: Pos(0.308, 0.0, 0.88) Norm(-0.980785, -0.19509, 0.0) UV(0.505859, 0.345703)
|
||||
V 554: Pos(0.284555, 0.117866, 0.88) Norm(-0.83147, -0.55557, 0.0) UV(0.552734, 0.345703)
|
||||
V 555: Pos(0.217789, 0.217789, 0.88) Norm(-0.55557, -0.83147, 0.0) UV(0.599609, 0.345703)
|
||||
V 556: Pos(0.117866, 0.284555, 0.88) Norm(-0.19509, -0.980785, 0.0) UV(0.646484, 0.345703)
|
||||
V 557: Pos(0.0, 0.308, 0.88) Norm(0.19509, -0.980785, 0.0) UV(0.693359, 0.345703)
|
||||
V 558: Pos(-0.117866, 0.284555, 0.88) Norm(0.55557, -0.83147, 0.0) UV(0.740234, 0.345703)
|
||||
V 559: Pos(-0.217789, 0.217789, 0.88) Norm(0.83147, -0.55557, 0.0) UV(0.787109, 0.345703)
|
||||
V 560: Pos(-0.284555, 0.117866, 0.88) Norm(0.980785, -0.19509, 0.0) UV(0.833984, 0.345703)
|
||||
V 561: Pos(-0.308, 0.0, 0.88) Norm(0.980785, 0.19509, 0.0) UV(0.505859, 0.345703)
|
||||
V 562: Pos(-0.284555, -0.117866, 0.88) Norm(0.83147, 0.55557, 0.0) UV(0.552734, 0.345703)
|
||||
V 563: Pos(-0.217789, -0.217789, 0.88) Norm(0.55557, 0.83147, 0.0) UV(0.599609, 0.345703)
|
||||
V 564: Pos(-0.117866, -0.284555, 0.88) Norm(0.19509, 0.980785, 0.0) UV(0.646484, 0.345703)
|
||||
V 565: Pos(0.0, -0.308, 0.88) Norm(-0.19509, 0.980785, 0.0) UV(0.693359, 0.345703)
|
||||
V 566: Pos(0.117866, -0.284555, 0.88) Norm(-0.55557, 0.83147, 0.0) UV(0.740234, 0.345703)
|
||||
V 567: Pos(0.217789, -0.217789, 0.88) Norm(-0.83147, 0.55557, 0.0) UV(0.787109, 0.345703)
|
||||
V 568: Pos(0.284555, -0.117866, 0.88) Norm(-0.980785, 0.19509, 0.0) UV(0.833984, 0.345703)
|
||||
V 569: Pos(0.284555, -0.117866, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 570: Pos(0.217789, -0.217789, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 571: Pos(0.117866, -0.284555, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 572: Pos(0.0, -0.308, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 573: Pos(-0.117866, -0.284555, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 574: Pos(-0.217789, -0.217789, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 575: Pos(-0.284555, -0.117866, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 576: Pos(-0.284555, 0.117866, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 577: Pos(-0.217789, 0.217789, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 578: Pos(-0.117866, 0.284555, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 579: Pos(0.117866, 0.284555, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 580: Pos(0.217789, 0.217789, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
V 581: Pos(0.284555, 0.117866, 0.35) Norm(0.0, 0.0, -1.0) UV(0.702148, 0.509766)
|
||||
|
||||
===Triangles (Indices): 274
|
||||
Tri: 0 1 2
|
||||
Tri: 3 4 5
|
||||
Tri: 6 7 8
|
||||
Tri: 9 10 11
|
||||
Tri: 12 13 14
|
||||
Tri: 15 16 17
|
||||
Tri: 18 19 20
|
||||
Tri: 21 22 23
|
||||
Tri: 24 25 26
|
||||
Tri: 27 28 29
|
||||
Tri: 30 31 32
|
||||
Tri: 33 34 35
|
||||
Tri: 36 37 38
|
||||
Tri: 39 40 41
|
||||
Tri: 42 43 44
|
||||
Tri: 45 46 47
|
||||
Tri: 48 49 50
|
||||
Tri: 51 52 53
|
||||
Tri: 54 55 56
|
||||
Tri: 57 58 59
|
||||
Tri: 60 61 62
|
||||
Tri: 63 64 65
|
||||
Tri: 66 67 68
|
||||
Tri: 69 70 71
|
||||
Tri: 72 73 74
|
||||
Tri: 75 76 77
|
||||
Tri: 78 79 80
|
||||
Tri: 81 82 83
|
||||
Tri: 84 85 86
|
||||
Tri: 87 88 89
|
||||
Tri: 90 91 92
|
||||
Tri: 93 94 76
|
||||
Tri: 95 96 97
|
||||
Tri: 98 99 100
|
||||
Tri: 101 102 84
|
||||
Tri: 103 104 105
|
||||
Tri: 106 107 108
|
||||
Tri: 109 110 111
|
||||
Tri: 112 113 114
|
||||
Tri: 115 116 117
|
||||
Tri: 118 119 120
|
||||
Tri: 121 122 123
|
||||
Tri: 124 125 126
|
||||
Tri: 127 110 128
|
||||
Tri: 129 130 131
|
||||
Tri: 132 133 134
|
||||
Tri: 119 135 136
|
||||
Tri: 137 138 139
|
||||
Tri: 140 141 142
|
||||
Tri: 143 144 145
|
||||
Tri: 146 147 148
|
||||
Tri: 149 150 151
|
||||
Tri: 152 153 154
|
||||
Tri: 155 156 157
|
||||
Tri: 158 159 160
|
||||
Tri: 161 162 163
|
||||
Tri: 164 165 166
|
||||
Tri: 167 168 169
|
||||
Tri: 170 171 172
|
||||
Tri: 173 174 175
|
||||
Tri: 176 177 178
|
||||
Tri: 161 179 180
|
||||
Tri: 181 182 183
|
||||
Tri: 184 185 186
|
||||
Tri: 187 188 189
|
||||
Tri: 190 191 192
|
||||
Tri: 193 194 195
|
||||
Tri: 196 179 197
|
||||
Tri: 198 199 200
|
||||
Tri: 201 202 203
|
||||
Tri: 188 204 205
|
||||
Tri: 206 207 208
|
||||
Tri: 209 210 211
|
||||
Tri: 212 213 214
|
||||
Tri: 215 216 217
|
||||
Tri: 218 219 220
|
||||
Tri: 221 222 223
|
||||
Tri: 224 225 226
|
||||
Tri: 227 228 229
|
||||
Tri: 230 231 213
|
||||
Tri: 232 233 234
|
||||
Tri: 235 236 237
|
||||
Tri: 238 239 221
|
||||
Tri: 240 241 242
|
||||
Tri: 243 244 245
|
||||
Tri: 246 247 248
|
||||
Tri: 249 250 251
|
||||
Tri: 252 253 254
|
||||
Tri: 255 256 257
|
||||
Tri: 258 259 260
|
||||
Tri: 261 262 263
|
||||
Tri: 264 247 265
|
||||
Tri: 266 267 268
|
||||
Tri: 269 270 271
|
||||
Tri: 256 272 273
|
||||
Tri: 274 275 276
|
||||
Tri: 277 278 279
|
||||
Tri: 280 281 282
|
||||
Tri: 283 284 285
|
||||
Tri: 286 287 288
|
||||
Tri: 289 290 291
|
||||
Tri: 292 293 294
|
||||
Tri: 295 296 297
|
||||
Tri: 298 299 300
|
||||
Tri: 301 302 303
|
||||
Tri: 304 305 306
|
||||
Tri: 307 308 289
|
||||
Tri: 309 310 311
|
||||
Tri: 312 313 314
|
||||
Tri: 298 315 316
|
||||
Tri: 317 318 319
|
||||
Tri: 320 321 322
|
||||
Tri: 323 324 325
|
||||
Tri: 326 327 328
|
||||
Tri: 329 330 331
|
||||
Tri: 332 333 334
|
||||
Tri: 335 336 337
|
||||
Tri: 338 339 340
|
||||
Tri: 341 342 343
|
||||
Tri: 344 345 346
|
||||
Tri: 347 348 349
|
||||
Tri: 350 351 352
|
||||
Tri: 353 354 355
|
||||
Tri: 356 357 358
|
||||
Tri: 359 360 361
|
||||
Tri: 362 363 364
|
||||
Tri: 365 366 367
|
||||
Tri: 368 369 370
|
||||
Tri: 371 372 373
|
||||
Tri: 374 375 376
|
||||
Tri: 377 378 379
|
||||
Tri: 0 380 1
|
||||
Tri: 3 381 4
|
||||
Tri: 6 382 7
|
||||
Tri: 9 383 10
|
||||
Tri: 12 384 13
|
||||
Tri: 15 385 16
|
||||
Tri: 18 386 19
|
||||
Tri: 21 387 22
|
||||
Tri: 24 388 25
|
||||
Tri: 27 389 28
|
||||
Tri: 30 390 31
|
||||
Tri: 33 391 34
|
||||
Tri: 36 392 37
|
||||
Tri: 39 393 40
|
||||
Tri: 42 394 43
|
||||
Tri: 45 395 46
|
||||
Tri: 48 396 49
|
||||
Tri: 51 397 52
|
||||
Tri: 54 398 55
|
||||
Tri: 57 399 58
|
||||
Tri: 400 401 402
|
||||
Tri: 403 404 405
|
||||
Tri: 66 406 67
|
||||
Tri: 407 408 409
|
||||
Tri: 410 411 412
|
||||
Tri: 75 93 76
|
||||
Tri: 413 414 415
|
||||
Tri: 81 416 82
|
||||
Tri: 84 102 85
|
||||
Tri: 87 417 88
|
||||
Tri: 418 419 420
|
||||
Tri: 93 421 94
|
||||
Tri: 95 422 96
|
||||
Tri: 98 423 99
|
||||
Tri: 101 424 102
|
||||
Tri: 103 425 104
|
||||
Tri: 106 426 107
|
||||
Tri: 109 128 110
|
||||
Tri: 427 428 429
|
||||
Tri: 430 431 432
|
||||
Tri: 118 433 119
|
||||
Tri: 434 435 436
|
||||
Tri: 124 437 125
|
||||
Tri: 127 438 110
|
||||
Tri: 439 440 441
|
||||
Tri: 442 443 444
|
||||
Tri: 119 433 135
|
||||
Tri: 445 446 447
|
||||
Tri: 448 449 450
|
||||
Tri: 143 451 144
|
||||
Tri: 452 453 454
|
||||
Tri: 149 455 150
|
||||
Tri: 152 456 153
|
||||
Tri: 155 457 156
|
||||
Tri: 458 459 460
|
||||
Tri: 161 180 162
|
||||
Tri: 164 461 165
|
||||
Tri: 167 462 168
|
||||
Tri: 170 463 171
|
||||
Tri: 173 464 174
|
||||
Tri: 176 465 177
|
||||
Tri: 161 197 179
|
||||
Tri: 466 467 468
|
||||
Tri: 469 470 471
|
||||
Tri: 187 472 188
|
||||
Tri: 473 474 475
|
||||
Tri: 193 476 194
|
||||
Tri: 196 477 179
|
||||
Tri: 478 479 480
|
||||
Tri: 481 482 483
|
||||
Tri: 188 472 204
|
||||
Tri: 484 485 486
|
||||
Tri: 487 488 489
|
||||
Tri: 212 230 213
|
||||
Tri: 490 491 492
|
||||
Tri: 218 493 219
|
||||
Tri: 221 239 222
|
||||
Tri: 224 494 225
|
||||
Tri: 495 496 497
|
||||
Tri: 230 498 231
|
||||
Tri: 232 499 233
|
||||
Tri: 235 500 236
|
||||
Tri: 238 501 239
|
||||
Tri: 240 502 241
|
||||
Tri: 243 503 244
|
||||
Tri: 246 265 247
|
||||
Tri: 504 505 506
|
||||
Tri: 507 508 509
|
||||
Tri: 255 510 256
|
||||
Tri: 511 512 513
|
||||
Tri: 261 514 262
|
||||
Tri: 264 515 247
|
||||
Tri: 516 517 518
|
||||
Tri: 519 520 521
|
||||
Tri: 256 510 272
|
||||
Tri: 522 523 524
|
||||
Tri: 525 526 527
|
||||
Tri: 280 528 281
|
||||
Tri: 529 530 531
|
||||
Tri: 286 532 287
|
||||
Tri: 289 308 290
|
||||
Tri: 292 533 293
|
||||
Tri: 534 535 536
|
||||
Tri: 298 316 299
|
||||
Tri: 301 537 302
|
||||
Tri: 304 538 305
|
||||
Tri: 307 539 308
|
||||
Tri: 309 540 310
|
||||
Tri: 312 541 313
|
||||
Tri: 298 542 315
|
||||
Tri: 543 544 545
|
||||
Tri: 546 547 548
|
||||
Tri: 323 549 324
|
||||
Tri: 550 551 552
|
||||
Tri: 329 553 330
|
||||
Tri: 332 554 333
|
||||
Tri: 335 555 336
|
||||
Tri: 338 556 339
|
||||
Tri: 341 557 342
|
||||
Tri: 344 558 345
|
||||
Tri: 347 559 348
|
||||
Tri: 350 560 351
|
||||
Tri: 353 561 354
|
||||
Tri: 356 562 357
|
||||
Tri: 359 563 360
|
||||
Tri: 362 564 363
|
||||
Tri: 365 565 366
|
||||
Tri: 368 566 369
|
||||
Tri: 371 567 372
|
||||
Tri: 374 568 375
|
||||
Tri: 379 569 570
|
||||
Tri: 570 571 572
|
||||
Tri: 572 573 574
|
||||
Tri: 574 575 377
|
||||
Tri: 377 576 577
|
||||
Tri: 577 578 378
|
||||
Tri: 378 579 580
|
||||
Tri: 580 581 379
|
||||
Tri: 379 570 572
|
||||
Tri: 572 574 377
|
||||
Tri: 377 577 378
|
||||
Tri: 378 580 379
|
||||
Tri: 379 572 377
|
||||
@@ -125,6 +125,14 @@ endif()
|
||||
|
||||
include(CTest)
|
||||
if(BUILD_TESTING)
|
||||
add_executable(
|
||||
GameServerPathFinderTests tests/PathFinderTests.cpp)
|
||||
target_link_libraries(GameServerPathFinderTests PRIVATE game_server_core)
|
||||
source_group(
|
||||
"Server\\Tests" FILES tests/PathFinderTests.cpp)
|
||||
add_test(
|
||||
NAME GameServer.PathFinder
|
||||
COMMAND GameServerPathFinderTests)
|
||||
add_executable(
|
||||
GameServerStateTests tests/LocationGameStateTests.cpp)
|
||||
target_link_libraries(GameServerStateTests PRIVATE game_server_core)
|
||||
|
||||
@@ -135,6 +135,64 @@ int main()
|
||||
|
||||
FRG::PlayerStateMap noPlayers;
|
||||
state.update(50, noPlayers, false);
|
||||
auto disabledPlayer = std::make_shared<FRG::CharacterState>();
|
||||
disabledPlayer->configureAsPlayer();
|
||||
disabledPlayer->enabled = false;
|
||||
state.location->targetInteractiveObjectId = "object";
|
||||
state.location->targetInteractNpcId = "npc";
|
||||
FRG::PlayerStateMap disabledPlayers{{"player", disabledPlayer}};
|
||||
const FRG::LocationSimulationEvents disabledEvents =
|
||||
state.update(50, disabledPlayers, false);
|
||||
if (!disabledEvents.interactiveObjects.empty() ||
|
||||
!disabledEvents.npcInteractionId.empty()) {
|
||||
return fail("Disabled player interacted with location entities");
|
||||
}
|
||||
|
||||
auto& hostileNpc = *state.npcs.at("npc");
|
||||
hostileNpc.enabled = true;
|
||||
hostileNpc.canAttack = true;
|
||||
hostileNpc.hp = hostileNpc.initialHp = 75.f;
|
||||
hostileNpc.position = Eigen::Vector3f::Zero();
|
||||
hostileNpc.homePosition = {5.f, 0.f, 0.f};
|
||||
hostileNpc.stopInPlace();
|
||||
|
||||
auto playerOne = std::make_shared<FRG::CharacterState>();
|
||||
playerOne->configureAsPlayer();
|
||||
playerOne->enabled = true;
|
||||
playerOne->position = {3.f, 0.f, 0.f};
|
||||
auto playerTwo = std::make_shared<FRG::CharacterState>();
|
||||
playerTwo->configureAsPlayer();
|
||||
playerTwo->enabled = true;
|
||||
playerTwo->position = {2.f, 0.f, 0.f};
|
||||
FRG::PlayerStateMap combatPlayers{
|
||||
{"player", playerOne}, {"player2", playerTwo}};
|
||||
|
||||
state.update(100, combatPlayers, false);
|
||||
if (hostileNpc.attackTargetId != "player2") {
|
||||
return fail("Hostile NPC did not select the nearest player");
|
||||
}
|
||||
|
||||
playerOne->position = {1.f, 0.f, 0.f};
|
||||
playerTwo->position = {4.f, 0.f, 0.f};
|
||||
state.update(100, combatPlayers, false);
|
||||
if (hostileNpc.attackTargetId != "player2") {
|
||||
return fail("Hostile NPC did not retain its living target lock");
|
||||
}
|
||||
|
||||
playerTwo->hp = 0.f;
|
||||
state.update(100, combatPlayers, false);
|
||||
if (hostileNpc.attackTargetId != "player") {
|
||||
return fail("Hostile NPC did not acquire a replacement after target death");
|
||||
}
|
||||
|
||||
playerOne->enabled = false;
|
||||
state.update(100, combatPlayers, false);
|
||||
if (!hostileNpc.attackTargetId.empty() ||
|
||||
hostileNpc.battle_state != 0 ||
|
||||
(hostileNpc.requestedWalkTarget - hostileNpc.homePosition).norm() >
|
||||
FRG::CharacterState::kWalkThreshold) {
|
||||
return fail("Hostile NPC did not return home after losing its target");
|
||||
}
|
||||
|
||||
FRG::CampaignConfig battleZone;
|
||||
battleZone.id = "battle_zone";
|
||||
@@ -165,6 +223,8 @@ int main()
|
||||
return fail("Network campaign shared player was not created");
|
||||
if (networkSnapshot->players.count("player2") != 0)
|
||||
return fail("Network campaign unexpectedly created the test bot");
|
||||
if (networkSnapshot->players.at("player").state.enabled)
|
||||
return fail("Network campaign player slot was enabled before connection");
|
||||
|
||||
nlohmann::json loadedNetworkState;
|
||||
networkServer.save(loadedNetworkState);
|
||||
@@ -186,6 +246,88 @@ int main()
|
||||
Eigen::Vector3f(4.f, 0.f, 5.f))) {
|
||||
return fail("Loaded multiplayer slot position was overwritten");
|
||||
}
|
||||
if (loadedNetworkBot->second.state.enabled)
|
||||
return fail("Loaded multiplayer slot was enabled before connection");
|
||||
|
||||
const std::string locationId = loadedNetworkSnapshot->currentLocationId;
|
||||
networkServer.submit(FRG::SetCharacterPositionCommand{
|
||||
locationId, "player2", Eigen::Vector3f(7.f, 0.f, 8.f), true});
|
||||
networkServer.submit(FRG::SetCharacterFacingAngleCommand{
|
||||
locationId, "player2", 1.5f, true});
|
||||
networkServer.submit(FRG::SetCharacterFaceTargetCommand{
|
||||
locationId, "player2", "player"});
|
||||
networkServer.submit(FRG::SetCharacterEnabledCommand{
|
||||
locationId, "player2", false});
|
||||
const auto commandSnapshot = networkServer.snapshot();
|
||||
const auto commandCharacter = commandSnapshot->players.at("player2").state;
|
||||
if (!commandCharacter.position.isApprox(Eigen::Vector3f(7.f, 0.f, 8.f)) ||
|
||||
!commandCharacter.homePosition.isApprox(Eigen::Vector3f(7.f, 0.f, 8.f)) ||
|
||||
commandCharacter.facingAngle != 1.5f ||
|
||||
commandCharacter.targetFacingAngle != 1.5f ||
|
||||
!commandCharacter.faceTargetId.empty() ||
|
||||
commandCharacter.enabled) {
|
||||
return fail("Semantic character commands were not applied");
|
||||
}
|
||||
networkServer.submit(FRG::SetCharacterEnabledCommand{
|
||||
locationId, "player2", true});
|
||||
const auto enabledPlayer =
|
||||
networkServer.snapshot()->players.at("player2").state;
|
||||
if (!enabledPlayer.enabled || !enabledPlayer.attackTargetId.empty()) {
|
||||
return fail("Enabled player acquired an autonomous attack target");
|
||||
}
|
||||
|
||||
FRG::CharacterState guardedMover;
|
||||
guardedMover.configureAsPlayer();
|
||||
guardedMover.enabled = true;
|
||||
guardedMover.position = Eigen::Vector3f::Zero();
|
||||
guardedMover.walkTarget = Eigen::Vector3f(2.f, 0.f, 0.f);
|
||||
guardedMover.requestedWalkTarget = guardedMover.walkTarget;
|
||||
guardedMover.pathWaypoints = {guardedMover.walkTarget};
|
||||
const std::vector<FRG::CharacterMovementObstacle> movementObstacles{
|
||||
{"mover", Eigen::Vector3f::Zero(), 0.45f},
|
||||
{"blocker", Eigen::Vector3f(0.8f, 0.f, 0.f), 0.45f}};
|
||||
FRG::CharacterUpdateContext guardedContext;
|
||||
guardedContext.characterId = "mover";
|
||||
guardedContext.movementObstacles = &movementObstacles;
|
||||
FRG::CharacterUpdateEvents blockedEvents;
|
||||
for (int i = 0; i < 3; ++i)
|
||||
blockedEvents = guardedMover.update(100, guardedContext);
|
||||
if (!guardedMover.position.isZero() ||
|
||||
blockedEvents.forceNavigationReplan ||
|
||||
!guardedMover.pathWaypoints.empty()) {
|
||||
return fail("Movement guard did not cancel the blocked player action");
|
||||
}
|
||||
nlohmann::json guardedJson;
|
||||
guardedMover.save(guardedJson);
|
||||
FRG::CharacterState restoredGuardedMover;
|
||||
restoredGuardedMover.load(guardedJson);
|
||||
if (restoredGuardedMover.movementBlockedTicks !=
|
||||
guardedMover.movementBlockedTicks ||
|
||||
restoredGuardedMover.navigationRetryTicks !=
|
||||
guardedMover.navigationRetryTicks) {
|
||||
return fail("Movement blockage state did not round trip");
|
||||
}
|
||||
|
||||
FRG::LocationGameState occupancyState;
|
||||
auto stationary = std::make_shared<FRG::CharacterState>();
|
||||
stationary->enabled = true;
|
||||
stationary->hp = 10.f;
|
||||
stationary->position = Eigen::Vector3f(4.f, 0.f, 0.f);
|
||||
auto moving = std::make_shared<FRG::CharacterState>();
|
||||
moving->enabled = true;
|
||||
moving->hp = 10.f;
|
||||
moving->pathWaypoints = {Eigen::Vector3f(8.f, 0.f, 0.f)};
|
||||
moving->movedLastTick = true;
|
||||
FRG::PlayerStateMap occupancyPlayers{
|
||||
{"stationary", stationary}, {"moving", moving}};
|
||||
if (occupancyState.collectPathObstacles(
|
||||
"requester", occupancyPlayers).size() != 1 ||
|
||||
occupancyState.collectPathObstacles(
|
||||
"requester", occupancyPlayers, "moving").size() != 2 ||
|
||||
!occupancyState.collectPathObstacles(
|
||||
"stationary", occupancyPlayers).empty()) {
|
||||
return fail("Stationary obstacle collection policy is incorrect");
|
||||
}
|
||||
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
@@ -60,9 +60,38 @@ int main()
|
||||
parsedInput.target.isApprox(Eigen::Vector3f(1.23f, 0.f, -5.68f)),
|
||||
"destination input was not normalized");
|
||||
|
||||
FRG::CharacterActionInputMessage actionInput{
|
||||
8, "set_target", "hostile_npc"};
|
||||
FRG::CharacterActionInputMessage parsedActionInput;
|
||||
require(
|
||||
FRG::parseCharacterActionInputMessage(
|
||||
FRG::makeCharacterActionInputMessage(actionInput),
|
||||
parsedActionInput, error),
|
||||
"character action input did not round trip");
|
||||
require(
|
||||
parsedActionInput.clientSequence == 8 &&
|
||||
parsedActionInput.action == "set_target" &&
|
||||
parsedActionInput.targetId == "hostile_npc",
|
||||
"character action input fields did not round trip");
|
||||
require(
|
||||
!FRG::parseCharacterActionInputMessage(
|
||||
R"({"protocolVersion":2,"type":"character_action","payload":{"clientSequence":1,"action":"unknown","targetId":""}})",
|
||||
parsedActionInput, error),
|
||||
"unknown character action was accepted");
|
||||
require(
|
||||
!FRG::parseCharacterActionInputMessage(
|
||||
R"({"protocolVersion":2,"type":"character_action","payload":{"clientSequence":1,"action":"set_target","targetId":""}})",
|
||||
parsedActionInput, error),
|
||||
"empty attack target was accepted");
|
||||
|
||||
FRG::TickMessage tick;
|
||||
tick.tickId = 43;
|
||||
tick.commands.push_back({1, "player", parsedInput.target});
|
||||
tick.commands.push_back(FRG::ScheduledDestinationCommand{
|
||||
1, "player", parsedInput.target});
|
||||
tick.commands.push_back(FRG::ScheduledCharacterEnabledCommand{
|
||||
2, "uni_exterior", "player2", true});
|
||||
tick.commands.push_back(FRG::ScheduledCharacterActionCommand{
|
||||
3, "player", "set_target", "hostile_npc"});
|
||||
tick.stateHash = "0123456789abcdef";
|
||||
FRG::TickMessage parsedTick;
|
||||
require(
|
||||
@@ -70,7 +99,15 @@ int main()
|
||||
FRG::makeTickMessage(tick), parsedTick, error),
|
||||
"tick message did not round trip");
|
||||
require(
|
||||
parsedTick.tickId == 43 && parsedTick.commands.size() == 1,
|
||||
parsedTick.tickId == 43 && parsedTick.commands.size() == 3 &&
|
||||
std::holds_alternative<FRG::ScheduledCharacterEnabledCommand>(
|
||||
parsedTick.commands[1]) &&
|
||||
std::get<FRG::ScheduledCharacterEnabledCommand>(
|
||||
parsedTick.commands[1]).enabled &&
|
||||
std::holds_alternative<FRG::ScheduledCharacterActionCommand>(
|
||||
parsedTick.commands[2]) &&
|
||||
std::get<FRG::ScheduledCharacterActionCommand>(
|
||||
parsedTick.commands[2]).targetId == "hostile_npc",
|
||||
"tick contents did not round trip");
|
||||
|
||||
require(
|
||||
@@ -120,9 +157,27 @@ int main()
|
||||
const FRG::TickMessage commandTick = timeline.advance();
|
||||
require(
|
||||
commandTick.tickId == 2 && commandTick.commands.size() == 2 &&
|
||||
commandTick.commands[0].commandSequence == firstSequence &&
|
||||
commandTick.commands[1].commandSequence == secondSequence,
|
||||
std::get<FRG::ScheduledDestinationCommand>(
|
||||
commandTick.commands[0]).commandSequence == firstSequence &&
|
||||
std::get<FRG::ScheduledDestinationCommand>(
|
||||
commandTick.commands[1]).commandSequence == secondSequence,
|
||||
"scheduled commands were not finalized in stable order");
|
||||
|
||||
timeline.scheduleCharacterEnabled("uni_exterior", "player2", true);
|
||||
timeline.scheduleCharacterAction("player", "clear_attack_target");
|
||||
const FRG::TickMessage presenceTick = timeline.advance();
|
||||
require(
|
||||
presenceTick.commands.size() == 1 &&
|
||||
std::holds_alternative<FRG::ScheduledCharacterEnabledCommand>(
|
||||
presenceTick.commands[0]),
|
||||
"character enabled command was not scheduled for the next tick");
|
||||
const FRG::TickMessage actionTick =
|
||||
timeline.advance();
|
||||
require(
|
||||
actionTick.commands.size() == 1 &&
|
||||
std::holds_alternative<FRG::ScheduledCharacterActionCommand>(
|
||||
actionTick.commands[0]),
|
||||
"character action was not scheduled with input delay");
|
||||
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
@@ -0,0 +1,269 @@
|
||||
#include "CharacterState.h"
|
||||
#include "LocationGameState.h"
|
||||
#include "navigation/PathFinder.h"
|
||||
#include <algorithm>
|
||||
#include <chrono>
|
||||
#include <cmath>
|
||||
#include <cstdlib>
|
||||
#include <filesystem>
|
||||
#include <fstream>
|
||||
#include <iostream>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
namespace {
|
||||
|
||||
int fail(const char* message)
|
||||
{
|
||||
std::cout << "PathFinderTests: " << message << std::endl;
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
std::filesystem::path writeGrid(
|
||||
const std::string& name, int width, int depth, bool corridor)
|
||||
{
|
||||
const auto path = std::filesystem::temp_directory_path() / name;
|
||||
std::ofstream output(path);
|
||||
output << "cellSize 1\nagentRadius 0.1\nfloorY 0\n"
|
||||
<< "minX 0\nminZ 0\ngridWidth " << width
|
||||
<< "\ngridDepth " << depth << "\n";
|
||||
for (int z = 0; z < depth; ++z) {
|
||||
for (int x = 0; x < width; ++x)
|
||||
output << (!corridor || z == depth / 2 ? '1' : '0');
|
||||
output << '\n';
|
||||
}
|
||||
return path;
|
||||
}
|
||||
|
||||
bool samePath(
|
||||
const std::vector<Eigen::Vector3f>& lhs,
|
||||
const std::vector<Eigen::Vector3f>& rhs)
|
||||
{
|
||||
if (lhs.size() != rhs.size()) return false;
|
||||
for (size_t i = 0; i < lhs.size(); ++i)
|
||||
if (lhs[i] != rhs[i]) return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
float segmentDistanceSquared(
|
||||
const Eigen::Vector3f& point,
|
||||
const Eigen::Vector3f& start,
|
||||
const Eigen::Vector3f& end)
|
||||
{
|
||||
const Eigen::Vector2f p(point.x(), point.z());
|
||||
const Eigen::Vector2f a(start.x(), start.z());
|
||||
const Eigen::Vector2f segment(end.x() - start.x(), end.z() - start.z());
|
||||
const float lengthSquared = segment.squaredNorm();
|
||||
const float t = lengthSquared > 1e-8f
|
||||
? (std::max)(0.f, (std::min)(1.f, (p - a).dot(segment) / lengthSquared))
|
||||
: 0.f;
|
||||
return (p - (a + segment * t)).squaredNorm();
|
||||
}
|
||||
|
||||
void runBenchmark(FRG::PathFinder& pathFinder, int queries)
|
||||
{
|
||||
std::vector<FRG::PathFinder::DynamicObstacle> obstacles;
|
||||
for (int i = 0; i < queries; ++i) {
|
||||
const float x = 4.5f + static_cast<float>((i * 7) % 70);
|
||||
const float z = 4.5f + static_cast<float>((i * 13) % 70);
|
||||
obstacles.push_back({Eigen::Vector3f(x, 0.f, z), 0.25f});
|
||||
}
|
||||
const auto start = std::chrono::steady_clock::now();
|
||||
size_t waypointCount = 0;
|
||||
for (int i = 0; i < queries; ++i) {
|
||||
const Eigen::Vector3f from(
|
||||
1.5f, 0.f, 1.5f + static_cast<float>(i % 30));
|
||||
const Eigen::Vector3f to(
|
||||
78.5f, 0.f, 78.5f - static_cast<float>(i % 30));
|
||||
waypointCount +=
|
||||
pathFinder.findPathToNearest(from, to, obstacles).size();
|
||||
}
|
||||
const auto elapsed = std::chrono::duration_cast<std::chrono::milliseconds>(
|
||||
std::chrono::steady_clock::now() - start);
|
||||
std::cout << "PathFinder benchmark " << queries << " characters/queries: "
|
||||
<< elapsed.count() << " ms, " << waypointCount
|
||||
<< " waypoints" << std::endl;
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
const bool benchmark = argc > 1 && std::string(argv[1]) == "--benchmark";
|
||||
const auto openGrid = writeGrid("frg_pathfinder_open.txt", 80, 80, false);
|
||||
FRG::PathFinder pathFinder;
|
||||
pathFinder.build(openGrid.string());
|
||||
if (!pathFinder.isReady()) return fail("Open test grid did not load");
|
||||
|
||||
const FRG::PathFinder::DynamicObstacle first{
|
||||
Eigen::Vector3f(8.5f, 0.f, 8.5f), 0.75f};
|
||||
const FRG::PathFinder::DynamicObstacle second{
|
||||
Eigen::Vector3f(12.5f, 0.f, 10.5f), 0.75f};
|
||||
const Eigen::Vector3f start(2.5f, 0.f, 8.5f);
|
||||
const Eigen::Vector3f end(18.5f, 0.f, 8.5f);
|
||||
const auto ordered = pathFinder.findPathToNearest(
|
||||
start, end, {first, second});
|
||||
const auto reversed = pathFinder.findPathToNearest(
|
||||
start, end, {second, first});
|
||||
if (ordered.empty() || !samePath(ordered, reversed))
|
||||
return fail("Obstacle insertion order changed the route");
|
||||
Eigen::Vector3f previous = start;
|
||||
for (const Eigen::Vector3f& point : ordered) {
|
||||
if (segmentDistanceSquared(
|
||||
first.position, previous, point) < 0.85f * 0.85f)
|
||||
return fail("Smoothed path crossed a dynamic obstacle");
|
||||
previous = point;
|
||||
}
|
||||
|
||||
const auto occupiedDestination =
|
||||
pathFinder.findPathToNearest(start, first.position, {first});
|
||||
if (occupiedDestination.empty())
|
||||
return fail("Occupied destination did not produce a nearest route");
|
||||
const Eigen::Vector3f occupiedEnd = occupiedDestination.back();
|
||||
const Eigen::Vector2f occupiedDelta(
|
||||
occupiedEnd.x() - first.position.x(),
|
||||
occupiedEnd.z() - first.position.z());
|
||||
if (occupiedDelta.squaredNorm() < 0.85f * 0.85f)
|
||||
return fail("Occupied destination ended inside the obstacle");
|
||||
|
||||
const auto corridorGrid =
|
||||
writeGrid("frg_pathfinder_corridor.txt", 20, 3, true);
|
||||
FRG::PathFinder corridor;
|
||||
corridor.build(corridorGrid.string());
|
||||
const FRG::PathFinder::DynamicObstacle blocker{
|
||||
Eigen::Vector3f(10.5f, 0.f, 1.5f), 0.45f};
|
||||
const auto nearest = corridor.findPathToNearest(
|
||||
Eigen::Vector3f(1.5f, 0.f, 1.5f),
|
||||
Eigen::Vector3f(18.5f, 0.f, 1.5f), {blocker});
|
||||
if (nearest.empty() || nearest.back().x() >= blocker.position.x())
|
||||
return fail("Nearest fallback ignored a dynamic blocker");
|
||||
|
||||
FRG::CharacterState guardedMover;
|
||||
guardedMover.configureAsPlayer();
|
||||
guardedMover.enabled = true;
|
||||
guardedMover.walkTarget = Eigen::Vector3f(2.f, 0.f, 0.f);
|
||||
guardedMover.requestedWalkTarget = guardedMover.walkTarget;
|
||||
guardedMover.pathWaypoints = {guardedMover.walkTarget};
|
||||
const std::vector<FRG::CharacterMovementObstacle> movementObstacles{
|
||||
{"mover", Eigen::Vector3f::Zero(), 0.45f},
|
||||
{"blocker", Eigen::Vector3f(0.8f, 0.f, 0.f), 0.45f}};
|
||||
FRG::CharacterUpdateContext guardedContext;
|
||||
guardedContext.characterId = "mover";
|
||||
guardedContext.movementObstacles = &movementObstacles;
|
||||
FRG::CharacterUpdateEvents blockedEvents;
|
||||
for (int i = 0; i < 3; ++i)
|
||||
blockedEvents = guardedMover.update(100, guardedContext);
|
||||
if (!guardedMover.position.isZero() ||
|
||||
blockedEvents.forceNavigationReplan ||
|
||||
!guardedMover.pathWaypoints.empty() ||
|
||||
guardedMover.requestedWalkTarget != guardedMover.position ||
|
||||
guardedMover.currentState != FRG::AnimationState::STAND)
|
||||
return fail("Blocked player action was not cancelled");
|
||||
|
||||
FRG::CharacterState retryingNpc;
|
||||
retryingNpc.enabled = true;
|
||||
retryingNpc.configureNavigationRetryCooldowns(
|
||||
"retrying_npc", {2, 3, 4, 5, 6, 7, 8, 9, 10, 11});
|
||||
FRG::CharacterState otherNpc;
|
||||
otherNpc.configureNavigationRetryCooldowns(
|
||||
"other_npc", {2, 3, 4, 5, 6, 7, 8, 9, 10, 11});
|
||||
if (otherNpc.navigationRetryCooldownTicks ==
|
||||
retryingNpc.navigationRetryCooldownTicks)
|
||||
return fail("Stable NPC IDs produced the same retry sequence");
|
||||
const int firstCooldown =
|
||||
retryingNpc.navigationRetryCooldownTicks.front();
|
||||
retryingNpc.walkTarget = Eigen::Vector3f(2.f, 0.f, 0.f);
|
||||
retryingNpc.requestedWalkTarget = retryingNpc.walkTarget;
|
||||
retryingNpc.pathWaypoints = {retryingNpc.walkTarget};
|
||||
const std::vector<FRG::CharacterMovementObstacle> movingBlocker{
|
||||
{"b", Eigen::Vector3f(0.8f, 0.f, 0.f), 0.45f, true,
|
||||
Eigen::Vector3f(-1.f, 0.f, 0.f)}};
|
||||
FRG::CharacterUpdateContext retryContext;
|
||||
retryContext.characterId = "retrying_npc";
|
||||
retryContext.movementObstacles = &movingBlocker;
|
||||
FRG::CharacterUpdateEvents retryEvents;
|
||||
for (int i = 0; i < 3; ++i)
|
||||
retryEvents = retryingNpc.update(100, retryContext);
|
||||
if (retryEvents.forceNavigationReplan ||
|
||||
!retryingNpc.pathWaypoints.empty() ||
|
||||
retryingNpc.navigationRetryTicks != firstCooldown ||
|
||||
retryingNpc.requestedWalkTarget != Eigen::Vector3f(2.f, 0.f, 0.f))
|
||||
return fail("Blocked NPC did not stop with a deterministic cooldown");
|
||||
for (int i = 0; i < firstCooldown; ++i)
|
||||
retryEvents = retryingNpc.update(100, retryContext);
|
||||
if (!retryEvents.forceNavigationReplan ||
|
||||
retryEvents.blockingCharacterId != "b")
|
||||
return fail("Blocked NPC did not retry after its cooldown");
|
||||
|
||||
retryingNpc.movedLastTick = true;
|
||||
nlohmann::json blockedState;
|
||||
retryingNpc.save(blockedState);
|
||||
FRG::CharacterState restoredMover;
|
||||
restoredMover.load(blockedState);
|
||||
if (restoredMover.movementBlockedTicks !=
|
||||
retryingNpc.movementBlockedTicks ||
|
||||
restoredMover.navigationRetryTicks !=
|
||||
retryingNpc.navigationRetryTicks ||
|
||||
restoredMover.navigationRetryCooldownTicks !=
|
||||
retryingNpc.navigationRetryCooldownTicks ||
|
||||
restoredMover.navigationRetryCooldownIndex !=
|
||||
retryingNpc.navigationRetryCooldownIndex ||
|
||||
!restoredMover.movedLastTick)
|
||||
return fail("Blocked movement state did not round trip");
|
||||
|
||||
FRG::LocationGameState occupancyState;
|
||||
auto stationary = std::make_shared<FRG::CharacterState>();
|
||||
stationary->enabled = true;
|
||||
stationary->hp = 10.f;
|
||||
auto moving = std::make_shared<FRG::CharacterState>();
|
||||
moving->enabled = true;
|
||||
moving->hp = 10.f;
|
||||
moving->pathWaypoints = {Eigen::Vector3f(4.f, 0.f, 0.f)};
|
||||
moving->movedLastTick = true;
|
||||
FRG::PlayerStateMap occupancyPlayers{
|
||||
{"stationary", stationary}, {"moving", moving}};
|
||||
if (occupancyState.collectPathObstacles(
|
||||
"requester", occupancyPlayers).size() != 1 ||
|
||||
occupancyState.collectPathObstacles(
|
||||
"requester", occupancyPlayers, "moving").size() != 2 ||
|
||||
!occupancyState.collectPathObstacles(
|
||||
"stationary", occupancyPlayers).empty())
|
||||
return fail("Stationary occupancy policy is incorrect");
|
||||
moving->movedLastTick = false;
|
||||
if (occupancyState.collectPathObstacles(
|
||||
"requester", occupancyPlayers).size() != 2)
|
||||
return fail("Physically stalled character was omitted from planning");
|
||||
|
||||
FRG::LocationGameState approachingState;
|
||||
auto left = std::make_shared<FRG::CharacterState>();
|
||||
left->configureAsPlayer();
|
||||
left->enabled = true;
|
||||
left->position = Eigen::Vector3f(0.f, 0.f, 0.f);
|
||||
left->walkTarget = Eigen::Vector3f(2.f, 0.f, 0.f);
|
||||
left->requestedWalkTarget = left->walkTarget;
|
||||
left->pathWaypoints = {left->walkTarget};
|
||||
auto right = std::make_shared<FRG::CharacterState>();
|
||||
right->configureAsPlayer();
|
||||
right->enabled = true;
|
||||
right->position = Eigen::Vector3f(1.4f, 0.f, 0.f);
|
||||
right->walkTarget = Eigen::Vector3f(-1.f, 0.f, 0.f);
|
||||
right->requestedWalkTarget = right->walkTarget;
|
||||
right->pathWaypoints = {right->walkTarget};
|
||||
FRG::PlayerStateMap approachingPlayers{{"a", left}, {"b", right}};
|
||||
for (int i = 0; i < 5; ++i)
|
||||
approachingState.update(100, approachingPlayers, false);
|
||||
const float separation = (right->position - left->position).norm();
|
||||
if (separation + 1e-5f <
|
||||
left->movementContactRadius + right->movementContactRadius ||
|
||||
!left->pathWaypoints.empty() || !right->pathWaypoints.empty())
|
||||
return fail("Colliding players did not stop without overlap");
|
||||
|
||||
if (benchmark) {
|
||||
runBenchmark(pathFinder, 100);
|
||||
runBenchmark(pathFinder, 1000);
|
||||
}
|
||||
std::filesystem::remove(openGrid);
|
||||
std::filesystem::remove(corridorGrid);
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
@@ -34,11 +34,25 @@ int main()
|
||||
{
|
||||
FRG::CampaignConfig campaign;
|
||||
campaign.id = "test_lockstep";
|
||||
campaign.networkPlayerSlots = {"player", "player2"};
|
||||
|
||||
FRG::InternalGameServer authoritative;
|
||||
authoritative.startCampaign(campaign, {}, true, false);
|
||||
nlohmann::json initialState;
|
||||
authoritative.save(initialState);
|
||||
initialState["players"]["player2"] = initialState["players"]["player"];
|
||||
FRG::LocationGameState testLocation;
|
||||
auto hostileNpc = std::make_shared<FRG::CharacterState>();
|
||||
hostileNpc->enabled = true;
|
||||
hostileNpc->hp = 200.f;
|
||||
testLocation.npcs.emplace("hostile_npc", std::move(hostileNpc));
|
||||
nlohmann::json testLocationState;
|
||||
testLocation.save(testLocationState);
|
||||
initialState["currentLocationId"] = "test_location";
|
||||
initialState["locations"]["test_location"] = std::move(testLocationState);
|
||||
authoritative.load(initialState);
|
||||
FRG::WebsocketGameServer server(
|
||||
authoritative, {"player"}, "lockstep-v2:test_lockstep",
|
||||
authoritative, {"player", "player2"}, "lockstep-v2:test_lockstep",
|
||||
"127.0.0.1", 0);
|
||||
auto client = std::make_unique<FRG::WebsocketGameClient>(
|
||||
"127.0.0.1", std::to_string(server.port()), "/");
|
||||
@@ -54,6 +68,18 @@ int main()
|
||||
"client did not receive initial state");
|
||||
require(client->localPlayerId() == "player", "wrong player slot assigned");
|
||||
|
||||
auto secondClient = std::make_unique<FRG::WebsocketGameClient>(
|
||||
"127.0.0.1", std::to_string(server.port()), "/");
|
||||
require(
|
||||
waitFor([&]() {
|
||||
secondClient->update(0);
|
||||
return secondClient->initialized();
|
||||
}),
|
||||
"second client did not receive initial state");
|
||||
require(
|
||||
secondClient->localPlayerId() == "player2",
|
||||
"second client received the wrong player slot");
|
||||
|
||||
FRG::WebsocketGameClient overflow(
|
||||
"127.0.0.1", std::to_string(server.port()), "/");
|
||||
require(
|
||||
@@ -63,20 +89,126 @@ int main()
|
||||
}),
|
||||
"connection beyond configured slots was not rejected");
|
||||
|
||||
server.update();
|
||||
require(
|
||||
waitFor([&]() {
|
||||
client->update(0);
|
||||
secondClient->update(0);
|
||||
return client->snapshot()->players.at("player2").state.enabled &&
|
||||
secondClient->snapshot()->players.at("player").state.enabled;
|
||||
}) &&
|
||||
authoritative.snapshot()->players.at("player").state.enabled &&
|
||||
authoritative.snapshot()->players.at("player2").state.enabled,
|
||||
"connection presence was not broadcast to all replicas");
|
||||
|
||||
client->submit(FRG::SetCharacterDestinationCommand{
|
||||
{}, "spoofed", Eigen::Vector3f(1.234f, 0.f, 2.345f), "ignored"});
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(20));
|
||||
secondClient->submit(FRG::SetCharacterDestinationCommand{
|
||||
{}, "spoofed", Eigen::Vector3f(-1.234f, 0.f, 3.456f), "ignored"});
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(50));
|
||||
server.update();
|
||||
server.update();
|
||||
server.update();
|
||||
const bool destinationsConverged = waitFor([&]() {
|
||||
client->update(0);
|
||||
secondClient->update(0);
|
||||
const auto first = client->snapshot();
|
||||
const auto second = secondClient->snapshot();
|
||||
const auto host = authoritative.snapshot();
|
||||
return first->players.at("player").state.requestedWalkTarget.isApprox(
|
||||
Eigen::Vector3f(1.23f, 0.f, 2.35f)) &&
|
||||
second->players.at("player2").state.requestedWalkTarget.isApprox(
|
||||
Eigen::Vector3f(-1.23f, 0.f, 3.46f)) &&
|
||||
first->players.at("player2").state.requestedWalkTarget.isApprox(
|
||||
second->players.at("player2").state.requestedWalkTarget) &&
|
||||
second->players.at("player").state.requestedWalkTarget.isApprox(
|
||||
first->players.at("player").state.requestedWalkTarget) &&
|
||||
host->players.at("player").state.requestedWalkTarget.isApprox(
|
||||
first->players.at("player").state.requestedWalkTarget) &&
|
||||
host->players.at("player2").state.requestedWalkTarget.isApprox(
|
||||
second->players.at("player2").state.requestedWalkTarget);
|
||||
});
|
||||
if (!destinationsConverged) {
|
||||
const auto first = client->snapshot();
|
||||
const auto second = secondClient->snapshot();
|
||||
const auto host = authoritative.snapshot();
|
||||
std::cerr << "destination revisions " << first->revision << ", "
|
||||
<< second->revision << ", " << host->revision << "\n"
|
||||
<< "player targets "
|
||||
<< first->players.at("player").state.requestedWalkTarget.transpose()
|
||||
<< " / "
|
||||
<< host->players.at("player").state.requestedWalkTarget.transpose()
|
||||
<< "\nplayer2 targets "
|
||||
<< second->players.at("player2").state.requestedWalkTarget.transpose()
|
||||
<< " / "
|
||||
<< host->players.at("player2").state.requestedWalkTarget.transpose()
|
||||
<< std::endl;
|
||||
}
|
||||
require(
|
||||
destinationsConverged,
|
||||
"simultaneous destinations did not converge across lockstep replicas");
|
||||
|
||||
client->submit(FRG::SetCharacterTargetCommand{
|
||||
"stale_location", "spoofed_character", "hostile_npc"});
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(50));
|
||||
server.update();
|
||||
server.update();
|
||||
server.update();
|
||||
require(
|
||||
waitFor([&]() {
|
||||
client->update(0);
|
||||
return client->snapshot()->revision > 1;
|
||||
secondClient->update(0);
|
||||
return client->snapshot()->players.at("player").state.attackTargetId ==
|
||||
"hostile_npc" &&
|
||||
secondClient->snapshot()->players.at("player").state.attackTargetId ==
|
||||
"hostile_npc" &&
|
||||
authoritative.snapshot()->players.at("player").state.attackTargetId ==
|
||||
"hostile_npc";
|
||||
}),
|
||||
"client did not consume finalized lockstep ticks");
|
||||
"target command was not delayed and rebroadcast");
|
||||
|
||||
client.reset();
|
||||
client->submit(FRG::ClearCharacterAttackTargetCommand{
|
||||
"stale_location", "spoofed_character"});
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(50));
|
||||
server.update();
|
||||
server.update();
|
||||
server.update();
|
||||
require(
|
||||
waitFor([&]() {
|
||||
client->update(0);
|
||||
secondClient->update(0);
|
||||
return client->snapshot()->players.at("player").state.attackTargetId.empty() &&
|
||||
secondClient->snapshot()->players.at("player").state.attackTargetId.empty() &&
|
||||
authoritative.snapshot()->players.at("player").state.attackTargetId.empty();
|
||||
}),
|
||||
"clear attack target command was not delayed and rebroadcast");
|
||||
|
||||
client->submit(FRG::TryCharacterAttackComboCommand{
|
||||
"stale_location", "spoofed_character"});
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(50));
|
||||
server.update();
|
||||
server.update();
|
||||
server.update();
|
||||
require(
|
||||
waitFor([&]() {
|
||||
client->update(0);
|
||||
secondClient->update(0);
|
||||
return client->snapshot()->revision ==
|
||||
secondClient->snapshot()->revision;
|
||||
}),
|
||||
"attack combo command was not rebroadcast in lockstep");
|
||||
|
||||
secondClient.reset();
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(50));
|
||||
server.update();
|
||||
require(
|
||||
waitFor([&]() {
|
||||
client->update(0);
|
||||
return !client->snapshot()->players.at("player2").state.enabled;
|
||||
}) &&
|
||||
!authoritative.snapshot()->players.at("player2").state.enabled,
|
||||
"disconnect presence was not propagated");
|
||||
|
||||
FRG::WebsocketGameClient replacement(
|
||||
"127.0.0.1", std::to_string(server.port()), "/");
|
||||
require(
|
||||
@@ -85,6 +217,15 @@ int main()
|
||||
return replacement.initialized();
|
||||
}),
|
||||
"disconnected player slot was not reusable");
|
||||
server.update();
|
||||
require(
|
||||
waitFor([&]() {
|
||||
client->update(0);
|
||||
replacement.update(0);
|
||||
return client->snapshot()->players.at("player2").state.enabled;
|
||||
}) &&
|
||||
authoritative.snapshot()->players.at("player2").state.enabled,
|
||||
"reconnected player was not enabled");
|
||||
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "BoneAnimatedModelNew.h"
|
||||
#include "BoneAnimatedModelNew.h"
|
||||
#include <regex>
|
||||
#include <string>
|
||||
#include <fstream>
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
namespace FRG
|
||||
{
|
||||
#ifdef EMSCRIPTEN
|
||||
#ifdef __EMSCRIPTEN__
|
||||
using std::min;
|
||||
using std::max;
|
||||
#endif
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
#include "external/nlohmann/json.hpp"
|
||||
#include <iostream>
|
||||
|
||||
|
||||
namespace FRG {
|
||||
|
||||
using json = nlohmann::json;
|
||||
|
||||
+3
-4
@@ -268,10 +268,6 @@ void Character::update(int64_t deltaMs, const CharacterUpdateEvents* events) {
|
||||
}
|
||||
|
||||
void Character::draw(Renderer& renderer) {
|
||||
if (hitSparkEmitter.isConfigured() && hitSparkEmitter.getActiveParticleCount() > 0) {
|
||||
hitSparkEmitter.draw(renderer, 1.0f, Environment::width, Environment::height, false);
|
||||
}
|
||||
|
||||
renderer.RenderUniform1f("uAlpha", 1.0f);
|
||||
glDisable(GL_BLEND);
|
||||
|
||||
@@ -279,6 +275,9 @@ void Character::draw(Renderer& renderer) {
|
||||
if (!stateSnapshot) return;
|
||||
CharacterState state = interpolatedState(*stateSnapshot);
|
||||
if (!state.enabled) return;
|
||||
if (hitSparkEmitter.isConfigured() && hitSparkEmitter.getActiveParticleCount() > 0) {
|
||||
hitSparkEmitter.draw(renderer, 1.0f, Environment::width, Environment::height, false);
|
||||
}
|
||||
updateAnimationForRender(state);
|
||||
|
||||
if (state.useGpuSkinning) {
|
||||
|
||||
+173
-31
@@ -6,10 +6,22 @@
|
||||
namespace FRG {
|
||||
|
||||
namespace {
|
||||
// Tick counts are authoritative and therefore independent of render rate.
|
||||
constexpr float ATTACK_COOLDOWN_TIME = 1.6f;
|
||||
constexpr float HOME_DRIFT_CHECK_INTERVAL = 5.0f;
|
||||
constexpr float TARGET_REPLAN_THRESHOLD = 0.25f;
|
||||
constexpr float PI = 3.14159265358979323846f;
|
||||
constexpr int BLOCKED_REPLAN_TICKS = 3;
|
||||
|
||||
std::uint32_t stableIdHash(const std::string& value)
|
||||
{
|
||||
std::uint32_t hash = 2166136261u;
|
||||
for (const unsigned char byte : value) {
|
||||
hash ^= byte;
|
||||
hash *= 16777619u;
|
||||
}
|
||||
return hash;
|
||||
}
|
||||
}
|
||||
|
||||
void CharacterState::configureAsPlayer() {
|
||||
@@ -23,6 +35,36 @@ void CharacterState::configureAsPlayer() {
|
||||
isPlayer = true;
|
||||
}
|
||||
|
||||
void CharacterState::configureNavigationRetryCooldowns(
|
||||
const std::string& entityId, std::vector<int> cooldownTicks)
|
||||
{
|
||||
if (cooldownTicks.empty()) {
|
||||
cooldownTicks = {2, 3, 4, 5, 6, 7, 8, 9, 10, 11};
|
||||
}
|
||||
for (int& ticks : cooldownTicks)
|
||||
ticks = (std::max)(1, (std::min)(600, ticks));
|
||||
|
||||
std::uint32_t state = stableIdHash(entityId);
|
||||
for (std::size_t i = cooldownTicks.size(); i > 1; --i) {
|
||||
state = state * 1664525u + 1013904223u;
|
||||
const std::size_t other = state % i;
|
||||
std::swap(cooldownTicks[i - 1], cooldownTicks[other]);
|
||||
}
|
||||
navigationRetryCooldownTicks = std::move(cooldownTicks);
|
||||
navigationRetryCooldownIndex = 0;
|
||||
}
|
||||
|
||||
void CharacterState::scheduleNextNavigationRetry()
|
||||
{
|
||||
if (navigationRetryCooldownTicks.empty())
|
||||
configureNavigationRetryCooldowns(npcName);
|
||||
navigationRetryTicks = navigationRetryCooldownTicks[
|
||||
navigationRetryCooldownIndex % navigationRetryCooldownTicks.size()];
|
||||
navigationRetryCooldownIndex =
|
||||
(navigationRetryCooldownIndex + 1) %
|
||||
navigationRetryCooldownTicks.size();
|
||||
}
|
||||
|
||||
bool CharacterState::isMoving() const {
|
||||
Eigen::Vector3f toTarget = walkTarget - position;
|
||||
toTarget.y() = 0.f;
|
||||
@@ -42,13 +84,17 @@ void CharacterState::stopInPlace() {
|
||||
pathWaypoints.clear();
|
||||
currentWaypointIndex = 0;
|
||||
onArrivedCallbackName.clear();
|
||||
movementBlockedTicks = 0;
|
||||
navigationRetryTicks = 0;
|
||||
blockingCharacterId.clear();
|
||||
}
|
||||
|
||||
void CharacterState::setTarget(
|
||||
const Eigen::Vector3f& target,
|
||||
std::string callbackName,
|
||||
const LocationNetworkState& location,
|
||||
const std::string& entityId)
|
||||
const std::string& entityId,
|
||||
const std::vector<PathFinder::DynamicObstacle>& dynamicObstacles)
|
||||
{
|
||||
const Eigen::Vector3f normalizedTarget(target.x(), 0.f, target.z());
|
||||
const bool sameRequestedTarget =
|
||||
@@ -66,7 +112,13 @@ void CharacterState::setTarget(
|
||||
|
||||
requestedWalkTarget = normalizedTarget;
|
||||
onArrivedCallbackName = std::move(callbackName);
|
||||
pathWaypoints = location.planPathExceptMyself(position, normalizedTarget, entityId);
|
||||
movementBlockedTicks = 0;
|
||||
navigationRetryTicks = 0;
|
||||
blockingCharacterId.clear();
|
||||
pathWaypoints = location.navigationMaps.empty()
|
||||
? std::vector<Eigen::Vector3f>{}
|
||||
: location.planPathExceptMyself(
|
||||
position, normalizedTarget, entityId, dynamicObstacles);
|
||||
currentWaypointIndex = 0;
|
||||
if (!pathWaypoints.empty()) {
|
||||
for (Eigen::Vector3f& waypoint : pathWaypoints) waypoint.y() = 0.f;
|
||||
@@ -75,24 +127,32 @@ void CharacterState::setTarget(
|
||||
}
|
||||
|
||||
walkTarget = Eigen::Vector3f(position.x(), 0.f, position.z());
|
||||
onArrivedCallbackName.clear();
|
||||
if (!isPlayer) scheduleNextNavigationRetry();
|
||||
}
|
||||
|
||||
void CharacterState::forceReplan(
|
||||
const LocationNetworkState& location, const std::string& entityId)
|
||||
const LocationNetworkState& location,
|
||||
const std::string& entityId,
|
||||
const std::vector<PathFinder::DynamicObstacle>& dynamicObstacles)
|
||||
{
|
||||
const Eigen::Vector3f normalizedTarget(
|
||||
requestedWalkTarget.x(), 0.f, requestedWalkTarget.z());
|
||||
pathWaypoints = location.planPathExceptMyself(position, normalizedTarget, entityId);
|
||||
pathWaypoints = location.navigationMaps.empty()
|
||||
? std::vector<Eigen::Vector3f>{}
|
||||
: location.planPathExceptMyself(
|
||||
position, normalizedTarget, entityId, dynamicObstacles);
|
||||
currentWaypointIndex = 0;
|
||||
movementBlockedTicks = 0;
|
||||
navigationRetryTicks = 0;
|
||||
if (!pathWaypoints.empty()) {
|
||||
for (Eigen::Vector3f& waypoint : pathWaypoints) waypoint.y() = 0.f;
|
||||
walkTarget = pathWaypoints.back();
|
||||
blockingCharacterId.clear();
|
||||
return;
|
||||
}
|
||||
|
||||
walkTarget = Eigen::Vector3f(position.x(), 0.f, position.z());
|
||||
onArrivedCallbackName.clear();
|
||||
if (!isPlayer) scheduleNextNavigationRetry();
|
||||
}
|
||||
|
||||
void CharacterState::stopAndRotateToTarget(std::string characterId)
|
||||
@@ -142,37 +202,21 @@ CharacterUpdateEvents CharacterState::update(
|
||||
std::int64_t deltaMs, const CharacterUpdateContext& context)
|
||||
{
|
||||
CharacterUpdateEvents events;
|
||||
movedLastTick = false;
|
||||
if (!enabled) return events;
|
||||
|
||||
if (slowMoTimeRemaining > 0.0f) {
|
||||
slowMoTimeRemaining = (std::max)(
|
||||
0.0f, slowMoTimeRemaining - static_cast<float>(deltaMs) / 1000.0f);
|
||||
|
||||
float transitionProgress = 1.0f;
|
||||
if (slowMoTimeRemaining > slowMoActiveTime - slowMoTransitionTime) {
|
||||
const float timeInTransition = slowMoActiveTime - slowMoTimeRemaining;
|
||||
transitionProgress = (std::min)(1.0f, timeInTransition / slowMoTransitionTime);
|
||||
} else if (slowMoTimeRemaining < slowMoTransitionTime) {
|
||||
transitionProgress = (std::max)(0.0f, slowMoTimeRemaining / slowMoTransitionTime);
|
||||
}
|
||||
const float speedMultiplier = isPlayer
|
||||
? 1.0f + 0.5f * transitionProgress
|
||||
: 1.0f - 0.9f * transitionProgress;
|
||||
deltaMs = static_cast<std::int64_t>(
|
||||
static_cast<float>(deltaMs) * speedMultiplier);
|
||||
}
|
||||
bool navigationPausedThisTick = false;
|
||||
|
||||
const CharacterObservation* attackTarget = context.attackTarget;
|
||||
const CharacterObservation* faceTarget = context.faceTarget;
|
||||
if (!attackTarget) {
|
||||
if (!attackTarget || attackTarget->hp <= 0.f) {
|
||||
battle_state = 0;
|
||||
attack = 0;
|
||||
attackTargetId.clear();
|
||||
} else {
|
||||
const float distance = (attackTarget->position - position).norm();
|
||||
if (distance >= visibleRange) {
|
||||
if (isPlayer &&
|
||||
(attackTarget->position - requestedWalkTarget).norm() > TARGET_REPLAN_THRESHOLD) {
|
||||
if ((attackTarget->position - requestedWalkTarget).norm() >
|
||||
TARGET_REPLAN_THRESHOLD) {
|
||||
events.navigationRequested = true;
|
||||
events.navigationTarget = attackTarget->position;
|
||||
}
|
||||
@@ -199,12 +243,75 @@ CharacterUpdateEvents CharacterState::update(
|
||||
if (distance > kWalkThreshold) {
|
||||
const Eigen::Vector3f direction = toTarget / distance;
|
||||
const float moveAmount = walkSpeed * static_cast<float>(deltaMs) / 1000.f;
|
||||
position = moveAmount >= distance ? activeTarget : position + direction * moveAmount;
|
||||
position.y() = 0.f;
|
||||
Eigen::Vector3f candidate =
|
||||
moveAmount >= distance ? activeTarget : position + direction * moveAmount;
|
||||
candidate.y() = 0.f;
|
||||
const CharacterMovementObstacle* blocker = nullptr;
|
||||
if (context.movementObstacles) {
|
||||
for (const CharacterMovementObstacle& obstacle :
|
||||
*context.movementObstacles) {
|
||||
if (obstacle.id == context.characterId) continue;
|
||||
Eigen::Vector3f startDelta = position - obstacle.position;
|
||||
Eigen::Vector3f endDelta = candidate - obstacle.position;
|
||||
startDelta.y() = 0.f;
|
||||
endDelta.y() = 0.f;
|
||||
const float minimumDistance =
|
||||
movementContactRadius + obstacle.radius;
|
||||
const float minimumDistanceSq =
|
||||
minimumDistance * minimumDistance;
|
||||
const Eigen::Vector3f segment = candidate - position;
|
||||
const float segmentLengthSq =
|
||||
segment.x() * segment.x() + segment.z() * segment.z();
|
||||
float t = 0.f;
|
||||
if (segmentLengthSq > 1e-8f) {
|
||||
t = -(startDelta.x() * segment.x() +
|
||||
startDelta.z() * segment.z()) / segmentLengthSq;
|
||||
t = (std::max)(0.f, (std::min)(1.f, t));
|
||||
}
|
||||
Eigen::Vector3f closest = startDelta + segment * t;
|
||||
closest.y() = 0.f;
|
||||
const bool movingCloser =
|
||||
endDelta.squaredNorm() + 1e-6f < startDelta.squaredNorm();
|
||||
if (movingCloser &&
|
||||
closest.squaredNorm() < minimumDistanceSq) {
|
||||
blocker = &obstacle;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (blocker) {
|
||||
blockingCharacterId = blocker->id;
|
||||
currentState = AnimationState::STAND;
|
||||
const bool sameDirection =
|
||||
blocker->moving &&
|
||||
blocker->movementDirection.dot(direction) > 0.5f;
|
||||
if (sameDirection) {
|
||||
movementBlockedTicks = 0;
|
||||
} else if (++movementBlockedTicks >= BLOCKED_REPLAN_TICKS) {
|
||||
if (isPlayer) {
|
||||
stopInPlace();
|
||||
} else {
|
||||
pathWaypoints.clear();
|
||||
currentWaypointIndex = 0;
|
||||
walkTarget =
|
||||
Eigen::Vector3f(position.x(), 0.f, position.z());
|
||||
movementBlockedTicks = 0;
|
||||
scheduleNextNavigationRetry();
|
||||
navigationPausedThisTick = true;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
movedLastTick =
|
||||
(candidate - position).squaredNorm() > 1e-8f;
|
||||
position = candidate;
|
||||
movementBlockedTicks = 0;
|
||||
blockingCharacterId.clear();
|
||||
}
|
||||
targetFacingAngle = std::atan2(direction.x(), -direction.z());
|
||||
currentState = AnimationState::WALK;
|
||||
if (!blocker) currentState = AnimationState::WALK;
|
||||
} else {
|
||||
currentState = AnimationState::STAND;
|
||||
const bool completedPath = !pathWaypoints.empty();
|
||||
const bool hasNextWaypoint =
|
||||
!pathWaypoints.empty() && currentWaypointIndex + 1 < pathWaypoints.size();
|
||||
if (hasNextWaypoint) {
|
||||
@@ -212,7 +319,12 @@ CharacterUpdateEvents CharacterState::update(
|
||||
} else {
|
||||
pathWaypoints.clear();
|
||||
currentWaypointIndex = 0;
|
||||
if (!onArrivedCallbackName.empty()) {
|
||||
if (completedPath &&
|
||||
(requestedWalkTarget - position).norm() >
|
||||
TARGET_REPLAN_THRESHOLD &&
|
||||
!isPlayer)
|
||||
scheduleNextNavigationRetry();
|
||||
if (completedPath && !onArrivedCallbackName.empty()) {
|
||||
events.arrivedCallbackName = onArrivedCallbackName;
|
||||
onArrivedCallbackName.clear();
|
||||
}
|
||||
@@ -231,6 +343,18 @@ CharacterUpdateEvents CharacterState::update(
|
||||
}
|
||||
}
|
||||
|
||||
if (!isPlayer && !navigationPausedThisTick && pathWaypoints.empty() &&
|
||||
(requestedWalkTarget - position).norm() > TARGET_REPLAN_THRESHOLD &&
|
||||
!events.navigationRequested) {
|
||||
if (navigationRetryTicks > 0) --navigationRetryTicks;
|
||||
if (navigationRetryTicks == 0) {
|
||||
events.navigationRequested = true;
|
||||
events.forceNavigationReplan = true;
|
||||
events.navigationTarget = requestedWalkTarget;
|
||||
events.blockingCharacterId = blockingCharacterId;
|
||||
}
|
||||
}
|
||||
|
||||
if (hp <= 0.f) {
|
||||
if (currentState != AnimationState::ACTION_TO_DEATH &&
|
||||
currentState != AnimationState::DEATH_IDLE) {
|
||||
@@ -364,6 +488,13 @@ void CharacterState::save(nlohmann::json& out) const
|
||||
out["pathWaypoints"] = std::move(wpArr);
|
||||
out["currentWaypointIndex"] = currentWaypointIndex;
|
||||
out["homeDriftCheckTimer"] = homeDriftCheckTimer;
|
||||
out["movementBlockedTicks"] = movementBlockedTicks;
|
||||
out["navigationRetryTicks"] = navigationRetryTicks;
|
||||
out["movedLastTick"] = movedLastTick;
|
||||
out["navigationRetryCooldownTicks"] = navigationRetryCooldownTicks;
|
||||
out["navigationRetryCooldownIndex"] = navigationRetryCooldownIndex;
|
||||
if (!blockingCharacterId.empty())
|
||||
out["blockingCharacterId"] = blockingCharacterId;
|
||||
out["animationFrame"] = animationFrame;
|
||||
out["visibleRange"] = visibleRange;
|
||||
if (!onArrivedCallbackName.empty())
|
||||
@@ -401,6 +532,17 @@ void CharacterState::load(const nlohmann::json& in)
|
||||
}
|
||||
currentWaypointIndex = in.value("currentWaypointIndex", currentWaypointIndex);
|
||||
homeDriftCheckTimer = in.value("homeDriftCheckTimer", homeDriftCheckTimer);
|
||||
movementBlockedTicks = in.value("movementBlockedTicks", movementBlockedTicks);
|
||||
navigationRetryTicks = in.value("navigationRetryTicks", navigationRetryTicks);
|
||||
movedLastTick = in.value("movedLastTick", movedLastTick);
|
||||
navigationRetryCooldownTicks = in.value(
|
||||
"navigationRetryCooldownTicks", navigationRetryCooldownTicks);
|
||||
navigationRetryCooldownIndex = in.value(
|
||||
"navigationRetryCooldownIndex", navigationRetryCooldownIndex);
|
||||
if (!navigationRetryCooldownTicks.empty())
|
||||
navigationRetryCooldownIndex %= navigationRetryCooldownTicks.size();
|
||||
blockingCharacterId =
|
||||
in.value("blockingCharacterId", std::string());
|
||||
animationFrame = in.value("animationFrame", animationFrame);
|
||||
onArrivedCallbackName = in.value("onArrivedCallbackName", std::string());
|
||||
}
|
||||
|
||||
+35
-8
@@ -9,6 +9,7 @@
|
||||
#include <Eigen/Geometry>
|
||||
#include "external/nlohmann/json.hpp"
|
||||
#include "ISaveable.h"
|
||||
#include "navigation/PathFinder.h"
|
||||
|
||||
namespace FRG {
|
||||
|
||||
@@ -63,7 +64,7 @@ public:
|
||||
// --- Identity ---
|
||||
std::string npcName;
|
||||
bool isPlayer = false;
|
||||
bool enabled = true;
|
||||
bool enabled = false;
|
||||
bool canAttack = false;
|
||||
|
||||
// --- Position / orientation ---
|
||||
@@ -97,11 +98,6 @@ public:
|
||||
Eigen::Vector3f homePosition = Eigen::Vector3f::Zero();
|
||||
float maxHomeDrift = 3.0f;
|
||||
|
||||
// --- Slow-motion effect ---
|
||||
float slowMoTimeRemaining = 0.0f;
|
||||
float slowMoActiveTime = 6.0f;
|
||||
float slowMoTransitionTime = 0.5f;
|
||||
|
||||
// --- Authoritative logical animation clock ---
|
||||
// Frame counts are immutable metadata copied from loaded clips during
|
||||
// character construction. Simulation advances animationFrame itself.
|
||||
@@ -115,8 +111,12 @@ public:
|
||||
float modelScale = 0.12f;
|
||||
Eigen::Quaternionf modelCorrectionRotation = Eigen::Quaternionf::Identity();
|
||||
bool useGpuSkinning = true;
|
||||
// Full clearance used while planning around stationary characters.
|
||||
float collisionRadius = 0.45f;
|
||||
// Smaller physical contact threshold used by the movement guard.
|
||||
float movementContactRadius = 0.32f;
|
||||
float interactionRadius = 0.0f;
|
||||
bool movedLastTick = false;
|
||||
|
||||
// --- Pathfinding data (serializable parts) ---
|
||||
Eigen::Vector3f walkTarget = Eigen::Vector3f::Zero();
|
||||
@@ -126,6 +126,11 @@ public:
|
||||
|
||||
// Internal drift-check timer (serializable so it survives save/load).
|
||||
float homeDriftCheckTimer = 5.0f;
|
||||
int movementBlockedTicks = 0;
|
||||
int navigationRetryTicks = 0;
|
||||
std::string blockingCharacterId;
|
||||
std::vector<int> navigationRetryCooldownTicks;
|
||||
std::size_t navigationRetryCooldownIndex = 0;
|
||||
|
||||
// Global Lua function called when the character reaches the final waypoint.
|
||||
// The name is serialized, so no runtime callback needs to be rehydrated.
|
||||
@@ -136,6 +141,9 @@ public:
|
||||
|
||||
// --- Pure-state methods ---
|
||||
void configureAsPlayer();
|
||||
void configureNavigationRetryCooldowns(
|
||||
const std::string& entityId,
|
||||
std::vector<int> cooldownTicks = {});
|
||||
bool isMoving() const;
|
||||
const Eigen::Vector3f& getRequestedWalkTarget() const { return requestedWalkTarget; }
|
||||
Eigen::Vector3f getCurrentNavigationTarget() const;
|
||||
@@ -143,9 +151,13 @@ public:
|
||||
void setTarget(const Eigen::Vector3f& target,
|
||||
std::string callbackName,
|
||||
const LocationNetworkState& location,
|
||||
const std::string& entityId);
|
||||
const std::string& entityId,
|
||||
const std::vector<PathFinder::DynamicObstacle>&
|
||||
dynamicObstacles = {});
|
||||
void forceReplan(const LocationNetworkState& location,
|
||||
const std::string& entityId);
|
||||
const std::string& entityId,
|
||||
const std::vector<PathFinder::DynamicObstacle>&
|
||||
dynamicObstacles = {});
|
||||
void stopAndRotateToTarget(std::string characterId);
|
||||
void resetPlayerAfterDeath();
|
||||
void tryAttackCombo();
|
||||
@@ -156,6 +168,9 @@ public:
|
||||
// --- Serialisation (runtime mutable fields only; creation info is reloaded from config) ---
|
||||
void save(nlohmann::json& out) const override;
|
||||
void load(const nlohmann::json& in) override;
|
||||
|
||||
private:
|
||||
void scheduleNextNavigationRetry();
|
||||
};
|
||||
|
||||
using PlayerStateMap =
|
||||
@@ -166,16 +181,28 @@ struct CharacterObservation {
|
||||
float hp = 0.f;
|
||||
};
|
||||
|
||||
struct CharacterMovementObstacle {
|
||||
std::string id;
|
||||
Eigen::Vector3f position = Eigen::Vector3f::Zero();
|
||||
float radius = 0.f;
|
||||
bool moving = false;
|
||||
Eigen::Vector3f movementDirection = Eigen::Vector3f::Zero();
|
||||
};
|
||||
|
||||
struct CharacterUpdateContext {
|
||||
std::string characterId;
|
||||
const CharacterObservation* attackTarget = nullptr;
|
||||
const CharacterObservation* faceTarget = nullptr;
|
||||
const std::vector<CharacterMovementObstacle>* movementObstacles = nullptr;
|
||||
};
|
||||
|
||||
struct CharacterUpdateEvents {
|
||||
bool attackImpact = false;
|
||||
bool deathAnimationComplete = false;
|
||||
bool navigationRequested = false;
|
||||
bool forceNavigationReplan = false;
|
||||
Eigen::Vector3f navigationTarget = Eigen::Vector3f::Zero();
|
||||
std::string blockingCharacterId;
|
||||
std::string arrivedCallbackName;
|
||||
std::string attackTargetId;
|
||||
Eigen::Vector3f attackDirection = Eigen::Vector3f::Zero();
|
||||
|
||||
+6
-6
@@ -1,4 +1,4 @@
|
||||
#include "Environment.h"
|
||||
#include "Environment.h"
|
||||
|
||||
#include "utils/Utils.h"
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#include <GL/gl.h>
|
||||
#endif
|
||||
|
||||
#ifdef EMSCRIPTEN
|
||||
#ifdef __EMSCRIPTEN__
|
||||
#include <emscripten/html5.h>
|
||||
#endif
|
||||
|
||||
@@ -21,12 +21,12 @@ int Environment::width = CONST_DEFAULT_WIDTH;
|
||||
int Environment::height = CONST_DEFAULT_HEIGHT;
|
||||
float Environment::zoom = DEFAULT_ZOOM;
|
||||
|
||||
bool Environment::enableLogging = false;
|
||||
//bool Environment::enableLogging = true;
|
||||
//bool Environment::enableLogging = false;
|
||||
bool Environment::enableLogging = true;
|
||||
|
||||
SDL_Window* Environment::window = nullptr;
|
||||
|
||||
#ifdef EMSCRIPTEN
|
||||
#ifdef __EMSCRIPTEN__
|
||||
bool Environment::isFullscreen = false;
|
||||
#else
|
||||
bool Environment::isFullscreen = true;
|
||||
@@ -71,7 +71,7 @@ void Environment::computeProjectionDimensions()
|
||||
}
|
||||
|
||||
void Environment::setFullscreen(bool enable) {
|
||||
#ifdef EMSCRIPTEN
|
||||
#ifdef __EMSCRIPTEN__
|
||||
if (enable) {
|
||||
EmscriptenFullscreenStrategy strategy{};
|
||||
strategy.scaleMode = EMSCRIPTEN_FULLSCREEN_SCALE_STRETCH;
|
||||
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
#pragma once
|
||||
#pragma once
|
||||
#ifdef __linux__
|
||||
#include <SDL2/SDL.h>
|
||||
#endif
|
||||
@@ -10,7 +10,7 @@
|
||||
namespace FRG {
|
||||
|
||||
|
||||
#ifdef EMSCRIPTEN
|
||||
#ifdef __EMSCRIPTEN__
|
||||
using std::min;
|
||||
using std::max;
|
||||
#endif
|
||||
|
||||
+21
-34
@@ -20,7 +20,7 @@
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef EMSCRIPTEN
|
||||
#ifdef __EMSCRIPTEN__
|
||||
#include <emscripten.h>
|
||||
#endif
|
||||
|
||||
@@ -37,7 +37,7 @@ namespace FRG
|
||||
static const float zoomMax = 20.0f;
|
||||
|
||||
|
||||
#ifdef EMSCRIPTEN
|
||||
#ifdef __EMSCRIPTEN__
|
||||
const char* CONST_ZIP_FILE = "resources.zip";
|
||||
const char* CONST_MUSIC_ZIP_FILE = "music.zip";
|
||||
#else
|
||||
@@ -49,7 +49,7 @@ namespace FRG
|
||||
float y = 0;
|
||||
float z = 0;
|
||||
|
||||
#ifdef EMSCRIPTEN
|
||||
#ifdef __EMSCRIPTEN__
|
||||
Game* Game::s_instance = nullptr;
|
||||
|
||||
// Коллбэк успешной загрузки resources.zip
|
||||
@@ -109,7 +109,7 @@ namespace FRG
|
||||
renderer.InitOpenGL();
|
||||
//logger() << "Android test step 1 " << std::endl;
|
||||
|
||||
#if defined(EMSCRIPTEN) || defined(__ANDROID__)
|
||||
#if defined(__EMSCRIPTEN__) || defined(__ANDROID__)
|
||||
// These shaders and loading.png are preloaded separately (not from zip),
|
||||
// so they are available immediately without waiting for resources.zip.
|
||||
//logger() << "Android test step 1 " << std::endl;
|
||||
@@ -149,7 +149,7 @@ namespace FRG
|
||||
loadingMesh.data = CreateRect2D({ 0.0f, 0.0f }, { minDimension * 0.5f, minDimension * 0.5f }, 3);
|
||||
loadingMesh.RefreshVBO();
|
||||
|
||||
#ifdef EMSCRIPTEN
|
||||
#ifdef __EMSCRIPTEN__
|
||||
s_instance = this;
|
||||
|
||||
std::string resPath = FRG::getPersistentResourcePath("resources.zip");
|
||||
@@ -168,7 +168,7 @@ namespace FRG
|
||||
|
||||
// Скачиваем сразу в постоянный путь /offline/resources.zip
|
||||
emscripten_async_wget2(
|
||||
"resources.zip", // URL на сервере
|
||||
"resources.zip?v=2", // Cache-bust stale browser responses after resource updates
|
||||
resPath.c_str(), // Назначение в VFS Emscripten
|
||||
"GET",
|
||||
nullptr,
|
||||
@@ -223,7 +223,7 @@ namespace FRG
|
||||
loadSteps.push([this]() {
|
||||
|
||||
|
||||
#if defined(EMSCRIPTEN) || defined(__ANDROID__)
|
||||
#if defined(__EMSCRIPTEN__) || defined(__ANDROID__)
|
||||
renderer.shaderManager.AddShaderFromFiles("env_sky", "resources/shaders/env_sky.vertex", "resources/shaders/env_sky_web.fragment", CONST_ZIP_FILE);
|
||||
renderer.shaderManager.AddShaderFromFiles("defaultAtmosphere", "resources/shaders/defaultAtmosphere.vertex", "resources/shaders/defaultAtmosphere_web.fragment", CONST_ZIP_FILE);
|
||||
renderer.shaderManager.AddShaderFromFiles("planetBake", "resources/shaders/planet_bake.vertex", "resources/shaders/planet_bake_web.fragment", CONST_ZIP_FILE);
|
||||
@@ -557,7 +557,15 @@ namespace FRG
|
||||
if (remoteCampaignActive) {
|
||||
logger() << "[network] Campaign '" << campaignId
|
||||
<< "' selected; creating WebSocket client" << std::endl;
|
||||
websocketGameClient = std::make_unique<WebsocketGameClient>();
|
||||
// Use "ws://127.0.0.1:8080/" for a local development server.
|
||||
static const char* const kMultiplayerServerUrl =
|
||||
"wss://api.shadowoverbishkek.com/server001/";
|
||||
WebsocketEndpoint endpoint;
|
||||
if (!endpoint.parse(kMultiplayerServerUrl)) {
|
||||
logger() << "[network] Invalid multiplayer server URL: "
|
||||
<< kMultiplayerServerUrl << std::endl;
|
||||
}
|
||||
websocketGameClient = std::make_unique<WebsocketGameClient>(endpoint);
|
||||
remoteGameServerHost =
|
||||
std::make_unique<RemoteGameServerHost>(*websocketGameClient);
|
||||
gameServer.use(*websocketGameClient);
|
||||
@@ -649,11 +657,10 @@ namespace FRG
|
||||
Location* loc = currentLocation();
|
||||
if (!loc) return;
|
||||
if (loc->player) {
|
||||
loc->updateCharacterState(*loc->player, [&](CharacterState& workingState) {
|
||||
workingState.position = destPos;
|
||||
workingState.facingAngle = destRotY;
|
||||
workingState.targetFacingAngle = destRotY;
|
||||
});
|
||||
server().submit(SetCharacterPositionCommand{
|
||||
destName, loc->player->entityId(), destPos});
|
||||
server().submit(SetCharacterFacingAngleCommand{
|
||||
destName, loc->player->entityId(), destRotY, true});
|
||||
loc->stopCharacter(*loc->player);
|
||||
}
|
||||
loc->localState().cameraAzimuth = destRotY;
|
||||
@@ -681,7 +688,7 @@ namespace FRG
|
||||
// Developer workflow: uncomment to (re)generate the campaign's start-state JSON
|
||||
// from this freshly-rebuilt state after changing gameplay/content JSON or Lua.
|
||||
// Re-comment before shipping.
|
||||
//saveInitialState();
|
||||
saveInitialState();
|
||||
|
||||
}
|
||||
|
||||
@@ -1536,26 +1543,6 @@ namespace FRG
|
||||
return n;
|
||||
}
|
||||
|
||||
void Game::activateSlowMoEffect() {
|
||||
if (!currentLocation()) return;
|
||||
|
||||
if (currentLocation()->player) {
|
||||
currentLocation()->updateCharacterState(
|
||||
*currentLocation()->player, [](CharacterState& workingState) {
|
||||
workingState.slowMoTimeRemaining = workingState.slowMoActiveTime;
|
||||
});
|
||||
}
|
||||
|
||||
for (auto& npc : currentLocation()->npcs) {
|
||||
if (npc) {
|
||||
currentLocation()->updateCharacterState(
|
||||
*npc, [](CharacterState& workingState) {
|
||||
workingState.slowMoTimeRemaining = workingState.slowMoActiveTime;
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void Game::enterCameraDragMode(int eventX, int eventY)
|
||||
{
|
||||
cameraDragging = true;
|
||||
|
||||
+3
-5
@@ -1,4 +1,4 @@
|
||||
#pragma once
|
||||
#pragma once
|
||||
#include "Character.h"
|
||||
#include "render/Renderer.h"
|
||||
#include "Environment.h"
|
||||
@@ -105,10 +105,8 @@ namespace FRG {
|
||||
const IGameServer& server() const { return gameServer; }
|
||||
|
||||
MenuManager menuManager;
|
||||
|
||||
void activateSlowMoEffect();
|
||||
|
||||
#ifdef EMSCRIPTEN
|
||||
#ifdef __EMSCRIPTEN__
|
||||
static Game* s_instance;
|
||||
#endif
|
||||
|
||||
@@ -214,7 +212,7 @@ namespace FRG {
|
||||
void endPinch();
|
||||
int countNonUiPointers() const;
|
||||
|
||||
#ifdef EMSCRIPTEN
|
||||
#ifdef __EMSCRIPTEN__
|
||||
static void onResourcesZipLoaded(unsigned handle, void* userData, const char* filename);
|
||||
static void onResourcesZipError(unsigned handle, void* userData, int httpStatus);
|
||||
static void onResourcesZipProgress(unsigned handle, void* userData, int percentComplete);
|
||||
|
||||
+2
-2
@@ -52,7 +52,7 @@ void GameState::save(nlohmann::json& out) const
|
||||
out["isDawn"] = isDawn;
|
||||
|
||||
// --- Player resources ---
|
||||
out["playerHp"] = playerHp;
|
||||
//out["playerHp"] = playerHp;
|
||||
out["playerMaxHp"] = playerMaxHp;
|
||||
out["money"] = money;
|
||||
|
||||
@@ -137,7 +137,7 @@ void GameState::load(const nlohmann::json& in)
|
||||
|
||||
|
||||
// --- Player resources ---
|
||||
playerHp = in.value("playerHp", playerHp);
|
||||
//playerHp = in.value("playerHp", playerHp);
|
||||
playerMaxHp = in.value("playerMaxHp", playerMaxHp);
|
||||
money = in.value("money", money);
|
||||
|
||||
|
||||
+2
-2
@@ -33,7 +33,7 @@ struct StoredChatMessage {
|
||||
};
|
||||
|
||||
struct GameState : public ISaveable {
|
||||
static constexpr int kSchemaVersion = 2;
|
||||
static constexpr int kSchemaVersion = 5;
|
||||
|
||||
// --- World ---
|
||||
// Campaign being played (see CampaignRegistry).
|
||||
@@ -50,7 +50,7 @@ struct GameState : public ISaveable {
|
||||
|
||||
// --- Player resources ---
|
||||
Inventory inventory;
|
||||
float playerHp = 200.f;
|
||||
//float playerHp = 200.f;
|
||||
float playerMaxHp = 200.f;
|
||||
int money = 5500;
|
||||
|
||||
|
||||
+87
-61
@@ -132,18 +132,6 @@ namespace FRG
|
||||
locationId_, character.entityId(), target, std::move(callbackName)});
|
||||
}
|
||||
|
||||
void Location::updateCharacterState(
|
||||
Character& character,
|
||||
const std::function<void(CharacterState&)>& mutation)
|
||||
{
|
||||
auto snapshot = character.stateSnapshot();
|
||||
if (!snapshot) return;
|
||||
CharacterState stateCopy = *snapshot;
|
||||
mutation(stateCopy);
|
||||
gameServer_.submit(CommitCharacterStateCommand{
|
||||
locationId_, character.entityId(), std::move(stateCopy)});
|
||||
}
|
||||
|
||||
void Location::clearCharacterAttackTarget(Character& character)
|
||||
{
|
||||
gameServer_.submit(ClearCharacterAttackTargetCommand{
|
||||
@@ -177,11 +165,23 @@ namespace FRG
|
||||
gameServer_.submit(
|
||||
TryCharacterAttackComboCommand{locationId_, character.entityId()});
|
||||
}
|
||||
|
||||
|
||||
void Location::setCharacterHp(Character& character, float hp)
|
||||
{
|
||||
gameServer_.submit(
|
||||
SetCharacterHealthCommand{locationId_, character.entityId(), hp});
|
||||
SetCharacterHealthCommand{ locationId_, character.entityId(), hp });
|
||||
auto state = character.stateSnapshot();
|
||||
if (character.onHpChanged && state)
|
||||
character.onHpChanged(
|
||||
state->hp,
|
||||
state->initialHp,
|
||||
std::string());
|
||||
}
|
||||
|
||||
void Location::refillCharacterHp(Character& character)
|
||||
{
|
||||
gameServer_.submit(
|
||||
SetCharacterHealthCommand{locationId_, character.entityId(), character.stateSnapshot()->initialHp});
|
||||
auto state = character.stateSnapshot();
|
||||
if (character.onHpChanged && state)
|
||||
character.onHpChanged(
|
||||
@@ -890,14 +890,16 @@ namespace FRG
|
||||
}
|
||||
|
||||
Character* Location::raycastNpcs(const Eigen::Vector3f& rayOrigin, const Eigen::Vector3f& rayDir, float maxDistance) {
|
||||
// Every NPC is treated as a vertical cylinder: radius 1.0m, height 1.85m,
|
||||
// Every NPC is treated as a vertical cylinder: radius 0.25m, height 1.6m,
|
||||
// base at npc->position (the model's foot). Intersection = circle hit in the
|
||||
// XZ plane, then clip the entry/exit t against the [yFoot, yFoot+height] slab.
|
||||
static constexpr float NPC_CLICK_RADIUS = 1.0f;
|
||||
static constexpr float NPC_CLICK_HEIGHT = 1.85f;
|
||||
static constexpr float NPC_CLICK_RADIUS = 0.25f;
|
||||
static constexpr float NPC_CLICK_HEIGHT = 1.6f;
|
||||
static constexpr float NPC_PICK_EPSILON = 1e-6f;
|
||||
|
||||
Character* closestNpc = nullptr;
|
||||
float closestDist = maxDistance;
|
||||
float closestAngularDistanceSq = (std::numeric_limits<float>::max)();
|
||||
float closestEntryDistance = maxDistance;
|
||||
|
||||
//logger() << "[RAYCAST_NPC] Starting raycast with " << npcs.size() << " npcs" << std::endl;
|
||||
|
||||
@@ -908,8 +910,11 @@ namespace FRG
|
||||
continue;
|
||||
}
|
||||
if (!npcState->enabled) continue;
|
||||
const float dx = rayOrigin.x() - npcState->position.x();
|
||||
const float dz = rayOrigin.z() - npcState->position.z();
|
||||
// Use the presentation position so the clickable volume follows the
|
||||
// rendered character while it is being interpolated between ticks.
|
||||
const Eigen::Vector3f npcPosition = npc->renderPosition();
|
||||
const float dx = rayOrigin.x() - npcPosition.x();
|
||||
const float dz = rayOrigin.z() - npcPosition.z();
|
||||
const float a = rayDir.x() * rayDir.x() + rayDir.z() * rayDir.z();
|
||||
if (a < 1e-6f) continue; // purely-vertical ray; not a real click case
|
||||
|
||||
@@ -922,28 +927,60 @@ namespace FRG
|
||||
const float tNear = (-b - sqrtDisc) / (2.0f * a);
|
||||
const float tFar = (-b + sqrtDisc) / (2.0f * a);
|
||||
|
||||
float entryT = max(tNear, 0.1f);
|
||||
float entryT = (std::max)(tNear, 0.1f);
|
||||
float exitT = tFar;
|
||||
|
||||
// Clip against the cylinder's vertical extent.
|
||||
const float yMin = npcState->position.y();
|
||||
const float yMin = npcPosition.y();
|
||||
const float yMax = yMin + NPC_CLICK_HEIGHT;
|
||||
if (std::abs(rayDir.y()) > 1e-6f) {
|
||||
const float tYa = (yMin - rayOrigin.y()) / rayDir.y();
|
||||
const float tYb = (yMax - rayOrigin.y()) / rayDir.y();
|
||||
entryT = max(entryT, min(tYa, tYb));
|
||||
exitT = min(exitT, max(tYa, tYb));
|
||||
entryT = (std::max)(entryT, (std::min)(tYa, tYb));
|
||||
exitT = (std::min)(exitT, (std::max)(tYa, tYb));
|
||||
}
|
||||
else if (rayOrigin.y() < yMin || rayOrigin.y() > yMax) {
|
||||
continue; // horizontal ray passing above or below the cylinder
|
||||
}
|
||||
|
||||
if (entryT > exitT) continue;
|
||||
if (entryT > maxDistance) continue;
|
||||
|
||||
//logger() << "[RAYCAST_NPC] " << npc->entityId() << " hit at t=" << entryT << std::endl;
|
||||
// All candidates above are under the cursor. Resolve overlaps by
|
||||
// projected cursor proximity rather than by whichever cylinder is
|
||||
// entered first along the ray. The normalized perpendicular distance
|
||||
// is an angular/screen-space approximation that remains comparable
|
||||
// for NPCs at different depths.
|
||||
const Eigen::Vector3f bodyCenter =
|
||||
npcPosition + Eigen::Vector3f(0.0f, NPC_CLICK_HEIGHT * 0.5f, 0.0f);
|
||||
const Eigen::Vector3f toBody = bodyCenter - rayOrigin;
|
||||
const float bodyDepth = toBody.dot(rayDir);
|
||||
if (bodyDepth <= NPC_PICK_EPSILON) continue;
|
||||
const float perpendicularDistanceSq =
|
||||
(toBody - rayDir * bodyDepth).squaredNorm();
|
||||
const float angularDistanceSq =
|
||||
perpendicularDistanceSq /
|
||||
(std::max)(bodyDepth * bodyDepth, NPC_PICK_EPSILON);
|
||||
|
||||
if (entryT < closestDist) {
|
||||
closestDist = entryT;
|
||||
const bool betterAngularMatch =
|
||||
angularDistanceSq <
|
||||
closestAngularDistanceSq - NPC_PICK_EPSILON;
|
||||
const bool equalAngularMatch =
|
||||
std::abs(angularDistanceSq - closestAngularDistanceSq) <=
|
||||
NPC_PICK_EPSILON;
|
||||
const bool betterDepthTieBreak =
|
||||
equalAngularMatch &&
|
||||
(entryT < closestEntryDistance - NPC_PICK_EPSILON);
|
||||
const bool equalDepthTieBreak =
|
||||
equalAngularMatch &&
|
||||
std::abs(entryT - closestEntryDistance) <= NPC_PICK_EPSILON;
|
||||
const bool betterStableTieBreak =
|
||||
equalDepthTieBreak &&
|
||||
(!closestNpc || npc->entityId() < closestNpc->entityId());
|
||||
|
||||
if (betterAngularMatch || betterDepthTieBreak || betterStableTieBreak) {
|
||||
closestEntryDistance = entryT;
|
||||
closestAngularDistanceSq = angularDistanceSq;
|
||||
closestNpc = npc.get();
|
||||
}
|
||||
}
|
||||
@@ -1847,7 +1884,6 @@ namespace FRG
|
||||
|
||||
void Location::update(int64_t delta, const LocationSimulationEvents& events)
|
||||
{
|
||||
pathVisualization.update(delta);
|
||||
synchronizeRemotePlayers();
|
||||
auto locationState = stateSnapshot();
|
||||
if (!locationState) return;
|
||||
@@ -1915,7 +1951,8 @@ namespace FRG
|
||||
if (player) {
|
||||
player->update(delta, eventFor(gameServer_.localPlayerId()));
|
||||
auto playerState = player->stateSnapshot();
|
||||
if (playerState) updateTriggerZones(playerState->position);
|
||||
if (playerState && playerState->enabled)
|
||||
updateTriggerZones(playerState->position);
|
||||
}
|
||||
for (auto& [id, remote] : remotePlayers_)
|
||||
if (remote) remote->update(delta, eventFor(id));
|
||||
@@ -1950,7 +1987,8 @@ namespace FRG
|
||||
}
|
||||
|
||||
auto playerState = player ? player->stateSnapshot() : nullptr;
|
||||
if (auto* tz = getTargetTeleportZone(*locationState); tz && playerState) {
|
||||
if (auto* tz = getTargetTeleportZone(*locationState);
|
||||
tz && playerState && playerState->enabled) {
|
||||
float dist = (playerState->position - tz->position).norm();
|
||||
if (dist <= tz->radius) {
|
||||
logger() << "[TELEPORT] Player reached teleport zone '" << tz->id << "'" << std::endl;
|
||||
@@ -1964,7 +2002,7 @@ namespace FRG
|
||||
}
|
||||
}
|
||||
|
||||
if (playerState) {
|
||||
if (playerState && playerState->enabled) {
|
||||
for (auto& tz : teleportZones) {
|
||||
if (!tz.active || !tz.automatic) continue;
|
||||
const float autoR = tz.automaticRadius > 0.0f ? tz.automaticRadius : tz.radius;
|
||||
@@ -2003,7 +2041,7 @@ namespace FRG
|
||||
}
|
||||
|
||||
auto playerState = player ? player->stateSnapshot() : nullptr;
|
||||
if (!playerState) return;
|
||||
if (!playerState || !playerState->enabled) return;
|
||||
auto locationState = stateSnapshot();
|
||||
if (!locationState) return;
|
||||
const std::string lastPlayerAttackTarget = playerState->attackTargetId;
|
||||
@@ -2022,7 +2060,7 @@ namespace FRG
|
||||
Eigen::Vector3f camRight(cosAzim, 0.f, sinAzim);
|
||||
Eigen::Vector3f camForward(sinAzim * cosIncl, -sinIncl, -cosAzim * cosIncl);
|
||||
Eigen::Vector3f camUp(sinAzim * sinIncl, cosIncl, -cosAzim * sinIncl);
|
||||
const Eigen::Vector3f playerPos = playerState->position;
|
||||
const Eigen::Vector3f playerPos = player->renderPosition();
|
||||
Eigen::Vector3f camPos = playerPos + Eigen::Vector3f(-sinAzim * cosIncl, sinIncl, cosAzim * cosIncl) * Environment::zoom + Eigen::Vector3f(0,1,0);
|
||||
|
||||
Eigen::Vector3f rayDir = (camForward + camRight * (ndcX * aspect * tanHalfFov) + camUp * (ndcY * tanHalfFov)).normalized();
|
||||
@@ -2065,10 +2103,7 @@ namespace FRG
|
||||
? clickedObject->state.interactionPosition
|
||||
: clickedObject->state.position;
|
||||
setCharacterTarget(*player, interactionTarget);
|
||||
auto updatedPlayerState = player->stateSnapshot();
|
||||
if (updatedPlayerState && !updatedPlayerState->pathWaypoints.empty()) {
|
||||
pathVisualization.start(*player, interactionTarget);
|
||||
}
|
||||
pathVisualization.start(*player, interactionTarget);
|
||||
clearCharacterAttackTarget(*player);
|
||||
//logger() << "[CLICK] Player moving to object..." << std::endl;
|
||||
}
|
||||
@@ -2101,21 +2136,17 @@ namespace FRG
|
||||
tryCharacterAttackCombo(*player);
|
||||
}
|
||||
const std::string targetId = clickedNpc->entityId();
|
||||
updateCharacterState(*player, [targetId](CharacterState& workingState) {
|
||||
workingState.attackTargetId = targetId;
|
||||
});
|
||||
gameServer_.submit(SetCharacterTargetCommand{
|
||||
locationId_, player->entityId(), targetId});
|
||||
gameServer_.submit(SetLocationTargetsCommand{
|
||||
locationId_, std::string(), std::string(), std::string()});
|
||||
|
||||
if (distance >= Character::kAttackRange) {
|
||||
setCharacterTarget(*player, clickedNpcState->position);
|
||||
auto updatedPlayerState = player->stateSnapshot();
|
||||
if (updatedPlayerState && !updatedPlayerState->pathWaypoints.empty()) {
|
||||
pathVisualization.start(
|
||||
*player,
|
||||
clickedNpcState->position,
|
||||
PathVisualization::Style::Hostile);
|
||||
}
|
||||
pathVisualization.start(
|
||||
*player,
|
||||
clickedNpcState->position,
|
||||
PathVisualization::Style::Hostile);
|
||||
}
|
||||
|
||||
if (distance <= clickedNpcState->interactionRadius) {
|
||||
@@ -2131,9 +2162,9 @@ namespace FRG
|
||||
// Already in talk range — fire immediately, stop, and face the player.
|
||||
//logger() << "[CLICK] *** SUCCESS: Clicked on NPC index: " << npcIndex << " (in range) ***" << std::endl;
|
||||
setCharacterTarget(*player, playerState->position);
|
||||
updateCharacterState(*npcs[npcIndex], [this](CharacterState& workingState) {
|
||||
workingState.faceTargetId = gameServer_.localPlayerId();
|
||||
});
|
||||
gameServer_.submit(SetCharacterFaceTargetCommand{
|
||||
locationId_, npcs[npcIndex]->entityId(),
|
||||
gameServer_.localPlayerId()});
|
||||
scriptEngine.callNpcInteractCallback(clickedNpc->entityId());
|
||||
gameServer_.submit(SetLocationTargetsCommand{
|
||||
locationId_, std::string(), std::string(), std::string()});
|
||||
@@ -2142,10 +2173,7 @@ namespace FRG
|
||||
//logger() << "[CLICK] NPC " << npcIndex << " out of talk range (distance " << distance
|
||||
// << " > " << NPC_TALK_DISTANCE << "); walking to NPC..." << std::endl;
|
||||
setCharacterTarget(*player, clickedNpcState->position);
|
||||
auto updatedPlayerState = player->stateSnapshot();
|
||||
if (updatedPlayerState && !updatedPlayerState->pathWaypoints.empty()) {
|
||||
pathVisualization.start(*player, clickedNpcState->position);
|
||||
}
|
||||
pathVisualization.start(*player, clickedNpcState->position);
|
||||
gameServer_.submit(SetLocationTargetsCommand{
|
||||
locationId_, std::string(), clickedNpc->entityId(),
|
||||
std::string()});
|
||||
@@ -2173,13 +2201,10 @@ namespace FRG
|
||||
locationId_, std::string(), std::string(),
|
||||
clickedTeleport->id});
|
||||
setCharacterTarget(*player, clickedTeleport->position);
|
||||
auto updatedPlayerState = player->stateSnapshot();
|
||||
if (updatedPlayerState && !updatedPlayerState->pathWaypoints.empty()) {
|
||||
pathVisualization.start(
|
||||
*player,
|
||||
clickedTeleport->position,
|
||||
PathVisualization::Style::Teleport);
|
||||
}
|
||||
pathVisualization.start(
|
||||
*player,
|
||||
clickedTeleport->position,
|
||||
PathVisualization::Style::Teleport);
|
||||
clearCharacterAttackTarget(*player);
|
||||
} else {
|
||||
const Eigen::Vector3f clickedDestination(hit.x(), 0.f, hit.z());
|
||||
@@ -2235,6 +2260,7 @@ namespace FRG
|
||||
void Location::updatePresentation(int64_t delta)
|
||||
{
|
||||
dialogueSystem.update(static_cast<int>(delta));
|
||||
pathVisualization.update(delta);
|
||||
for (auto& tz : teleportZones)
|
||||
tz.update(static_cast<float>(delta));
|
||||
}
|
||||
|
||||
+2
-3
@@ -80,6 +80,7 @@ namespace FRG
|
||||
// Detaches the (shared, longer-lived) player from this location.
|
||||
~Location();
|
||||
const std::string& locationId() const { return locationId_; }
|
||||
IGameServer& gameServer() { return gameServer_; }
|
||||
std::shared_ptr<const LocationNetworkState> stateSnapshot() const;
|
||||
LocationLocalState& localState() { return *localState_; }
|
||||
const LocationLocalState& localState() const { return *localState_; }
|
||||
@@ -175,9 +176,6 @@ namespace FRG
|
||||
bool switchNavigation(int index);
|
||||
void setCharacterTarget(Character& character, const Eigen::Vector3f& target,
|
||||
std::string callbackName = "");
|
||||
void updateCharacterState(
|
||||
Character& character,
|
||||
const std::function<void(CharacterState&)>& mutation);
|
||||
void clearCharacterAttackTarget(Character& character);
|
||||
void stopCharacter(Character& character);
|
||||
void faceCharacter(Character& character, std::string targetId);
|
||||
@@ -185,6 +183,7 @@ namespace FRG
|
||||
void resetCharacterAfterDeath(Character& character);
|
||||
void tryCharacterAttackCombo(Character& character);
|
||||
void setCharacterHp(Character& character, float hp);
|
||||
void refillCharacterHp(Character& character);
|
||||
bool hasInventoryItem(const std::string& itemId) const;
|
||||
std::size_t inventoryItemCount() const;
|
||||
void addInventoryItem(std::string itemId);
|
||||
|
||||
+189
-21
@@ -126,6 +126,58 @@ const CharacterState* LocationGameState::findCharacter(
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
std::vector<PathFinder::DynamicObstacle> LocationGameState::collectPathObstacles(
|
||||
const std::string& requesterId,
|
||||
const PlayerStateMap& players,
|
||||
const std::string& forcedObstacleId) const
|
||||
{
|
||||
std::vector<std::pair<std::string, const CharacterState*>> characters;
|
||||
characters.reserve(players.size() + npcs.size());
|
||||
for (const auto& [id, character] : players)
|
||||
if (character) characters.emplace_back(id, character.get());
|
||||
for (const auto& [id, character] : npcs)
|
||||
if (character) characters.emplace_back(id, character.get());
|
||||
std::sort(characters.begin(), characters.end(),
|
||||
[](const auto& lhs, const auto& rhs) { return lhs.first < rhs.first; });
|
||||
|
||||
std::vector<PathFinder::DynamicObstacle> obstacles;
|
||||
obstacles.reserve(characters.size());
|
||||
for (const auto& [id, character] : characters) {
|
||||
if (id == requesterId || !character->enabled || character->hp <= 0.f)
|
||||
continue;
|
||||
if (character->movedLastTick && id != forcedObstacleId) continue;
|
||||
obstacles.push_back({character->position, character->collisionRadius});
|
||||
}
|
||||
return obstacles;
|
||||
}
|
||||
|
||||
bool LocationGameState::setCharacterDestination(
|
||||
const std::string& id,
|
||||
const Eigen::Vector3f& target,
|
||||
std::string callbackName,
|
||||
PlayerStateMap& players,
|
||||
const std::string& forcedObstacleId)
|
||||
{
|
||||
CharacterState* character = findCharacter(id, players);
|
||||
if (!character || !location) return false;
|
||||
character->setTarget(
|
||||
target, std::move(callbackName), *location, id,
|
||||
collectPathObstacles(id, players, forcedObstacleId));
|
||||
return true;
|
||||
}
|
||||
|
||||
bool LocationGameState::replanCharacter(
|
||||
const std::string& id,
|
||||
PlayerStateMap& players,
|
||||
const std::string& forcedObstacleId)
|
||||
{
|
||||
CharacterState* character = findCharacter(id, players);
|
||||
if (!character || !location) return false;
|
||||
character->forceReplan(
|
||||
*location, id, collectPathObstacles(id, players, forcedObstacleId));
|
||||
return true;
|
||||
}
|
||||
|
||||
void LocationGameState::startTaxi()
|
||||
{
|
||||
location->taxiCar.waypoints = location->taxiCarWaypoints;
|
||||
@@ -255,46 +307,162 @@ LocationSimulationEvents LocationGameState::update(
|
||||
// after every state has advanced, so vector order cannot suppress an attack.
|
||||
std::unordered_map<std::string, CharacterObservation> observations;
|
||||
for (const auto& [id, player] : players)
|
||||
if (player)
|
||||
if (player && player->enabled)
|
||||
observations.emplace(
|
||||
id, CharacterObservation{player->position, player->hp});
|
||||
for (const auto& [id, npc] : npcs)
|
||||
if (npc)
|
||||
if (npc && npc->enabled)
|
||||
observations.emplace(
|
||||
id, CharacterObservation{npc->position, npc->hp});
|
||||
|
||||
auto advance = [&](const std::string& id, CharacterState& state) {
|
||||
CharacterUpdateContext context;
|
||||
auto attack = observations.find(state.attackTargetId);
|
||||
if (attack != observations.end()) context.attackTarget = &attack->second;
|
||||
auto face = observations.find(state.faceTargetId);
|
||||
if (face != observations.end()) context.faceTarget = &face->second;
|
||||
CharacterUpdateEvents events = state.update(deltaMs, context);
|
||||
if (!events.arrivedCallbackName.empty() || events.attackImpact ||
|
||||
events.deathAnimationComplete || events.navigationRequested) {
|
||||
result.characters.push_back({id, std::move(events)});
|
||||
}
|
||||
};
|
||||
|
||||
std::vector<std::string> playerIds;
|
||||
playerIds.reserve(players.size());
|
||||
for (const auto& [id, player] : players)
|
||||
if (player) playerIds.push_back(id);
|
||||
std::sort(playerIds.begin(), playerIds.end());
|
||||
for (const std::string& id : playerIds)
|
||||
advance(id, *players.at(id));
|
||||
|
||||
std::vector<std::string> eligiblePlayerIds;
|
||||
for (const std::string& id : playerIds) {
|
||||
const auto& player = players.at(id);
|
||||
if (player->enabled && player->hp > 0.f)
|
||||
eligiblePlayerIds.push_back(id);
|
||||
}
|
||||
|
||||
std::vector<std::string> npcIds;
|
||||
npcIds.reserve(npcs.size());
|
||||
for (const auto& [id, npc] : npcs)
|
||||
if (npc) npcIds.push_back(id);
|
||||
std::sort(npcIds.begin(), npcIds.end());
|
||||
|
||||
// Target selection is authoritative and runs before all characters observe
|
||||
// the tick. A valid target is a lock: it is retained until the player dies
|
||||
// or becomes disabled, even when the player leaves visibleRange.
|
||||
for (const std::string& id : npcIds) {
|
||||
CharacterState& npc = *npcs.at(id);
|
||||
if (!npc.enabled || !npc.canAttack || npc.hp <= 0.f)
|
||||
continue;
|
||||
|
||||
const std::string previousTarget = npc.attackTargetId;
|
||||
const auto locked = players.find(previousTarget);
|
||||
const bool lockValid =
|
||||
locked != players.end() && locked->second &&
|
||||
locked->second->enabled && locked->second->hp > 0.f;
|
||||
std::string selectedTarget = lockValid ? previousTarget : std::string();
|
||||
|
||||
if (!lockValid) {
|
||||
float nearestDistanceSquared = npc.visibleRange * npc.visibleRange;
|
||||
for (const std::string& playerId : eligiblePlayerIds) {
|
||||
const Eigen::Vector3f delta =
|
||||
players.at(playerId)->position - npc.position;
|
||||
const float distanceSquared =
|
||||
delta.x() * delta.x() + delta.z() * delta.z();
|
||||
if (distanceSquared <= nearestDistanceSquared) {
|
||||
if (selectedTarget.empty() ||
|
||||
distanceSquared < nearestDistanceSquared ||
|
||||
(distanceSquared == nearestDistanceSquared &&
|
||||
playerId < selectedTarget)) {
|
||||
selectedTarget = playerId;
|
||||
nearestDistanceSquared = distanceSquared;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (selectedTarget != previousTarget) {
|
||||
npc.stopInPlace();
|
||||
npc.attackTargetId = selectedTarget;
|
||||
}
|
||||
|
||||
if (selectedTarget.empty()) {
|
||||
npc.battle_state = 0;
|
||||
npc.attack = 0;
|
||||
const Eigen::Vector3f homeTarget(
|
||||
npc.homePosition.x(), 0.f, npc.homePosition.z());
|
||||
const Eigen::Vector3f toHome = homeTarget - npc.position;
|
||||
if (toHome.norm() > CharacterState::kWalkThreshold &&
|
||||
(npc.requestedWalkTarget - homeTarget).norm() >
|
||||
CharacterState::kWalkThreshold) {
|
||||
setCharacterDestination(id, homeTarget, {}, players);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
std::vector<CharacterMovementObstacle> movementObstacles;
|
||||
movementObstacles.reserve(playerIds.size() + npcIds.size());
|
||||
auto addMovementObstacle =
|
||||
[&movementObstacles](const std::string& id,
|
||||
const CharacterState& character) {
|
||||
Eigen::Vector3f direction =
|
||||
character.getCurrentNavigationTarget() - character.position;
|
||||
direction.y() = 0.f;
|
||||
const float length = direction.norm();
|
||||
if (length > CharacterState::kWalkThreshold) direction /= length;
|
||||
else direction = Eigen::Vector3f::Zero();
|
||||
movementObstacles.push_back({
|
||||
id,
|
||||
character.position,
|
||||
character.movementContactRadius,
|
||||
character.movedLastTick,
|
||||
direction});
|
||||
};
|
||||
for (const std::string& id : playerIds) {
|
||||
const CharacterState& character = *players.at(id);
|
||||
if (character.enabled && character.hp > 0.f)
|
||||
addMovementObstacle(id, character);
|
||||
}
|
||||
for (const std::string& id : npcIds) {
|
||||
const CharacterState& character = *npcs.at(id);
|
||||
if (character.enabled && character.hp > 0.f)
|
||||
addMovementObstacle(id, character);
|
||||
}
|
||||
// One global ID order also makes blocker selection deterministic.
|
||||
std::sort(
|
||||
movementObstacles.begin(), movementObstacles.end(),
|
||||
[](const CharacterMovementObstacle& lhs,
|
||||
const CharacterMovementObstacle& rhs) { return lhs.id < rhs.id; });
|
||||
|
||||
auto advance = [&](const std::string& id, CharacterState& state) {
|
||||
CharacterUpdateContext context;
|
||||
context.characterId = id;
|
||||
context.movementObstacles = &movementObstacles;
|
||||
auto attack = observations.find(state.attackTargetId);
|
||||
if (attack != observations.end()) context.attackTarget = &attack->second;
|
||||
auto face = observations.find(state.faceTargetId);
|
||||
if (face != observations.end()) context.faceTarget = &face->second;
|
||||
CharacterUpdateEvents events = state.update(deltaMs, context);
|
||||
auto reservation = std::lower_bound(
|
||||
movementObstacles.begin(), movementObstacles.end(), id,
|
||||
[](const CharacterMovementObstacle& obstacle,
|
||||
const std::string& value) { return obstacle.id < value; });
|
||||
if (reservation != movementObstacles.end() && reservation->id == id) {
|
||||
reservation->position = state.position;
|
||||
reservation->moving = state.movedLastTick;
|
||||
Eigen::Vector3f direction =
|
||||
state.getCurrentNavigationTarget() - state.position;
|
||||
direction.y() = 0.f;
|
||||
const float length = direction.norm();
|
||||
if (length > CharacterState::kWalkThreshold)
|
||||
reservation->movementDirection = direction / length;
|
||||
else
|
||||
reservation->movementDirection = Eigen::Vector3f::Zero();
|
||||
}
|
||||
if (!events.arrivedCallbackName.empty() || events.attackImpact ||
|
||||
events.deathAnimationComplete || events.navigationRequested) {
|
||||
result.characters.push_back({id, std::move(events)});
|
||||
}
|
||||
};
|
||||
|
||||
for (const std::string& id : playerIds)
|
||||
if (players.at(id)->enabled)
|
||||
advance(id, *players.at(id));
|
||||
for (const std::string& id : npcIds)
|
||||
advance(id, *npcs.at(id));
|
||||
if (npcs.at(id)->enabled)
|
||||
advance(id, *npcs.at(id));
|
||||
|
||||
for (const CharacterSimulationEvent& source : result.characters) {
|
||||
if (!source.events.attackImpact) continue;
|
||||
CharacterState* target = findCharacter(source.events.attackTargetId, players);
|
||||
if (!target) continue;
|
||||
if (!target || !target->enabled || target->hp <= 0.f) continue;
|
||||
constexpr float damage = 10.f;
|
||||
target->setHp(target->hp - damage);
|
||||
result.damage.push_back({
|
||||
@@ -309,7 +477,7 @@ LocationSimulationEvents LocationGameState::update(
|
||||
auto player = players.find("player");
|
||||
if (!interactiveObjectsLocked &&
|
||||
!location->targetInteractiveObjectId.empty() &&
|
||||
player != players.end() && player->second) {
|
||||
player != players.end() && player->second && player->second->enabled) {
|
||||
auto target = interactiveObjects.find(location->targetInteractiveObjectId);
|
||||
const auto object =
|
||||
target == interactiveObjects.end() ? nullptr : target->second;
|
||||
@@ -326,7 +494,7 @@ LocationSimulationEvents LocationGameState::update(
|
||||
}
|
||||
|
||||
if (!location->targetInteractNpcId.empty() &&
|
||||
player != players.end() && player->second &&
|
||||
player != players.end() && player->second && player->second->enabled &&
|
||||
npcs.count(location->targetInteractNpcId) != 0 &&
|
||||
npcs.at(location->targetInteractNpcId)) {
|
||||
const auto& npc = npcs.at(location->targetInteractNpcId);
|
||||
|
||||
@@ -64,6 +64,20 @@ struct LocationGameState {
|
||||
CharacterState* findCharacter(const std::string& id, PlayerStateMap& players);
|
||||
const CharacterState* findCharacter(
|
||||
const std::string& id, const PlayerStateMap& players) const;
|
||||
std::vector<PathFinder::DynamicObstacle> collectPathObstacles(
|
||||
const std::string& requesterId,
|
||||
const PlayerStateMap& players,
|
||||
const std::string& forcedObstacleId = {}) const;
|
||||
bool setCharacterDestination(
|
||||
const std::string& id,
|
||||
const Eigen::Vector3f& target,
|
||||
std::string callbackName,
|
||||
PlayerStateMap& players,
|
||||
const std::string& forcedObstacleId = {});
|
||||
bool replanCharacter(
|
||||
const std::string& id,
|
||||
PlayerStateMap& players,
|
||||
const std::string& forcedObstacleId = {});
|
||||
void startTaxi();
|
||||
void resetTaxi();
|
||||
LocationSimulationEvents update(
|
||||
|
||||
+12
-2
@@ -122,9 +122,19 @@ void loadSinglePlayerPersistence(
|
||||
}
|
||||
|
||||
|
||||
std::vector<Eigen::Vector3f> LocationNetworkState::planPathExceptMyself(const Eigen::Vector3f& start, const Eigen::Vector3f& end, const std::string& entityId) const
|
||||
// Entity ownership stays above this navigation-only layer.
|
||||
std::vector<Eigen::Vector3f> LocationNetworkState::planPathExceptMyself(
|
||||
const Eigen::Vector3f& start,
|
||||
const Eigen::Vector3f& end,
|
||||
const std::string& entityId,
|
||||
const std::vector<PathFinder::DynamicObstacle>& dynamicObstacles) const
|
||||
{
|
||||
return navigationMaps[activeNavigationIndex].findPathToNearest(start, end, {});
|
||||
(void)entityId;
|
||||
if (activeNavigationIndex < 0 ||
|
||||
activeNavigationIndex >= static_cast<int>(navigationMaps.size()))
|
||||
return {};
|
||||
return navigationMaps[activeNavigationIndex].findPathToNearest(
|
||||
start, end, dynamicObstacles);
|
||||
}
|
||||
|
||||
void LocationNetworkState::initNavigation(
|
||||
|
||||
+5
-1
@@ -41,7 +41,11 @@ struct LocationNetworkState : public ISaveable {
|
||||
//This value is populated from the JSON configs and should not be changed during the regular gameplay.
|
||||
//It might be changed only in the editor mode during development.
|
||||
std::vector<PathFinder> navigationMaps;
|
||||
std::vector<Eigen::Vector3f> planPathExceptMyself(const Eigen::Vector3f& start, const Eigen::Vector3f& end, const std::string& entityId) const;
|
||||
std::vector<Eigen::Vector3f> planPathExceptMyself(
|
||||
const Eigen::Vector3f& start,
|
||||
const Eigen::Vector3f& end,
|
||||
const std::string& entityId,
|
||||
const std::vector<PathFinder::DynamicObstacle>& dynamicObstacles = {}) const;
|
||||
void initNavigation(
|
||||
const std::vector<std::string>& paths,
|
||||
const std::string& zipFile = std::string());
|
||||
|
||||
+38
-15
@@ -1,4 +1,4 @@
|
||||
#include "MenuManager.h"
|
||||
#include "MenuManager.h"
|
||||
#include "Game.h"
|
||||
#include "Localization.h"
|
||||
#include "items/ItemRegistry.h"
|
||||
@@ -420,9 +420,24 @@ namespace FRG {
|
||||
}
|
||||
|
||||
void MenuManager::refreshHudVisibility() {
|
||||
const auto itemIds = server_.snapshot()->inventoryItemIds;
|
||||
|
||||
const auto snapshot = server_.snapshot();
|
||||
// The initial state can be loaded after the gameplay HUD was first
|
||||
// constructed (notably for the remote campaign). Keep the root derived
|
||||
// from the authoritative snapshot instead of relying on the transition
|
||||
// callback to switch between day and Darklands HUDs.
|
||||
// Pushed in-game screens (inventory, phone, journal, and pause menu)
|
||||
// temporarily own the UI root while keeping the logical UI state as
|
||||
// Gameplay. Do not replace those roots from the per-frame refresh.
|
||||
if (uiState_ == GameUiState::Gameplay && uiManager.menuStackSize() == 0) {
|
||||
const auto desiredRoot = gameplayHudRoot();
|
||||
if (uiManager.getRoot() != desiredRoot) {
|
||||
uiManager.replaceRoot(desiredRoot);
|
||||
applyCurrentHealthBar();
|
||||
setupGameplayHudCallbacks();
|
||||
}
|
||||
}
|
||||
|
||||
const auto itemIds = snapshot->inventoryItemIds;
|
||||
const TutorialStep step = snapshot->tutorialStep;
|
||||
const bool tutorial = snapshot->isTutorialActive();
|
||||
const bool hasPhone = std::find(itemIds.begin(), itemIds.end(), "phone") != itemIds.end();
|
||||
@@ -522,7 +537,7 @@ namespace FRG {
|
||||
|
||||
|
||||
|
||||
#if !defined(EMSCRIPTEN) && !defined(__ANDROID__)
|
||||
#if !defined(__EMSCRIPTEN__) && !defined(__ANDROID__)
|
||||
uiManager.setTextButtonCallback("menuExitButton", [this](const std::string&) {
|
||||
audioPlayer_.playSoundAsync("resources/audio/751089__smallconfusion__mechanical-plastic-click-11.ogg");
|
||||
Environment::exitGameLoop = true;
|
||||
@@ -572,7 +587,7 @@ namespace FRG {
|
||||
|
||||
|
||||
|
||||
#ifndef EMSCRIPTEN
|
||||
#ifndef __EMSCRIPTEN__
|
||||
uiManager.setTextButtonCallback("menuExitButton", [this](const std::string&) {
|
||||
audioPlayer_.playSoundAsync("resources/audio/751089__smallconfusion__mechanical-plastic-click-11.ogg");
|
||||
Environment::exitGameLoop = true;
|
||||
@@ -2191,7 +2206,7 @@ namespace FRG {
|
||||
}
|
||||
|
||||
void MenuManager::updateHealthBar(float hp, float maxHp) {
|
||||
server_.submit(SetPlayerHealthCommand{hp, maxHp});
|
||||
//server_.submit(SetPlayerHealthCommand{hp, maxHp});
|
||||
applyCurrentHealthBar();
|
||||
}
|
||||
|
||||
@@ -2212,17 +2227,25 @@ namespace FRG {
|
||||
|
||||
void MenuManager::applyCurrentHealthBar() {
|
||||
logger() << "MenuManager::applyCurrentHealthBar called step 1" << std::endl;
|
||||
const auto state = server_.snapshot();
|
||||
logger() << "currentPlayerMaxHp_ is " << state->playerMaxHp << std::endl;
|
||||
if (state->playerMaxHp <= 0.f) return;
|
||||
logger() << "MenuManager::applyCurrentHealthBar called step 2" << std::endl;
|
||||
logger() << "currentPlayerHp_ is " << state->playerHp << std::endl;
|
||||
const auto snapshot = server_.snapshot();
|
||||
if (!snapshot) return;
|
||||
|
||||
const float fraction = std::clamp(state->playerHp / state->playerMaxHp, 0.f, 1.f);
|
||||
const auto playerIt = snapshot->players.find(server_.localPlayerId());
|
||||
if (playerIt == snapshot->players.end()) return;
|
||||
|
||||
const CharacterState& playerState = playerIt->second.state;
|
||||
const float hp = playerState.hp;
|
||||
const float maxHp = playerState.initialHp;
|
||||
logger() << "currentPlayerMaxHp_ is " << maxHp << std::endl;
|
||||
if (maxHp <= 0.f) return;
|
||||
logger() << "MenuManager::applyCurrentHealthBar called step 2" << std::endl;
|
||||
logger() << "currentPlayerHp_ is " << hp << std::endl;
|
||||
|
||||
const float fraction = std::clamp(hp / maxHp, 0.f, 1.f);
|
||||
|
||||
uiManager.setSliderValue("healthBarFill", fraction);
|
||||
std::string hpText = std::to_string(static_cast<int>(state->playerHp)) + "/" +
|
||||
std::to_string(static_cast<int>(state->playerMaxHp));
|
||||
std::string hpText = std::to_string(static_cast<int>(hp)) + "/" +
|
||||
std::to_string(static_cast<int>(maxHp));
|
||||
if (hpText.size() < 7) hpText.insert(0, 7 - hpText.size(), ' ');
|
||||
uiManager.setText("healthValue", hpText);
|
||||
}
|
||||
@@ -2418,7 +2441,7 @@ namespace FRG {
|
||||
if (root.contains("soundEnabled"))
|
||||
audioPlayer_.setSoundEnabled(root["soundEnabled"].get<bool>());
|
||||
if (root.contains("fullscreen")) {
|
||||
#ifndef EMSCRIPTEN
|
||||
#ifndef __EMSCRIPTEN__
|
||||
Environment::setFullscreen(root["fullscreen"].get<bool>());
|
||||
#endif
|
||||
}
|
||||
|
||||
+24
-48
@@ -124,9 +124,8 @@ namespace FRG {
|
||||
if (cbName.empty())
|
||||
std::cerr << "[script] npc_walk_to: on_arrived must be a global Lua function\n";
|
||||
}
|
||||
loc->updateCharacterState(*npc, [x, z](CharacterState& workingState) {
|
||||
workingState.homePosition = Eigen::Vector3f(x, 0.f, z);
|
||||
});
|
||||
loc->gameServer().submit(SetCharacterHomePositionCommand{
|
||||
loc->locationId(), npc->entityId(), Eigen::Vector3f(x, 0.f, z)});
|
||||
loc->setCharacterTarget(
|
||||
*npc, Eigen::Vector3f(x, y, z), std::move(cbName));
|
||||
});
|
||||
@@ -142,18 +141,16 @@ namespace FRG {
|
||||
|
||||
const float rad = angle * static_cast<float>(M_PI) / 180.f;
|
||||
logger() << "[script] npc_rotate_to: " << npcId << " angle " << angle << " degrees (" << rad << " radians)" << std::endl;
|
||||
loc->updateCharacterState(*npc, [rad](CharacterState& workingState) {
|
||||
workingState.targetFacingAngle = rad;
|
||||
});
|
||||
loc->gameServer().submit(SetCharacterFacingAngleCommand{
|
||||
loc->locationId(), npc->entityId(), rad, false});
|
||||
});
|
||||
|
||||
api.set_function("player_rotate_to",
|
||||
[loc](float angle) {
|
||||
const float rad = angle * static_cast<float>(M_PI) / 180.f;
|
||||
logger() << "[script] player_rotate_to: angle " << angle << " degrees (" << rad << " radians)" << std::endl;
|
||||
loc->updateCharacterState(*loc->player, [rad](CharacterState& workingState) {
|
||||
workingState.targetFacingAngle = rad;
|
||||
});
|
||||
loc->gameServer().submit(SetCharacterFacingAngleCommand{
|
||||
loc->locationId(), loc->player->entityId(), rad, false});
|
||||
});
|
||||
|
||||
api.set_function("player_stop_and_rotate_to_npc",
|
||||
@@ -188,9 +185,9 @@ namespace FRG {
|
||||
if (cbName.empty())
|
||||
std::cerr << "[script] player_walk_to: on_arrived must be a global Lua function\n";
|
||||
}
|
||||
loc->updateCharacterState(*loc->player, [x, z](CharacterState& workingState) {
|
||||
workingState.homePosition = Eigen::Vector3f(x, 0.f, z);
|
||||
});
|
||||
loc->gameServer().submit(SetCharacterHomePositionCommand{
|
||||
loc->locationId(), loc->player->entityId(),
|
||||
Eigen::Vector3f(x, 0.f, z)});
|
||||
loc->setCharacterTarget(
|
||||
*loc->player, Eigen::Vector3f(x, y, z), std::move(cbName));
|
||||
});
|
||||
@@ -434,21 +431,15 @@ namespace FRG {
|
||||
return state ? state->position.z() : 0.0f;
|
||||
});
|
||||
|
||||
// set_player_hp(value) — sets the player's current HP directly.
|
||||
api.set_function("set_player_hp",
|
||||
[loc](float value) {
|
||||
api.set_function("refill_current_player_hp",
|
||||
[loc]() {
|
||||
if (loc->player)
|
||||
{
|
||||
loc->setCharacterHp(*loc->player, value);
|
||||
loc->updateCharacterState(*loc->player, [](CharacterState& workingState) {
|
||||
if (workingState.currentState == AnimationState::ACTION_TO_DEATH ||
|
||||
workingState.currentState == AnimationState::DEATH_IDLE) {
|
||||
workingState.currentState = AnimationState::STAND;
|
||||
workingState.resetAnim = true;
|
||||
}
|
||||
});
|
||||
loc->refillCharacterHp(*loc->player);
|
||||
loc->resetCharacterAfterDeath(*loc->player);
|
||||
}
|
||||
});
|
||||
|
||||
// get_player_hp() → float (0 if no player)
|
||||
api.set_function("get_player_hp",
|
||||
[loc]() -> float {
|
||||
@@ -602,10 +593,8 @@ namespace FRG {
|
||||
return;
|
||||
}
|
||||
Eigen::Vector3f pos(x, y, z);
|
||||
loc->updateCharacterState(*npc, [&pos](CharacterState& workingState) {
|
||||
workingState.position = pos;
|
||||
workingState.homePosition = pos;
|
||||
});
|
||||
loc->gameServer().submit(SetCharacterPositionCommand{
|
||||
loc->locationId(), npc->entityId(), pos, true});
|
||||
loc->setCharacterTarget(*npc, pos);
|
||||
});
|
||||
|
||||
@@ -618,10 +607,8 @@ namespace FRG {
|
||||
return;
|
||||
}
|
||||
const float rad = angle * static_cast<float>(M_PI) / 180.f;
|
||||
loc->updateCharacterState(*npc, [rad](CharacterState& workingState) {
|
||||
workingState.facingAngle = rad;
|
||||
workingState.targetFacingAngle = rad;
|
||||
});
|
||||
loc->gameServer().submit(SetCharacterFacingAngleCommand{
|
||||
loc->locationId(), npc->entityId(), rad, true});
|
||||
});
|
||||
|
||||
// set_npc_enabled(npc_id, enabled)
|
||||
@@ -632,34 +619,23 @@ namespace FRG {
|
||||
std::cerr << "[script] set_npc_enabled: unknown NPC id '" << npcId << "'\n";
|
||||
return;
|
||||
}
|
||||
loc->updateCharacterState(*npc, [value](CharacterState& workingState) {
|
||||
workingState.enabled = value;
|
||||
workingState.attack = 0;
|
||||
workingState.attack_cooldown = 0;
|
||||
workingState.currentState = AnimationState::STAND;
|
||||
if (workingState.canAttack)
|
||||
workingState.attackTargetId = "player";
|
||||
workingState.battle_state = 0;
|
||||
});
|
||||
loc->gameServer().submit(SetCharacterEnabledCommand{
|
||||
loc->locationId(), npc->entityId(), value});
|
||||
});
|
||||
|
||||
api.set_function("player_set_position",
|
||||
[loc](float x, float y, float z) {
|
||||
Eigen::Vector3f pos(x, y, z);
|
||||
loc->updateCharacterState(*loc->player, [&pos](CharacterState& workingState) {
|
||||
workingState.position = pos;
|
||||
workingState.homePosition = pos;
|
||||
});
|
||||
loc->gameServer().submit(SetCharacterPositionCommand{
|
||||
loc->locationId(), loc->player->entityId(), pos, true});
|
||||
loc->setCharacterTarget(*loc->player, pos);
|
||||
});
|
||||
|
||||
api.set_function("player_set_rotation",
|
||||
[loc](float angle) {
|
||||
const float rad = angle * static_cast<float>(M_PI) / 180.f;
|
||||
loc->updateCharacterState(*loc->player, [rad](CharacterState& workingState) {
|
||||
workingState.facingAngle = rad;
|
||||
workingState.targetFacingAngle = rad;
|
||||
});
|
||||
loc->gameServer().submit(SetCharacterFacingAngleCommand{
|
||||
loc->locationId(), loc->player->entityId(), rad, true});
|
||||
});
|
||||
|
||||
// move_object(name, x, y, z, duration_sec [, on_complete])
|
||||
|
||||
@@ -182,9 +182,13 @@ CharacterState NpcData::toCharacterState() const
|
||||
state.initialHp = hp;
|
||||
state.visibleRange = visibleRange;
|
||||
state.canAttack = canAttack;
|
||||
if (canAttack) state.attackTargetId = "player";
|
||||
state.enabled = enabled;
|
||||
state.collisionRadius = navigationAvoidanceRadius;
|
||||
state.movementContactRadius =
|
||||
(std::min)(movementContactRadius, navigationAvoidanceRadius);
|
||||
state.interactionRadius = interactionRadius;
|
||||
state.configureNavigationRetryCooldowns(
|
||||
id, navigationRetryCooldownTicks);
|
||||
|
||||
Eigen::Quaternionf correction = Eigen::Quaternionf::Identity();
|
||||
if (modelCorrectionRotX != 0.f)
|
||||
@@ -343,6 +347,34 @@ LocationDefinition LocationContentLoader::load(
|
||||
item.value("visibleRange", VISIBLE_RANGE);
|
||||
data.canAttack = item.value("canAttack", false);
|
||||
data.enabled = item.value("enabled", true);
|
||||
data.navigationAvoidanceRadius = item.value(
|
||||
"navigationAvoidanceRadius",
|
||||
item.value("collisionRadius", 0.45f));
|
||||
data.navigationAvoidanceRadius =
|
||||
(std::max)(0.05f, data.navigationAvoidanceRadius);
|
||||
data.movementContactRadius = item.value(
|
||||
"movementContactRadius",
|
||||
data.navigationAvoidanceRadius * 0.72f);
|
||||
data.movementContactRadius = (std::max)(
|
||||
0.05f, (std::min)(
|
||||
data.movementContactRadius,
|
||||
data.navigationAvoidanceRadius));
|
||||
const char* cooldownKey =
|
||||
item.contains("navigationRetryCooldownTicks")
|
||||
? "navigationRetryCooldownTicks"
|
||||
: "navigationRetryCooldownMs";
|
||||
if (item.contains(cooldownKey) &&
|
||||
item.at(cooldownKey).is_array()) {
|
||||
for (const auto& value : item.at(cooldownKey)) {
|
||||
if (!value.is_number_integer()) continue;
|
||||
int ticks = value.get<int>();
|
||||
if (std::string(cooldownKey) ==
|
||||
"navigationRetryCooldownMs") {
|
||||
ticks = (std::max)(1, (ticks + 99) / 100);
|
||||
}
|
||||
data.navigationRetryCooldownTicks.push_back(ticks);
|
||||
}
|
||||
}
|
||||
result.npcs.push_back(std::move(data));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -72,7 +72,10 @@ struct NpcData {
|
||||
float visibleRange = VISIBLE_RANGE;
|
||||
bool canAttack = false;
|
||||
bool enabled = true;
|
||||
float navigationAvoidanceRadius = 0.45f;
|
||||
float movementContactRadius = 0.32f;
|
||||
float interactionRadius = 0.f;
|
||||
std::vector<int> navigationRetryCooldownTicks;
|
||||
|
||||
CharacterState toCharacterState() const;
|
||||
};
|
||||
|
||||
@@ -46,8 +46,6 @@ struct GameSnapshot {
|
||||
bool isDarklands = false;
|
||||
bool isNight = false;
|
||||
bool isDawn = false;
|
||||
float playerHp = 0.f;
|
||||
float playerMaxHp = 0.f;
|
||||
int money = 0;
|
||||
TutorialStep tutorialStep = TutorialStep::Completed;
|
||||
bool tutorialPhoneChatScreenOpened = false;
|
||||
@@ -71,7 +69,6 @@ struct GameSnapshot {
|
||||
|
||||
struct SetWorldModeCommand { bool darklands; bool night; bool dawn; };
|
||||
struct SetCurrentLocationCommand { std::string locationId; };
|
||||
struct SetPlayerHealthCommand { float hp; float maxHp; };
|
||||
struct SetMoneyCommand { int amount; };
|
||||
struct SpendMoneyCommand { int amount; };
|
||||
struct CompleteTutorialStepCommand { TutorialStep step; };
|
||||
@@ -136,17 +133,38 @@ struct SetQuestActiveObjectiveCommand {
|
||||
};
|
||||
struct SetGlobalIntCommand { std::string key; int value; };
|
||||
struct SetGlobalFloatCommand { std::string key; float value; };
|
||||
struct SetCharacterTransformCommand {
|
||||
struct SetCharacterPositionCommand {
|
||||
std::string locationId;
|
||||
std::string characterId;
|
||||
Eigen::Vector3f position;
|
||||
bool updateHomePosition = false;
|
||||
};
|
||||
struct SetCharacterFacingAngleCommand {
|
||||
std::string locationId;
|
||||
std::string characterId;
|
||||
float angle;
|
||||
bool setCurrentAngle = false;
|
||||
};
|
||||
struct SetCharacterHomePositionCommand {
|
||||
std::string locationId;
|
||||
std::string characterId;
|
||||
Eigen::Vector3f position;
|
||||
float facingAngle;
|
||||
};
|
||||
struct SetCharacterTargetCommand {
|
||||
std::string locationId;
|
||||
std::string characterId;
|
||||
std::string targetId;
|
||||
};
|
||||
struct SetCharacterFaceTargetCommand {
|
||||
std::string locationId;
|
||||
std::string characterId;
|
||||
std::string targetId;
|
||||
};
|
||||
struct SetCharacterEnabledCommand {
|
||||
std::string locationId;
|
||||
std::string characterId;
|
||||
bool enabled;
|
||||
};
|
||||
struct ClearCharacterAttackTargetCommand {
|
||||
std::string locationId;
|
||||
std::string characterId;
|
||||
@@ -196,11 +214,6 @@ struct DamageCharacterCommand {
|
||||
float amount;
|
||||
std::string attackerId;
|
||||
};
|
||||
struct CommitCharacterStateCommand {
|
||||
std::string locationId;
|
||||
std::string characterId;
|
||||
CharacterState state;
|
||||
};
|
||||
struct SetInteractiveObjectActiveCommand {
|
||||
std::string locationId;
|
||||
std::string objectId;
|
||||
@@ -216,7 +229,6 @@ struct ReloadQuestDefinitionsCommand { std::string path; std::string zipFile; };
|
||||
using GameCommand = std::variant<
|
||||
SetWorldModeCommand,
|
||||
SetCurrentLocationCommand,
|
||||
SetPlayerHealthCommand,
|
||||
SetMoneyCommand,
|
||||
SpendMoneyCommand,
|
||||
CompleteTutorialStepCommand,
|
||||
@@ -241,8 +253,12 @@ using GameCommand = std::variant<
|
||||
SetQuestActiveObjectiveCommand,
|
||||
SetGlobalIntCommand,
|
||||
SetGlobalFloatCommand,
|
||||
SetCharacterTransformCommand,
|
||||
SetCharacterPositionCommand,
|
||||
SetCharacterFacingAngleCommand,
|
||||
SetCharacterHomePositionCommand,
|
||||
SetCharacterTargetCommand,
|
||||
SetCharacterFaceTargetCommand,
|
||||
SetCharacterEnabledCommand,
|
||||
ClearCharacterAttackTargetCommand,
|
||||
SetCharacterDestinationCommand,
|
||||
StopCharacterCommand,
|
||||
@@ -253,7 +269,6 @@ using GameCommand = std::variant<
|
||||
SetCharacterHealthCommand,
|
||||
SetCharacterAnimationMetadataCommand,
|
||||
DamageCharacterCommand,
|
||||
CommitCharacterStateCommand,
|
||||
SetInteractiveObjectActiveCommand,
|
||||
SetTriggerZoneEnabledCommand,
|
||||
ReloadQuestDefinitionsCommand>;
|
||||
|
||||
@@ -51,6 +51,7 @@ void InternalGameServer::ensureBattleZoneTestBot()
|
||||
auto& bot = state_.players[kBattleZonePlayer2Id];
|
||||
if (!bot) bot = std::make_shared<CharacterState>();
|
||||
bot->configureAsPlayer();
|
||||
bot->enabled = true;
|
||||
configurePlayerAnimations(*bot, resourceZipFile_);
|
||||
bot->npcName = "Test Bot";
|
||||
}
|
||||
@@ -85,6 +86,7 @@ void InternalGameServer::initializeCampaign(
|
||||
campaign.id = campaignId;
|
||||
campaign.questsPath = questsPath;
|
||||
startCampaign(campaign, zipFile, true, true);
|
||||
//startCampaign(campaign, zipFile, true, false);
|
||||
}
|
||||
|
||||
void InternalGameServer::startCampaign(
|
||||
@@ -99,11 +101,12 @@ void InternalGameServer::startCampaign(
|
||||
state_.locations.clear();
|
||||
state_.players.clear();
|
||||
state_.questJournal.loadFromFile(campaign.questsPath, zipFile);
|
||||
state_.globalFloats["player_hp"] = 200.f;
|
||||
//state_.globalFloats["player_hp"] = 200.f;
|
||||
|
||||
if (createLocalPlayer) {
|
||||
auto player = std::make_shared<CharacterState>();
|
||||
player->configureAsPlayer();
|
||||
player->enabled = campaign.networkPlayerSlots.empty();
|
||||
configurePlayerAnimations(*player, zipFile);
|
||||
state_.players.emplace(localPlayerId_, std::move(player));
|
||||
}
|
||||
@@ -139,12 +142,12 @@ void InternalGameServer::resetCampaign(
|
||||
state_.isDarklands = false;
|
||||
state_.isNight = false;
|
||||
state_.isDawn = false;
|
||||
state_.playerHp = 200.f;
|
||||
//state_.playerHp = 200.f;
|
||||
state_.playerMaxHp = 200.f;
|
||||
state_.money = 5500;
|
||||
state_.globalInts.clear();
|
||||
state_.globalFloats.clear();
|
||||
state_.globalFloats["player_hp"] = 200.f;
|
||||
//state_.globalFloats["player_hp"] = 200.f;
|
||||
state_.tutorialStep = TutorialStep::AdvanceDialogue;
|
||||
state_.tutorialPhoneChatScreenOpened = false;
|
||||
state_.tutorialJournalScreenOpened = false;
|
||||
@@ -189,8 +192,6 @@ GameSnapshot InternalGameServer::buildSnapshot() const
|
||||
result.isDarklands = state_.isDarklands;
|
||||
result.isNight = state_.isNight;
|
||||
result.isDawn = state_.isDawn;
|
||||
result.playerHp = state_.playerHp;
|
||||
result.playerMaxHp = state_.playerMaxHp;
|
||||
result.money = state_.money;
|
||||
result.tutorialStep = state_.tutorialStep;
|
||||
result.tutorialPhoneChatScreenOpened = state_.tutorialPhoneChatScreenOpened;
|
||||
@@ -270,9 +271,6 @@ void InternalGameServer::submit(const GameCommand& command)
|
||||
state_.isDawn = value.dawn;
|
||||
} else if constexpr (std::is_same_v<T, SetCurrentLocationCommand>) {
|
||||
state_.currentLocationName = value.locationId;
|
||||
} else if constexpr (std::is_same_v<T, SetPlayerHealthCommand>) {
|
||||
state_.playerHp = value.hp;
|
||||
state_.playerMaxHp = value.maxHp;
|
||||
} else if constexpr (std::is_same_v<T, SetMoneyCommand>) {
|
||||
state_.money = value.amount;
|
||||
} else if constexpr (std::is_same_v<T, SpendMoneyCommand>) {
|
||||
@@ -325,9 +323,9 @@ void InternalGameServer::submit(const GameCommand& command)
|
||||
LocationNetworkState& locationState = *location->second.location;
|
||||
locationState.activeNavigationIndex = value.index;
|
||||
for (const auto& [id, player] : state_.players)
|
||||
if (player) player->forceReplan(locationState, id);
|
||||
if (player) location->second.replanCharacter(id, state_.players);
|
||||
for (const auto& [id, npc] : location->second.npcs)
|
||||
if (npc) npc->forceReplan(locationState, id);
|
||||
if (npc) location->second.replanCharacter(id, state_.players);
|
||||
}
|
||||
} else if constexpr (std::is_same_v<T, SetNavigationAreaAvailableCommand>) {
|
||||
auto location = state_.locations.find(value.locationId);
|
||||
@@ -338,6 +336,10 @@ void InternalGameServer::submit(const GameCommand& command)
|
||||
index < static_cast<int>(locationState.navigationMaps.size())) {
|
||||
locationState.navigationMaps[index].setAreaAvailable(
|
||||
value.areaName, value.available);
|
||||
for (const auto& [id, player] : state_.players)
|
||||
if (player) location->second.replanCharacter(id, state_.players);
|
||||
for (const auto& [id, npc] : location->second.npcs)
|
||||
if (npc) location->second.replanCharacter(id, state_.players);
|
||||
}
|
||||
}
|
||||
} else if constexpr (std::is_same_v<T, AddNavigationObstacleCommand>) {
|
||||
@@ -351,6 +353,10 @@ void InternalGameServer::submit(const GameCommand& command)
|
||||
polygon.name = value.name;
|
||||
polygon.polygon = value.polygon;
|
||||
locationState.navigationMaps[index].addObstaclePolygon(polygon);
|
||||
for (const auto& [id, player] : state_.players)
|
||||
if (player) location->second.replanCharacter(id, state_.players);
|
||||
for (const auto& [id, npc] : location->second.npcs)
|
||||
if (npc) location->second.replanCharacter(id, state_.players);
|
||||
}
|
||||
}
|
||||
} else if constexpr (std::is_same_v<T, AddInventoryItemCommand>) {
|
||||
@@ -378,32 +384,58 @@ void InternalGameServer::submit(const GameCommand& command)
|
||||
state_.globalInts[value.key] = value.value;
|
||||
} else if constexpr (std::is_same_v<T, SetGlobalFloatCommand>) {
|
||||
state_.globalFloats[value.key] = value.value;
|
||||
} else if constexpr (std::is_same_v<T, SetCharacterTransformCommand>) {
|
||||
} else if constexpr (std::is_same_v<T, SetCharacterPositionCommand>) {
|
||||
CharacterState* character =
|
||||
state_.findCharacter(value.locationId, value.characterId);
|
||||
if (character) {
|
||||
character->position = value.position;
|
||||
character->facingAngle = value.facingAngle;
|
||||
character->targetFacingAngle = value.facingAngle;
|
||||
if (value.updateHomePosition)
|
||||
character->homePosition = value.position;
|
||||
}
|
||||
} else if constexpr (std::is_same_v<T, SetCharacterFacingAngleCommand>) {
|
||||
CharacterState* character =
|
||||
state_.findCharacter(value.locationId, value.characterId);
|
||||
if (character) {
|
||||
character->targetFacingAngle = value.angle;
|
||||
if (value.setCurrentAngle)
|
||||
character->facingAngle = value.angle;
|
||||
}
|
||||
} else if constexpr (std::is_same_v<T, SetCharacterHomePositionCommand>) {
|
||||
CharacterState* character =
|
||||
state_.findCharacter(value.locationId, value.characterId);
|
||||
if (character)
|
||||
character->homePosition = value.position;
|
||||
} else if constexpr (std::is_same_v<T, SetCharacterTargetCommand>) {
|
||||
CharacterState* character =
|
||||
state_.findCharacter(value.locationId, value.characterId);
|
||||
if (character) character->attackTargetId = value.targetId;
|
||||
} else if constexpr (std::is_same_v<T, SetCharacterFaceTargetCommand>) {
|
||||
CharacterState* character =
|
||||
state_.findCharacter(value.locationId, value.characterId);
|
||||
if (character) character->faceTargetId = value.targetId;
|
||||
} else if constexpr (std::is_same_v<T, SetCharacterEnabledCommand>) {
|
||||
CharacterState* character =
|
||||
state_.findCharacter(value.locationId, value.characterId);
|
||||
if (character) {
|
||||
character->enabled = value.enabled;
|
||||
character->attack = 0;
|
||||
character->attack_cooldown = 0;
|
||||
character->currentState = AnimationState::STAND;
|
||||
character->stopInPlace();
|
||||
character->faceTargetId.clear();
|
||||
character->attackTargetId.clear();
|
||||
character->battle_state = 0;
|
||||
}
|
||||
} else if constexpr (std::is_same_v<T, ClearCharacterAttackTargetCommand>) {
|
||||
CharacterState* character =
|
||||
state_.findCharacter(value.locationId, value.characterId);
|
||||
if (character) character->attackTargetId.clear();
|
||||
} else if constexpr (std::is_same_v<T, SetCharacterDestinationCommand>) {
|
||||
auto location = state_.locations.find(value.locationId);
|
||||
CharacterState* character =
|
||||
state_.findCharacter(value.locationId, value.characterId);
|
||||
if (character && location != state_.locations.end() &&
|
||||
location->second.location) {
|
||||
character->setTarget(
|
||||
value.target, value.callbackName,
|
||||
*location->second.location, value.characterId);
|
||||
}
|
||||
if (location != state_.locations.end())
|
||||
location->second.setCharacterDestination(
|
||||
value.characterId, value.target, value.callbackName,
|
||||
state_.players);
|
||||
} else if constexpr (std::is_same_v<T, StopCharacterCommand>) {
|
||||
CharacterState* character =
|
||||
state_.findCharacter(value.locationId, value.characterId);
|
||||
@@ -415,13 +447,9 @@ void InternalGameServer::submit(const GameCommand& command)
|
||||
character->stopAndRotateToTarget(value.targetId);
|
||||
} else if constexpr (std::is_same_v<T, ReplanCharacterCommand>) {
|
||||
auto location = state_.locations.find(value.locationId);
|
||||
CharacterState* character =
|
||||
state_.findCharacter(value.locationId, value.characterId);
|
||||
if (character && location != state_.locations.end() &&
|
||||
location->second.location) {
|
||||
character->forceReplan(
|
||||
*location->second.location, value.characterId);
|
||||
}
|
||||
if (location != state_.locations.end())
|
||||
location->second.replanCharacter(
|
||||
value.characterId, state_.players);
|
||||
} else if constexpr (std::is_same_v<T, ResetCharacterAfterDeathCommand>) {
|
||||
CharacterState* character =
|
||||
state_.findCharacter(value.locationId, value.characterId);
|
||||
@@ -445,10 +473,6 @@ void InternalGameServer::submit(const GameCommand& command)
|
||||
CharacterState* character =
|
||||
state_.findCharacter(value.locationId, value.characterId);
|
||||
if (character) character->hp = (std::max)(0.f, character->hp - (std::max)(0.f, value.amount));
|
||||
} else if constexpr (std::is_same_v<T, CommitCharacterStateCommand>) {
|
||||
CharacterState* character =
|
||||
state_.findCharacter(value.locationId, value.characterId);
|
||||
if (character) *character = value.state;
|
||||
} else if constexpr (std::is_same_v<T, SetInteractiveObjectActiveCommand>) {
|
||||
auto location = state_.locations.find(value.locationId);
|
||||
if (location == state_.locations.end()) return;
|
||||
@@ -494,13 +518,14 @@ void InternalGameServer::update(std::int64_t deltaMs)
|
||||
for (const CharacterSimulationEvent& event :
|
||||
pendingSimulationEvents_.characters) {
|
||||
if (!event.events.navigationRequested) continue;
|
||||
CharacterState* character = state_.findCharacter(
|
||||
state_.currentLocationName, event.characterId);
|
||||
if (character && stored->second.location) {
|
||||
character->setTarget(
|
||||
event.events.navigationTarget, {},
|
||||
*stored->second.location, event.characterId);
|
||||
}
|
||||
if (event.events.forceNavigationReplan)
|
||||
stored->second.replanCharacter(
|
||||
event.characterId, state_.players,
|
||||
event.events.blockingCharacterId);
|
||||
else
|
||||
stored->second.setCharacterDestination(
|
||||
event.characterId, event.events.navigationTarget, {},
|
||||
state_.players);
|
||||
}
|
||||
publishMutation();
|
||||
}
|
||||
@@ -519,6 +544,7 @@ void InternalGameServer::load(const nlohmann::json& in)
|
||||
if (player == state_.players.end() || !player->second) continue;
|
||||
player->second->configureAsPlayer();
|
||||
configurePlayerAnimations(*player->second, resourceZipFile_);
|
||||
//player->second->enabled = false;
|
||||
}
|
||||
battleZoneTestBotElapsedMs_ = 0;
|
||||
ensureBattleZoneTestBot();
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
#include <iomanip>
|
||||
#include <limits>
|
||||
#include <sstream>
|
||||
#include <type_traits>
|
||||
|
||||
|
||||
namespace FRG {
|
||||
@@ -95,6 +96,27 @@ nlohmann::json targetJson(const Eigen::Vector3f& target)
|
||||
return nlohmann::json::array({target.x(), target.y(), target.z()});
|
||||
}
|
||||
|
||||
bool validCharacterAction(
|
||||
const std::string& action, const std::string& targetId,
|
||||
std::string& error)
|
||||
{
|
||||
if (action != "set_target" &&
|
||||
action != "clear_attack_target" &&
|
||||
action != "try_attack_combo") {
|
||||
error = "unsupported character action";
|
||||
return false;
|
||||
}
|
||||
if (action == "set_target" && targetId.empty()) {
|
||||
error = "set_target requires a targetId";
|
||||
return false;
|
||||
}
|
||||
if (action != "set_target" && !targetId.empty()) {
|
||||
error = "targetId is only valid for set_target";
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
||||
std::string makeInitialStateMessage(const InitialStateMessage& message)
|
||||
@@ -143,7 +165,28 @@ std::uint64_t LockstepTimeline::schedule(
|
||||
{
|
||||
const std::uint64_t sequence = nextCommandSequence_++;
|
||||
pending_[currentTick_ + inputDelayTicks_].push_back(
|
||||
{sequence, playerId, target});
|
||||
ScheduledDestinationCommand{sequence, playerId, target});
|
||||
return sequence;
|
||||
}
|
||||
|
||||
std::uint64_t LockstepTimeline::scheduleCharacterEnabled(
|
||||
const std::string& locationId, const std::string& characterId,
|
||||
bool enabled)
|
||||
{
|
||||
const std::uint64_t sequence = nextCommandSequence_++;
|
||||
pending_[currentTick_ + 1].push_back(
|
||||
ScheduledCharacterEnabledCommand{
|
||||
sequence, locationId, characterId, enabled});
|
||||
return sequence;
|
||||
}
|
||||
|
||||
std::uint64_t LockstepTimeline::scheduleCharacterAction(
|
||||
const std::string& playerId, std::string action, std::string targetId)
|
||||
{
|
||||
const std::uint64_t sequence = nextCommandSequence_++;
|
||||
pending_[currentTick_ + inputDelayTicks_].push_back(
|
||||
ScheduledCharacterActionCommand{
|
||||
sequence, playerId, std::move(action), std::move(targetId)});
|
||||
return sequence;
|
||||
}
|
||||
|
||||
@@ -179,15 +222,71 @@ bool parseDestinationInputMessage(
|
||||
return readTarget(payload["target"], message.target, error);
|
||||
}
|
||||
|
||||
std::string makeCharacterActionInputMessage(
|
||||
const CharacterActionInputMessage& message)
|
||||
{
|
||||
return envelope("character_action", {
|
||||
{"clientSequence", message.clientSequence},
|
||||
{"action", message.action},
|
||||
{"targetId", message.targetId}
|
||||
});
|
||||
}
|
||||
|
||||
bool parseCharacterActionInputMessage(
|
||||
const std::string& text, CharacterActionInputMessage& message,
|
||||
std::string& error)
|
||||
{
|
||||
nlohmann::json payload;
|
||||
if (!parseEnvelope(text, "character_action", payload, error))
|
||||
return false;
|
||||
if (!readTick(payload, "clientSequence", message.clientSequence, error))
|
||||
return false;
|
||||
if (!payload.contains("action") || !payload["action"].is_string()) {
|
||||
error = "action is required";
|
||||
return false;
|
||||
}
|
||||
message.action = payload["action"].get<std::string>();
|
||||
message.targetId = payload.value("targetId", std::string());
|
||||
if (!payload.contains("targetId") || !payload["targetId"].is_string()) {
|
||||
error = "targetId must be a string";
|
||||
return false;
|
||||
}
|
||||
return validCharacterAction(message.action, message.targetId, error);
|
||||
}
|
||||
|
||||
std::string makeTickMessage(const TickMessage& message)
|
||||
{
|
||||
nlohmann::json commands = nlohmann::json::array();
|
||||
for (const ScheduledDestinationCommand& command : message.commands) {
|
||||
commands.push_back({
|
||||
{"commandSequence", command.commandSequence},
|
||||
{"playerId", command.playerId},
|
||||
{"target", targetJson(command.target)}
|
||||
});
|
||||
for (const ScheduledCommand& scheduled : message.commands) {
|
||||
std::visit([&commands](const auto& command) {
|
||||
using T = std::decay_t<decltype(command)>;
|
||||
if constexpr (std::is_same_v<T, ScheduledDestinationCommand>) {
|
||||
commands.push_back({
|
||||
{"type", "destination"},
|
||||
{"commandSequence", command.commandSequence},
|
||||
{"playerId", command.playerId},
|
||||
{"target", targetJson(command.target)}
|
||||
});
|
||||
} else {
|
||||
if constexpr (std::is_same_v<T, ScheduledCharacterEnabledCommand>) {
|
||||
commands.push_back({
|
||||
{"type", "character_enabled"},
|
||||
{"commandSequence", command.commandSequence},
|
||||
{"locationId", command.locationId},
|
||||
{"characterId", command.characterId},
|
||||
{"enabled", command.enabled}
|
||||
});
|
||||
} else {
|
||||
commands.push_back({
|
||||
{"type", "character_action"},
|
||||
{"commandSequence", command.commandSequence},
|
||||
{"playerId", command.playerId},
|
||||
{"action", command.action},
|
||||
{"targetId", command.targetId}
|
||||
});
|
||||
}
|
||||
}
|
||||
}, scheduled);
|
||||
}
|
||||
return envelope("tick", {
|
||||
{"tickId", message.tickId},
|
||||
@@ -209,22 +308,75 @@ bool parseTickMessage(
|
||||
message.commands.clear();
|
||||
std::uint64_t previousSequence = 0;
|
||||
for (const nlohmann::json& value : payload["commands"]) {
|
||||
ScheduledDestinationCommand command;
|
||||
if (!value.is_object() ||
|
||||
!readTick(value, "commandSequence", command.commandSequence, error) ||
|
||||
!value.contains("playerId") || !value["playerId"].is_string() ||
|
||||
!value.contains("target") ||
|
||||
!readTarget(value["target"], command.target, error)) {
|
||||
!readTick(value, "commandSequence", previousSequence, error)) {
|
||||
if (error.empty()) error = "invalid scheduled command";
|
||||
return false;
|
||||
}
|
||||
command.playerId = value["playerId"].get<std::string>();
|
||||
if (command.playerId.empty() || command.commandSequence == 0 ||
|
||||
command.commandSequence <= previousSequence) {
|
||||
const std::string type = value.value("type", "destination");
|
||||
ScheduledCommand command;
|
||||
if (type == "destination") {
|
||||
ScheduledDestinationCommand destination;
|
||||
destination.commandSequence = previousSequence;
|
||||
if (!value.contains("playerId") || !value["playerId"].is_string() ||
|
||||
!value.contains("target") ||
|
||||
!readTarget(value["target"], destination.target, error)) {
|
||||
if (error.empty()) error = "invalid destination command";
|
||||
return false;
|
||||
}
|
||||
destination.playerId = value["playerId"].get<std::string>();
|
||||
if (destination.playerId.empty()) {
|
||||
error = "destination command playerId must not be empty";
|
||||
return false;
|
||||
}
|
||||
command = std::move(destination);
|
||||
} else if (type == "character_enabled") {
|
||||
ScheduledCharacterEnabledCommand enabled;
|
||||
enabled.commandSequence = previousSequence;
|
||||
if (!value.contains("locationId") || !value["locationId"].is_string() ||
|
||||
!value.contains("characterId") || !value["characterId"].is_string() ||
|
||||
!value.contains("enabled") || !value["enabled"].is_boolean()) {
|
||||
error = "invalid character enabled command";
|
||||
return false;
|
||||
}
|
||||
enabled.locationId = value["locationId"].get<std::string>();
|
||||
enabled.characterId = value["characterId"].get<std::string>();
|
||||
enabled.enabled = value["enabled"].get<bool>();
|
||||
if (enabled.locationId.empty() || enabled.characterId.empty()) {
|
||||
error = "character enabled command IDs must not be empty";
|
||||
return false;
|
||||
}
|
||||
command = std::move(enabled);
|
||||
} else if (type == "character_action") {
|
||||
ScheduledCharacterActionCommand action;
|
||||
action.commandSequence = previousSequence;
|
||||
if (!value.contains("playerId") || !value["playerId"].is_string() ||
|
||||
!value.contains("action") || !value["action"].is_string() ||
|
||||
!value.contains("targetId") || !value["targetId"].is_string()) {
|
||||
error = "invalid character action command";
|
||||
return false;
|
||||
}
|
||||
action.playerId = value["playerId"].get<std::string>();
|
||||
action.action = value["action"].get<std::string>();
|
||||
action.targetId = value["targetId"].get<std::string>();
|
||||
if (action.playerId.empty() ||
|
||||
!validCharacterAction(action.action, action.targetId, error)) {
|
||||
if (error.empty()) error = "invalid character action command";
|
||||
return false;
|
||||
}
|
||||
command = std::move(action);
|
||||
} else {
|
||||
error = "unsupported scheduled command type";
|
||||
return false;
|
||||
}
|
||||
if (previousSequence == 0 ||
|
||||
(!message.commands.empty() &&
|
||||
previousSequence <= std::visit(
|
||||
[](const auto& item) { return item.commandSequence; },
|
||||
message.commands.back()))) {
|
||||
error = "commands must have unique increasing sequences";
|
||||
return false;
|
||||
}
|
||||
previousSequence = command.commandSequence;
|
||||
message.commands.push_back(std::move(command));
|
||||
}
|
||||
message.stateHash = payload.value("stateHash", std::string());
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
#include <cstdint>
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include <variant>
|
||||
#include <vector>
|
||||
|
||||
namespace FRG {
|
||||
@@ -27,15 +28,40 @@ struct DestinationInputMessage {
|
||||
Eigen::Vector3f target = Eigen::Vector3f::Zero();
|
||||
};
|
||||
|
||||
struct CharacterActionInputMessage {
|
||||
std::uint64_t clientSequence = 0;
|
||||
std::string action;
|
||||
std::string targetId;
|
||||
};
|
||||
|
||||
struct ScheduledDestinationCommand {
|
||||
std::uint64_t commandSequence = 0;
|
||||
std::string playerId;
|
||||
Eigen::Vector3f target = Eigen::Vector3f::Zero();
|
||||
};
|
||||
|
||||
struct ScheduledCharacterEnabledCommand {
|
||||
std::uint64_t commandSequence = 0;
|
||||
std::string locationId;
|
||||
std::string characterId;
|
||||
bool enabled = false;
|
||||
};
|
||||
|
||||
struct ScheduledCharacterActionCommand {
|
||||
std::uint64_t commandSequence = 0;
|
||||
std::string playerId;
|
||||
std::string action;
|
||||
std::string targetId;
|
||||
};
|
||||
|
||||
using ScheduledCommand = std::variant<
|
||||
ScheduledDestinationCommand,
|
||||
ScheduledCharacterEnabledCommand,
|
||||
ScheduledCharacterActionCommand>;
|
||||
|
||||
struct TickMessage {
|
||||
std::uint64_t tickId = 0;
|
||||
std::vector<ScheduledDestinationCommand> commands;
|
||||
std::vector<ScheduledCommand> commands;
|
||||
std::string stateHash;
|
||||
};
|
||||
|
||||
@@ -48,13 +74,19 @@ public:
|
||||
std::uint64_t currentTick() const { return currentTick_; }
|
||||
std::uint64_t schedule(
|
||||
const std::string& playerId, const Eigen::Vector3f& target);
|
||||
std::uint64_t scheduleCharacterEnabled(
|
||||
const std::string& locationId, const std::string& characterId,
|
||||
bool enabled);
|
||||
std::uint64_t scheduleCharacterAction(
|
||||
const std::string& playerId, std::string action,
|
||||
std::string targetId = {});
|
||||
TickMessage advance();
|
||||
|
||||
private:
|
||||
std::uint32_t inputDelayTicks_;
|
||||
std::uint64_t currentTick_ = 0;
|
||||
std::uint64_t nextCommandSequence_ = 1;
|
||||
std::map<std::uint64_t, std::vector<ScheduledDestinationCommand>> pending_;
|
||||
std::map<std::uint64_t, std::vector<ScheduledCommand>> pending_;
|
||||
};
|
||||
|
||||
std::string makeInitialStateMessage(const InitialStateMessage& message);
|
||||
@@ -63,6 +95,11 @@ bool parseInitialStateMessage(
|
||||
std::string makeDestinationInputMessage(const DestinationInputMessage& message);
|
||||
bool parseDestinationInputMessage(
|
||||
const std::string& text, DestinationInputMessage& message, std::string& error);
|
||||
std::string makeCharacterActionInputMessage(
|
||||
const CharacterActionInputMessage& message);
|
||||
bool parseCharacterActionInputMessage(
|
||||
const std::string& text, CharacterActionInputMessage& message,
|
||||
std::string& error);
|
||||
std::string makeTickMessage(const TickMessage& message);
|
||||
bool parseTickMessage(
|
||||
const std::string& text, TickMessage& message, std::string& error);
|
||||
|
||||
@@ -1,35 +1,280 @@
|
||||
#include "WebsocketGameClient.h"
|
||||
#include "NetworkProtocol.h"
|
||||
#ifdef __EMSCRIPTEN__
|
||||
#include <emscripten/websocket.h>
|
||||
#else
|
||||
#include <boost/asio.hpp>
|
||||
#include <boost/beast.hpp>
|
||||
#ifdef NETWORK_TLS
|
||||
#include <wincrypt.h>
|
||||
// wincrypt.h defines macros that collide with OpenSSL identifiers.
|
||||
#undef X509_NAME
|
||||
#undef X509_EXTENSIONS
|
||||
#undef X509_CERT_PAIR
|
||||
#undef PKCS7_ISSUER_AND_SERIAL
|
||||
#undef OCSP_REQUEST
|
||||
#undef OCSP_RESPONSE
|
||||
#include <boost/asio/ssl.hpp>
|
||||
#include <boost/beast/ssl.hpp>
|
||||
#include <openssl/err.h>
|
||||
#include <openssl/x509.h>
|
||||
#include <openssl/x509_vfy.h>
|
||||
#endif
|
||||
#endif
|
||||
#include <atomic>
|
||||
#include <deque>
|
||||
#include <iostream>
|
||||
#include <mutex>
|
||||
#include <thread>
|
||||
#include <type_traits>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
namespace FRG {
|
||||
namespace {
|
||||
|
||||
#ifndef __EMSCRIPTEN__
|
||||
namespace asio = boost::asio;
|
||||
namespace beast = boost::beast;
|
||||
namespace websocket = beast::websocket;
|
||||
using tcp = asio::ip::tcp;
|
||||
|
||||
#ifdef NETWORK_TLS
|
||||
// Loads the Windows "ROOT" certificate store into the OpenSSL context.
|
||||
void loadWindowsRootCertificates(asio::ssl::context& context)
|
||||
{
|
||||
HCERTSTORE store = CertOpenSystemStoreA(0, "ROOT");
|
||||
if (!store) {
|
||||
std::cerr << "[network] Could not open the Windows root certificate store\n";
|
||||
return;
|
||||
}
|
||||
X509_STORE* x509Store = SSL_CTX_get_cert_store(context.native_handle());
|
||||
PCCERT_CONTEXT cert = nullptr;
|
||||
while ((cert = CertEnumCertificatesInStore(store, cert)) != nullptr) {
|
||||
const unsigned char* data = cert->pbCertEncoded;
|
||||
X509* x509 = d2i_X509(nullptr, &data, static_cast<long>(cert->cbCertEncoded));
|
||||
if (x509) {
|
||||
X509_STORE_add_cert(x509Store, x509);
|
||||
X509_free(x509);
|
||||
}
|
||||
}
|
||||
CertCloseStore(store, 0);
|
||||
}
|
||||
|
||||
// Certificate problems are logged but deliberately do not abort the connection.
|
||||
bool logAndAcceptCertificate(bool preverified, asio::ssl::verify_context& context)
|
||||
{
|
||||
if (!preverified) {
|
||||
X509_STORE_CTX* storeContext = context.native_handle();
|
||||
const int error = X509_STORE_CTX_get_error(storeContext);
|
||||
const int depth = X509_STORE_CTX_get_error_depth(storeContext);
|
||||
char subject[256] = "?";
|
||||
if (X509* cert = X509_STORE_CTX_get_current_cert(storeContext))
|
||||
X509_NAME_oneline(X509_get_subject_name(cert), subject, sizeof(subject));
|
||||
std::cerr << "[network] TLS certificate warning (depth " << depth
|
||||
<< ", subject " << subject << "): "
|
||||
<< X509_verify_cert_error_string(error)
|
||||
<< " - continuing anyway\n";
|
||||
}
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
} // namespace
|
||||
|
||||
bool WebsocketEndpoint::parse(const std::string& url)
|
||||
{
|
||||
bool tls = false;
|
||||
std::string rest;
|
||||
if (url.rfind("wss://", 0) == 0) {
|
||||
tls = true;
|
||||
rest = url.substr(6);
|
||||
} else if (url.rfind("ws://", 0) == 0) {
|
||||
rest = url.substr(5);
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
std::string authority = rest;
|
||||
std::string newPath = "/";
|
||||
const std::size_t slash = rest.find('/');
|
||||
if (slash != std::string::npos) {
|
||||
authority = rest.substr(0, slash);
|
||||
newPath = rest.substr(slash);
|
||||
}
|
||||
std::string newHost = authority;
|
||||
std::string newPort = tls ? "443" : "80";
|
||||
if (!authority.empty() && authority.front() == '[') { // [ipv6]:port
|
||||
const std::size_t close = authority.find(']');
|
||||
if (close == std::string::npos) return false;
|
||||
newHost = authority.substr(1, close - 1);
|
||||
if (close + 1 < authority.size()) {
|
||||
if (authority[close + 1] != ':') return false;
|
||||
newPort = authority.substr(close + 2);
|
||||
}
|
||||
} else {
|
||||
const std::size_t colon = authority.rfind(':');
|
||||
if (colon != std::string::npos) {
|
||||
newHost = authority.substr(0, colon);
|
||||
newPort = authority.substr(colon + 1);
|
||||
}
|
||||
}
|
||||
if (newHost.empty() || newPort.empty()) return false;
|
||||
host = std::move(newHost);
|
||||
port = std::move(newPort);
|
||||
path = std::move(newPath);
|
||||
useTls = tls;
|
||||
return true;
|
||||
}
|
||||
|
||||
class WebsocketGameClient::Impl {
|
||||
public:
|
||||
Impl(std::string host, std::string port, std::string path)
|
||||
: resolver_(io_)
|
||||
#ifdef __EMSCRIPTEN__
|
||||
Impl(std::string host, std::string port, std::string path, bool useTls)
|
||||
: host_(std::move(host))
|
||||
, port_(std::move(port))
|
||||
, path_(std::move(path))
|
||||
{
|
||||
url_ = std::string(useTls ? "wss://" : "ws://") + host_ + ':' + port_ +
|
||||
(path_.empty() || path_.front() == '/' ? path_ : "/" + path_);
|
||||
std::cout << "[network] Opening " << url_ << std::endl;
|
||||
|
||||
EmscriptenWebSocketCreateAttributes attributes = {};
|
||||
attributes.url = url_.c_str();
|
||||
attributes.protocols = nullptr;
|
||||
attributes.createOnMainThread = EM_TRUE;
|
||||
socket_ = emscripten_websocket_new(&attributes);
|
||||
if (socket_ <= 0) {
|
||||
fail("create WebSocket");
|
||||
return;
|
||||
}
|
||||
|
||||
emscripten_websocket_set_onopen_callback(
|
||||
socket_, this, &Impl::onOpen);
|
||||
emscripten_websocket_set_onerror_callback(
|
||||
socket_, this, &Impl::onError);
|
||||
emscripten_websocket_set_onclose_callback(
|
||||
socket_, this, &Impl::onClose);
|
||||
emscripten_websocket_set_onmessage_callback(
|
||||
socket_, this, &Impl::onMessage);
|
||||
}
|
||||
|
||||
~Impl()
|
||||
{
|
||||
if (socket_ > 0) {
|
||||
closing_ = true;
|
||||
emscripten_websocket_close(socket_, 1000, "client shutdown");
|
||||
emscripten_websocket_delete(socket_);
|
||||
}
|
||||
}
|
||||
|
||||
std::vector<std::string> takeMessages()
|
||||
{
|
||||
std::vector<std::string> result;
|
||||
result.swap(messages_);
|
||||
return result;
|
||||
}
|
||||
|
||||
bool connected() const { return connected_; }
|
||||
bool connectionFailed() const { return connectionFailed_; }
|
||||
|
||||
void send(std::string message)
|
||||
{
|
||||
if (!connected_ || socket_ <= 0) return;
|
||||
const EMSCRIPTEN_RESULT result =
|
||||
emscripten_websocket_send_utf8_text(socket_, message.c_str());
|
||||
if (result != EMSCRIPTEN_RESULT_SUCCESS)
|
||||
fail("send WebSocket message");
|
||||
}
|
||||
|
||||
private:
|
||||
static EM_BOOL onOpen(
|
||||
int, const EmscriptenWebSocketOpenEvent*, void* userData)
|
||||
{
|
||||
auto* self = static_cast<Impl*>(userData);
|
||||
self->connected_ = true;
|
||||
std::cout << "[network] Connected to " << self->url_ << std::endl;
|
||||
return EM_TRUE;
|
||||
}
|
||||
|
||||
static EM_BOOL onError(
|
||||
int, const EmscriptenWebSocketErrorEvent*, void* userData)
|
||||
{
|
||||
static_cast<Impl*>(userData)->fail("WebSocket");
|
||||
return EM_TRUE;
|
||||
}
|
||||
|
||||
static EM_BOOL onClose(
|
||||
int, const EmscriptenWebSocketCloseEvent*, void* userData)
|
||||
{
|
||||
auto* self = static_cast<Impl*>(userData);
|
||||
self->connected_ = false;
|
||||
if (!self->closing_) self->fail("WebSocket close");
|
||||
return EM_TRUE;
|
||||
}
|
||||
|
||||
static EM_BOOL onMessage(
|
||||
int, const EmscriptenWebSocketMessageEvent* event, void* userData)
|
||||
{
|
||||
auto* self = static_cast<Impl*>(userData);
|
||||
if (!event || event->isText != EM_TRUE) {
|
||||
self->fail("binary WebSocket message");
|
||||
return EM_TRUE;
|
||||
}
|
||||
self->messages_.emplace_back(
|
||||
reinterpret_cast<const char*>(event->data), event->numBytes);
|
||||
return EM_TRUE;
|
||||
}
|
||||
|
||||
void fail(const char* operation)
|
||||
{
|
||||
connected_ = false;
|
||||
connectionFailed_ = true;
|
||||
std::cerr << "[network] " << operation << " failed" << std::endl;
|
||||
}
|
||||
|
||||
std::string host_;
|
||||
std::string port_;
|
||||
std::string path_;
|
||||
std::string url_;
|
||||
EMSCRIPTEN_WEBSOCKET_T socket_ = 0;
|
||||
bool connected_ = false;
|
||||
bool connectionFailed_ = false;
|
||||
bool closing_ = false;
|
||||
std::vector<std::string> messages_;
|
||||
#else
|
||||
Impl(std::string host, std::string port, std::string path, bool useTls)
|
||||
:
|
||||
#ifdef NETWORK_TLS
|
||||
sslContext_(asio::ssl::context::tls_client)
|
||||
, resolver_(io_)
|
||||
, secureSocket_(io_, sslContext_)
|
||||
#else
|
||||
resolver_(io_)
|
||||
#endif
|
||||
, socket_(io_)
|
||||
, host_(std::move(host))
|
||||
, port_(std::move(port))
|
||||
, path_(std::move(path))
|
||||
, useTls_(useTls)
|
||||
{
|
||||
std::cout << "[network] Resolving ws://" << host_ << ':' << port_
|
||||
#ifdef NETWORK_TLS
|
||||
sslContext_.set_options(
|
||||
asio::ssl::context::default_workarounds |
|
||||
asio::ssl::context::no_sslv2 | asio::ssl::context::no_sslv3 |
|
||||
asio::ssl::context::no_tlsv1 | asio::ssl::context::no_tlsv1_1);
|
||||
loadWindowsRootCertificates(sslContext_);
|
||||
sslContext_.set_verify_mode(asio::ssl::verify_peer);
|
||||
sslContext_.set_verify_callback(&logAndAcceptCertificate);
|
||||
#else
|
||||
if (useTls_) {
|
||||
std::cerr << "[network] wss:// requested but TLS support was not "
|
||||
"compiled in (NETWORK_TLS)" << std::endl;
|
||||
connectionFailed_.store(true);
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
std::cout << "[network] Resolving " << scheme() << host_ << ':' << port_
|
||||
<< path_ << std::endl;
|
||||
resolve();
|
||||
thread_ = std::thread([this]() { io_.run(); });
|
||||
@@ -63,6 +308,20 @@ public:
|
||||
}
|
||||
|
||||
private:
|
||||
const char* scheme() const { return useTls_ ? "wss://" : "ws://"; }
|
||||
|
||||
template <class F>
|
||||
void withStream(F&& f)
|
||||
{
|
||||
#ifdef NETWORK_TLS
|
||||
if (useTls_) {
|
||||
f(secureSocket_);
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
f(socket_);
|
||||
}
|
||||
|
||||
void resolve()
|
||||
{
|
||||
resolver_.async_resolve(
|
||||
@@ -71,60 +330,97 @@ private:
|
||||
if (error) return fail("resolve", error);
|
||||
std::cout << "[network] WebSocket host resolved; connecting"
|
||||
<< std::endl;
|
||||
asio::async_connect(
|
||||
socket_.next_layer(), results,
|
||||
[this](beast::error_code connectError,
|
||||
const tcp::endpoint&) {
|
||||
if (connectError) return fail("connect", connectError);
|
||||
std::cout << "[network] TCP connected; starting WebSocket handshake"
|
||||
<< std::endl;
|
||||
socket_.set_option(
|
||||
websocket::stream_base::timeout::suggested(
|
||||
beast::role_type::client));
|
||||
socket_.async_handshake(
|
||||
host_, path_,
|
||||
[this](beast::error_code handshakeError) {
|
||||
if (handshakeError)
|
||||
return fail("handshake", handshakeError);
|
||||
connected_.store(true);
|
||||
std::cout
|
||||
<< "[network] Connected to ws://"
|
||||
<< host_ << ':' << port_ << path_ << std::endl;
|
||||
read();
|
||||
});
|
||||
});
|
||||
withStream([&](auto& stream) {
|
||||
asio::async_connect(
|
||||
beast::get_lowest_layer(stream), results,
|
||||
[this](beast::error_code connectError,
|
||||
const tcp::endpoint&) {
|
||||
if (connectError) return fail("connect", connectError);
|
||||
std::cout << "[network] TCP connected" << std::endl;
|
||||
startTlsOrWebsocketHandshake();
|
||||
});
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
void startTlsOrWebsocketHandshake()
|
||||
{
|
||||
#ifdef NETWORK_TLS
|
||||
if (useTls_) {
|
||||
SSL* ssl = secureSocket_.next_layer().native_handle();
|
||||
// SNI, and hostname verification (failures are only logged).
|
||||
SSL_set_tlsext_host_name(ssl, const_cast<char*>(host_.c_str()));
|
||||
SSL_set1_host(ssl, host_.c_str());
|
||||
std::cout << "[network] Starting TLS handshake" << std::endl;
|
||||
secureSocket_.next_layer().async_handshake(
|
||||
asio::ssl::stream_base::client,
|
||||
[this](beast::error_code tlsError) {
|
||||
if (tlsError) return fail("TLS handshake", tlsError);
|
||||
std::cout << "[network] TLS established" << std::endl;
|
||||
startWebsocketHandshake();
|
||||
});
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
startWebsocketHandshake();
|
||||
}
|
||||
|
||||
void startWebsocketHandshake()
|
||||
{
|
||||
const bool defaultPort = port_ == (useTls_ ? "443" : "80");
|
||||
const std::string hostHeader = defaultPort ? host_ : host_ + ':' + port_;
|
||||
std::cout << "[network] Starting WebSocket handshake" << std::endl;
|
||||
withStream([&](auto& stream) {
|
||||
stream.set_option(
|
||||
websocket::stream_base::timeout::suggested(
|
||||
beast::role_type::client));
|
||||
stream.async_handshake(
|
||||
hostHeader, path_,
|
||||
[this](beast::error_code handshakeError) {
|
||||
if (handshakeError)
|
||||
return fail("handshake", handshakeError);
|
||||
connected_.store(true);
|
||||
std::cout
|
||||
<< "[network] Connected to " << scheme()
|
||||
<< host_ << ':' << port_ << path_ << std::endl;
|
||||
read();
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
void read()
|
||||
{
|
||||
socket_.async_read(
|
||||
buffer_,
|
||||
[this](beast::error_code error, std::size_t) {
|
||||
if (error) {
|
||||
connected_.store(false);
|
||||
if (error != websocket::error::closed) fail("read", error);
|
||||
return;
|
||||
}
|
||||
std::string message = beast::buffers_to_string(buffer_.data());
|
||||
buffer_.consume(buffer_.size());
|
||||
{
|
||||
std::lock_guard<std::mutex> lock(messagesMutex_);
|
||||
messages_.push_back(std::move(message));
|
||||
}
|
||||
read();
|
||||
});
|
||||
withStream([this](auto& stream) {
|
||||
stream.async_read(
|
||||
buffer_,
|
||||
[this](beast::error_code error, std::size_t) {
|
||||
if (error) {
|
||||
connected_.store(false);
|
||||
if (error != websocket::error::closed) fail("read", error);
|
||||
return;
|
||||
}
|
||||
std::string message = beast::buffers_to_string(buffer_.data());
|
||||
buffer_.consume(buffer_.size());
|
||||
{
|
||||
std::lock_guard<std::mutex> lock(messagesMutex_);
|
||||
messages_.push_back(std::move(message));
|
||||
}
|
||||
read();
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
void write()
|
||||
{
|
||||
socket_.async_write(
|
||||
asio::buffer(outbound_.front()),
|
||||
[this](beast::error_code error, std::size_t) {
|
||||
if (error) return fail("write", error);
|
||||
outbound_.pop_front();
|
||||
if (!outbound_.empty()) write();
|
||||
});
|
||||
withStream([this](auto& stream) {
|
||||
stream.async_write(
|
||||
asio::buffer(outbound_.front()),
|
||||
[this](beast::error_code error, std::size_t) {
|
||||
if (error) return fail("write", error);
|
||||
outbound_.pop_front();
|
||||
if (!outbound_.empty()) write();
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
void fail(const char* operation, beast::error_code error)
|
||||
@@ -136,24 +432,38 @@ private:
|
||||
}
|
||||
|
||||
asio::io_context io_;
|
||||
#ifdef NETWORK_TLS
|
||||
asio::ssl::context sslContext_;
|
||||
#endif
|
||||
tcp::resolver resolver_;
|
||||
#ifdef NETWORK_TLS
|
||||
websocket::stream<beast::ssl_stream<tcp::socket>> secureSocket_;
|
||||
#endif
|
||||
websocket::stream<tcp::socket> socket_;
|
||||
beast::flat_buffer buffer_;
|
||||
std::thread thread_;
|
||||
std::string host_;
|
||||
std::string port_;
|
||||
std::string path_;
|
||||
bool useTls_ = false;
|
||||
std::atomic_bool connected_{false};
|
||||
std::atomic_bool connectionFailed_{false};
|
||||
std::mutex messagesMutex_;
|
||||
std::vector<std::string> messages_;
|
||||
std::deque<std::string> outbound_;
|
||||
#endif
|
||||
};
|
||||
|
||||
WebsocketGameClient::WebsocketGameClient(
|
||||
std::string host, std::string port, std::string path)
|
||||
std::string host, std::string port, std::string path, bool useTls)
|
||||
: impl_(std::make_unique<Impl>(
|
||||
std::move(host), std::move(port), std::move(path)))
|
||||
std::move(host), std::move(port), std::move(path), useTls))
|
||||
{
|
||||
}
|
||||
|
||||
WebsocketGameClient::WebsocketGameClient(const WebsocketEndpoint& endpoint)
|
||||
: WebsocketGameClient(
|
||||
endpoint.host, endpoint.port, endpoint.path, endpoint.useTls)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -176,6 +486,16 @@ void WebsocketGameClient::submit(const GameCommand& command)
|
||||
std::get_if<SetCharacterDestinationCommand>(&command)) {
|
||||
impl_->send(makeDestinationInputMessage(
|
||||
{nextClientSequence_++, destination->target}));
|
||||
} else if (const auto* target =
|
||||
std::get_if<SetCharacterTargetCommand>(&command)) {
|
||||
impl_->send(makeCharacterActionInputMessage(
|
||||
{nextClientSequence_++, "set_target", target->targetId}));
|
||||
} else if (std::holds_alternative<ClearCharacterAttackTargetCommand>(command)) {
|
||||
impl_->send(makeCharacterActionInputMessage(
|
||||
{nextClientSequence_++, "clear_attack_target", {}}));
|
||||
} else if (std::holds_alternative<TryCharacterAttackComboCommand>(command)) {
|
||||
impl_->send(makeCharacterActionInputMessage(
|
||||
{nextClientSequence_++, "try_attack_combo", {}}));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -252,9 +572,26 @@ void WebsocketGameClient::update(std::int64_t)
|
||||
pendingTicks_.erase(next);
|
||||
const std::string locationId =
|
||||
replica_.snapshot()->currentLocationId;
|
||||
for (const ScheduledDestinationCommand& command : tick.commands) {
|
||||
replica_.submit(SetCharacterDestinationCommand{
|
||||
locationId, command.playerId, command.target, {}});
|
||||
for (const ScheduledCommand& scheduled : tick.commands) {
|
||||
std::visit([&](const auto& command) {
|
||||
using T = std::decay_t<decltype(command)>;
|
||||
if constexpr (std::is_same_v<T, ScheduledDestinationCommand>) {
|
||||
replica_.submit(SetCharacterDestinationCommand{
|
||||
locationId, command.playerId, command.target, {}});
|
||||
} else if constexpr (std::is_same_v<T, ScheduledCharacterEnabledCommand>) {
|
||||
replica_.submit(SetCharacterEnabledCommand{
|
||||
command.locationId, command.characterId, command.enabled});
|
||||
} else if (command.action == "set_target") {
|
||||
replica_.submit(SetCharacterTargetCommand{
|
||||
locationId, command.playerId, command.targetId});
|
||||
} else if (command.action == "clear_attack_target") {
|
||||
replica_.submit(ClearCharacterAttackTargetCommand{
|
||||
locationId, command.playerId});
|
||||
} else if (command.action == "try_attack_combo") {
|
||||
replica_.submit(TryCharacterAttackComboCommand{
|
||||
locationId, command.playerId});
|
||||
}
|
||||
}, scheduled);
|
||||
}
|
||||
replica_.update(kSimulationTickMs);
|
||||
completedSimulationTicks_.push_back({
|
||||
@@ -268,12 +605,12 @@ void WebsocketGameClient::update(std::int64_t)
|
||||
if (!tick.stateHash.empty()) {
|
||||
nlohmann::json state;
|
||||
replica_.save(state);
|
||||
const std::string localHash = canonicalStateHash(std::move(state));
|
||||
/*const std::string localHash = canonicalStateHash(std::move(state));
|
||||
if (localHash != tick.stateHash) {
|
||||
std::cerr << "[network] Lockstep divergence at tick "
|
||||
<< tick.tickId << ": server=" << tick.stateHash
|
||||
<< ", client=" << localHash << '\n';
|
||||
}
|
||||
}*/
|
||||
}
|
||||
++nextExpectedTick_;
|
||||
}
|
||||
|
||||
@@ -11,12 +11,26 @@ namespace FRG {
|
||||
|
||||
class RemoteGameServerHost;
|
||||
|
||||
// Parsed "ws://host[:port][/path]" or "wss://host[:port][/path]".
|
||||
struct WebsocketEndpoint {
|
||||
std::string host = "127.0.0.1";
|
||||
std::string port = "8080";
|
||||
std::string path = "/";
|
||||
bool useTls = false;
|
||||
|
||||
// Returns false (and leaves *this untouched) for an unsupported/malformed URL.
|
||||
// Default ports: 80 for ws://, 443 for wss://.
|
||||
bool parse(const std::string& url);
|
||||
};
|
||||
|
||||
class WebsocketGameClient final : public IGameServer {
|
||||
public:
|
||||
WebsocketGameClient(
|
||||
std::string host = "127.0.0.1",
|
||||
std::string port = "8080",
|
||||
std::string path = "/");
|
||||
std::string path = "/",
|
||||
bool useTls = false);
|
||||
explicit WebsocketGameClient(const WebsocketEndpoint& endpoint);
|
||||
~WebsocketGameClient();
|
||||
|
||||
WebsocketGameClient(const WebsocketGameClient&) = delete;
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
#include <memory>
|
||||
#include <mutex>
|
||||
#include <thread>
|
||||
#include <type_traits>
|
||||
#include <unordered_map>
|
||||
#include <vector>
|
||||
|
||||
@@ -131,7 +132,9 @@ class WebsocketGameServer::Impl {
|
||||
public:
|
||||
struct PendingInput {
|
||||
std::string playerId;
|
||||
DestinationInputMessage input;
|
||||
std::variant<
|
||||
DestinationInputMessage,
|
||||
CharacterActionInputMessage> input;
|
||||
};
|
||||
|
||||
Impl(
|
||||
@@ -179,6 +182,14 @@ public:
|
||||
return result;
|
||||
}
|
||||
|
||||
std::vector<std::string> takeConnectedPlayers()
|
||||
{
|
||||
std::lock_guard<std::mutex> lock(inputsMutex_);
|
||||
std::vector<std::string> result;
|
||||
result.swap(connectedPlayers_);
|
||||
return result;
|
||||
}
|
||||
|
||||
void publishTick(
|
||||
std::string tick, nlohmann::json latestState, std::uint64_t tickId)
|
||||
{
|
||||
@@ -218,17 +229,27 @@ private:
|
||||
std::move(socket), playerId,
|
||||
[this](const std::shared_ptr<ServerSession>& source,
|
||||
const std::string& message) {
|
||||
DestinationInputMessage parsed;
|
||||
std::string parseError;
|
||||
if (!parseDestinationInputMessage(
|
||||
message, parsed, parseError)) {
|
||||
DestinationInputMessage destination;
|
||||
std::string destinationError;
|
||||
if (parseDestinationInputMessage(
|
||||
message, destination, destinationError)) {
|
||||
std::lock_guard<std::mutex> lock(inputsMutex_);
|
||||
pendingInputs_.push_back(
|
||||
{source->playerId(), std::move(destination)});
|
||||
return;
|
||||
}
|
||||
CharacterActionInputMessage action;
|
||||
std::string actionError;
|
||||
if (!parseCharacterActionInputMessage(
|
||||
message, action, actionError)) {
|
||||
source->send(makeErrorMessage(
|
||||
"invalid_input", parseError));
|
||||
"invalid_input", actionError.empty()
|
||||
? destinationError : actionError));
|
||||
return;
|
||||
}
|
||||
std::lock_guard<std::mutex> lock(inputsMutex_);
|
||||
pendingInputs_.push_back(
|
||||
{source->playerId(), std::move(parsed)});
|
||||
{source->playerId(), std::move(action)});
|
||||
},
|
||||
[this](const std::shared_ptr<ServerSession>& source) {
|
||||
if (!source->playerId().empty())
|
||||
@@ -237,7 +258,8 @@ private:
|
||||
<< "' disconnected" << std::endl;
|
||||
assignedSlots_.erase(source->playerId());
|
||||
std::lock_guard<std::mutex> lock(inputsMutex_);
|
||||
releasedPlayers_.push_back(source->playerId());
|
||||
if (!source->playerId().empty())
|
||||
releasedPlayers_.push_back(source->playerId());
|
||||
});
|
||||
if (playerId.empty()) {
|
||||
std::cout << "[network] Rejecting connection: no player slot"
|
||||
@@ -251,6 +273,10 @@ private:
|
||||
<< playerId << "' at snapshot tick "
|
||||
<< latestTick_ << std::endl;
|
||||
sessions_.push_back(session);
|
||||
{
|
||||
std::lock_guard<std::mutex> lock(inputsMutex_);
|
||||
connectedPlayers_.push_back(playerId);
|
||||
}
|
||||
InitialStateMessage initial;
|
||||
initial.state = latestState_;
|
||||
initial.assignedPlayerId = playerId;
|
||||
@@ -280,6 +306,7 @@ private:
|
||||
std::uint64_t latestTick_ = 0;
|
||||
std::mutex inputsMutex_;
|
||||
std::vector<PendingInput> pendingInputs_;
|
||||
std::vector<std::string> connectedPlayers_;
|
||||
std::vector<std::string> releasedPlayers_;
|
||||
std::uint16_t port_ = 0;
|
||||
};
|
||||
@@ -303,20 +330,58 @@ WebsocketGameServer::~WebsocketGameServer() = default;
|
||||
|
||||
void WebsocketGameServer::update()
|
||||
{
|
||||
for (const std::string& playerId : impl_->takeReleasedPlayers())
|
||||
const std::string locationId = gameServer_.snapshot()->currentLocationId;
|
||||
for (const std::string& playerId : impl_->takeConnectedPlayers())
|
||||
timeline_.scheduleCharacterEnabled(locationId, playerId, true);
|
||||
const std::vector<std::string> releasedPlayers =
|
||||
impl_->takeReleasedPlayers();
|
||||
for (const std::string& playerId : releasedPlayers)
|
||||
timeline_.scheduleCharacterEnabled(locationId, playerId, false);
|
||||
for (const std::string& playerId : releasedPlayers)
|
||||
lastClientSequences_.erase(playerId);
|
||||
for (const Impl::PendingInput& pending : impl_->takeInputs()) {
|
||||
std::uint64_t& previous = lastClientSequences_[pending.playerId];
|
||||
if (pending.input.clientSequence <= previous) continue;
|
||||
previous = pending.input.clientSequence;
|
||||
timeline_.schedule(pending.playerId, pending.input.target);
|
||||
const std::uint64_t sequence = std::visit(
|
||||
[](const auto& input) { return input.clientSequence; },
|
||||
pending.input);
|
||||
if (sequence <= previous) continue;
|
||||
previous = sequence;
|
||||
std::visit([&](const auto& input) {
|
||||
using T = std::decay_t<decltype(input)>;
|
||||
if constexpr (std::is_same_v<T, DestinationInputMessage>) {
|
||||
timeline_.schedule(pending.playerId, input.target);
|
||||
} else {
|
||||
timeline_.scheduleCharacterAction(
|
||||
pending.playerId, input.action, input.targetId);
|
||||
}
|
||||
}, pending.input);
|
||||
}
|
||||
|
||||
TickMessage tick = timeline_.advance();
|
||||
for (const ScheduledDestinationCommand& command : tick.commands) {
|
||||
gameServer_.submit(SetCharacterDestinationCommand{
|
||||
gameServer_.snapshot()->currentLocationId,
|
||||
command.playerId, command.target, {}});
|
||||
for (const ScheduledCommand& scheduled : tick.commands) {
|
||||
std::visit([this](const auto& command) {
|
||||
using T = std::decay_t<decltype(command)>;
|
||||
if constexpr (std::is_same_v<T, ScheduledDestinationCommand>) {
|
||||
gameServer_.submit(SetCharacterDestinationCommand{
|
||||
gameServer_.snapshot()->currentLocationId,
|
||||
command.playerId, command.target, {}});
|
||||
} else if constexpr (std::is_same_v<T, ScheduledCharacterEnabledCommand>) {
|
||||
gameServer_.submit(SetCharacterEnabledCommand{
|
||||
command.locationId, command.characterId, command.enabled});
|
||||
} else if (command.action == "set_target") {
|
||||
gameServer_.submit(SetCharacterTargetCommand{
|
||||
gameServer_.snapshot()->currentLocationId,
|
||||
command.playerId, command.targetId});
|
||||
} else if (command.action == "clear_attack_target") {
|
||||
gameServer_.submit(ClearCharacterAttackTargetCommand{
|
||||
gameServer_.snapshot()->currentLocationId,
|
||||
command.playerId});
|
||||
} else if (command.action == "try_attack_combo") {
|
||||
gameServer_.submit(TryCharacterAttackComboCommand{
|
||||
gameServer_.snapshot()->currentLocationId,
|
||||
command.playerId});
|
||||
}
|
||||
}, scheduled);
|
||||
}
|
||||
gameServer_.update(kSimulationTickMs);
|
||||
nlohmann::json state;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "InteractiveObject.h"
|
||||
#include "InteractiveObject.h"
|
||||
#include "render/Renderer.h"
|
||||
#include "render/TextureManager.h"
|
||||
#include "../TextModel.h"
|
||||
@@ -12,7 +12,7 @@
|
||||
namespace FRG {
|
||||
extern const std::string textureUniformName;
|
||||
|
||||
#ifdef EMSCRIPTEN
|
||||
#ifdef __EMSCRIPTEN__
|
||||
using std::min;
|
||||
using std::max;
|
||||
#endif
|
||||
|
||||
+6
-6
@@ -1,4 +1,4 @@
|
||||
#include "Game.h"
|
||||
#include "Game.h"
|
||||
#include "Environment.h"
|
||||
#include "utils/Utils.h"
|
||||
#include <iostream>
|
||||
@@ -6,7 +6,7 @@
|
||||
#include <android/log.h>
|
||||
#endif
|
||||
|
||||
#ifdef EMSCRIPTEN
|
||||
#ifdef __EMSCRIPTEN__
|
||||
#include <emscripten.h>
|
||||
#include <emscripten/html5.h>
|
||||
#endif
|
||||
@@ -50,7 +50,7 @@ void readSettings()
|
||||
}
|
||||
}
|
||||
|
||||
#if defined(EMSCRIPTEN)
|
||||
#if defined(__EMSCRIPTEN__)
|
||||
static SDL_GLContext glContext_x;
|
||||
static bool g_isFsLoaded = false; // Флаг готовности
|
||||
|
||||
@@ -109,7 +109,7 @@ static void applyResize(int logicalW, int logicalH) {
|
||||
#endif
|
||||
|
||||
void MainLoop() {
|
||||
#if defined(EMSCRIPTEN)
|
||||
#if defined(__EMSCRIPTEN__)
|
||||
// Крутим цикл вхолостую, пока JS читает IndexedDB
|
||||
if (!g_isFsLoaded) return;
|
||||
|
||||
@@ -128,7 +128,7 @@ void MainLoop() {
|
||||
g_game->update();
|
||||
}
|
||||
|
||||
#ifdef EMSCRIPTEN
|
||||
#ifdef __EMSCRIPTEN__
|
||||
|
||||
|
||||
EM_BOOL onWebGLContextLost(int /*eventType*/, const void* /*reserved*/, void* /*userData*/) {
|
||||
@@ -482,7 +482,7 @@ int main(int argc, char* argv[]) {
|
||||
SDL_DestroyWindow(FRG::Environment::window);
|
||||
}
|
||||
//FRG::logger() << "Quitting step 8: " << std::endl;
|
||||
#ifndef EMSCRIPTEN
|
||||
#ifndef __EMSCRIPTEN__
|
||||
// In Emscripten, SDL must stay alive across context loss/restore cycles
|
||||
// so the window remains valid when the game object is re-created.
|
||||
SDL_Quit();
|
||||
|
||||
+214
-333
@@ -14,15 +14,6 @@ namespace FRG {
|
||||
using json = nlohmann::json;
|
||||
|
||||
namespace {
|
||||
const float INF_COST = (std::numeric_limits<float>::max)();
|
||||
|
||||
float distanceCells(const PathFinder::Cell& a, const PathFinder::Cell& b)
|
||||
{
|
||||
const float dx = static_cast<float>(a.x - b.x);
|
||||
const float dz = static_cast<float>(a.z - b.z);
|
||||
return std::sqrt(dx * dx + dz * dz);
|
||||
}
|
||||
|
||||
std::vector<Eigen::Vector2f> readPolygon(const json& item)
|
||||
{
|
||||
std::vector<Eigen::Vector2f> polygon;
|
||||
@@ -127,397 +118,287 @@ void PathFinder::build(const std::string& configPath,
|
||||
std::vector<Eigen::Vector3f> PathFinder::findPath(const Eigen::Vector3f& start,
|
||||
const Eigen::Vector3f& end) const
|
||||
{
|
||||
if (!ready || walkable.empty()) {
|
||||
return {};
|
||||
}
|
||||
|
||||
Cell startCell;
|
||||
Cell endCell;
|
||||
if (!findNearestWalkableCell(start, startCell, walkable) ||
|
||||
!findNearestWalkableCell(end, endCell, walkable)) {
|
||||
return {};
|
||||
}
|
||||
|
||||
if (startCell.x == endCell.x && startCell.z == endCell.z) {
|
||||
return { cellCenter(endCell) };
|
||||
}
|
||||
|
||||
struct QueueNode {
|
||||
int index = 0;
|
||||
float priority = 0.0f;
|
||||
|
||||
bool operator<(const QueueNode& other) const
|
||||
{
|
||||
if (priority != other.priority) return priority > other.priority;
|
||||
return index > other.index;
|
||||
}
|
||||
};
|
||||
|
||||
const int cellCount = gridWidth * gridDepth;
|
||||
std::vector<float> cost(static_cast<size_t>(cellCount), INF_COST);
|
||||
std::vector<int> cameFrom(static_cast<size_t>(cellCount), -1);
|
||||
std::priority_queue<QueueNode> open;
|
||||
|
||||
const int startIndex = indexOf(startCell);
|
||||
const int endIndex = indexOf(endCell);
|
||||
|
||||
cost[static_cast<size_t>(startIndex)] = 0.0f;
|
||||
open.push({ startIndex, 0.0f });
|
||||
|
||||
static const int offsets[8][2] = {
|
||||
{ 1, 0 }, { -1, 0 }, { 0, 1 }, { 0, -1 },
|
||||
{ 1, 1 }, { 1, -1 }, { -1, 1 }, { -1, -1 }
|
||||
};
|
||||
|
||||
while (!open.empty()) {
|
||||
const QueueNode current = open.top();
|
||||
open.pop();
|
||||
|
||||
if (current.index == endIndex) {
|
||||
break;
|
||||
}
|
||||
|
||||
const Cell currentCell{ current.index % gridWidth, current.index / gridWidth };
|
||||
|
||||
for (const auto& offset : offsets) {
|
||||
Cell next{ currentCell.x + offset[0], currentCell.z + offset[1] };
|
||||
if (!isCellWalkable(next, walkable)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
const bool diagonal = offset[0] != 0 && offset[1] != 0;
|
||||
if (diagonal) {
|
||||
Cell horizontal{ currentCell.x + offset[0], currentCell.z };
|
||||
Cell vertical{ currentCell.x, currentCell.z + offset[1] };
|
||||
if (!isCellWalkable(horizontal, walkable) || !isCellWalkable(vertical, walkable)) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
const int nextIndex = indexOf(next);
|
||||
const float stepCost = diagonal ? 1.41421356f : 1.0f;
|
||||
const float newCost = cost[static_cast<size_t>(current.index)] + stepCost;
|
||||
if (newCost >= cost[static_cast<size_t>(nextIndex)]) {
|
||||
continue;
|
||||
}
|
||||
|
||||
cost[static_cast<size_t>(nextIndex)] = newCost;
|
||||
cameFrom[static_cast<size_t>(nextIndex)] = current.index;
|
||||
const float priority = newCost + distanceCells(next, endCell);
|
||||
open.push({ nextIndex, priority });
|
||||
}
|
||||
}
|
||||
|
||||
if (cameFrom[static_cast<size_t>(endIndex)] == -1) {
|
||||
return {};
|
||||
}
|
||||
|
||||
std::vector<Cell> cells;
|
||||
for (int current = endIndex; current != -1; current = cameFrom[static_cast<size_t>(current)]) {
|
||||
cells.push_back({ current % gridWidth, current / gridWidth });
|
||||
if (current == startIndex) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
std::reverse(cells.begin(), cells.end());
|
||||
cells = smoothCells(cells, walkable);
|
||||
|
||||
std::vector<Eigen::Vector3f> path;
|
||||
path.reserve(cells.size());
|
||||
for (const Cell& cell : cells) {
|
||||
path.push_back(cellCenter(cell));
|
||||
}
|
||||
|
||||
if (!path.empty() && (path.front() - Eigen::Vector3f(start.x(), floorY, start.z())).norm() < cellSize * 0.75f) {
|
||||
path.erase(path.begin());
|
||||
}
|
||||
|
||||
if (!path.empty()) {
|
||||
Cell requestedEndCell;
|
||||
if (worldToCell(end, requestedEndCell) &&
|
||||
requestedEndCell.x == endCell.x &&
|
||||
requestedEndCell.z == endCell.z) {
|
||||
path.back() = Eigen::Vector3f(end.x(), floorY, end.z());
|
||||
}
|
||||
}
|
||||
|
||||
return path;
|
||||
const std::lock_guard<std::mutex> lock(*queryMutex);
|
||||
return runSearch(start, end, 0, false);
|
||||
}
|
||||
|
||||
std::vector<Eigen::Vector3f> PathFinder::findPath(const Eigen::Vector3f& start,
|
||||
const Eigen::Vector3f& end,
|
||||
const std::vector<DynamicObstacle>& dynamicObstacles) const
|
||||
{
|
||||
if (!ready || walkable.empty()) {
|
||||
return {};
|
||||
}
|
||||
|
||||
std::vector<unsigned char> walkableGrid = walkable;
|
||||
if (!dynamicObstacles.empty()) {
|
||||
for (const DynamicObstacle& obstacle : dynamicObstacles) {
|
||||
const float radius = obstacle.radius + agentRadius;
|
||||
if (radius <= 0.0f) continue;
|
||||
|
||||
const float minWorldX = obstacle.position.x() - radius;
|
||||
const float maxWorldX = obstacle.position.x() + radius;
|
||||
const float minWorldZ = obstacle.position.z() - radius;
|
||||
const float maxWorldZ = obstacle.position.z() + radius;
|
||||
|
||||
const int minCellX = (std::max)(0, static_cast<int>(std::floor((minWorldX - minX) / cellSize)));
|
||||
const int maxCellX = (std::min)(gridWidth - 1, static_cast<int>(std::floor((maxWorldX - minX) / cellSize)));
|
||||
const int minCellZ = (std::max)(0, static_cast<int>(std::floor((minWorldZ - minZ) / cellSize)));
|
||||
const int maxCellZ = (std::min)(gridDepth - 1, static_cast<int>(std::floor((maxWorldZ - minZ) / cellSize)));
|
||||
|
||||
const float radiusSq = radius * radius;
|
||||
for (int z = minCellZ; z <= maxCellZ; ++z) {
|
||||
for (int x = minCellX; x <= maxCellX; ++x) {
|
||||
const Cell cell{ x, z };
|
||||
const Eigen::Vector3f center = cellCenter(cell);
|
||||
const float dx = center.x() - obstacle.position.x();
|
||||
const float dz = center.z() - obstacle.position.z();
|
||||
if (dx * dx + dz * dz <= radiusSq) {
|
||||
const int idx = indexOf(cell);
|
||||
if (idx >= 0 && idx < static_cast<int>(walkableGrid.size())) {
|
||||
walkableGrid[static_cast<size_t>(idx)] = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Cell startCell;
|
||||
Cell endCell;
|
||||
if (!findNearestWalkableCell(start, startCell, walkableGrid) ||
|
||||
!findNearestWalkableCell(end, endCell, walkableGrid)) {
|
||||
return {};
|
||||
}
|
||||
|
||||
if (startCell.x == endCell.x && startCell.z == endCell.z) {
|
||||
return { cellCenter(endCell) };
|
||||
}
|
||||
|
||||
struct QueueNode {
|
||||
int index = 0;
|
||||
float priority = 0.0f;
|
||||
|
||||
bool operator<(const QueueNode& other) const
|
||||
{
|
||||
if (priority != other.priority) return priority > other.priority;
|
||||
return index > other.index;
|
||||
}
|
||||
};
|
||||
|
||||
const int cellCount = gridWidth * gridDepth;
|
||||
std::vector<float> cost(static_cast<size_t>(cellCount), INF_COST);
|
||||
std::vector<int> cameFrom(static_cast<size_t>(cellCount), -1);
|
||||
std::priority_queue<QueueNode> open;
|
||||
|
||||
const int startIndex = indexOf(startCell);
|
||||
const int endIndex = indexOf(endCell);
|
||||
|
||||
cost[static_cast<size_t>(startIndex)] = 0.0f;
|
||||
open.push({ startIndex, 0.0f });
|
||||
|
||||
static const int offsets[8][2] = {
|
||||
{ 1, 0 }, { -1, 0 }, { 0, 1 }, { 0, -1 },
|
||||
{ 1, 1 }, { 1, -1 }, { -1, 1 }, { -1, -1 }
|
||||
};
|
||||
|
||||
while (!open.empty()) {
|
||||
const QueueNode current = open.top();
|
||||
open.pop();
|
||||
|
||||
if (current.index == endIndex) {
|
||||
break;
|
||||
}
|
||||
|
||||
const Cell currentCell{ current.index % gridWidth, current.index / gridWidth };
|
||||
|
||||
for (const auto& offset : offsets) {
|
||||
Cell next{ currentCell.x + offset[0], currentCell.z + offset[1] };
|
||||
if (!isCellWalkable(next, walkableGrid)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
const bool diagonal = offset[0] != 0 && offset[1] != 0;
|
||||
if (diagonal) {
|
||||
Cell horizontal{ currentCell.x + offset[0], currentCell.z };
|
||||
Cell vertical{ currentCell.x, currentCell.z + offset[1] };
|
||||
if (!isCellWalkable(horizontal, walkableGrid) || !isCellWalkable(vertical, walkableGrid)) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
const int nextIndex = indexOf(next);
|
||||
const float stepCost = diagonal ? 1.41421356f : 1.0f;
|
||||
const float newCost = cost[static_cast<size_t>(current.index)] + stepCost;
|
||||
if (newCost >= cost[static_cast<size_t>(nextIndex)]) {
|
||||
continue;
|
||||
}
|
||||
|
||||
cost[static_cast<size_t>(nextIndex)] = newCost;
|
||||
cameFrom[static_cast<size_t>(nextIndex)] = current.index;
|
||||
const float priority = newCost + distanceCells(next, endCell);
|
||||
open.push({ nextIndex, priority });
|
||||
}
|
||||
}
|
||||
|
||||
if (cameFrom[static_cast<size_t>(endIndex)] == -1) {
|
||||
return {};
|
||||
}
|
||||
|
||||
std::vector<Cell> cells;
|
||||
for (int current = endIndex; current != -1; current = cameFrom[static_cast<size_t>(current)]) {
|
||||
cells.push_back({ current % gridWidth, current / gridWidth });
|
||||
if (current == startIndex) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
std::reverse(cells.begin(), cells.end());
|
||||
cells = smoothCells(cells, walkableGrid);
|
||||
|
||||
std::vector<Eigen::Vector3f> path;
|
||||
path.reserve(cells.size());
|
||||
for (const Cell& cell : cells) {
|
||||
path.push_back(cellCenter(cell));
|
||||
}
|
||||
|
||||
if (!path.empty() && (path.front() - Eigen::Vector3f(start.x(), floorY, start.z())).norm() < cellSize * 0.75f) {
|
||||
path.erase(path.begin());
|
||||
}
|
||||
|
||||
if (!path.empty()) {
|
||||
Cell requestedEndCell;
|
||||
if (worldToCell(end, requestedEndCell) &&
|
||||
requestedEndCell.x == endCell.x &&
|
||||
requestedEndCell.z == endCell.z) {
|
||||
path.back() = Eigen::Vector3f(end.x(), floorY, end.z());
|
||||
}
|
||||
}
|
||||
|
||||
return path;
|
||||
const std::lock_guard<std::mutex> lock(*queryMutex);
|
||||
return runSearch(start, end, buildDynamicOverlay(dynamicObstacles), false);
|
||||
}
|
||||
|
||||
std::vector<Eigen::Vector3f> PathFinder::findNearestReachableImpl(
|
||||
std::uint32_t PathFinder::buildDynamicOverlay(
|
||||
const std::vector<DynamicObstacle>& dynamicObstacles) const
|
||||
{
|
||||
const size_t cellCount = walkable.size();
|
||||
if (dynamicBlockedGeneration.size() != cellCount) {
|
||||
dynamicBlockedGeneration.assign(cellCount, 0);
|
||||
dynamicGeneration = 0;
|
||||
}
|
||||
if (++dynamicGeneration == 0) {
|
||||
std::fill(dynamicBlockedGeneration.begin(), dynamicBlockedGeneration.end(), 0);
|
||||
dynamicGeneration = 1;
|
||||
}
|
||||
for (const DynamicObstacle& obstacle : dynamicObstacles) {
|
||||
// Include the cell half-diagonal so a segment between adjacent
|
||||
// unblocked cell centres cannot geometrically cut through the circle.
|
||||
const float radius =
|
||||
obstacle.radius + agentRadius + cellSize * 0.70710678f;
|
||||
if (radius <= 0.f) continue;
|
||||
const int minCellX = (std::max)(
|
||||
0, static_cast<int>(std::floor((obstacle.position.x() - radius - minX) / cellSize)));
|
||||
const int maxCellX = (std::min)(
|
||||
gridWidth - 1, static_cast<int>(std::floor((obstacle.position.x() + radius - minX) / cellSize)));
|
||||
const int minCellZ = (std::max)(
|
||||
0, static_cast<int>(std::floor((obstacle.position.z() - radius - minZ) / cellSize)));
|
||||
const int maxCellZ = (std::min)(
|
||||
gridDepth - 1, static_cast<int>(std::floor((obstacle.position.z() + radius - minZ) / cellSize)));
|
||||
const float radiusSq = radius * radius;
|
||||
for (int z = minCellZ; z <= maxCellZ; ++z) {
|
||||
for (int x = minCellX; x <= maxCellX; ++x) {
|
||||
const Cell cell{x, z};
|
||||
const Eigen::Vector3f center = cellCenter(cell);
|
||||
const float dx = center.x() - obstacle.position.x();
|
||||
const float dz = center.z() - obstacle.position.z();
|
||||
if (dx * dx + dz * dz <= radiusSq)
|
||||
dynamicBlockedGeneration[static_cast<size_t>(indexOf(cell))] =
|
||||
dynamicGeneration;
|
||||
}
|
||||
}
|
||||
}
|
||||
return dynamicGeneration;
|
||||
}
|
||||
|
||||
bool PathFinder::isCellWalkableOverlay(
|
||||
const Cell& cell, std::uint32_t generation) const
|
||||
{
|
||||
if (!isCellWalkable(cell)) return false;
|
||||
return generation == 0 ||
|
||||
dynamicBlockedGeneration[static_cast<size_t>(indexOf(cell))] != generation;
|
||||
}
|
||||
|
||||
bool PathFinder::findNearestWalkableCellOverlay(
|
||||
const Eigen::Vector3f& point, Cell& out, std::uint32_t generation) const
|
||||
{
|
||||
Cell origin;
|
||||
if (!worldToCell(point, origin)) {
|
||||
origin.x = (std::max)(0, (std::min)(
|
||||
gridWidth - 1, static_cast<int>(std::floor((point.x() - minX) / cellSize))));
|
||||
origin.z = (std::max)(0, (std::min)(
|
||||
gridDepth - 1, static_cast<int>(std::floor((point.z() - minZ) / cellSize))));
|
||||
}
|
||||
if (isCellWalkableOverlay(origin, generation)) {
|
||||
out = origin;
|
||||
return true;
|
||||
}
|
||||
const int maxRadius =
|
||||
(std::max)(4, static_cast<int>(std::ceil(8.0f / cellSize)));
|
||||
for (int radius = 1; radius <= maxRadius; ++radius) {
|
||||
for (int z = origin.z - radius; z <= origin.z + radius; ++z) {
|
||||
for (int x = origin.x - radius; x <= origin.x + radius; ++x) {
|
||||
if (std::abs(x - origin.x) != radius &&
|
||||
std::abs(z - origin.z) != radius) continue;
|
||||
const Cell candidate{x, z};
|
||||
if (isCellWalkableOverlay(candidate, generation)) {
|
||||
out = candidate;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
bool PathFinder::hasLineOfSightOverlay(
|
||||
const Cell& from, const Cell& to, std::uint32_t generation) const
|
||||
{
|
||||
int x = from.x;
|
||||
int z = from.z;
|
||||
const int dx = std::abs(to.x - from.x);
|
||||
const int dz = std::abs(to.z - from.z);
|
||||
const int sx = from.x < to.x ? 1 : -1;
|
||||
const int sz = from.z < to.z ? 1 : -1;
|
||||
int error = dx - dz;
|
||||
while (true) {
|
||||
if (!isCellWalkableOverlay({x, z}, generation)) return false;
|
||||
if (x == to.x && z == to.z) return true;
|
||||
const int twiceError = error * 2;
|
||||
const int oldX = x;
|
||||
const int oldZ = z;
|
||||
if (twiceError > -dz) {
|
||||
error -= dz;
|
||||
x += sx;
|
||||
}
|
||||
if (twiceError < dx) {
|
||||
error += dx;
|
||||
z += sz;
|
||||
}
|
||||
if (x != oldX && z != oldZ &&
|
||||
(!isCellWalkableOverlay({x, oldZ}, generation) ||
|
||||
!isCellWalkableOverlay({oldX, z}, generation))) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
std::vector<PathFinder::Cell> PathFinder::smoothCellsOverlay(
|
||||
const std::vector<Cell>& cells, std::uint32_t generation) const
|
||||
{
|
||||
if (cells.size() <= 2) return cells;
|
||||
std::vector<Cell> result;
|
||||
result.push_back(cells.front());
|
||||
size_t anchor = 0;
|
||||
while (anchor + 1 < cells.size()) {
|
||||
size_t next = cells.size() - 1;
|
||||
while (next > anchor + 1 &&
|
||||
!hasLineOfSightOverlay(cells[anchor], cells[next], generation)) {
|
||||
--next;
|
||||
}
|
||||
result.push_back(cells[next]);
|
||||
anchor = next;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
std::vector<Eigen::Vector3f> PathFinder::runSearch(
|
||||
const Eigen::Vector3f& start,
|
||||
const Eigen::Vector3f& end,
|
||||
const std::vector<unsigned char>& walkableGrid) const
|
||||
std::uint32_t obstacleGeneration,
|
||||
bool nearestReachable) const
|
||||
{
|
||||
if (!ready || walkableGrid.empty()) return {};
|
||||
|
||||
if (!ready || walkable.empty()) return {};
|
||||
Cell startCell;
|
||||
Cell endCell;
|
||||
if (!findNearestWalkableCell(start, startCell, walkableGrid)) return {};
|
||||
if (!findNearestWalkableCell(end, endCell, walkableGrid)) return {};
|
||||
if (!findNearestWalkableCellOverlay(start, startCell, obstacleGeneration) ||
|
||||
!findNearestWalkableCellOverlay(end, endCell, obstacleGeneration)) return {};
|
||||
if (startCell.x == endCell.x && startCell.z == endCell.z)
|
||||
return {cellCenter(endCell)};
|
||||
|
||||
const size_t cellCount = walkable.size();
|
||||
if (searchCost.size() != cellCount) {
|
||||
searchCost.resize(cellCount);
|
||||
searchCameFrom.resize(cellCount);
|
||||
searchVisitedGeneration.assign(cellCount, 0);
|
||||
searchGeneration = 0;
|
||||
}
|
||||
if (++searchGeneration == 0) {
|
||||
std::fill(searchVisitedGeneration.begin(), searchVisitedGeneration.end(), 0);
|
||||
searchGeneration = 1;
|
||||
}
|
||||
const auto heuristic = [](const Cell& a, const Cell& b) {
|
||||
const int dx = std::abs(a.x - b.x);
|
||||
const int dz = std::abs(a.z - b.z);
|
||||
return 14 * (std::min)(dx, dz) + 10 * (std::max(dx, dz) - (std::min)(dx, dz));
|
||||
};
|
||||
struct QueueNode {
|
||||
int index = 0;
|
||||
float priority = 0.0f;
|
||||
int index;
|
||||
int priority;
|
||||
int cost;
|
||||
bool operator<(const QueueNode& other) const {
|
||||
if (priority != other.priority) return priority > other.priority;
|
||||
if (cost != other.cost) return cost > other.cost;
|
||||
return index > other.index;
|
||||
}
|
||||
};
|
||||
|
||||
const int cellCount = gridWidth * gridDepth;
|
||||
std::vector<float> cost(static_cast<size_t>(cellCount), INF_COST);
|
||||
std::vector<int> cameFrom(static_cast<size_t>(cellCount), -1);
|
||||
std::priority_queue<QueueNode> open;
|
||||
|
||||
const int startIndex = indexOf(startCell);
|
||||
const int endIndex = indexOf(endCell);
|
||||
|
||||
cost[static_cast<size_t>(startIndex)] = 0.f;
|
||||
open.push({ startIndex, 0.f });
|
||||
|
||||
int bestIndex = startIndex;
|
||||
float bestDist = distanceCells(startCell, endCell);
|
||||
|
||||
const int endIndex = indexOf(endCell);
|
||||
searchVisitedGeneration[static_cast<size_t>(startIndex)] = searchGeneration;
|
||||
searchCost[static_cast<size_t>(startIndex)] = 0;
|
||||
searchCameFrom[static_cast<size_t>(startIndex)] = -1;
|
||||
open.push({startIndex, heuristic(startCell, endCell), 0});
|
||||
int bestIndex = startIndex;
|
||||
int bestDistanceSq =
|
||||
(startCell.x - endCell.x) * (startCell.x - endCell.x) +
|
||||
(startCell.z - endCell.z) * (startCell.z - endCell.z);
|
||||
static const int offsets[8][2] = {
|
||||
{ 1, 0 }, { -1, 0 }, { 0, 1 }, { 0, -1 },
|
||||
{ 1, 1 }, { 1, -1 }, { -1, 1 }, { -1, -1 }
|
||||
};
|
||||
|
||||
while (!open.empty()) {
|
||||
const QueueNode current = open.top();
|
||||
open.pop();
|
||||
|
||||
const size_t currentOffset = static_cast<size_t>(current.index);
|
||||
if (searchVisitedGeneration[currentOffset] != searchGeneration ||
|
||||
searchCost[currentOffset] != current.cost) continue;
|
||||
if (current.index == endIndex) {
|
||||
bestIndex = endIndex;
|
||||
break;
|
||||
}
|
||||
|
||||
if (cost[static_cast<size_t>(current.index)] < current.priority - distanceCells({ current.index % gridWidth, current.index / gridWidth }, endCell)) {
|
||||
continue; // stale entry
|
||||
}
|
||||
|
||||
const Cell currentCell{ current.index % gridWidth, current.index / gridWidth };
|
||||
const float d = distanceCells(currentCell, endCell);
|
||||
if (d < bestDist) {
|
||||
bestDist = d;
|
||||
const int dx = currentCell.x - endCell.x;
|
||||
const int dz = currentCell.z - endCell.z;
|
||||
const int distanceSq = dx * dx + dz * dz;
|
||||
if (distanceSq < bestDistanceSq ||
|
||||
(distanceSq == bestDistanceSq && current.index < bestIndex)) {
|
||||
bestDistanceSq = distanceSq;
|
||||
bestIndex = current.index;
|
||||
}
|
||||
|
||||
for (const auto& offset : offsets) {
|
||||
Cell next{ currentCell.x + offset[0], currentCell.z + offset[1] };
|
||||
if (!isCellWalkable(next, walkableGrid)) continue;
|
||||
|
||||
if (!isCellWalkableOverlay(next, obstacleGeneration)) continue;
|
||||
const bool diagonal = offset[0] != 0 && offset[1] != 0;
|
||||
if (diagonal) {
|
||||
Cell h{ currentCell.x + offset[0], currentCell.z };
|
||||
Cell v{ currentCell.x, currentCell.z + offset[1] };
|
||||
if (!isCellWalkable(h, walkableGrid) || !isCellWalkable(v, walkableGrid)) continue;
|
||||
if (!isCellWalkableOverlay(h, obstacleGeneration) ||
|
||||
!isCellWalkableOverlay(v, obstacleGeneration)) continue;
|
||||
}
|
||||
|
||||
const int nextIndex = indexOf(next);
|
||||
const float stepCost = diagonal ? 1.41421356f : 1.0f;
|
||||
const float newCost = cost[static_cast<size_t>(current.index)] + stepCost;
|
||||
if (newCost >= cost[static_cast<size_t>(nextIndex)]) continue;
|
||||
|
||||
cost[static_cast<size_t>(nextIndex)] = newCost;
|
||||
cameFrom[static_cast<size_t>(nextIndex)] = current.index;
|
||||
open.push({ nextIndex, newCost + distanceCells(next, endCell) });
|
||||
const int nextIndex = indexOf(next);
|
||||
const size_t nextOffset = static_cast<size_t>(nextIndex);
|
||||
const int newCost = current.cost + (diagonal ? 14 : 10);
|
||||
if (searchVisitedGeneration[nextOffset] == searchGeneration &&
|
||||
newCost >= searchCost[nextOffset]) continue;
|
||||
searchVisitedGeneration[nextOffset] = searchGeneration;
|
||||
searchCost[nextOffset] = newCost;
|
||||
searchCameFrom[nextOffset] = current.index;
|
||||
open.push({nextIndex, newCost + heuristic(next, endCell), newCost});
|
||||
}
|
||||
}
|
||||
|
||||
if (!nearestReachable && bestIndex != endIndex) return {};
|
||||
if (bestIndex == startIndex) return {};
|
||||
|
||||
std::vector<Cell> cells;
|
||||
for (int cur = bestIndex; cur != -1; cur = cameFrom[static_cast<size_t>(cur)]) {
|
||||
for (int cur = bestIndex; cur != -1;
|
||||
cur = searchCameFrom[static_cast<size_t>(cur)]) {
|
||||
cells.push_back({ cur % gridWidth, cur / gridWidth });
|
||||
if (cur == startIndex) break;
|
||||
}
|
||||
std::reverse(cells.begin(), cells.end());
|
||||
cells = smoothCells(cells, walkableGrid);
|
||||
|
||||
cells = smoothCellsOverlay(cells, obstacleGeneration);
|
||||
std::vector<Eigen::Vector3f> path;
|
||||
path.reserve(cells.size());
|
||||
for (const Cell& cell : cells) path.push_back(cellCenter(cell));
|
||||
|
||||
if (!path.empty() && (path.front() - Eigen::Vector3f(start.x(), floorY, start.z())).norm() < cellSize * 0.75f)
|
||||
if (!path.empty() &&
|
||||
(path.front() - Eigen::Vector3f(start.x(), floorY, start.z())).norm() <
|
||||
cellSize * 0.75f)
|
||||
path.erase(path.begin());
|
||||
|
||||
if (bestIndex == endIndex && !path.empty()) {
|
||||
Cell requestedEndCell;
|
||||
if (worldToCell(end, requestedEndCell) &&
|
||||
requestedEndCell.x == endCell.x && requestedEndCell.z == endCell.z) {
|
||||
path.back() = Eigen::Vector3f(end.x(), floorY, end.z());
|
||||
}
|
||||
}
|
||||
return path;
|
||||
}
|
||||
|
||||
std::vector<Eigen::Vector3f> PathFinder::findPathToNearest(
|
||||
const Eigen::Vector3f& start, const Eigen::Vector3f& end) const
|
||||
{
|
||||
auto path = findPath(start, end);
|
||||
if (!path.empty()) return path;
|
||||
return findNearestReachableImpl(start, end, walkable);
|
||||
const std::lock_guard<std::mutex> lock(*queryMutex);
|
||||
return runSearch(start, end, 0, true);
|
||||
}
|
||||
|
||||
std::vector<Eigen::Vector3f> PathFinder::findPathToNearest(
|
||||
const Eigen::Vector3f& start, const Eigen::Vector3f& end,
|
||||
const std::vector<DynamicObstacle>& dynamicObstacles) const
|
||||
{
|
||||
auto path = findPath(start, end, dynamicObstacles);
|
||||
if (!path.empty()) return path;
|
||||
path = findPath(start, end);
|
||||
if (!path.empty()) return path;
|
||||
return findNearestReachableImpl(start, end, walkable);
|
||||
const std::lock_guard<std::mutex> lock(*queryMutex);
|
||||
return runSearch(
|
||||
start, end, buildDynamicOverlay(dynamicObstacles), true);
|
||||
}
|
||||
|
||||
bool PathFinder::setAreaAvailable(const std::string& areaName, bool available)
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
#include <Eigen/Core>
|
||||
#include <cstdint>
|
||||
#include <memory>
|
||||
#include <mutex>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
@@ -79,6 +82,17 @@ private:
|
||||
std::vector<unsigned char> walkable;
|
||||
std::vector<NavigationArea> areas;
|
||||
|
||||
// Reused by synchronous authoritative path queries. Generation stamps avoid
|
||||
// copying/clearing the complete map for every dynamic-obstacle search.
|
||||
mutable std::vector<std::uint32_t> dynamicBlockedGeneration;
|
||||
mutable std::uint32_t dynamicGeneration = 0;
|
||||
mutable std::vector<int> searchCost;
|
||||
mutable std::vector<int> searchCameFrom;
|
||||
mutable std::vector<std::uint32_t> searchVisitedGeneration;
|
||||
mutable std::uint32_t searchGeneration = 0;
|
||||
mutable std::shared_ptr<std::mutex> queryMutex =
|
||||
std::make_shared<std::mutex>();
|
||||
|
||||
void loadConfig(const std::string& configPath, const std::string& zipPath);
|
||||
bool loadGrid(const std::string& path, const std::string& zipPath);
|
||||
void resetGridBounds();
|
||||
@@ -103,11 +117,20 @@ private:
|
||||
bool hasLineOfSight(const Cell& from, const Cell& to, const std::vector<unsigned char>& walkableGrid) const;
|
||||
std::vector<Cell> smoothCells(const std::vector<Cell>& cells, const std::vector<unsigned char>& walkableGrid) const;
|
||||
|
||||
// A* that runs to exhaustion and returns a path to the reachable cell
|
||||
// geometrically closest to end when end itself is unreachable.
|
||||
std::vector<Eigen::Vector3f> findNearestReachableImpl(const Eigen::Vector3f& start,
|
||||
const Eigen::Vector3f& end,
|
||||
const std::vector<unsigned char>& walkableGrid) const;
|
||||
std::uint32_t buildDynamicOverlay(
|
||||
const std::vector<DynamicObstacle>& dynamicObstacles) const;
|
||||
bool isCellWalkableOverlay(const Cell& cell, std::uint32_t generation) const;
|
||||
bool findNearestWalkableCellOverlay(
|
||||
const Eigen::Vector3f& point, Cell& out, std::uint32_t generation) const;
|
||||
bool hasLineOfSightOverlay(
|
||||
const Cell& from, const Cell& to, std::uint32_t generation) const;
|
||||
std::vector<Cell> smoothCellsOverlay(
|
||||
const std::vector<Cell>& cells, std::uint32_t generation) const;
|
||||
std::vector<Eigen::Vector3f> runSearch(
|
||||
const Eigen::Vector3f& start,
|
||||
const Eigen::Vector3f& end,
|
||||
std::uint32_t obstacleGeneration,
|
||||
bool nearestReachable) const;
|
||||
};
|
||||
|
||||
} // namespace FRG
|
||||
@@ -1,8 +1,8 @@
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
|
||||
#include "SDL.h"
|
||||
#ifdef EMSCRIPTEN
|
||||
#ifdef __EMSCRIPTEN__
|
||||
//#define GL_GLEXT_PROTOTYPES 1
|
||||
//#define EGL_EGLEXT_PROTOTYPES 1
|
||||
//#include <SDL2/SDL_opengl.h>
|
||||
|
||||
@@ -104,17 +104,28 @@ namespace FRG {
|
||||
if (!state) return;
|
||||
std::vector<Eigen::Vector3f> route;
|
||||
route.reserve(state->pathWaypoints.size() + 1);
|
||||
route.push_back(Eigen::Vector3f(state->position.x(), 0.0f, state->position.z()));
|
||||
const Eigen::Vector3f renderPosition = player.renderPosition();
|
||||
route.push_back(Eigen::Vector3f(renderPosition.x(), 0.0f, renderPosition.z()));
|
||||
const size_t firstWaypoint = (std::min)(
|
||||
state->currentWaypointIndex, state->pathWaypoints.size());
|
||||
for (size_t i = firstWaypoint; i < state->pathWaypoints.size(); ++i) {
|
||||
const Eigen::Vector3f& waypoint = state->pathWaypoints[i];
|
||||
route.push_back(Eigen::Vector3f(waypoint.x(), 0.0f, waypoint.z()));
|
||||
}
|
||||
const Eigen::Vector3f clickedPosition(
|
||||
clickedDestination.x(), 0.0f, clickedDestination.z());
|
||||
if (route.size() == 1 ||
|
||||
(route.back() - clickedPosition).norm() > 0.5f) {
|
||||
// A remote destination is not present in the replica yet, or the
|
||||
// replica still contains the route for a previous click. Preview
|
||||
// the new intent directly until authoritative waypoints catch up.
|
||||
route.clear();
|
||||
route.push_back(Eigen::Vector3f(
|
||||
renderPosition.x(), 0.0f, renderPosition.z()));
|
||||
route.push_back(clickedPosition);
|
||||
}
|
||||
|
||||
destination = route.size() > 1
|
||||
? route.back()
|
||||
: Eigen::Vector3f(clickedDestination.x(), 0.0f, clickedDestination.z());
|
||||
destination = clickedPosition;
|
||||
|
||||
float totalLength = 0.0f;
|
||||
for (size_t i = 1; i < route.size(); ++i) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "render/Renderer.h"
|
||||
#include "render/Renderer.h"
|
||||
#include <cmath>
|
||||
|
||||
namespace FRG {
|
||||
@@ -116,7 +116,7 @@ namespace FRG {
|
||||
|
||||
VAOHolder::VAOHolder()
|
||||
{
|
||||
#ifndef EMSCRIPTEN
|
||||
#ifndef __EMSCRIPTEN__
|
||||
#ifndef ANDROID
|
||||
glGenVertexArrays(1, &vao);
|
||||
#endif
|
||||
@@ -125,7 +125,7 @@ namespace FRG {
|
||||
|
||||
VAOHolder::~VAOHolder()
|
||||
{
|
||||
#ifndef EMSCRIPTEN
|
||||
#ifndef __EMSCRIPTEN__
|
||||
#ifndef ANDROID
|
||||
#ifdef __linux__
|
||||
glDeleteVertexArrays(1, &vao);
|
||||
@@ -382,7 +382,7 @@ namespace FRG {
|
||||
{
|
||||
//Check if main thread, check if data is not empty...
|
||||
|
||||
#ifndef EMSCRIPTEN
|
||||
#ifndef __EMSCRIPTEN__
|
||||
#ifndef __ANDROID__
|
||||
if (!vao)
|
||||
{
|
||||
@@ -528,7 +528,7 @@ namespace FRG {
|
||||
|
||||
glActiveTexture(GL_TEXTURE0);
|
||||
|
||||
#ifndef EMSCRIPTEN
|
||||
#ifndef __EMSCRIPTEN__
|
||||
#ifndef __ANDROID__
|
||||
glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);
|
||||
#endif
|
||||
@@ -988,7 +988,7 @@ namespace FRG {
|
||||
|
||||
void Renderer::BindVertexRenderStructAttribs(const VertexRenderStruct& VertexRenderStruct)
|
||||
{
|
||||
#ifndef EMSCRIPTEN
|
||||
#ifndef __EMSCRIPTEN__
|
||||
#ifndef __ANDROID__
|
||||
if (VertexRenderStruct.vao) {
|
||||
glBindVertexArray(VertexRenderStruct.vao->getBuffer());
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "ShadowMap.h"
|
||||
#include "ShadowMap.h"
|
||||
#include "Environment.h"
|
||||
#include <iostream>
|
||||
#include <cmath>
|
||||
@@ -56,7 +56,7 @@ namespace FRG {
|
||||
{
|
||||
glGenFramebuffers(1, &fbo);
|
||||
|
||||
#if defined(EMSCRIPTEN) || defined(__ANDROID__)
|
||||
#if defined(__EMSCRIPTEN__) || defined(__ANDROID__)
|
||||
glGenTextures(1, &depthTexture);
|
||||
glBindTexture(GL_TEXTURE_2D, depthTexture);
|
||||
|
||||
@@ -87,7 +87,7 @@ namespace FRG {
|
||||
GL_TEXTURE_2D, depthTexture, 0);
|
||||
|
||||
// No color buffer for this FBO — depth only.
|
||||
#if defined(EMSCRIPTEN) || defined(__ANDROID__)
|
||||
#if defined(__EMSCRIPTEN__) || defined(__ANDROID__)
|
||||
GLenum drawBuffers[] = { GL_NONE };
|
||||
glDrawBuffers(1, drawBuffers);
|
||||
#else
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "render/TextureManager.h"
|
||||
#include "render/TextureManager.h"
|
||||
#include "render/OpenGlExtensions.h"
|
||||
#ifdef PNG_ENABLED
|
||||
#include "png.h"
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
namespace FRG
|
||||
{
|
||||
#ifdef EMSCRIPTEN
|
||||
#ifdef __EMSCRIPTEN__
|
||||
using std::min;
|
||||
using std::max;
|
||||
#endif
|
||||
@@ -88,7 +88,7 @@ namespace FRG
|
||||
case TextureDataStruct::R8:
|
||||
// Для WebGL 1.0 лучше использовать GL_LUMINANCE вместо GL_RED
|
||||
// Если используешь WebGL 2.0, можно оставить GL_RED
|
||||
#if defined(EMSCRIPTEN) || defined(__ANDROID__)
|
||||
#if defined(__EMSCRIPTEN__) || defined(__ANDROID__)
|
||||
internalFormat = GL_LUMINANCE;
|
||||
externalFormat = GL_LUMINANCE;
|
||||
#else
|
||||
@@ -167,7 +167,7 @@ namespace FRG
|
||||
glTexParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);
|
||||
glTexParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE);
|
||||
|
||||
#ifndef EMSCRIPTEN
|
||||
#ifndef __EMSCRIPTEN__
|
||||
#ifndef __ANDROID__
|
||||
glTexParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_WRAP_R, GL_CLAMP_TO_EDGE);
|
||||
#endif
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#include "render/OpenGlExtensions.h"
|
||||
#include "utils/Utils.h"
|
||||
@@ -6,7 +6,7 @@
|
||||
#include <unordered_map>
|
||||
#include <unordered_set>
|
||||
|
||||
#if defined EMSCRIPTEN || defined __ANDROID__
|
||||
#if defined __EMSCRIPTEN__ || defined __ANDROID__
|
||||
#define PNG_ENABLED
|
||||
#endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "TaskManager.h"
|
||||
#include "TaskManager.h"
|
||||
|
||||
|
||||
namespace FRG
|
||||
@@ -6,7 +6,7 @@ namespace FRG
|
||||
|
||||
TaskManager::TaskManager(size_t threadCount) {
|
||||
|
||||
#ifndef EMSCRIPTEN
|
||||
#ifndef __EMSCRIPTEN__
|
||||
workGuard = std::make_unique<boost::asio::executor_work_guard<boost::asio::io_context::executor_type>>(ioContext.get_executor());
|
||||
|
||||
for (size_t i = 0; i < threadCount; ++i) {
|
||||
@@ -18,7 +18,7 @@ namespace FRG
|
||||
}
|
||||
|
||||
void TaskManager::EnqueueBackgroundTask(std::function<void()> task) {
|
||||
#ifdef EMSCRIPTEN
|
||||
#ifdef __EMSCRIPTEN__
|
||||
task();
|
||||
#else
|
||||
boost::asio::post(ioContext, task);
|
||||
@@ -26,7 +26,7 @@ namespace FRG
|
||||
}
|
||||
|
||||
TaskManager::~TaskManager() {
|
||||
#ifndef EMSCRIPTEN
|
||||
#ifndef __EMSCRIPTEN__
|
||||
workGuard.reset(); // Разрешаем ioContext.run() завершиться, когда задач не останется
|
||||
ioContext.stop(); // Опционально: немедленная остановка
|
||||
for (auto& t : workers) {
|
||||
@@ -36,7 +36,7 @@ namespace FRG
|
||||
}
|
||||
|
||||
void MainThreadHandler::EnqueueMainThreadTask(std::function<void()> task) {
|
||||
#ifndef EMSCRIPTEN
|
||||
#ifndef __EMSCRIPTEN__
|
||||
std::lock_guard<std::mutex> lock(mainThreadMutex);
|
||||
#endif
|
||||
mainThreadTasks.push(task);
|
||||
@@ -45,7 +45,7 @@ namespace FRG
|
||||
void MainThreadHandler::processMainThreadTasks() {
|
||||
std::function<void()> task;
|
||||
|
||||
#ifdef EMSCRIPTEN
|
||||
#ifdef __EMSCRIPTEN__
|
||||
if (!mainThreadTasks.empty()) {
|
||||
task = std::move(mainThreadTasks.front());
|
||||
mainThreadTasks.pop();
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef EMSCRIPTEN
|
||||
#ifndef __EMSCRIPTEN__
|
||||
#include <boost/asio.hpp>
|
||||
#include <thread>
|
||||
#endif
|
||||
@@ -15,7 +15,7 @@ namespace FRG {
|
||||
|
||||
class TaskManager {
|
||||
private:
|
||||
#ifndef EMSCRIPTEN
|
||||
#ifndef __EMSCRIPTEN__
|
||||
boost::asio::io_context ioContext;
|
||||
std::unique_ptr<boost::asio::executor_work_guard<boost::asio::io_context::executor_type>> workGuard;
|
||||
std::vector<std::thread> workers;
|
||||
@@ -29,7 +29,7 @@ namespace FRG {
|
||||
// Graceful shutdown
|
||||
~TaskManager();
|
||||
|
||||
#ifndef EMSCRIPTEN
|
||||
#ifndef __EMSCRIPTEN__
|
||||
boost::asio::io_context& getIOContext()
|
||||
{
|
||||
return ioContext;
|
||||
@@ -43,7 +43,7 @@ namespace FRG {
|
||||
private:
|
||||
std::queue<std::function<void()>> mainThreadTasks;
|
||||
|
||||
#ifndef EMSCRIPTEN
|
||||
#ifndef __EMSCRIPTEN__
|
||||
std::mutex mainThreadMutex;
|
||||
#endif
|
||||
public:
|
||||
|
||||
+24
-4
@@ -1,4 +1,4 @@
|
||||
#include "utils/Utils.h"
|
||||
#include "utils/Utils.h"
|
||||
#include <cstring>
|
||||
#include <iterator>
|
||||
#include <vector>
|
||||
@@ -110,7 +110,7 @@ namespace FRG
|
||||
return readFile(filename);
|
||||
}
|
||||
|
||||
#ifdef EMSCRIPTEN
|
||||
#ifdef __EMSCRIPTEN__
|
||||
|
||||
std::string webZipFilename = getPersistentResourcePath(zipfilename);
|
||||
|
||||
@@ -206,7 +206,7 @@ namespace FRG
|
||||
return false;
|
||||
}
|
||||
|
||||
#ifdef EMSCRIPTEN
|
||||
#ifdef __EMSCRIPTEN__
|
||||
std::string webZipFilename = getPersistentResourcePath(zipfilename);
|
||||
|
||||
int zipErr = 0;
|
||||
@@ -320,7 +320,7 @@ namespace FRG
|
||||
#endif
|
||||
|
||||
// На Web-платформе можно опустить имя разработчика, либо оставить для единообразия.
|
||||
// Если в EMSCRIPTEN монтируется `/offline`, структура останется чистой.
|
||||
// Если в __EMSCRIPTEN__ монтируется `/offline`, структура останется чистой.
|
||||
return baseDir / "Fish Run Games" / "Shadow Over Bishkek Demo";
|
||||
}
|
||||
|
||||
@@ -545,6 +545,26 @@ namespace FRG
|
||||
<< " (code " << zipErr << ")" << std::endl;
|
||||
return false;
|
||||
}
|
||||
|
||||
const std::string resourceArchiveSuffix = "resources.zip";
|
||||
if (fullPath.size() >= resourceArchiveSuffix.size() &&
|
||||
fullPath.compare(fullPath.size() - resourceArchiveSuffix.size(),
|
||||
resourceArchiveSuffix.size(), resourceArchiveSuffix) == 0) {
|
||||
static constexpr const char* requiredEntries[] = {
|
||||
"resources/shaders/path_visualization.vertex",
|
||||
"resources/shaders/path_visualization_web.fragment",
|
||||
};
|
||||
|
||||
for (const char* entry : requiredEntries) {
|
||||
if (zip_name_locate(archive, entry, 0) < 0) {
|
||||
logger() << "[VFS] Cached resources.zip is missing required entry: "
|
||||
<< entry << ". It will be downloaded again." << std::endl;
|
||||
zip_close(archive);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
zip_close(archive);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user