Membru Ucenic
Membru Ucenic
Mesaje: 45
Membru din: 10 Mai 2026, 14:20
  • Reacții: 75
  • Mesaje utile: 0
  • Status: Pierd vremea ^.^
  • Regat: Shinsoo
  • Medalii

    [C++] speedtree 4.1 x86 mt martysama v5.9. - Mesaj 1 - Imagine 1

    I first tried with DeepSpeek, Gemini, and Copilot in their free versions, but they only go so far. I couldn’t succeed with them.

    Then I tried with ChatGPT — I managed to get a render, but afterwards it asked for payment, so I couldn’t continue.

    Finally, I used Grok to generate the last edited version. I managed to build successfully, but again Grok asked for payment, so I couldn’t continue further.

    Because the source code is old (around 2010), it’s hard for AI APIs to find.

    I used the old SpeedTree 1.6 speedtreewrapper.cpp files together with the SpeedTree 4.1 sample .cpp files and headers. By feeding those into the AI, I could have succeeded.

    So basically, by looking at the .cpp and .h files from version 4.1 samples, I updated version 1.6 without breaking its code structure. That way, the issue was solved.

    Someone else had tried before too — I checked their project, but it was incomplete and didn’t render properly.


    https://www.mediafire.com/folder/r4mrkd ... edtree_4.1

    "The tree leaves move as if blown by the wind. You can adjust their speed from the code below in wrapper.cpp."
    // Gentle rustle time
    static float s_fLeafTime = 0.0f;
    s_fLeafTime += 0.002f;
    if (s_fLeafTime > 100000.0f)
    s_fLeafTime = 0.0f;



    Normally, at 1.6 you can go under the tree and see behind it, but that makes the tree lose its “forest” quality, so I didn’t use it.
    When it becomes transparent, it doesn’t feel like a real tree anymore.

    In the current state, the tree is not transparent.

    I’ve added the source — it’s compilable.


    "I don't use DevIL and JPEG; I use stb. If you're using JPEG or DevIL, there might be a JPEG incompatibility during the build."

    You don't need to send the .dll to the client.
    [img]/download/file.php?mode=view&id=10797[/img]

    Nou Cum descarc de pe TeraBox?

    Afișează detalii Ascunde detalii
    • Este asemănător cu Mega.nz
    • Instalați-vă clientul lor de Download de aici
    • Faceți-vă un cont (vă puteți loga cu Facebook / Google / etc)
    • Nou Dacă nu vreți să descărcați clientul de Download, folosiți acest site
    • Gata! Acum puteți descărca resursele rapid & simplu.

    De ce folosim TeraBox?

    • Este gratuit
    • Primești 1TB de spațiu gratuit la orice cont creat!
    • Este ușor de folosit și varianta premium este foarte ieftină
    • Fișierele nu sunt șterse niciodată
    TeraBox logo

    Creează-ți un cont sau autentifică-te pentru a participa la discuție

    Trebuie să fii membru pentru a răspunde

    Creează-ți un cont

    Membrii pot crea subiecte noi și pot descărca resurse Metin2 Gratuit!


    Te poți înregistra sau conecta rapid utilizând contul tău de Discord, Github sau Google.

    Înregistrare

    Autentifică-te

    Înapoi la “Sisteme Metin2”

    Informații

    Utilizatori ce navighează pe acest forum: Alex Maxinoiu, Ankira-Server, DarkBlade, Edip Can Demir, Francesco, PepsiZero, Sw1mP, The God și 5 vizitatori

    Discord ID copiat: