Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+11 votes

Every time I try and render a picture it starts to render but just disappears without creating or saving the image.

asked in CSC 150 January201920 by (1 point)

5 Answers

+7 votes
 
Best answer

There are at least a few possibilities for why rendering might fail:

  1. It could be because you have a space in the full path file name. That includes the file name you choose in start-movie or render, but also the folder that your NLOGO file is saved in, or any folder that is saved in, going all the way up. In this case, the solution is generlaly to rename the file/folder so that it no longer has any spaces in it.

  2. It could be because you are using a shape that is not supported by raytracing.

  3. It could be that it can't find one of the images that you're using for a background in raytracing, or wrapping around an object. Did you misspell the image's file name? (Remember to include the file extension -- .JPG or .PNG, etc.)

NetLogo probably still created a POV file (but not a PNG file, since it failed to render), and you might try opening the POV file up separately inside the POV-Ray program, and try rendering it there, and then read the error message. If you copy/paste the error message into a Q&A question, we might be able to better figure out exactly what is going wrong...

answered by (508 points)
+8 votes

If it just exits without creating an image, it probably has created POV ray file. You can hit run on the pov ray file and it will save an image. That's what worked for me...

answered by (1 point)
+3

It still isn't working for some reason.

+8 votes

You should check if your turtles are using right shape. If we use wrong shape, the image cannot be created.

answered by (1 point)
+3

No it was because one of y images wasn't working

+8 votes

In my experience even if it is just a stamp if the shape is not supported it will not work.

answered by (1 point)
+3

No apparently one of my images was not supported.

+8 votes

did you save the image on the same folder because that affects it . try doing that and let me know if it doesn't work

answered by (1 point)
...