GDL cinerender rendering

Home Forums Problems and solutions in GDL 3D modelling GDL cinerender rendering

Tagged: ,

Viewing 2 reply threads
  • Author
    Posts
    • #3328
      antoine JULLIEN
      Participant

      Hi, in my script, when i make a render, its good in internal render but in cinerender i see the colour but not the texture … someone can help me ?

      DEFINE TEXTURE “TextureS” imagemat, .72,.72 ,128+256,0
      DIM COLOR[3]
      COLOR[1] = RGB_R/255
      COLOR[2] = RGB_G/255
      COLOR[3] = RGB_B/255

      DEFINE MATERIAL “materiau” 21,
      colour_RS/255, colour_GS/255, colour_BS/255,
      2, ! ambiant
      0.9, ! diffuse
      0, ! specular
      0.0, ! transparence
      0, ! brillance
      0, ! transparence att
      ind (fill, “50 %”), 61,
      ind (texture, “TextureS”),
      additional_data C4D_ChCol_State = 1, ! turn on the channel
      C4D_ChCol_Texture = “1”, ! add a shader to the channel
      C4D_ShColor_Color_1 = COLOR,
      C4D_ChCol_Image = “2”,
      C4D_ShColor_file_2 = “TextureS”

      Tonio

    • #3351
      Gergely Fehér
      Keymaster

      Try this way with the additional params:

      additional_data C4D_ChCol_State = 1, ! turn on the channel
      C4D_ChCol_Texture = “1”, ! add a shader to the channel
      C4D_ShImage_File_1 = “B_SARIMOV_51”

      Gergely Fehér
      Team Leader, Library Team
      GRAPHISOFT SE

      • #3352
        antoine JULLIEN
        Participant

        great !!!! many thank’s

        Tonio

      • #3395
        antoine JULLIEN
        Participant

        Hi, if now i want to rotate this image and put some reflection ?

        ok i found it for rotation : C4D_ChSize_angle = 90

        Tonio

    • #3453
      Szabadi Gergely
      Participant

      Hi!

      Is there any documentation/user manual about cinerender in GDL. I only found this (http://gdl.graphisoft.com/gdl_other_docs/surfaces) but it is only in draft version.

      Thx

      G. Szabadi

Viewing 2 reply threads
  • The forum ‘3D modelling’ is closed to new topics and replies.