Menu

3D rendering on Linux v. Windows

Lazarus
2019-05-06
2019-05-13
  • gustavo tolson

    gustavo tolson - 2019-05-06

    Dear gurus of the GLScene, Lazarus and Code Typhon,
    First ly, let me thank you for the production of a great toolkit for 3d rendering. It is awesome and I've used it successfully in various projects for teaching stress, strain and spherical projections.
    However, I am having trouble. Under Typhon 5.3 I have developed a GLMesh object to display and play around with in GLScene but the rendering is a wee bit off. If I compile the very same code with Typhon 5.3 under Windows 8.1 the rendering is fine, as you can see from the following screen shots. the same problem arises in lazarus 2.0.2. Rendering of example files exhibit the same problem.
    It appears that depth checking is off in Linux but I dont't know how to address the issue. I am willing to give it a go if steered to the appropriate unit where this rendering is carried out.
    The Linux shot

    the Windows shot

    another Linux shot with an example from the package

    And lastly the same example rendered on Windows

    I have played around with things like the order of objects in the scene hierarchy and so on, to no avail.
    I would be most grateful for any help on this matter.
    Best regards and thanks in advance for your help,
    Gustavo.

     

    Last edit: gustavo tolson 2019-05-06
  • Jerome.D (BeanzMaster)

    Hi Gustavo i'll check soon as possible when i'll have little more time
    BTW for information GLScene's code in Code Typhon is based on the Delphi branch and not sync with the Lazarus Branch.
    I'll check the OpenGL calls, Surely a bad paramter type

    Your application seems cool Do you plane to provide the source code ?, it will be added in Examples branch ;) And Pavel could do a Delphi version.

    Thanks and best regards
    See you soon

     
  • gustavo tolson

    gustavo tolson - 2019-05-13

    Hi Jerome,
    many thanks for your prompt reply.
    I will share my code gladly, which I normally do.
    The application is designed to study the morphology of ammonites (extinct molluscs simmilar to squid but with an outer, spiral shell). The ammonites are sometimes found in a defromed state and the application performs linear transformations to reach the undeformed state.
    I worked originally in Delphi but subsequently moved to Linux. I realize that Code Typhon is a different kettle of fish but at least I was able to get things going, which I had not been able to do in Lazarus with GLLScene. I am now trying Lazarus again, since I could not get help on this problem in Code Typhon fork
    Hope to hear from you soon re the depth checking in Linux.
    Thanks again,
    Gustavo

     

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.