Phillip Trudeau-Tavara
d5cf3d9f90
Disable glGetError() and keep validation and asserts
1 year ago
Cameron Murphy Reikes
29f85887ac
Merge branch 'main' of https://github.com/creikey/rpgpt
1 year ago
Phillip Trudeau-Tavara
62173526c4
Replace AABB collisions with cylinders
1 year ago
Phillip Trudeau-Tavara
5e5bc04d12
Snappier player character controller
1 year ago
Phillip Trudeau-Tavara
c054ecbfa9
Use one custom assert for all code
1 year ago
Phillip Trudeau-Tavara
c3a4445dcd
Fix GPT errors causing infinite request loops
1 year ago
Phillip Trudeau-Tavara
9807f180e5
Stereo audio; Linearly interpolate samples
1 year ago
Cameron Murphy Reikes
cd83f2fd92
Correct depth format on desktop and web
1 year ago
Cameron Murphy Reikes
9d498b0aad
Successfully rendering and running in web, but gfx bug in debug drawing with font image everywhere
1 year ago
Cameron Murphy Reikes
2c718d4de1
Web target builds, but fails on arena issue. Web debugging is broken
1 year ago
Cameron Murphy Reikes
0b2170efb9
Convert several if() else assert(false) into switches so it warns and errors on compile time
1 year ago
Cameron Murphy Reikes
30b2755186
Successfully compile under Wall, better drama story, ability to holster shotgun, other improvements
1 year ago
Cameron Murphy Reikes
d5e669fa83
Character death logic, shotgun assassination works, death animation, death screen
1 year ago
Cameron Murphy Reikes
8561737c7e
Move shotgun lower, fix compiler bug
1 year ago
Cameron Murphy Reikes
abc81ba571
Made MSVC crash again! Officially less stable than JAI, saving for posterity... Part of the way through adding aim/fire shotgun actions, and draw shotgun above characters when they're aiming at somebody
1 year ago
Cameron Murphy Reikes
aeeb9bfb0a
Characters need to remember when they've said nothing, so that they later say something, because they realize that they haven't spoken yet. Fix nans in plane equation
1 year ago
Cameron Murphy Reikes
b4dcddab19
Delete old panel drawing, support scrolling through multiple pages of bubble dialog. Rewrite of text anim in
1 year ago
Cameron Murphy Reikes
7666dc6717
Make character message unread in perform action codepath, unwarped dt for text input fade in/out
1 year ago
Cameron Murphy Reikes
868181a74d
Initialize target rotation as well, so characters don't turn on startup
1 year ago
Cameron Murphy Reikes
8b147e8f8e
Word limit characters to speech bubble size, makes them talk like robots!
1 year ago
Cameron Murphy Reikes
9d8ce07502
Characters rotate to who they're talking to
1 year ago
Cameron Murphy Reikes
9e5b682b72
Passerby character with more dialog, to teach ai when it's weird to speak
1 year ago
Cameron Murphy Reikes
c0f39d1bb9
Memory introspection in cli, because no text scrolling in gui yet. Several minor tweaks, and don't insert no-ops conversationally when the drama line is referring to the npc in question
1 year ago
Cameron Murphy Reikes
7441a44866
Fix bug where join action wasn't validated anymore
1 year ago
Cameron Murphy Reikes
d217b1c508
Draw outlines again.... Got deleted
1 year ago
Cameron Murphy Reikes
01bbe6a244
Fix nan error on fcam for picking npcs
1 year ago
Cameron Murphy Reikes
f56ae747b7
Delete items and other old functionality, text chunk refactor
1 year ago
Cameron Murphy Reikes
9c766ef966
In memory debug view, show talking to
1 year ago
Cameron Murphy Reikes
b326324c84
Only mark dialog unread if they said something, debug draw memories that have speech
1 year ago
Cameron Murphy Reikes
f6997cfce0
Mouse cursor -> floor math, devtools can hover over characters, fix speech when server down causing infinite conversational loop
1 year ago
Cameron Murphy Reikes
727ffb39db
Add man in black and more drama
1 year ago
Cameron Murphy Reikes
8f142e8594
Inputs like marking dialog as seen must happen before gameplay and be consumed
1 year ago
Cameron Murphy Reikes
f8e9bb9143
Time stops on new dialog, all dialog must be dismissed by user
1 year ago
Cameron Murphy Reikes
3081391c62
Successful conversation, VScode tooling, drama document, loading anim when thinking
1 year ago
Cameron Murphy Reikes
54f61b11b3
Switch to AI server, better UX for when server down
1 year ago
Cameron Murphy Reikes
ecf5308389
Speech directly talks instead of being a state, fix asset bug
1 year ago
Cameron Murphy Reikes
dc03b984b4
Speed up codegen and load times by commenting out logging
1 year ago
Cameron Murphy Reikes
6790de0979
More 10x editor config and it replaced my skull emoji (no utf8)
1 year ago
Cameron Murphy Reikes
ba450a4e73
Add blackhawk helicopter, more trailer anims+jank. Several fixes
1 year ago
Cameron Murphy Reikes
9be9da95c9
Fix ctags in main file
1 year ago
Cameron Murphy Reikes
5ad3b59da4
Tune mipmaps and alpha clip threshold
1 year ago
Cameron Murphy Reikes
5aec003b40
Dialog bubble fades, more art panick update
1 year ago
Cameron Murphy Reikes
1dd9e18e32
ACES color correction
1 year ago
Cameron Murphy Reikes
866cfffb56
Draw the entire 3d world onto a separate pass to prepare for color
...
correction
1 year ago
Cameron Murphy Reikes
00c3ff09f1
Massive art import of forest scene, pallete shifted farmer
1 year ago
Cameron Murphy Reikes
12191a426f
More fixes/jank for trailer, flycam no longer also moves player
1 year ago
Cameron Murphy Reikes
265166c4d4
Massive art import, fix scale coord transform bug. Remove zig from build
1 year ago
Cameron Murphy Reikes
b668125d25
Dialog bubbles, keep 3d anims out of phase
1 year ago
Cameron Murphy Reikes
7bf8ea5481
Stop running anim when not moving
1 year ago
Cameron Murphy Reikes
02d3d30938
Merge pull request #3 from andrewjhaman/main
...
Fit Shadows to Frustum
1 year ago
Cameron Murphy Reikes
f1f365236c
Only outline when talking to the character
1 year ago
andrewjhaman
85926061d5
Fit Shadows to Frustum
1 year ago
Cameron Murphy Reikes
cd8c88b66b
Add 3d outline rendering, combine 3d and 2d shaders
1 year ago
Cameron Murphy Reikes
8c192fc5d1
Farmer does an odd dance, fix scaling of things, delete more old code
1 year ago
Cameron Murphy Reikes
7316b9e974
Delete all previous characters and fighting state
1 year ago
Cameron Murphy Reikes
6d3594c6ad
Get shadows for armatures working, testing shadow pillar
1 year ago
Cameron Murphy Reikes
46ba94bc2b
Move shadow mapper shaders into threedee.glsl
1 year ago
Cameron Murphy Reikes
5f49f53376
Run decimate on player mesh, queueing draw calls allows better code
...
reuse
1 year ago
Cameron Murphy Reikes
2e116c0eae
Broken shadows, move all shaders to one file, reuse fragment shader in armature and mesh programs
1 year ago
Cameron Murphy Reikes
c736ebd013
Armatures can have custom images, support non-alpha images in load image
1 year ago
Cameron Murphy Reikes
c9b6ce0c3e
Meshes refer to exported images, image caching system (only load path
...
once)
1 year ago
andrewjhaman
9fba3ec151
Fix collisions. Switch to No-Culling Shadow Maps. Introduce Better Shadow Bias Calculation. Calculate Normals in the Shader.
1 year ago
Cameron Murphy Reikes
563a2a69b0
Animation blending, fix facing direction of model
1 year ago
andrewjhaman
fab5c86841
Fix Shadow Texture Border Sampling on Web
...
Fix Shadow Texture Border Sampling on Web, by doing a manual check of the uvs in the shader. This probably slows down other versions, but it is not feasible to have two versions of the shader just for this reason.
1 year ago
andrewjhaman
f58d50f7ab
Merge remote-tracking branch 'upstream/main'
1 year ago
andrewjhaman
3a4dd69ffb
Remove Spurious Debug Include
1 year ago
andrewjhaman
2528423546
Bilinearly Sample Shadows Manually
1 year ago
Cameron Murphy Reikes
b84f824f0e
Export and import multiple animations, idle animation
1 year ago
Cameron Murphy Reikes
e7ac3ee43c
Walking animation working on desktop and web
...
- Skeleton texture is clamp to edge because it's an NPOT on webgl 1
1 year ago
Cameron Murphy Reikes
4137372292
Increase precision and max value of bone matrix floats
...
- I just made up a technique that is probably 30% efficient, this is
something to revisit in the future
1 year ago
andrewjhaman
60679ceb2a
Fit the shadow 'frustum' to the scene
...
Fit the shadow volume frustum to the scene geometry to maximize texel usage.
1 year ago
andrewjhaman
19c369fa1e
Basic Shadow Mapping of Non-Armature Meshes
...
Basic PCF-Sampled Shadow Mapping of Non-Armature Meshes, with a rotating sun at a fixed position
1 year ago
Cameron Murphy Reikes
f8fcd426a1
Encoding and decoding of float into normalied float vec4
1 year ago
Cameron Murphy Reikes
053ff80c39
Upload bone transforms as texture, drastically increases max bone count
...
from 4
1 year ago
Cameron Murphy Reikes
414df982a1
Lerp and slerp between animation keyframes
1 year ago
Cameron Murphy Reikes
53c04d573b
Export animations from blender, render correctly with small # of bones!
1 year ago
Cameron Murphy Reikes
36b910c34b
Move one parent relation out of poses, preparation for working anims
1 year ago
Cameron Murphy Reikes
6ce37294be
Skin mesh vertices from bone pose in vert shader, fix rotation of
...
objects being weird
1 year ago
Cameron Murphy Reikes
cbce6c9a81
Armatures are a separate kind of thing, that includes its mesh
1 year ago
Cameron Murphy Reikes
e203dcc88b
Decompose pose mat4 into offset, quaternion rotation, and scale
1 year ago
Cameron Murphy Reikes
c3738d2f8c
Deserialize bones in one chunk, slice iter macro
1 year ago
Cameron Murphy Reikes
90cd549acc
Correctly load, visualize, and transform simple armature pose
2 years ago
Cameron Murphy Reikes
5da994257b
Correctly import armature and debug draw each bone
2 years ago
Cameron Murphy Reikes
76d209f0b4
Export armature as bones, import and debug draw in 3d. Flipped coord
...
systems right now.
2 years ago
Cameron Murphy Reikes
300f849d19
3D model rotation, npcs face where they're moving
2 years ago
Cameron Murphy Reikes
dc731fafeb
Use artist's cowboy mesh for every NPC
2 years ago
Cameron Murphy Reikes
c991047524
Multithreaded chat close w/o error, working chat generations, wall of
...
rocks
2 years ago
Cameron Murphy Reikes
6108da2cdc
Place dynamic npc entities in blender as level editor, allocate on
...
initializing the gamestate
2 years ago
Cameron Murphy Reikes
560e9d8db7
player into gamestate, 3d collision system, entity struct nicer
2 years ago
Cameron Murphy Reikes
03a0d2b5d1
Respect alignment on web arenas, web build 3d works now
2 years ago
Cameron Murphy Reikes
87996ce4c5
Remove all old copyrighted sprites and animated sprites
2 years ago
Cameron Murphy Reikes
41375cc902
Delete tiled and all tilemap code from project
2 years ago
Cameron Murphy Reikes
6f5e5878b8
Remove 2d world space from the project
2 years ago
Cameron Murphy Reikes
e590838b78
Debug drawing in 3d -> 2d, frame behind because project before camera
...
sets view/projection matrices
2 years ago
Cameron Murphy Reikes
d8158c63c1
Alpha clipping, grass, stubbed out dbg3dline, made camera mat4s global
2 years ago
Cameron Murphy Reikes
2bda33bfca
Export scale from blender, and import in game, draw with scale
2 years ago
Cameron Murphy Reikes
d187308c2e
Export rotations from blender, use quaternions for rotation
2 years ago
Cameron Murphy Reikes
dcdc380b40
Draw player separate from level, camera looks at player while they move.
...
Art improvements
2 years ago
Cameron Murphy Reikes
33e7176d19
Binary level loading, separate passes for 2d and 3d
2 years ago
Cameron Murphy Reikes
86f2c544bf
Texture the 3d rendering, fix image flip coordinate system 'problem'
2 years ago