Dear Anatomist experts,
I am modifying an existing label texture using Anatomist 4.5.0. The original value of the Texture is 100 for drawn parts and 0 elsewhere.
When opening and modifying the texture with SurPaint ( for example adding vertices with value 100) , I noticed that after saving the value registered is not exactly the same , i.e. 99.999999. I just rounded the values not to be blocked but I guess it can be annoying when extracting precise values.
Have a good day
Alex
Modifying texture with SurfPaint
- riviere
- Site Admin
- Posts: 1361
- Joined: Tue Jan 06, 2004 12:21 pm
- Location: CEA NeuroSpin, Saint Aubin, France
- Contact:
Re: Modifying texture with SurfPaint
Hi,
For 3D rendering reasons, textures are generally rescaled with values between 0 and 1. Scaling factors are kept, and transformed back to real values when the texture is saved or converted to other objects. But these operations may induce rounding issues, as they are float32 values. I don't remember if the surfpaint toolbox can work with int values textures or not - it could be a way to avoid this issue.
Denis
For 3D rendering reasons, textures are generally rescaled with values between 0 and 1. Scaling factors are kept, and transformed back to real values when the texture is saved or converted to other objects. But these operations may induce rounding issues, as they are float32 values. I don't remember if the surfpaint toolbox can work with int values textures or not - it could be a way to avoid this issue.
Denis
Re: Modifying texture with SurfPaint
Hello Denis,
thank for you answer
Have a good day
Alex
thank for you answer
Have a good day
Alex