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

Visualiser with FP64 x/y/z runtime error #1217

Open
ptheywood opened this issue Aug 12, 2024 · 1 comment
Open

Visualiser with FP64 x/y/z runtime error #1217

ptheywood opened this issue Aug 12, 2024 · 1 comment

Comments

@ptheywood
Copy link
Member

Using doubple precision (64 bit) floating point values for X/Y/Z (and presumably glm position) types results in an error at runtime in ModelVis.cpp.

Agent 'agent' has not had x, y or z variables set, agent requires location to render, in ModelVis::activate()

THROW exception::VisualisationException("Agent '%s' has not had x, y or z variables set, agent requires location to render, "

This might actually need a change in the vis repo, where core_text_buffers is set, but the error is thrown from ModelVis.cpp in this repo.

@Robadob
Copy link
Member

Robadob commented Aug 12, 2024

Yeah, will need implementing on the visualiser side. May need to do some type conversion, not too sure about double precision floats in shader texture buffers.

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