Added a gif to readmegit add --all
This commit is contained in:
parent
5693dc8961
commit
6877e4e344
|
|
@ -74,4 +74,8 @@ Once the data is in place, the program may be executed as normal - again make su
|
||||||
|
|
||||||
## Screenshots
|
## Screenshots
|
||||||
|
|
||||||
|
Temperature of hurricane Sandy visualized using the raycaster over time:
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 6.1 MiB |
|
|
@ -125,18 +125,18 @@ int Window::init(float* data) {
|
||||||
this->widget = new Widget(this->window);
|
this->widget = new Widget(this->window);
|
||||||
|
|
||||||
// loop function for draw calls etc.
|
// loop function for draw calls etc.
|
||||||
for (int i=296; i <= 306; i++) {
|
// for (int i=296; i <= 306; i++) {
|
||||||
this->widget->date = i;
|
// this->widget->date = i;
|
||||||
for (int j=0; j < 4; j++) {
|
// for (int j=0; j < 4; j++) {
|
||||||
Window::tick();
|
// this->widget->timestep = j;
|
||||||
this->saveImage();
|
// Window::tick();
|
||||||
this->widget->timestep = j;
|
// this->saveImage();
|
||||||
this->widget->datechanged = true;
|
// this->widget->dateChanged = true;
|
||||||
}
|
// }
|
||||||
}
|
|
||||||
// while (!glfwWindowShouldClose(window)) {
|
|
||||||
// Window::tick();
|
|
||||||
// }
|
// }
|
||||||
|
while (!glfwWindowShouldClose(window)) {
|
||||||
|
Window::tick();
|
||||||
|
}
|
||||||
|
|
||||||
Window::free(data);
|
Window::free(data);
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
||||||
|
|
@ -64,7 +64,7 @@ Widget::Widget(GLFWwindow* window) :
|
||||||
date(301),
|
date(301),
|
||||||
samplesPerPixel(1),
|
samplesPerPixel(1),
|
||||||
alphaAcumLimit(0.3f),
|
alphaAcumLimit(0.3f),
|
||||||
opacityConst(53),
|
opacityConst(35),
|
||||||
showSilhouettes(false),
|
showSilhouettes(false),
|
||||||
silhouettesThreshold(0.02f)
|
silhouettesThreshold(0.02f)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue