TraceColor hit???

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

On 29/12/2005 at 11:13, xxxxxxxx wrote:

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

---------
Hi,

the docs say for TraceColor:

Note: A color can be returned even if there was no intersection (hit==0); in this case the ray intersected the sky.

But where can I retrieve "hit"? I want to know if there was an intersection or not.

or is it si.gid==0 now? (as I assume "hit" is still from the old R7 call)

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

On 02/01/2006 at 13:55, xxxxxxxx wrote:

Yeah, I'd assume that too. Thanks for pointing this out.

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

On 03/01/2006 at 11:11, xxxxxxxx wrote:

ok, thanks for confirming.