implement grid and heightmap with lambert shading

This commit is contained in:
2018-12-24 22:22:16 +01:00
parent 4d2706bfab
commit 52c87d9ec6
16 changed files with 297 additions and 101 deletions

View File

@@ -14,19 +14,21 @@ class NodePanelGrid : public Node
{
public:
NodeSliderH* m_groud_opacity;
NodeSliderH* m_groud_scale;
NodeSliderH* m_groud_value;
NodeSliderH* m_groud_height;
NodeSliderH* m_box_opacity;
NodeSliderH* m_box_width;
NodeSliderH* m_box_height;
NodeSliderH* m_box_depth;
NodeSliderH* m_groud_resolution;
NodeSliderH* m_groud_offset;
NodeImageTexture* m_hm_preview;
NodeButton* m_hm_load;
NodeSliderH* m_hm_offset;
NodeButton* m_hm_clear;
NodeButton* m_hm_reload;
NodeComboBox* m_hm_shading;
NodeSliderH* m_hm_height;
NodeSliderH* m_hm_wireframe;
NodeSliderH* m_hm_lyaw;
NodeSliderH* m_hm_lpitch;
HeightmapPlane m_hm_plane;
Image m_hm_image;
std::string m_file_path;
virtual Node* clone_instantiate() const override;
virtual void clone_finalize(Node* dest) const override;