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

Request: object instance movement example #5

Open
dualisme opened this issue Apr 8, 2024 · 0 comments
Open

Request: object instance movement example #5

dualisme opened this issue Apr 8, 2024 · 0 comments

Comments

@dualisme
Copy link

dualisme commented Apr 8, 2024

Hi
Got your primes_3d.zip from internet (based on this Engine).
Nice structured engine by the way.

For more than a view day's I am trying to get individual instanced objects to move in the code (not in de instancing.vert
(the 'whole' intanced object at once is no problem).

Do you have an example on how to do that.
I got to the part in scene.py, I update the positions in self.offset_buffer every frame bij making a def update (self) in scene.py in class InstancingMap and calling this run-loop in main.py

I cannot get it to update in the graphics card. The instanced Cubes remain frozen...what ever i try
I looked at your other software and also at ModernGl examples but they do it in an otherway.

I would really appreciate it if you can give me an example so i can move on with my project.

Thanx, Paul

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

1 participant