Tagging a ray

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 22/08/2003 at 00:06, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   8.100 
Platform:   Windows  ;   Mac OSX  ; 
Language(s) :     C++  ;

---------
Hi,

I'm working on a volume shader.

To avoid of overdoing it's effect, I would like to "tag" the ray so I could determine if the ray already traveled through another volume using the same shader (maybe even a different instance).

Any ideas anybody?

Thanks!

Kabe

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 25/08/2003 at 05:41, xxxxxxxx wrote:

I don't think that's possible. (For obvious reasons the ray structures are as light-weight as possible. There's no room to attach your own data.)

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 25/08/2003 at 07:51, xxxxxxxx wrote:

mmmh, maybe the other way round? Is there some ray ID or something similar?

Thanks anyway!

Kabe