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.


+12 votes

For example in raytracing or patches?

asked in CSC 150 January201920 by (8 points)

2 Answers

+3 votes

If you wanted the whole scene to flash, you could do something like this in raytracing:

ifelse ticks > 200 and ticks < 203
[ raytracing:add-light x y z white ] [ raytracing:add-light x y z color ]

This would make your scene flash white for 3 ticks, you could make multiple of these, or add more tick ranges if you would like it to flash multiple times. If you wanted a brighter flash just add more white lights!

answered by (8 points)

thank you

+2 votes

The closest thing that I can think of for this is using a raytracing command for either highlight or reflection, which can be found on the handout from class. Hopefully this helps

answered by (8 points)

thank you