Update .gitignore
Code comments
Fix a generation range for rendering