RayLight and GetTexData

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

On 25/09/2011 at 18:17, xxxxxxxx wrote:

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

---------
Hi all,

how i can get the TexData from a RayLight?

best regards
renato

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

On 26/09/2011 at 08:25, xxxxxxxx wrote:

Hy there,

the RayLight docs says the following:

TexList* texadr Texture address.

Note: You cannot access textures directly. Use the function GetTexData() instead.

Did you try the VolumeDatas GetTexData()?

Cheers,
maxx

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

On 26/09/2011 at 08:29, xxxxxxxx wrote:

yes :)

Is need a casting to compile the raylight instead a rayobject.. but the returned TexData is NULL... TexList show that there is 1 texdata on the light.

thanks
renato

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

On 27/09/2011 at 06:10, xxxxxxxx wrote:

I've asked the developers.

cheers,
Matthias

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

On 28/09/2011 at 07:17, xxxxxxxx wrote:

I got an answer from our developers. Unfortunatly it's currently not possible to retrieve the TexData for RayLights.

cheers,
Matthias

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

On 28/09/2011 at 12:46, xxxxxxxx wrote:

Thanks :)

renato