Benjamin ‘Touky’ Huet
04556dea8b
mat4 : removed useless ortho(). Fixed shifted_perspective so it actually works.
numeric : Added SmoothClamp & swap
camera : fixed target&up issues and added screen-scale factor.
touky_demo : correct camera integration & first pass on uro refactor. Also added Makefile to vcproj
vor 11 Jahren
Benlitz
eab5c46b1e
input: added a name the controllers, and a static Get() function to easily retrieve a registered controller
vor 11 Jahren
Sam Hocevar
7481fac29a
test: port the btphystest and meshviewer tests to the new input API.
vor 11 Jahren
Lolbot
8cc04f0ba9
fixed 7 files out of 2745:
- removed 0 CR characters
- removed 21 trailing whitespaces
- replaced 42 tabs with spaces
vor 11 Jahren
Sam Hocevar
ad8144f0e8
scene: use a global g_scene object instead of Scene::GetDefault().
vor 11 Jahren
Sam Hocevar
13fb52cebe
gpu: move Video::Clear to Renderer::Clear.
vor 11 Jahren
Sam Hocevar
274a732e3c
gpu: move SetClearColor and SetClearDepth to the Renderer and RenderContext
classes instead of Video.
vor 11 Jahren
Benjamin ‘Touky’ Huet
181334f5ad
Added shifted_perspective for easier camera handling.
MeshViewer : Camera update and small object tweak.
ortho to perspective transition is now perfect.
vor 11 Jahren
Benjamin ‘Touky’ Huet
665bd7d6e7
MeshViewer : Fov compensation now works correctly (all is bound on Page{Up|Down}) First commit in a while.
vor 11 Jahren
Benjamin ‘Touky’ Huet
167915fd2b
MeshViewer : stupid crashfix
vor 11 Jahren
Sam Hocevar
16a620d537
scene: start refactoring the camera code; we now have a stack of cameras
in the scene where we can push and pop cameras.
vor 11 Jahren
Lolbot
ad2ddbb715
build: convert source files to lowercase.
vor 11 Jahren
Benjamin ‘Touky’ Huet
96972cdc4d
easymesh : Bitfield big Fuckup. Never code drunk.
vor 11 Jahren
Benjamin ‘Touky’ Huet
a573b0908b
MeshViewer : Added shitty texture to bulletproof easymesh UV, and therefore correct wrongly set ones.
vor 11 Jahren
Benjamin ‘Touky’ Huet
fb7bb880ea
easymesh: all operations now generate UVs for the mesh.
vor 11 Jahren
Benjamin ‘Touky’ Huet
e4cf8211e4
Added VertexDictionnary object to manage vertices with same coord && connected vertices.
Added UVs system with and UVs generation test (not very conclusive)
vor 11 Jahren
Benjamin ‘Touky’ Huet
bb0051ae8e
render : Added DebugRenderMode & corresponding shaders. naive (VERY) implementation in MeshViewer.
vor 12 Jahren
Sam Hocevar
b1dcd100a2
meshviewer: use our File class to read the mesh data.
vor 12 Jahren
Lolbot
1dc9139c69
fixed 17 files out of 2363:
- removed 55 CR characters
- removed 80 trailing whitespaces
- replaced 1236 tabs with spaces
vor 12 Jahren
Benjamin ‘Touky’ Huet
157e67c2be
MeshViewer :
- Added file handling with new mesh generation each time the buffer file is updated (that's not very pretty, but it works).
- Added multiple mesh viewing with "history" and some basic camera movement (it uses the keypad for now, not very sam friendly, I know).
vor 12 Jahren
Sam Hocevar
9d06eb6503
meshviewer: add two lights.
vor 12 Jahren
Sam Hocevar
fef577669e
meshviewer: include <cfloat> for missing FLT_MAX definition.
vor 12 Jahren
Benjamin ‘Touky’ Huet
7a051f9455
Added MeshViewer new project, its goal being to have a program capable of previewing a mesh from an outer source (.txt, js, etc ...) in order to speed up mesh creation.
Added RadialJitter("rj") to EasyMesh parser.
vor 12 Jahren