There is mandatory lossy compression of coordinates.
You may trigger some threshold and higher compression kicks in.
Or just some outlier points.
Manipulating lineset compression parameters may get you larger files, but lower distortion.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Would you mind providing a sample of your code where you instantiate a line set?
As other users, I failed at implementing line sets as there is no readable sample of its usage. Specifically, I do wonder if one as to implement a shader for a line set...
Thanks in advance.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I worked only at IDTF level and had the Adobe 3D viewer as my target.
IMHO that 3D viewer, found in Adobe Reader/Acrobat or Right Hemisphere Deep Exploration, does not allow doing anything fancy with line sets (no per-vertex color, for example), so I never tried to test its abilities.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello.
I wanted to convert a model file which includes a lineset with about 60000 positions.
So I create a lineset with 60000 positions using IFXAuthorLineSet, somehow it has some kind of distortion.
is there any limitations on positions?
There is mandatory lossy compression of coordinates.
You may trigger some threshold and higher compression kicks in.
Or just some outlier points.
Manipulating lineset compression parameters may get you larger files, but lower distortion.
I know there is IFXAuthorGeomCompiler for authorCLOD mesh.
It allows compression option by control the attribute value.
Is there any way to control compression of IFXAuthorLineSet?
I also found that I can control setQualityFactor in LinesetResource.
so I did:
pLinesetResource->SetQualityFactorX(IFX_MAXIMUM_QUALITY_FACTOR);
but distortion still came..
is there any way to turn the compression off?
Would you mind providing a sample of your code where you instantiate a line set?
As other users, I failed at implementing line sets as there is no readable sample of its usage. Specifically, I do wonder if one as to implement a shader for a line set...
Thanks in advance.
I worked only at IDTF level and had the Adobe 3D viewer as my target.
IMHO that 3D viewer, found in Adobe Reader/Acrobat or Right Hemisphere Deep Exploration, does not allow doing anything fancy with line sets (no per-vertex color, for example), so I never tried to test its abilities.