Krisjanis Rijnieks
|
9966ecf83a
|
Update code to use Vec3 and Vec2 everywhere
|
8 years ago |
Krisjanis Rijnieks
|
5e23b21eb2
|
Add Vec2 adapter class, Vec3 still to finish
|
8 years ago |
Krisjanis Rijnieks
|
6cdbbe7e5b
|
Change back keyboard shortcuts to the ones before
|
8 years ago |
Krisjanis Rijnieks
|
48b4153afd
|
Replace TextureMappingMode::moveSelection with moveSelectedTexCoord()
|
8 years ago |
Krisjanis Rijnieks
|
34449be272
|
Add Application::selectNext and PrevTextCoord()
|
8 years ago |
Krisjanis Rijnieks
|
c3ebebd9f9
|
Add Application::togglePause()
|
8 years ago |
Krisjanis Rijnieks
|
b6bbf5526b
|
Add ofxPiMapper::setNextSource()
|
8 years ago |
Krisjanis Rijnieks
|
c274d39e7b
|
Beautify TextureMappingMode code
|
9 years ago |
Krisjanis Rijnieks
|
3d75763382
|
Connect ofxPiMapper::selectNext and PrevVertex to TextureMappingMode
|
9 years ago |
Krisjanis Rijnieks
|
517cbf1e69
|
Do not exec Sel..TexCoordCmd in tex mode if no surface selected
|
9 years ago |
Krisjanis Rijnieks
|
41c21c0cc4
|
Fix crash when hitting arrow in tex mode, close #81
|
9 years ago |
Krisjanis Rijnieks
|
b6b0c17713
|
Make use of DeselectTexCoordCmd when click drag all coords
|
9 years ago |
Krisjanis Rijnieks
|
77efc60938
|
Clean up TextureMappingMode
|
9 years ago |
Krisjanis Rijnieks
|
dd19417ad2
|
Create SaveTexCoordPosCmd only if tex coord move has happened
|
9 years ago |
Krisjanis Rijnieks
|
099e25baff
|
Optimize TextureMappingMode tex coord moving exec/undo
|
9 years ago |
Krisjanis Rijnieks
|
50e152f3d4
|
Make TextureMappingMode::moveSelection more elegant
|
9 years ago |
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
|
da547889d6
|
Put contents of TextureConsumersWidget into TextureHighlightWidget
|
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
|
875cc9e520
|
Add TextureMappingMode::setup
|
9 years ago |
Krisjanis Rijnieks
|
2504d5fdaa
|
Refactor TextureMappingMode::draw()
|
9 years ago |
Krisjanis Rijnieks
|
a722ef1b2f
|
Rename application states to modes
|
9 years ago |
Krisjanis Rijnieks
|
b3b5ba13fe
|
Remove SurfaceManagerGui
|
9 years ago |
Krisjanis Rijnieks
|
fc0055cad7
|
Integrate the SourcesEditorWidget into Application
|
9 years ago |
Krisjanis Rijnieks
|
3644c25f95
|
Rename SourcesEditor to SourcesEditorWidget
|
9 years ago |
Krisjanis Rijnieks
|
ed1dd32fa2
|
Clean up old code related to TextureEditingWidget old paths
|
9 years ago |
Krisjanis Rijnieks
|
42e8a8590f
|
Make Gui the owner of TextureEditorWidget
|
9 years ago |
Krisjanis Rijnieks
|
4cd2d0926a
|
Fix TextureMappingState::draw(), surfaces moving along with the texture
|
9 years ago |
Krisjanis Rijnieks
|
af90cfea9d
|
Add arrow key detection to TextureMappingState
|
9 years ago |
Krisjanis Rijnieks
|
5df8202ad6
|
Make TextureEditingState responsible for TextureEditor key events
|
9 years ago |
Krisjanis Rijnieks
|
027e763c61
|
Call TextureEditor::update() from TextureMappingState
|
9 years ago |
Krisjanis Rijnieks
|
06241f438d
|
Add TextureMappingState::mousePressed() code from SurfaceManagerGui
|
9 years ago |
Krisjanis Rijnieks
|
0d6d12c894
|
Clean up TextureMappingState a bit
|
9 years ago |
Krisjanis Rijnieks
|
bffb98e558
|
Move mouseDragged texture mapping part to TextureMappingState
|
9 years ago |
Krisjanis Rijnieks
|
114893face
|
Clean up TextureMappingState a bit
|
9 years ago |
Krisjanis Rijnieks
|
74c07b6234
|
Move mouseReleased from SurfaceManagerGui to states
To ProjectionMappingState
To TextureMappingState
|
9 years ago |
Krisjanis Rijnieks
|
0f0aa49e37
|
Improve texture mapping mode code
|
9 years ago |
Krisjanis Rijnieks
|
c436eccb35
|
Enable texture mapping draw mode switching with 9 and 0 keys
|
9 years ago |
Krisjanis Rijnieks
|
fbbd2a8640
|
Implement TextureMappingState::set and getDrawMode()
|
9 years ago |
Krisjanis Rijnieks
|
c4204e61e6
|
Execute DeselectTexCoordCmd only if a coord is selected
|
9 years ago |
Krisjanis Rijnieks
|
342aa95974
|
Integrate TranslateCanvasCmd into Application
|
9 years ago |
Krisjanis Rijnieks
|
b81409be3b
|
Clean up couts in TextureMappingState
|
9 years ago |
Krisjanis Rijnieks
|
48052d7863
|
Add storing and reseting TextureMappingState canvas translation
In SetApplicationStateCmd
|
9 years ago |
Krisjanis Rijnieks
|
fe7933d1b4
|
Add texture translate working with crop smooth
This commit is based on a number of other broken features. Work in progress.
|
9 years ago |
Krisjanis Rijnieks
|
8ac6d9dff2
|
Try out texture dragging
|
9 years ago |
Krisjanis Rijnieks
|
a469046721
|
Add setting surface color and opacity in ..State::draw()
|
9 years ago |
Krisjanis Rijnieks
|
7749a6bfb8
|
Improve folder structure
|
9 years ago |
Krisjanis Rijnieks
|
899c1db43f
|
Draw the surface manager in application states
Instead of the SurfaceManagerGui class.
|
9 years ago |
Krisjanis Rijnieks
|
3edbda77a3
|
Integrate TexturehighlightWidget into Application
|
9 years ago |