Closed MaxHerbs closed 9 months ago
Hi @MaxHerbs, the issue is fixed already in the development branch. Just replace line 23 of the demo:
spectrum.samples += cos((shift + 5) * radius)**4
with
spectrum.samples[:] += cos((shift + 5) * radius)**4
Hi @vsnever, Thank you for the quick response, that's perfect
Hello Currently it seems the "Custom Volume Emitter" sample does not work. Is there an alternative way to define custom light sources?
I'm using Raysect Version: raysect-0.8.1.post1
and the code fails with the following output:
A copy of the code is available from the raysect repository, and the error occurs with no changes made to the example. Thank you