Skip to content

Data from models accessed in rendering stage #53

@hansfilipelo

Description

@hansfilipelo

On each model, in each render loop, we access these properties:

model->draw_me
model->mesh->diffuse_map->id
model->mesh->specular_map->id
model->mesh->normal_map->id
mesh->get_VAO()

We could probably increase our cache-hit-rate a lot by putting these properties in a struct and then the struct for each model i a vector. I'll work with this starting today - or is there anything else we should look at that's more critical?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions