Preview of a shader...



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

    On 06/09/2003 at 12:13, xxxxxxxx wrote:

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

    ---------
    I have a noise shader here but have a problem. The shader works fine on the object and the material preview is correct too, but the preview in the AM doesn´t work at all :
    The problem is that I am using cd->vd->p as evaluation point of my noise function. When the AM preview is calculated though VolumeData doesn´t seem to be valid so I cannot use it.
    So what I can use instead when vd is NULL?
    Thank you
    Samir



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

    On 07/09/2003 at 00:53, xxxxxxxx wrote:

    If you mean the (new) preview control then you probably should be asking this of sdk_support and not here ;-)



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

    On 07/09/2003 at 05:28, xxxxxxxx wrote:

    hi,
    no I am talking about the preview in the AM that is in there since version 8. It´s under the texture group (that´s the name of the gui element I think...) in almost all channels.
    Samir



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

    On 07/09/2003 at 06:07, xxxxxxxx wrote:

    ok, got it already



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

    On 07/09/2003 at 19:49, xxxxxxxx wrote:

    cd->p is not a coordinate in world or local space but a  width and height value in range from 0.0 to 1.0.This value gives you a position on a 2d map . this is the map that you will see in your preview and render. So its 2D texure space and not 3d space.
     
     
    >If you mean the (new) preview control then you probably should be asking >this of sdk_support and not here ;-)
    all the more reason for a SDK conference in fc :)


Log in to reply