Sam Hocevar
688c046414
math: add an sprintf() method to real numbers, and ensure they are always
fully initialised.
il y a 12 ans
Sam Hocevar
683d7e35cb
neercs: start porting the old code to Windows; this breaks the Visual Studio
build until further fixes are made.
il y a 12 ans
Sam Hocevar
90e8ae520c
build: put the Win64 SDL libraries in two separate directories, MSVC-built
and MinGW-built, because of some weird %rip corruption at runtime when
linking the MSVC DLL with mingw-w64.
il y a 12 ans
Sam Hocevar
ed499e0c07
build: add libSDLmain.a binaries for GUI MinGW builds; the provided static
libraries only work with the Visual Studio runtime.
il y a 12 ans
Sam Hocevar
6e37ab6858
test: use SDLmain for the testsuite, too.
il y a 12 ans
Sam Hocevar
2762f237c9
test: damn, re-add an include I mistakenly removed.
il y a 12 ans
Sam Hocevar
4770055627
test: fix linking of remez.cpp on OS X.
il y a 12 ans
Sam Hocevar
cb1f420933
core: fix the Windows and OS X builds with SDL.
il y a 12 ans
Sam Hocevar
48b0f20f00
test: fix compilation warnings caused by constant strings being cast
to char *.
il y a 12 ans
Sam Hocevar
5bd24fa1d3
build: hide the SDL_main.h inclusion in core.h, and only activate it
on Windows if using Visual Studio; if using MinGW, try to stick to the
original main() entry point.
il y a 12 ans
Sam Hocevar
b55033ac4d
core: on Windows, output log messages to the Visual Studio debug window
if appropriate.
il y a 12 ans
Sam Hocevar
b5563ad21d
core: switch the Win32/x64 binaries to the Windows subsystem so that they
do not open a console at startup.
il y a 12 ans
Sam Hocevar
2cde045713
neercs: disable neercs build on Windows for now.
il y a 12 ans
Sam Hocevar
39d186abec
neercs: import files from the (unfinished) old neercs code.
il y a 12 ans
Sam Hocevar
c5b40eb1d5
test: fix the physics simulation tick.
il y a 12 ans
Sam Hocevar
25d3ec6fd8
core: fix shitloads of compiler warnings in the Bullet source code.
il y a 12 ans
Sam Hocevar
4c6b4b9e14
core: display names for entities that forget to call Entity::Tick*.
il y a 12 ans
Benjamin ‘Touky’ Huet
4a31a63b77
Correct integration of EasyConstraint + TestDemo.
il y a 12 ans
Benjamin ‘Touky’ Huet
38f0fd5fc3
Small name refactor & correct Kinematic integration.
+ Constraint hollow class.
il y a 12 ans
Benjamin ‘Touky’ Huet
d642c90e6f
Added Collision group & mask support.
+ weird racist test : the primitives only collide with their same type.
il y a 12 ans
Benjamin ‘Touky’ Huet
a93067b19a
Small refactor of the Phys::Simulation.
Phys::Simulation is now an entity.
Phys::Simulation now implements timesteps correctly.
il y a 12 ans
Sam Hocevar
aa6ce4c34d
easymesh: set the capsule's main axis to Y, not Z.
il y a 12 ans
Sam Hocevar
497df444cc
easymesh: add the capsule mesh.
il y a 12 ans
Sam Hocevar
71faabe207
test: go ape shit crazy on the FoV.
il y a 12 ans
Sam Hocevar
b7ab11200a
test: fix physics cube backface culling.
il y a 12 ans
Sam Hocevar
4621420316
easymesh: fix the HLSL code in shiny.lolfx.
il y a 12 ans
Sam Hocevar
a492530c60
test: fix an alignment issue with btVector3/vec3 casts.
il y a 12 ans
Benjamin ‘Touky’ Huet
ebbed2988a
BtPhysTest : Container box now moves.
il y a 12 ans
Sam Hocevar
d0a1dd6873
build: generate debug information even in release mode.
il y a 12 ans
Sam Hocevar
333f34e09e
test: fix Bullet/Lol quaternion conversions, they use [x y z w] whereas we use
the mathematician-friendly [w x y z].
il y a 12 ans
Sam Hocevar
a969597a56
build: rename "Lol.Core.Build.props" to the more explicit "config-build.xml"
and add a new "UseBullet" configuration flag.
il y a 12 ans
Sam Hocevar
9130d7fc7b
build: fix a bug in the Xbox 360 defines propagation.
il y a 12 ans
Sam Hocevar
92308c4e81
test: use 0 instead of NULL to fix the X360 build.
il y a 12 ans
Benjamin ‘Touky’ Huet
e82c65aa18
Added walls and better context to the physics.
il y a 12 ans
Sam Hocevar
b5f1b679b7
test: minor tweaks to the physics demo.
il y a 12 ans
Sam Hocevar
b305986edb
easymesh: use an icosphere instead of an UV-sphere for the sphere primitive.
il y a 12 ans
Sam Hocevar
1ae419aaa3
gpu: enable backface culling for indexed meshes, too.
il y a 12 ans
Benjamin ‘Touky’ Huet
444ed1df81
EasyPhysics : Added Capsules.
il y a 12 ans
Benjamin ‘Touky’ Huet
cd46cef099
Added Cylinder primitives.
Added several delete/destructor, speeds up exit & saves memory.
il y a 12 ans
Benjamin ‘Touky’ Huet
0ea021a40a
EasyMesh : Fixed normals on disc when one of the radius == 0
EasyPhysics : Added Cone primitive.
il y a 12 ans
Sam Hocevar
e12fc0e35c
tutorial: add a simple EasyMesh viewer.
il y a 12 ans
Benjamin ‘Touky’ Huet
9c5364c734
Added sphere in EasyPhysics
il y a 12 ans
Benjamin ‘Touky’ Huet
197c11e8d1
CIS yet again.
il y a 12 ans
Benjamin ‘Touky’ Huet
b37dfcabf8
CIS FIX
il y a 12 ans
Sam Hocevar
22e123eb08
test: add missing physics files to Makefile.
il y a 12 ans
Benjamin ‘Touky’ Huet
ecd676ae74
Some CIS FIX.
il y a 12 ans
Benjamin ‘Touky’ Huet
c13c243453
#include were fucked-up ......
il y a 12 ans
Benjamin ‘Touky’ Huet
6cb8bb99ca
Behold the power of LolPhysics !
Added lol::phys::Simulation, lol::phys::EasyPhysics for easy physic uses.
Added PhysicsObject, wich hold EasyMesh & EasyPhysics components so it is easy to use. Easy seems to be the consensus.
BtPhysTest now works with new physics classes.
Known problem for this commit:
Physics is not properly setup.
There might be memory leaks, I don't think I've parsed all new/delete.
A LOT of primitives are not taken into account.
il y a 12 ans
Sam Hocevar
65ea695de1
core: start working on a higher level LolFx compiler based on the latest
GLSL grammar and some personal attempts at writing an HLSL grammar.
il y a 12 ans
Sam Hocevar
782379a86a
easymesh: the light direction is now a uniform variable.
il y a 12 ans