THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 03/01/2007 at 12:16, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 9.6 +
Platform: Windows ; Mac ; Mac OSX ;
Language(s) :
---------
Hi all,
i need info to sample the shader in the correct way.
SLA, for example, can use 3D coord or UVW coordinate.
in SLA there is the texture projection type for this.
The shader sampling need a ChannelData. ChannelData have ->p for the UVW coordinate and a ->vd for the rest.
I thought that was possible to put the UV in the cd.p and the 3D coordinate in cd.vd.p then if the shader need a volumetric projection, it get from vd the correct coordinate.. but it's not working.. seem that it always get the 2d or 3d coordinate from the cd.p.
Someone have info about this?
Thanks in advance
Renato