Thank you for your rapid reply.
I have obtained proper images by the renderings using the revised codes, which
were written on the basis of your code. I have also confirmed that they did not
give any error on my PC environment.
I would like to express my gratitude to your advice that also made my works
proceed.
Best regards.