Sam Hocevar
71faabe207
test: go ape shit crazy on the FoV.
pirms 12 gadiem
Sam Hocevar
b7ab11200a
test: fix physics cube backface culling.
pirms 12 gadiem
Sam Hocevar
4621420316
easymesh: fix the HLSL code in shiny.lolfx.
pirms 12 gadiem
Sam Hocevar
a492530c60
test: fix an alignment issue with btVector3/vec3 casts.
pirms 12 gadiem
Benjamin ‘Touky’ Huet
ebbed2988a
BtPhysTest : Container box now moves.
pirms 12 gadiem
Sam Hocevar
d0a1dd6873
build: generate debug information even in release mode.
pirms 12 gadiem
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].
pirms 12 gadiem
Sam Hocevar
a969597a56
build: rename "Lol.Core.Build.props" to the more explicit "config-build.xml"
and add a new "UseBullet" configuration flag.
pirms 12 gadiem
Sam Hocevar
9130d7fc7b
build: fix a bug in the Xbox 360 defines propagation.
pirms 12 gadiem
Sam Hocevar
92308c4e81
test: use 0 instead of NULL to fix the X360 build.
pirms 12 gadiem
Benjamin ‘Touky’ Huet
e82c65aa18
Added walls and better context to the physics.
pirms 12 gadiem
Sam Hocevar
b5f1b679b7
test: minor tweaks to the physics demo.
pirms 12 gadiem
Sam Hocevar
b305986edb
easymesh: use an icosphere instead of an UV-sphere for the sphere primitive.
pirms 12 gadiem
Sam Hocevar
1ae419aaa3
gpu: enable backface culling for indexed meshes, too.
pirms 12 gadiem
Benjamin ‘Touky’ Huet
444ed1df81
EasyPhysics : Added Capsules.
pirms 12 gadiem
Benjamin ‘Touky’ Huet
cd46cef099
Added Cylinder primitives.
Added several delete/destructor, speeds up exit & saves memory.
pirms 12 gadiem
Benjamin ‘Touky’ Huet
0ea021a40a
EasyMesh : Fixed normals on disc when one of the radius == 0
EasyPhysics : Added Cone primitive.
pirms 12 gadiem
Sam Hocevar
e12fc0e35c
tutorial: add a simple EasyMesh viewer.
pirms 12 gadiem
Benjamin ‘Touky’ Huet
9c5364c734
Added sphere in EasyPhysics
pirms 12 gadiem
Benjamin ‘Touky’ Huet
197c11e8d1
CIS yet again.
pirms 12 gadiem
Benjamin ‘Touky’ Huet
b37dfcabf8
CIS FIX
pirms 12 gadiem
Sam Hocevar
22e123eb08
test: add missing physics files to Makefile.
pirms 12 gadiem
Benjamin ‘Touky’ Huet
ecd676ae74
Some CIS FIX.
pirms 12 gadiem
Benjamin ‘Touky’ Huet
c13c243453
#include were fucked-up ......
pirms 12 gadiem
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.
pirms 12 gadiem
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.
pirms 12 gadiem
Sam Hocevar
782379a86a
easymesh: the light direction is now a uniform variable.
pirms 12 gadiem
Sam Hocevar
c36a5fe78f
ps3: add pad support for the PS3, without plug/unplug detection for now.
pirms 12 gadiem
Sam Hocevar
1a118eda95
build: update Windows SDL binaries to 1.2.15.
pirms 12 gadiem
Sam Hocevar
3d02e1e213
build: recompile Win64 SDL with -D_CRTIMP= so that it uses the static runtime
library (the same that we use for the engine), and link with winmm.lib and
dxguid.lib on that platform.
pirms 12 gadiem
Sam Hocevar
16f16d5882
test: minor tweaks to the Bullet demo.
pirms 12 gadiem
Sam Hocevar
f8befa3d7b
build: fix PS3 optimisation flags in VS2010.
pirms 12 gadiem
Sam Hocevar
9a95a8ec30
ps3: fix CPU and stack size performance issues on the PS3.
pirms 12 gadiem
Sam Hocevar
abf63fc76e
build: always generate debug information in debug mode on VS2010.
pirms 12 gadiem
Sam Hocevar
ca60558e03
build: put all Bullet files in their own VS2010 project subfolder.
pirms 12 gadiem
Sam Hocevar
fb28a7cadd
core: build Bullet as part of the VS2010 project.
pirms 12 gadiem
Sam Hocevar
a01c953096
tutorial: start working on an FBO example.
pirms 12 gadiem
Sam Hocevar
f3b61c9616
test: refine physics timestep.
pirms 12 gadiem
Sam Hocevar
735d071778
core: fix Bullet compilation with the Native Client toolchain.
pirms 12 gadiem
Sam Hocevar
fe05e5e11a
test: activate the Bullet Physics test on all Unix platforms.
pirms 12 gadiem
Sam Hocevar
372c287ccd
core: add the whole BulletPhysics source code to the engine core, because
that’s precisely how they want us to use it.
pirms 12 gadiem
Benjamin ‘Touky’ Huet
041c815fb6
Works better now.
pirms 12 gadiem
Benjamin ‘Touky’ Huet
5acf6b77a7
BtPhysTest works !
pirms 12 gadiem
Sam Hocevar
a557ab6a7e
build: ship BulletPhysics for Win32, Win64, X360 and PS3.
pirms 12 gadiem
Sam Hocevar
de6b0993a9
build: revert the cool solution platform name change, because fucking
VS2010 keeps reintroducing the old names anyway.
pirms 12 gadiem
Benjamin ‘Touky’ Huet
ba99fad120
Small BtPhysTest tweak, the camera shows something, now.
pirms 12 gadiem
Sam Hocevar
4220cb8e12
build: do like BulletPhysics and make the PS3 code always visible.
pirms 12 gadiem
Sam Hocevar
316df48a60
test: use lol::mat4 instead of Bullet matrices.
pirms 12 gadiem
Sam Hocevar
d707e468c8
build: fix broken LolFx compilation; square brackets need to be escaped
in a configure.ac script.
pirms 12 gadiem
Sam Hocevar
d8a1724a7c
build: only use the release binaries for BulletPhysics for now.
pirms 12 gadiem