Issue #18 new

Simplex box unusable

Anonymous created an issue

Add a simplex bos which is visually not working well :

screen

Then, when trying to link the output of the simplex to the input of heighs, application crahses with following output :

C:\Users\Psycko\Desktop\lithosphere>python run.py
Traceback (most recent call last):
  File "_ctypes/callbacks.c", line 295, in 'calling callback function'
  File "C:\Users\Psycko\Desktop\lithosphere\pyglet-1.2dev-py2.6.egg\pyglet\windo
w\win32\__init__.py", line 626, in _wnd_proc_view
  File "C:\Users\Psycko\Desktop\lithosphere\pyglet-1.2dev-py2.6.egg\pyglet\windo
w\win32\__init__.py", line 814, in _event_lbuttonup
  File "C:\Users\Psycko\Desktop\lithosphere\pyglet-1.2dev-py2.6.egg\pyglet\windo
w\win32\__init__.py", line 801, in _event_mousebutton
  File "C:\Users\Psycko\Desktop\lithosphere\pyglet-1.2dev-py2.6.egg\pyglet\windo
w\__init__.py", line 1150, in dispatch_event
  File "C:\Users\Psycko\Desktop\lithosphere\pyglet-1.2dev-py2.6.egg\pyglet\event
.py", line 355, in dispatch_event
  File "C:\Users\Psycko\Desktop\lithosphere\halogen-0.1.1-py2.6.egg\halogen\butt
on.py", line 35, in on_mouse_release
  File "C:\Users\Psycko\Desktop\lithosphere\pyglet-1.2dev-py2.6.egg\pyglet\event
.py", line 355, in dispatch_event
  File "C:\Users\Psycko\Desktop\lithosphere\lithosphere-0.1.2_-py2.6.egg\lithosp
here\toolbar.py", line 25, in on_click
  File "C:\Users\Psycko\Desktop\lithosphere\lithosphere-0.1.2_-py2.6.egg\lithosp
here\noise.py", line 42, in __init__
  File "C:\Users\Psycko\Desktop\lithosphere\lithosphere-0.1.2_-py2.6.egg\lithosp
here\application.py", line 196, in shader
  File "C:\Users\Psycko\Desktop\lithosphere\gletools-0.1.0-py2.6.egg\gletools\sh
ader.py", line 175, in __init__
  File "C:\Users\Psycko\Desktop\lithosphere\gletools-0.1.0-py2.6.egg\gletools\sh
ader.py", line 140, in __setattr__
  File "C:\Users\Psycko\Desktop\lithosphere\gletools-0.1.0-py2.6.egg\gletools\sh
ader.py", line 144, in __setitem__
  File "C:\Users\Psycko\Desktop\lithosphere\gletools-0.1.0-py2.6.egg\gletools\sh
ader.py", line 70, in set
  File "C:\Users\Psycko\Desktop\lithosphere\gletools-0.1.0-py2.6.egg\gletools\sh
ader.py", line 115, in do_set
  File "C:\Users\Psycko\Desktop\lithosphere\pyglet-1.2dev-py2.6.egg\pyglet\gl\li
b_wgl.py", line 94, in __call__
  File "C:\Users\Psycko\Desktop\lithosphere\pyglet-1.2dev-py2.6.egg\pyglet\gl\li
b.py", line 105, in errcheck
pyglet.gl.lib.GLException: opÚration non valide
Traceback (most recent call last):
  File "C:\Users\Psycko\Desktop\lithosphere\lithosphere-0.1.2_-py2.6.egg\lithosp
here\main.py", line 86, in main
    application.run()
  File "C:\Users\Psycko\Desktop\lithosphere\lithosphere-0.1.2_-py2.6.egg\lithosp
here\application.py", line 171, in run
    pyglet.app.run()
  File "C:\Users\Psycko\Desktop\lithosphere\pyglet-1.2dev-py2.6.egg\pyglet\app\_
_init__.py", line 123, in run
    event_loop.run()
  File "C:\Users\Psycko\Desktop\lithosphere\pyglet-1.2dev-py2.6.egg\pyglet\app\b
ase.py", line 133, in run
    self._run_estimated()
  File "C:\Users\Psycko\Desktop\lithosphere\pyglet-1.2dev-py2.6.egg\pyglet\app\b
ase.py", line 161, in _run_estimated
    timeout = self.idle()
  File "C:\Users\Psycko\Desktop\lithosphere\pyglet-1.2dev-py2.6.egg\pyglet\app\b
ase.py", line 270, in idle
    redraw_all = self.clock.call_scheduled_functions(dt)
  File "C:\Users\Psycko\Desktop\lithosphere\pyglet-1.2dev-py2.6.egg\pyglet\clock
.py", line 310, in call_scheduled_functions
    item.func(ts - item.last_ts, *item.args, **item.kwargs)
  File "C:\Users\Psycko\Desktop\lithosphere\lithosphere-0.1.2_-py2.6.egg\lithosp
here\application.py", line 201, in update
    self.terrain.update()
  File "C:\Users\Psycko\Desktop\lithosphere\lithosphere-0.1.2_-py2.6.egg\lithosp
here\terrain.py", line 157, in update
    self.input_height.source.update()
  File "C:\Users\Psycko\Desktop\lithosphere\lithosphere-0.1.2_-py2.6.egg\lithosp
here\node.py", line 77, in update
    self.compute()
  File "C:\Users\Psycko\Desktop\lithosphere\lithosphere-0.1.2_-py2.6.egg\lithosp
here\noise.py", line 64, in compute
    size = 1000.0 ** self.size.value - 1.0
AttributeError: 'Simplex' object has no attribute 'size'

Comments (1)

  1. Log in to comment