Krisjanis Rijnieks
9fd904cef4
Create command on TextureMappingMode::moveSelection
9 years ago
Krisjanis Rijnieks
d78cd8f02e
Add TextureMappingMode::moveSelection
Discovery: the method used this far did not have an undoable command. Added a TODO as well.
9 years ago
Krisjanis Rijnieks
68e3ab8cb6
Add ofxPiMapper::moveSelection method
9 years ago
Krisjanis Rijnieks
94cbfcab79
Implement ProjectionMappingMode::moveSelection
Use the method when arrow keys are pressed instead of creating commands directly
9 years ago
Krisjanis Rijnieks
a8a47892fa
Add ApplicationBaseMode::moveSelection empty virtual method
9 years ago
Krisjanis Rijnieks
f9284c4694
Update example-camera xcodeproj
9 years ago
Krisjanis Rijnieks
da069395df
Update example xcodeproj
9 years ago
Krisjanis Rijnieks
da547889d6
Put contents of TextureConsumersWidget into TextureHighlightWidget
9 years ago
Krisjanis Rijnieks
18e45f5b4b
Merge pull request #78 from BildPeter/master
cMake files for the examples
9 years ago
Peter Kolski
84203e05b9
cMake for camera example
9 years ago
Peter Kolski
4bed6da78d
Included a cMake file
9 years ago
Peter Kolski
d1466716c3
Included source files
9 years ago
Peter Kolski
ca2db7652d
Added template for cMake Projects
9 years ago
Krisjanis Rijnieks
3b37b4e4c2
Improve SurfaceHighlightWidget
Add drawing other surface outlines as sometimes parts of them overlap with the background
and it is not possible to see where are the other surfaces.
9 years ago
Krisjanis Rijnieks
31cd64b732
Update example-camera xcodeproj
9 years ago
Krisjanis Rijnieks
19c47ff611
Rename SetActivePresetCmd to SetPresetCmd
9 years ago
Krisjanis Rijnieks
1a1928259f
Rename setActivePreset to setPreset
9 years ago
Krisjanis Rijnieks
22572e3bda
Refine ProjectionMappingMode::selectNext and PrevSurface
Do not create command if there is only one surface and it is selected.
9 years ago
Krisjanis Rijnieks
02f14bfe95
Refine ofxPiMapper::selectSurface public method
9 years ago
Krisjanis Rijnieks
f743fecfdd
Add ProjectionMappingMode::selectSurface method
9 years ago
Krisjanis Rijnieks
a33f124b55
Add BaseMode::selectSurface method
9 years ago
Krisjanis Rijnieks
7d9a11b4b3
Add ofxPiMapper::selectNext and PrevSurface methods
9 years ago
Krisjanis Rijnieks
636ac92100
Add ProjectionMappingMode::selectNext and PrevSurface methods
9 years ago
Krisjanis Rijnieks
e358edd56d
Add BaseMode::selectNext and PrevSurface methods
9 years ago
Krisjanis Rijnieks
8db988ca87
Prevent exec SelNext and SelPrevSurfaceCmd when no surfaces present
9 years ago
Krisjanis Rijnieks
3f28befa72
Clean up ProjectionEditorWidget
9 years ago
Krisjanis Rijnieks
6286cee88d
Update example-camera xcodeproj
9 years ago
Krisjanis Rijnieks
6c75aa52ea
Update example xcodeproj
9 years ago
Krisjanis Rijnieks
64f7fa5d29
Integrate TextureConsumersWidget into Application
Now in TextureMappingMode one can see the texture coordinates of other surfaces consuming the source.
9 years ago
Krisjanis Rijnieks
3b13f0a7de
Add TextureConsumersWidget
9 years ago
Krisjanis Rijnieks
875cc9e520
Add TextureMappingMode::setup
9 years ago
Krisjanis Rijnieks
05c7185ba9
Add ofxPiMapper::selectSurface
9 years ago
Krisjanis Rijnieks
900adab1e6
Fix switching to mapping mode instead of presentation
After creating Application::set..Mode methods there was a mistake on <1> keypress.
9 years ago
Krisjanis Rijnieks
e413e073a8
Remove fullscreen toggle on <f> keypress
If one needs it, it can be integrated on the ofApp level,
9 years ago
Krisjanis Rijnieks
3f1bc1520e
Fix crashing on vertex click after deselect
This was a nasty long-timer bug. A lot of unfortunate crashes before autosave was there. It
usually happened when one was trying to click on the selected surface vertex, failed and
then tried again. The selection widget joints were still hitTested, but as there was no
selection anymore, the app crashed while trying to access a vertex of a non-existing
surface.
9 years ago
Krisjanis Rijnieks
007c80d7a4
Add ofxPiMapper::togglePauseForSurface and getNumSurfaces methods
For toggling video play/pause from code... close #76
9 years ago
Krisjanis Rijnieks
d968e6e14a
Add blank line before EOF
9 years ago
Krisjanis Rijnieks
303a8e736b
Hide cursor on startup
9 years ago
Krisjanis Rijnieks
36b2d1fe7f
Add autosave
9 years ago
Krisjanis Rijnieks
fb6563759f
Rename PROJECTION_MODE to MAPPING_MODE
9 years ago
Krisjanis Rijnieks
1ab7272924
Add ofxPiMapper::setMode
9 years ago
Krisjanis Rijnieks
8455ac9a17
Move Application mode switching to methods
This gives the possibility to call CommandManager managed calls from the ofxPiMapper class.
9 years ago
Krisjanis Rijnieks
fdf39c8f7b
Simplify ofxPiMapper::setNextPreset
9 years ago
Krisjanis Rijnieks
16e2473835
Add Application::setNextPreset on <n> keypress
9 years ago
Krisjanis Rijnieks
59490ad198
Add deselect and select surface in SetActivePresetCmd
9 years ago
Krisjanis Rijnieks
626eebd3e1
Add getSelectedSurfaceIndex
9 years ago
Krisjanis Rijnieks
f9cab42d56
Make setNextPreset use commands
9 years ago
Krisjanis Rijnieks
0649e31256
Add surfaces to the example project composition
9 years ago
Krisjanis Rijnieks
3e6a1d6541
Add simple triangle composition to example-camera
9 years ago
Krisjanis Rijnieks
be3b079847
Make example-camera xcodeproj compile again
9 years ago