Work in progress - implementation of cropping in Geometry view instead

of AppearanceView. Display of scaled mixing surface in Mixing and Layers
view. Changed stippling shading.
This commit is contained in:
brunoherbelin
2020-12-07 00:17:10 +01:00
parent 78f9216d32
commit 44b888fd04
20 changed files with 711 additions and 93 deletions

View File

@@ -24,7 +24,6 @@ public:
void begin();
// pop attrib and unbind to end draw
void end();
// blit copy to another, returns true on success
bool blit(FrameBuffer *other);
// bind the FrameBuffer in READ and perform glReadPixels
@@ -42,7 +41,7 @@ public:
float aspectRatio() const;
std::string info() const;
// projection and crop
// projection area (crop)
glm::mat4 projection() const;
glm::vec2 projectionArea() const;
void setProjectionArea(glm::vec2 c);
@@ -60,7 +59,7 @@ private:
RenderingAttrib attrib_;
glm::mat4 projection_;
glm::vec2 projection_crop_;
glm::vec2 projection_area_;
uint textureid_, intermediate_textureid_;
uint framebufferid_, intermediate_framebufferid_;
bool use_alpha_, use_multi_sampling_;