Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Actor glft light/texture issue #568

Open
volodyaleo opened this issue Aug 17, 2023 · 1 comment
Open

Actor glft light/texture issue #568

volodyaleo opened this issue Aug 17, 2023 · 1 comment

Comments

@volodyaleo
Copy link

volodyaleo commented Aug 17, 2023

I have read faq and added Actor.

But models are black. The model can be found here.

        self.actor = Actor(model)
        self.actor.reparent_to(self)
        self.actor.setScale((scale * (1 / model_width), scale * (1 / model_height), scale * (1 / model_width)))
        if model_rotation_correction:
            self.actor.setH(model_rotation_correction)
        if model_y:
            self.actor.setPos(0, model_y, 0)

Can someone help me? What the reason might be?

Снимок экрана от 2023-08-18 00-06-31

@imbomania
Copy link

imbomania commented Sep 25, 2023

You're lucky, at least gltf works. When i tried to use gltf, all i've got is a path error, no matter how i exported and place model :D

For Actor it's better to use .egg format of models, works 100%.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants