Graphics

 View Only
  • 1.  API-issue with Cylinder-property which is missing

    Posted 03-29-2017 12:40
    Hi,

    I'm facing a problem which I cant get fixed through the API and I would like to request adding a property to the xpCylinderObject

    I'm placing a bunch of cylinders at various positions on a 3D-plane, but I'm having an issue with the depthwrites. My left tube end (which is actually my camera-facing end) is not being displayed properly which results in a hole in my material.

    The only way I can solve this is to Enable the DepthWrites in the Rendering-tab of the cylinder.

    However I can't do this manually because there can be hundreds of cylinders in the scene. But through the API the DepthWrites-property is not exposed unlike the CullingMode-property.

    Is there a way to add the DepthWrite property to the Cylinder-object? It it currently only available for the xpMaterial.

    Thank you,
    Kenneth


  • 2.  RE: API-issue with Cylinder-property which is missing

    Posted 03-29-2017 17:51
    Hi Kenneth, we can add the depth writes property for you.

    #XPression


  • 3.  RE: API-issue with Cylinder-property which is missing

    Posted 03-29-2017 20:29
    That would be wonderful Brian, Thank you!
    #XPression


  • 4.  RE: API-issue with Cylinder-property which is missing

    Posted 03-30-2017 20:08
    This has been added to XPression beta version 6.7 3765:

    • [note] the API has changed
    • [implemented] the API can now get/set the Depth Writes property of the cylinder object

    #XPression