positionTest.nff 351 B

123456789101112131415161718192021222324252627282930313233343536
  1. # Enable high-quality subdivision
  2. tess 4
  3. # This represents a C4H10 molecule (Butan)
  4. f 0.3 0.3 0.3 1 1
  5. s 0 0 0 5
  6. s 20 0 0 5
  7. s 40 0 0 5
  8. s 60 0 0 5
  9. # Switch to white
  10. f 1 1 1 1 1
  11. s -5 0 0 3
  12. s 0 5 0 3
  13. s 0 -5 0 3
  14. s 20 5 0 3
  15. s 20 -5 0 3
  16. s 40 5 0 3
  17. s 40 -5 0 3
  18. s 60 5 0 3
  19. s 60 -5 0 3
  20. s 65 0 0 3
  21. # Now a tube to connect them
  22. c
  23. 0 0 0 0.8
  24. 60 0 0 0.8