Started having a look at your project, and the wonderful scala! Wondered if you might want to know the changes I had to make to get the project running with:
scala 2.7.1-final
groovy 1.5.6
java 1.6.0_05
on Vista
From src\scalaray\RayTracer.scala I had to remove a line because of this compile time exception:
src\scalaray\RayTracer.scala:26: error: unbound wildcard type
def builderSetChild(ignore : _) = ()
<<<<<<<
def builderSetChild(ignore : _) = ()
=======
>>>>>>>
From example_scenes\firstscene.groovy I made a change because of this runtime exeception:
Caught: groovy.lang.MissingMethodException: No signature of method: firstscene.S
olidMaterial() is applicable for argument types: (java.util.LinkedHashMap) value
s: {["r":1, "g":1, "b":0]}
<<<<<<<
app.run{
def solidRed = SolidMaterial(r:1,g:1,b:0);
def diffuseWhite = DiffuseMaterial(r:0.85, g:0.85, b:0.85);
def diffuseRed = DiffuseMaterial(r:0.85, g:0.5, b:0.5f);
def diffuseGreen = DiffuseMaterial(r:0.5, g:0.85, b:0.5);
def mirror = SpecularMaterial();
=======
def solidRed = app.SolidMaterial(r:1,g:1,b:0);
def diffuseWhite = app.DiffuseMaterial(r:0.85, g:0.85, b:0.85);
def diffuseRed = app.DiffuseMaterial(r:0.85, g:0.5, b:0.5f);
def diffuseGreen = app.DiffuseMaterial(r:0.5, g:0.85, b:0.5);
def mirror = app.SpecularMaterial();
app.run{
>>>>>>>
With any luck sometime soon I'll understand why I needed these changes! :-)
Kind regards,
Peter Taylor
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi there, (Release 0.1.0)
Started having a look at your project, and the wonderful scala! Wondered if you might want to know the changes I had to make to get the project running with:
scala 2.7.1-final
groovy 1.5.6
java 1.6.0_05
on Vista
From src\scalaray\RayTracer.scala I had to remove a line because of this compile time exception:
src\scalaray\RayTracer.scala:26: error: unbound wildcard type
def builderSetChild(ignore : _) = ()
<<<<<<<
def builderSetChild(ignore : _) = ()
=======
>>>>>>>
From example_scenes\firstscene.groovy I made a change because of this runtime exeception:
Caught: groovy.lang.MissingMethodException: No signature of method: firstscene.S
olidMaterial() is applicable for argument types: (java.util.LinkedHashMap) value
s: {["r":1, "g":1, "b":0]}
<<<<<<<
app.run{
def solidRed = SolidMaterial(r:1,g:1,b:0);
def diffuseWhite = DiffuseMaterial(r:0.85, g:0.85, b:0.85);
def diffuseRed = DiffuseMaterial(r:0.85, g:0.5, b:0.5f);
def diffuseGreen = DiffuseMaterial(r:0.5, g:0.85, b:0.5);
def mirror = SpecularMaterial();
=======
def solidRed = app.SolidMaterial(r:1,g:1,b:0);
def diffuseWhite = app.DiffuseMaterial(r:0.85, g:0.85, b:0.85);
def diffuseRed = app.DiffuseMaterial(r:0.85, g:0.5, b:0.5f);
def diffuseGreen = app.DiffuseMaterial(r:0.5, g:0.85, b:0.5);
def mirror = app.SpecularMaterial();
app.run{
>>>>>>>
With any luck sometime soon I'll understand why I needed these changes! :-)
Kind regards,
Peter Taylor