vd->TraceGeometry with Displacement



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

    On 06/05/2003 at 06:03, xxxxxxxx wrote:

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

    ---------
    vd->TraceGeometry doesn't work for channel-shaders in the displacement-channel. Is this a know limitation? or a workaround available?



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

    On 11/05/2003 at 16:25, xxxxxxxx wrote:

    you need to switch on the raytracing flag for your shader.
     
    cheers
     
    Paul Everett



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

    On 12/05/2003 at 07:34, xxxxxxxx wrote:

    Hi Paul,

    The CHANNEL_RAYTRACING is flag on, otherwise TraceGeometry would not work.
    (and I have also tried SHADER_RAYTRACING)

    The problem is only in the displacement-channel, all other channels works without a problem.



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

    On 12/05/2003 at 07:46, xxxxxxxx wrote:

    i had a problem with this as well
    i just disabled  my shader for the displacement channel.
    thats how i got around it.
    do you really need your shader to work in displacement channel ?
    or is this just a problem cos it crashes?
     
    cheers
     
    Paul



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

    On 12/05/2003 at 08:04, xxxxxxxx wrote:

    fortunately there is no crash using the displ-channel (at least here on my mac), but it would be important that I can use it.

    would be great if there is a workaround for this problem



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

    On 14/05/2003 at 14:57, xxxxxxxx wrote:

    There are two issues:
    - During displacement VolumeData->ray is NULL (as there is no ray for displacement). Shaders that access the ray without a NULL test may crash.
    - TraceGeometry() cannot work during displacement, as the displacement modifies the geometry itself! The raytracing engine is initialized AFTER displacement calculations are done.


Log in to reply