SOLVED Why does this happen?

Discussion in 'Track Modding' started by Brutten, Apr 4, 2023.

  1. Brutten

    Brutten Registered

    Joined:
    Jun 21, 2017
    Messages:
    362
    Likes Received:
    365
    Greetings.

    I have an animated object (a canvas) that disappears depending on the point of view.
    I have tried everything I could think of and I can't find the solution.
    Any charitable soul who can guide me?

    (SCN)
    Instance=Telon_00.gmt
    {
    MeshFile=telon_00.gmt CollTarget=False HATTarget=False ShadowCaster=(Solid) LODIn=(0.0) LODOut=(500) Reflect=True
    AnimFile=ANNIBANNER_MILD.ANM AutoStart=(0)
    }


    (VIDEO and images)
    http://lithos.dynu.com/Fallo.mp4

    upload_2023-4-4_16-10-10.png
    upload_2023-4-4_16-10-24.png
    Thank you advanced
     
  2. Corti

    Corti Registered

    Joined:
    Sep 29, 2014
    Messages:
    1,363
    Likes Received:
    2,530
    Instance=Telon_00.gmt
    {
    VisGroup=(33)
    MeshFile=telon_00.gmt CollTarget=False HATTarget=False ShadowCaster=(Static, Solid) ShadowGroups=(12)
    AnimFile=ANNIBANNER_MILD.ANM AutoStart=(1) PlaybackRate=(0.65)
    }
     
  3. Brutten

    Brutten Registered

    Joined:
    Jun 21, 2017
    Messages:
    362
    Likes Received:
    365
    Thanks @Corti , I have tried it and it still does not work.

    In the absence of confirming it the problem is in the animation.

    ◙ With the animation, if the viewing angle is correct, the animation runs correctly, but if you change the viewpoint the object disappears.
    ◙ Without the animation the object is displayed correctly in all viewpoints.

    It is a pity not to be able to use this object as it brings dynamism and realism to the tracks.
    If someone who knows 3dmax could fix the animation I would be eternally grateful.
    In case it happens I share the object, the texture, and the animation:
    https://mega.nz/file/iExFWLLJ#0Ymi2Kl5eo-4USTd_KN7rF-ywCdPpRuwmv8f61f9HvM

    Also I don't understand VisGroup=(33), is it A+F?
     A: Removed from High detail and lower (1)
     B: Removed from Medium detail and lower (2)
     C: Removed from Low detail (4)
     F: Removed from RearView mirror (32)
     G: Removed from Practice (64)
     H: Removed from Qualifying (128)
     I: Removed from Race (256)
    Numbers are added up in the SCN Ins
     
    Corti likes this.
  4. Manfredk2

    Manfredk2 Guest

    yes
     
  5. Brutten

    Brutten Registered

    Joined:
    Jun 21, 2017
    Messages:
    362
    Likes Received:
    365
    Thank you @Manfredk2

    I still don't understand, if what I want is to be seen what is the point of removing the object in high and low detail (1) and removing it in the mirror (32)?
     
  6. Corti

    Corti Registered

    Joined:
    Sep 29, 2014
    Messages:
    1,363
    Likes Received:
    2,530
    It is usually used in flags :rolleyes:
     
  7. Brutten

    Brutten Registered

    Joined:
    Jun 21, 2017
    Messages:
    362
    Likes Received:
    365
    Haha, nice try, but....

    I'm convinced that the problem must be in the animation.
     
  8. Coutie

    Coutie Moderator Staff Member

    Joined:
    Oct 5, 2010
    Messages:
    3,782
    Likes Received:
    2,243
    Where is the pivot point of the object?
     
  9. Brutten

    Brutten Registered

    Joined:
    Jun 21, 2017
    Messages:
    362
    Likes Received:
    365
  10. Brutten

    Brutten Registered

    Joined:
    Jun 21, 2017
    Messages:
    362
    Likes Received:
    365
    Thanks @Coutie but...
    I have tried putting the pivot point in the center of the scene and the result is still the same.

    upload_2023-4-4_20-49-5.png
     
  11. DJCruicky

    DJCruicky Registered

    Joined:
    Jan 25, 2012
    Messages:
    1,595
    Likes Received:
    1,155
    I tried your source files. But, I too did not get it working. Pivot point is fine.

    Looks great but, I hope you find a fix.

     
    Corti likes this.
  12. Brutten

    Brutten Registered

    Joined:
    Jun 21, 2017
    Messages:
    362
    Likes Received:
    365
    Thanks @DJCruicky for the test.

    It's funny, if you try to remove the animation the object is displayed correctly.
    I don't understand why it happens.
     
  13. Manfredk2

    Manfredk2 Guest

  14. Brutten

    Brutten Registered

    Joined:
    Jun 21, 2017
    Messages:
    362
    Likes Received:
    365
    Right, visgroup and shadowsgroup help to hide objects in certain circumstances, so it improves performance by not having to render all objects.

    In this case we are talking about the object disappearing (for some dark reason) depending on where you are looking at it from.
     
  15. senormen

    senormen Registered

    Joined:
    Apr 20, 2015
    Messages:
    217
    Likes Received:
    869
    @Brutten had a look at your files . . . I recognise the banner mesh from when I 'borrowed' same one for a track . . .
    after adding your files to an existing track got same result as you . . .
    compared your banner mesh to the one I have and it is twice the size in kb's . . .
    swapped out your banner mesh with one I have and it works fine . . .
    can only think that 2 mesh files have been combined for the one you have and it has got messed up . . .
    suggest grabbing the original and using that . . .
     
  16. Brutten

    Brutten Registered

    Joined:
    Jun 21, 2017
    Messages:
    362
    Likes Received:
    365
    @senormen
    thanks for your comment.
    It is an object passed on to me by a colleague a long time ago and I have no other version.
    The truth is that it never worked and I wanted to make it work. It must be wrong from the beginning.
     
  17. Brutten

    Brutten Registered

    Joined:
    Jun 21, 2017
    Messages:
    362
    Likes Received:
    365
    @senormen
    I looked out of curiosity at the object data and it doesn't seem to have anything strange.
    Is the object you have the same as the one I shared?
    Is your animation the same?

    upload_2023-4-4_22-23-39.png
     
  18. senormen

    senormen Registered

    Joined:
    Apr 20, 2015
    Messages:
    217
    Likes Received:
    869
  19. Brutten

    Brutten Registered

    Joined:
    Jun 21, 2017
    Messages:
    362
    Likes Received:
    365
    @senormen
    Indeed you were right, between one object and the other there is a difference of 350 points.
    It's not a problem of parameters, shaders, etc.

    Eternal thanks for providing help and for the right object, I think @DJCruicky is going to use this object as much as me.

    Case closed.

    upload_2023-4-4_23-30-11.png upload_2023-4-4_23-30-18.png
     
    DJCruicky and senormen like this.

Share This Page