version whatever mild change
This commit is contained in:
parent
bb618cff88
commit
49ae57d551
3 changed files with 4 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -6,3 +6,4 @@ build/
|
||||||
skydome.c
|
skydome.c
|
||||||
*.html
|
*.html
|
||||||
__pycache__/
|
__pycache__/
|
||||||
|
zipped*
|
||||||
|
|
5
app.py
5
app.py
|
@ -230,8 +230,9 @@ class renderedImageZoom:
|
||||||
self.g = g
|
self.g = g
|
||||||
|
|
||||||
def render(self):
|
def render(self):
|
||||||
#self.image = skydome.renderFromCamera(self.coords,self.betaM,self.g,self.altitude,self.temperature,self.pressure,self.sunDir)
|
#adding button to switch between
|
||||||
self.image = skydome.renderSkydome(self.coords,self.betaM,self.g,self.altitude,self.temperature,self.pressure,self.sunDir)
|
self.image = skydome.renderFromCamera(self.coords,self.betaM,self.g,self.altitude,self.temperature,self.pressure,self.sunDir)
|
||||||
|
#self.image = skydome.renderSkydome(self.coords,self.betaM,self.g,self.altitude,self.temperature,self.pressure,self.sunDir)
|
||||||
self.img = Image.fromarray(self.image,mode="RGB")
|
self.img = Image.fromarray(self.image,mode="RGB")
|
||||||
self.tk_image = ImageTk.PhotoImage(width=256,height=256,image=self.img)
|
self.tk_image = ImageTk.PhotoImage(width=256,height=256,image=self.img)
|
||||||
#img = ImageTk.PhotoImage(Image.open("highpress_camera.png"))
|
#img = ImageTk.PhotoImage(Image.open("highpress_camera.png"))
|
||||||
|
|
Loading…
Reference in a new issue