Image_​​fill on section/elevation

Home Forums Problems and solutions in GDL Others Image_​fill on section/elevation

This topic contains 0 replies, has 1 voice, and was last updated by  Szabadi Gergely 1 month, 1 week ago.

  • Author
    Posts
  • #4007

    Szabadi Gergely
    Participant

    I created a scripted image fill and a material which uses this image fill. I created an object which uses this material, where I defined the origo of the material.
    The problem is, that in 3D the surface is using the defined origo, but in Section/Elevation the image fill uses the global origo.
    Anyone has idea how to fix it? Thx!

    master_gdl_fill

    
    define image_fill "f_test" "test_pict",
    1, 1, 1, 1, 1, 1, 1, 1,
    1, 1, 0, 0

    master_gdl_material

    
    define texture "m_test" "test_pict",  1, 1, 0, 0
    define material "m_test" 20,
    1, 1, 1,
    0.58, 0.85, 0.2, 0,
    50,
    0,
    0.878401, 0.513481, 0.412253,
    0, 0, 0,
    0,
    ind(fill, "f_test"), 0,
    ind(texture, "m_test")

    object

    
    material m_test
    
    BASE
    BLOCK 1, 1, 1
    
    vert 0, 0, 0
    vert 1, 0, 0
    vert 0, 1, 0
    vert 0, 0, 1
    coor 2 + 256, -1, -2, -3, -4 

    G. Szabadi

You must be logged in to reply to this topic.