Navigation

    • Register
    • Login
    • Search
    1. Home
    2. peterakos
    P

    peterakos

    @peterakos

    0
    Reputation
    28
    Posts
    118
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

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

    Best posts made by peterakos

    This user does not have any upvoted posts yet.

    Latest posts made by peterakos

    Cloner with multi-instance

    Hello.

    I want to support to fully support multi-instances in my render engine, but I find some difficulties with cloners.
    I transfer the cloner data into my engine by reading the Cache. The problem is that the multi instances that exist inside the cloner have the parameter INSTANCEOBJECT_MULTIPOSITIONINPUT empty.
    How can I get the multi instance positions from the cloner ?

    Thank you for your time !

    posted in Cinema 4D SDK •
    RE: Retrieving particle positions for Multi-Instance

    Thank you for your help !

    posted in Cinema 4D SDK •
    Retrieving particle positions for Multi-Instance

    Hello.

    I need to retrieve the particle positions from the object used in INSTANCEOBJECT_MULTIPOSITIONINPUT parameter of Multi-Instance.

    The documentation says it supports Mograph Matrix, Emitter and Thinking Particles.
    I retrieve the positions from Mograph Matrix using ID_MOTAGDATA tag.

    How can I do the same with Emitter and Thinking Particles ?

    Thank you for your time !

    posted in Cinema 4D SDK •
    RE: Bitmaps in custom shaders don't appear in Texture Manager

    Hello.

    I would like to also ask something different, but very related to MSG_GETALLASSETS.
    If I have custom shaders inside custom shaders, in the top-most shader, do I have to get all the assets from the children as well or is it done autmatically by Cinema 4D ?

    Thank you !

    posted in Cinema 4D SDK •
    RE: Bitmaps in custom shaders don't appear in Texture Manager

    Hello and thank you for your time helping me !

    I totally missed to use it in the custom shader.
    Nevertheless, even though I've just added it, the missing bitmap don't always appear in Texture Manager.
    I'm testing it using a scene saved in another machine (which didn't run this code).
    The image with wrong absolute path still doesn't appear in the Texture Manager list.

    If I start a new scene and create wrong bitmap absolute paths on purpose, they appear correctly.

    I'm a little bit confused. I suppose there isn't any way to make work in older versions since they have already been saved incorrectly right ?

    Thank you !

    posted in Cinema 4D SDK •
    Bitmaps in custom shaders don't appear in Texture Manager

    Hello.

    I have a problem with Texture Manager.
    Even though it shows the bitmaps that are used in material shaders correctly, it doesn't always show the bitmaps in custom shaders and when it does, they appear duplicated.

    So first of all, why the sahders don't appear always in Texture Manager ?
    In this post, it's said that it's not possible to show the bitmaps in custom shaders in Texture Manager: https://plugincafe.maxon.net/topic/9640/12946_texture-manager-support-in-custom-shader/3

    Do I have to add the Bitmap Shaders that exist in ShaderData as children in materials ?

    Thank you.

    posted in Cinema 4D SDK •
    Precise float parameters in UI

    Hello.

    I use REAL in Description Resource files.
    But in NodeData's Interface, this value cannot be set with high precision such as 0.0000001.
    Is there anything I can do to fix this ?

    Thank you very much for your time.

    posted in Cinema 4D SDK •
    RE: R20 equivalent of GeSignal

    Hello.

    The problem was that I didn't add the definitions.

    iferr_scope;
    signal = maxon::ConditionVariableRef::Create() iferr_return;

    Thank you for your time and sorry for that 😞

    posted in Cinema 4D SDK •
    RE: R20 equivalent of GeSignal

    Hello.

    Here is the error:
    error C2679: binary '=': no operator found which takes a right-hand operand of type 'maxon::ResultMemTmaxon::ConditionVariableRef' (or there is no acceptable conversion)

    note: could be 'maxon::ConditionVariableInterface::Reference &maxon::ConditionVariableInterface::Reference::operator =(const maxon::ConditionVariableInterface::Reference &)'
    note: or 'maxon::ConditionVariableInterface::Reference &maxon::ConditionVariableInterface::Reference::operator =(maxon::ConditionVariableInterface::Reference &&)

    I have used it exactly as in ConditionVariable manual, but the thread is C4DThread instead of maxon::ThreadInterfaceTemplate<ExampleThread>.

    Thank you.

    posted in Cinema 4D SDK •
    RE: R20 equivalent of GeSignal

    Hello and thank you very much for the help.

    It appears that I cannot use it in a custom thread that inherits C4DThread.
    I have a private member maxon::ConditionVariableRef, but the following call fails compilation:
    condition = maxon::ConditionVariableRef::Create();

    Do I have to use it only in a thread inheriting maxon::ThreadInterfaceTemplate<ExampleThread> ?

    Thank you.

    posted in Cinema 4D SDK •