Skip to content

[Visual] VisualModelImpl: add data to optionally generate uv coords#6137

Open
fredroy wants to merge 1 commit into
sofa-framework:masterfrom
fredroy:visualmodel_avoid_uvcompute
Open

[Visual] VisualModelImpl: add data to optionally generate uv coords#6137
fredroy wants to merge 1 commit into
sofa-framework:masterfrom
fredroy:visualmodel_avoid_uvcompute

Conversation

@fredroy
Copy link
Copy Markdown
Contributor

@fredroy fredroy commented Jun 2, 2026

... using UV spherical projection.

This was done automatically if there was no texcoords previously (most certainly from a mesh).
But more often than not, the texcoords are not used so this is wasteful.

same as the previous PR, this is "functionally" breaking because it changes an implicit behavior to an explicit one (with an opposite default value), but I dont want to nag with message like "it was generating texcoords before, if you want to to do it set the data blabalbla"

[with-all-tests]


By submitting this pull request, I acknowledge that
I have read, understand, and agree SOFA Developer Certificate of Origin (DCO).


Reviewers will merge this pull-request only if

  • it builds with SUCCESS for all platforms on the CI.
  • it does not generate new warnings.
  • it does not generate new unit test failures.
  • it does not generate new scene test failures.
  • it does not break API compatibility.
  • it is more than 1 week old (or has fast-merge label).

@fredroy fredroy added pr: status to review To notify reviewers to review this pull-request pr: clean Cleaning the code labels Jun 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: clean Cleaning the code pr: status to review To notify reviewers to review this pull-request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants