Graham Pentheny
2eb3abfb60
Updated RecastDemo to SDL2
...
* Renamed a bunch of variables in main.cpp to be more descriptive.
* Removed unnecessary SDLMain.h and SDLMain.m OSX objective-c class as well as the plist, strings, xib and icns files, which are not needed.
* included cstdio in imguiRenderGL since SDL2 doesn't do it for us.
* Updated premake5 script to support SDL2 and to set the debug directory, as well as copy the SDL2.dll to the target directory on Windows.
* Updated readme with more descriptive, platform-specific demo project setup instructions
* Updated appveyor build script to build vs2015 as well.
* Updated Travis build script to build SDL2 from source, because they use Ubuntu 12.04 which doesn't have the libsdl2-dev package in its repositories.
2016-01-04 18:56:51 -05:00
Jonathan Adamczewski
c98c31f33b
Constrain the window's aspect ratio
2014-03-23 23:53:57 -07:00
Mikko Mononen
6702143bc1
Fix for broken raycasts, changes how findNearestPoly works, slight API change
...
- test case supports raycasts
- changes how findNearestPoly works directly over polygons
- API change: findNearestPoly has additional parameter
2014-02-11 20:32:00 +02:00
Mikko Mononen
e6b1d141d2
Fixed warnings when compiling with -Wshadow.
2012-02-22 17:25:46 +00:00
Mikko Mononen
1b6ca5a94a
Fixed findStraightPath() to return partial results. Fixed main.cpp FPS throttling. Added initial support for path replanning in DetourCrowd.
2011-08-01 10:48:56 +00:00
Mikko Mononen
76444aa747
- Updated win32 project
...
- Fixed VC compile errors
2011-03-25 10:13:27 +00:00
Mikko Mononen
9f2390e196
Added mipmaps to the grid texture. Removed obsolete SoloMeshTiled sample.
2011-03-06 16:00:04 +00:00
Mikko Mononen
e84d563bfe
Added boxmapped texturing to input mesh, helps visualize it better. Added polymesh generation for layered heighfields.
2011-03-06 15:40:33 +00:00
Mikko Mononen
d1dde08d35
Added delay to make sure the app does not hog all CPU.
2011-02-25 08:24:30 +00:00
Mikko Mononen
e70a4664c9
Added multisampling. Moved obstacle avoidance to DetourCrowd.
2011-01-29 15:39:42 +00:00
Mikko Mononen
4a81213b3b
Refactored and cleaned up CrowdManager and moved it to DetourCrowd. Update tool UI layout, context sensitive help is now rendered as overlay.
2011-01-29 15:28:28 +00:00
Mikko Mononen
2f47c29336
Added lean heighfield to store minimal, easy to compress representation of the heightfield. Added temporary obstacle demo.
2011-01-14 10:55:37 +00:00
Mikko Mononen
ccf401d3da
- added finalizeSlicedFindPathPartial()
...
- added handleStep()/handleToggle() to samples
- changed how crowds are rendered
- added path topology optimization step
2010-11-07 10:56:48 +00:00
Mikko Mononen
43a79f600f
Fix for earlier raycast speed up and another speedup.
2010-10-15 13:00:18 +00:00
Mikko Mononen
c83be9f214
Sped up input geom raycast
2010-10-15 12:19:44 +00:00
Mikko Mononen
c701f583da
Fix for Issue 128
2010-10-10 10:14:52 +00:00
Mikko Mononen
f5bb64a375
Fix for Issue 123.
2010-09-17 07:25:19 +00:00
Mikko Mononen
5abddbf0cd
Refactored rcBuildContext to be more customization friendly, changed name to rcContext.
2010-08-24 17:53:38 +00:00
Mikko Mononen
55360f6ee5
Missing files for R197
2010-08-19 09:55:12 +00:00
Mikko Mononen
5f7ac70cba
win32 compile and project fixes, made tool UI more clear
2010-08-17 18:30:58 +00:00
Mikko Mononen
cbc47f4ddf
Fix for Issue 99:Separate Detour mesh queries in to a different class from mesh data
2010-08-17 15:10:32 +00:00
Mikko Mononen
7d8fe75de1
The ugly and humble beginnings of path following and multi-agent navigation code.
2010-08-12 12:54:00 +00:00
Mikko Mononen
49f2b03cd8
Presentation mode tweaks. Fix for Issue 74: added FileIO interface, Fix for Issue 76: added pure virtual destructor for duDebugDraw.
2010-05-07 07:14:42 +00:00
Mikko Mononen
4c1a122a91
Fixed bug where clicks went through GUI. Added a couple of consts into detail mesh code.
2010-04-20 07:35:40 +00:00
Mikko Mononen
07c5750e8a
A couple of changes for Issue 52.
2010-04-15 07:46:50 +00:00
Mikko Mononen
b21e854c9a
Display total build in GUI for demo purposes.
2010-04-14 18:22:35 +00:00
Mikko Mononen
7f11a61066
Updated VC project, fixed W4 warnings in slideshow stuff.
2010-04-13 13:18:40 +00:00
Mikko Mononen
d6d51b73ee
Slideshow stuff for demo purposes.
2010-04-13 11:11:22 +00:00
Mikko Mononen
9bb95ef45b
Issue 61: Everything compiles now without errors in warning level 4.
2010-04-13 09:39:33 +00:00
Mikko Mononen
5119b5cb16
API CHANGE! Better serialization support.
2010-03-25 12:24:40 +00:00
Mikko Mononen
a988697cc1
fixes for Issue 56: Fairly minor bugs picked up by static analysis tool, redux
2010-03-18 08:57:16 +00:00
Mikko Mononen
d9d9fa85a5
Added more bits to compact neighbour indices, moved region id to rcCompactSpan to save memory.
2010-03-05 09:10:13 +00:00
Mikko Mononen
359f15b11c
Moved pointers from dtMeshHeader to dtMeshTile, allows mixing build/use 32/64 bit builds. Bumbed Detour version number.
2010-03-02 09:24:24 +00:00
Mikko Mononen
af0d41f5ff
Compact heighfield dump and debug project to load it.
2010-03-01 08:22:50 +00:00
Mikko Mononen
5ade5a3052
More robust path iteration code.
2010-02-12 13:04:55 +00:00
Mikko Mononen
fa66b9a9f3
Compiles with -Wall (except stb_truetype)
2010-02-05 07:32:30 +00:00
Mikko Mononen
1753297fd5
Humble beginnings of box volume too. Allow to save and restore GeomInput state.
2010-01-29 13:58:36 +00:00
Mikko Mononen
bd2e60a008
Humble beginnings of test cases.
2010-01-28 15:04:01 +00:00
Mikko Mononen
a81223f3bb
Update path iterator code to cope with off-mesh links. findStraightPath() returns now more info so that off-mesh links can de detected.
2010-01-13 21:25:07 +00:00
Mikko Mononen
eb6b215d23
Changed the sample stuff to support extra link tool. Added simple tool to create eextra links (no detour support yet).
2010-01-05 14:26:40 +00:00
Mikko Mononen
4934dc2065
Refactored sample code. Separated navmesh test code to a tool class.
2009-12-30 08:49:46 +00:00
Mikko Mononen
e4239a3bdf
Removed stat and tile navmeshes. Fixed examples.
2009-12-04 07:27:53 +00:00
Mikko Mononen
a47e3436c9
Changed static navmesh samples to use new navmesh. Renamed Stat samples to Solo. Added moveAlongPathCorridor() to dtNavMesh.
2009-12-03 13:16:25 +00:00
Mikko Mononen
ab023b1700
Added dtNavMesh, which is combination of dtStatNavMesh and dtTiledNavMesh. Added Sample_DynMesh which is used for dtNavMesh testing for now.
2009-11-20 13:26:13 +00:00
Mikko Mononen
f29a51b612
Changed SDL_Opengl.h to SDL_opengl.h
2009-11-15 10:32:05 +00:00
Mikko Mononen
ed73b46308
- Changed gotos as cleanup mechanism to a scoped delete template.
...
- Removed unnecessary ptr casts to ints to allow to compile on 64bits systems.
- Added custom and portable qsort_r.
- Use gettimeofday() as performance timer on unix/bsd/osx
- Moved variables from rcCompactSpan to separate arrays.
2009-09-28 09:54:37 +00:00
Mikko Mononen
5fc5626938
Log is printed to stdout after build.
...
Fixed tile data deletion in tilenavmesh (thanks jswigart).
Adjusted default border size in tiled versions.
Added experimental monotone region builder.
2009-08-27 09:01:15 +00:00
Mikko Mononen
caeb02e2fd
Detour/Demo: Fixed compile warnings and errors for VC++.
2009-07-14 17:03:35 +00:00
Mikko Mononen
d71740036d
Demo: Changed demo "Builders" to "Samples".
...
Detour: Prefixed static nav with 'dtStat', this includes polys and poly refs too.
imgui: Made imgui code not to use id:s anymore, since there were way too many id clashes.
imgui: Separated the rendering code into its' own file, changed prebaked font to use stb_truetype instead, removed glfont.
imgui: Added 'disabled' property to widgets.
Recast: exposed single triangle rasterization into the recast api.
Demo: Changed the debug draw validation to be "soft", easier to demo now.
2009-07-13 10:30:37 +00:00
Mikko Mononen
cdf03f3cd5
Changed tiled stat mesh demo from 'tiling' to 'tiled'.
...
Added ugly tiled nav mesh demo.
2009-07-09 08:36:35 +00:00