Hi all,
I've been trying to improve my vsl skills from "pull a
slider and gaze at what happens" to a slightly more understanding level.
I used the material part of the Harry tutorial (by default C:\Program
Files\Realsoft\Realsoft3D\manual\harry\harry.html) to see if I can keep
track of what values are being taken, what is being computed and where the
outcome is stored.
I'm over halfway now and there are a
few questions that I hope someone can answer for
me.
- How can the same variable be declared twice? For instance
Var mc is being declared once in the Surface geometry shader and a second time
in the Surface properties shader. Isn't a variable a reserved bit
of memory?
- Is there a way to read out values stored in variables?
Just to check and see if what one assumes is right?
Frank Dodd suggested to copy the value to a color object.
It's a workaround but but isn't there a quicker, more direct
way?
Regards,
Frank Bueters
