Sam Hocevar
7481fac29a
test: port the btphystest and meshviewer tests to the new input API.
11 years ago
Lolbot
8cc04f0ba9
fixed 7 files out of 2745:
- removed 0 CR characters
- removed 21 trailing whitespaces
- replaced 42 tabs with spaces
11 years ago
Sam Hocevar
ad8144f0e8
scene: use a global g_scene object instead of Scene::GetDefault().
11 years ago
Sam Hocevar
13fb52cebe
gpu: move Video::Clear to Renderer::Clear.
11 years ago
Sam Hocevar
274a732e3c
gpu: move SetClearColor and SetClearDepth to the Renderer and RenderContext
classes instead of Video.
11 years ago
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.
11 years ago
Benjamin ‘Touky’ Huet
665bd7d6e7
MeshViewer : Fov compensation now works correctly (all is bound on Page{Up|Down}) First commit in a while.
11 years ago
Benjamin ‘Touky’ Huet
167915fd2b
MeshViewer : stupid crashfix
11 years ago
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.
11 years ago
Lolbot
ad2ddbb715
build: convert source files to lowercase.
11 years ago
Benjamin ‘Touky’ Huet
96972cdc4d
easymesh : Bitfield big Fuckup. Never code drunk.
11 years ago
Benjamin ‘Touky’ Huet
a573b0908b
MeshViewer : Added shitty texture to bulletproof easymesh UV, and therefore correct wrongly set ones.
11 years ago
Benjamin ‘Touky’ Huet
fb7bb880ea
easymesh: all operations now generate UVs for the mesh.
11 years ago
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)
11 years ago
Benjamin ‘Touky’ Huet
bb0051ae8e
render : Added DebugRenderMode & corresponding shaders. naive (VERY) implementation in MeshViewer.
11 years ago
Sam Hocevar
b1dcd100a2
meshviewer: use our File class to read the mesh data.
11 years ago
Lolbot
1dc9139c69
fixed 17 files out of 2363:
- removed 55 CR characters
- removed 80 trailing whitespaces
- replaced 1236 tabs with spaces
11 years ago
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).
11 years ago
Sam Hocevar
9d06eb6503
meshviewer: add two lights.
12 years ago
Sam Hocevar
fef577669e
meshviewer: include <cfloat> for missing FLT_MAX definition.
12 years ago
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.
12 years ago