Menu

Terrainrenderer

Help
Daniel
2019-12-26
2020-01-30
  • Daniel

    Daniel - 2019-12-26

    Hey!
    When I run the meshes/terrain demo, something seems weird after some update.
    The infinte terrain does not line up, the texture seems scaled in some weird way?
    I am using Lazarus.

    Anyone else seeing this?

    Cheers!

     
  • Jerome.D (BeanzMaster)

    Hi happy new year to all
    Daniel have you some screenshots ? After how many updates ?

     
  • Daniel

    Daniel - 2020-01-10

    Hi Jerome!
    Happy new year!

    Sure! Here is a photo from Lazarus 2.0 with GlScene r7125, and a photo from Delphi with the old GlScene 1.0.
    I do not understand why they are so different.
    And in another project the terrain got deformed when I went from Delphi 6 to Lazarus.

    Cheers!

     

    Last edit: Daniel 2020-01-10
  • Daniel

    Daniel - 2020-01-28

    Hi Jerome!
    Do you see the same thing as me, or is something wrong on my end?

    Cheers!

     
  • Jerome.D (BeanzMaster)

    Hi Daniel, sorry for answer now, i've not many time. Just change in the both material the Mag and MinFilter to linear and linear or linearmipmaplinear. You can also adjust quality by increase CLODPrecision and QualityDistance properties in the TGLTerrainRenderer

    Cheers

    Jérôme

     
  • Daniel

    Daniel - 2020-01-29

    Hi Jerome!
    No problem! I understand that you are busy!
    That indeed helped with the quality, but the terrain is still misaligned and does not repeat correctly.
    It looks like you have the same problem in your screenshot.
    Maybe the picture gets scaled wrongly to x or y direction?

    Cheers!

     
  • Jerome.D (BeanzMaster)

    Hum difficult to see where the problem, code are same.
    Can you see this problem in another sample ?
    i suspect the TBitmap but, if it's the case the problem must be occur in other samples too, so.....???????

    Can anyone test with the current code under Delphi RIO ?

     
  • Daniel

    Daniel - 2020-01-29

    Demos with fractallandscape and other types of HDS serms ok.

    The problem seems to be when using bitmapHDS.

     
  • Jerome.D (BeanzMaster)

    Thanks Daniel I'll take a look

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.