Giter Site home page Giter Site logo

Comments (4)

kaadmy avatar kaadmy commented on May 27, 2024

I'm still not sure about the player model animation, it's been buggy since 0.4.14, and minetest_game's player model still looks good for some reason.

from pixture.

Wuzzy2 avatar Wuzzy2 commented on May 27, 2024

I just discovered that Pixture spams the console with this:

2016-11-14 01:06:35: WARNING[Main]: Irrlicht: Could not open file of texture: character.png
2016-11-14 01:06:35: WARNING[Main]: Irrlicht: Could not open file of texture: character.png
2016-11-14 01:06:35: WARNING[Main]: Irrlicht: Could not open file of texture: character.png
2016-11-14 01:06:35: WARNING[Main]: Irrlicht: Could not open file of texture: character.png
2016-11-14 01:06:35: WARNING[Main]: Irrlicht: Could not open file of texture: character.png

Repeated endlessly. Note the time. Ironically, it is not the player texture which causes problems, this looks just fine.

In the inventory menu, the spam changes to this:

Could not open file of texture: character.png
Loaded mesh: character.b3d
Could not open file of texture: character.png
Loaded mesh: character.b3d

Again, repeated forever. Could it be that your code attempts to load or set the player model mesh again and again every tick? This looks like some code is going crazy here, being repeated so often.

Tested in: 7f6b732

Maybe it helps if you strip all player model logic from default. I have released a standalone mod playermodel which only provides the player model; it is simply the player model extracted from default. I did this to make life of subgame authors easier.

from pixture.

kaadmy avatar kaadmy commented on May 27, 2024

I think this is an issue with Irrlicht/Minetest where it tries to load the image in textures/ AND models/, because this issue is fixed by moving the texture into models.

from pixture.

asl97 avatar asl97 commented on May 27, 2024

@Wuzzy2 The spam is an issue with Irrlicht, I created a pull request for that at #36

The issue with the animation seem to be because the set_nametag_attributes reset the animation.
I created another pull request for that at #37

from pixture.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.