Welcome to the CSC Q&A.
Get help and give help!
Write great code!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+10 votes

I put in this code below to try and make my video, but I get an error code and it does not work.

to render
  raytracing:output-resolution 600 400
  raytracing:start-movie "movietest" 10
  repeat 60 [
    go
    raytracing:render-next-movie-frame]
end
asked in CSC 150 January201920 by (8 points)
+3

Can you be more specific about the error?

2 Answers

+6 votes

maybe it is an image that in't in the same folder or you put it in a folder with a space on it. However if it is not one of those you can try this one and see if it works for you.

to make-movie
  raytracing:output-resolution 300 200
  raytracing:start-movie "movietest" 10

  repeat 30
  [
     orbit-up 1
     zoom 0.05
     display
     ;;wait 0.05
     raytracing:render-next-movie-frame
  ]
end
answered by (8 points)
edited by
+5 votes

Note: you can also intersperse your movie-making commands throughout your whole code, like we did with the vid extension earlier in the course.

This part needs to be run first:

raytracing:output-resolution 600 400
raytracing:start-movie "movietest" 10

But then, after that, you can put raytracing:render-next-movie-frame anywhere in your code, just like we did with vid:record-view.

answered by (302 points)
...