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
|
||||
*.html
|
||||
__pycache__/
|
||||
zipped*
|
||||
|
|
5
app.py
5
app.py
|
@ -230,8 +230,9 @@ class renderedImageZoom:
|
|||
self.g = g
|
||||
|
||||
def render(self):
|
||||
#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)
|
||||
#adding button to switch between
|
||||
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.tk_image = ImageTk.PhotoImage(width=256,height=256,image=self.img)
|
||||
#img = ImageTk.PhotoImage(Image.open("highpress_camera.png"))
|
||||
|
|
Loading…
Reference in a new issue