Navigation

    • Register
    • Login
    • Search
    1. Home
    2. Passion3D
    Passion3D

    Passion3D

    @Passion3D

    8
    Reputation
    80
    Posts
    282
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online
    Website discord.gg/hMeBW5P Location France

    • Profile
    • More
      • Following
      • Followers
      • Topics
      • Posts
      • Best
      • Groups
    Passion3D Follow

    Best posts made by Passion3D

    Plugin OnFloor Final 1.2.4RC1

    Hello
    This plugin is a tool that allows you to place one or more objects on the floor.
    The use is very simple:
    Select the tool, then click on each object you want to put on the floor.
    You can specify the level (and Unit) at which you want to place the object
    Parametric, Polygonal, Null object, Nurbs, Generator, MoTexte, Cloner, Spline objects can be moved

    If this tool is useful for you, or if you find a bug ๐Ÿ˜‰ Let me know.

    For Cinema4D R13, R14, R15, R16, R17, R18, R19, R20:
    OnFloor

    posted in General Talk •
    RE: OBJ loading polygon order

    Try my plugin
    https://plugincafe.maxon.net/topic/11136/plugin-import-wavefront

    posted in Cinema 4D SDK •
    Plugin import wavefront

    Hi all
    This is my first plugin;)
    It is an import of wavefront file, replacing the one integrated in C4D, which has some problems with the materials.
    Tell me what you think ๐Ÿ™‚
    Wavefront Import

    posted in General Talk •
    RE: detect the selection of an object

    @C4DS
    Although a solution has not been given (as I wish to do), explanations have been provided. I have therefore considered it resolved.
    For IRL reasons, I could not do so. I will be able to get back to it, and if I find THE solution, I will post it ๐Ÿ˜‰

    posted in Cinema 4D SDK •
    RE: Plugin OnFloor Final 1.2.4RC1

    Thank you Sebastian ๐Ÿ˜‰
    And thanks to those who helped me on this forum, and who allowed me to finalize this plugin ๐Ÿ™‚

    I would probably have a lot more questions, because I started a plugin for the creation of a road network (a little like House Builder)

    posted in General Talk •

    Latest posts made by Passion3D

    RE: XPresso: Modify UserData

    @zipit work fine ๐Ÿ‘ thanks a lot

    posted in Cinema 4D SDK •
    RE: XPresso: Modify UserData

    @zipit
    In this test, the modification works well, but the cycle button is not updated.
    I added c4d.EventAdd(), but in this case it runs in a loop ๐Ÿ™‚
    Test2.c4d

    posted in Cinema 4D SDK •
    RE: XPresso: Modify UserData

    @zipit Thanks. I test and keep you informed ๐Ÿ˜‰

    posted in Cinema 4D SDK •
    RE: XPresso: Modify UserData

    Test.c4d

    posted in Cinema 4D SDK •
    XPresso: Modify UserData

    I have a UserData "MyData" of type Button Cycle and i would like to modify its contents, in python node

    posted in Cinema 4D SDK •
    RE: XPresso python node

    Thanks @PluginStudent ๐Ÿ˜‰

    posted in Cinema 4D SDK •
    XPresso python node

    In a python node, is it possible to know how many inputs and outputs there are? and their name?

    posted in Cinema 4D SDK •
    RE: Change a rendering parameter in python xpresso node

    @Cairyn Thanks, all work fine for this module ๐Ÿ‘

    posted in Cinema 4D SDK •
    RE: Change a rendering parameter in python xpresso node

    @PluginStudent
    Your link is about the creation of a material (and that I already know how to do), not a render parameter.

    But I have tound the solution.

        shader = firstVP[c4d.VP_VRAYBRIDGE_ENVIRONMENT_BACKGROUNDTEX]
        if shader == None:
            shader = c4d.BaseList2D(c4d.Xbitmap)
            firstVP.InsertShader(shader)
            firstVP.GetDataInstance()[c4d.VP_VRAYBRIDGE_ENVIRONMENT_BACKGROUNDTEX] = shader
        shader[c4d.BITMAPSHADER_FILENAME] = "approaching_storm_4k.hdr"
    
    

    Other question, how to remove it? I don't have found "DeleteShader" or "RemoveShader"๐Ÿค”

    posted in Cinema 4D SDK •
    RE: Change a rendering parameter in python xpresso node

    What's wrong in my code?

    import c4d
    
    def main():
        # check doc
        if doc is None:
            return
    
        # get the active RenderData
        activeRD = doc.GetActiveRenderData()
        if activeRD is None:
            return
    
        # get the first BaseVideoPost (Active Render)
        firstVP = activeRD.GetFirstVideoPost()
        if firstVP is None:
            return
        shader = firstVP[c4d.VP_VRAYBRIDGE_ENVIRONMENT_BACKGROUNDTEX]
        if shader == None:
            shader = c4d.BaseShader(c4d.Xbitmap)
            firstVP.GetDataInstance()[c4d.VP_VRAYBRIDGE_ENVIRONMENT_BACKGROUNDTEX] = shader
        shader[c4d.BITMAPSHADER_FILENAME] = "approaching_storm_4k.hdr"
        c4d.EventAdd()
    
    if __name__=='__main__':
        main()
    
    
    posted in Cinema 4D SDK •