We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
when converting from .obj to .dat vertex data will in some cases be formatted as [float][space][float][space][float]:
oolite-mesh-converters/Obj2DatTexNorm.py
Line 177 in d5156dc
But the Dat2ObjTex converter assumes that the vertices are separated by commas:
oolite-mesh-converters/Dat2ObjTex.py
Line 79 in d5156dc
Also, it assumes that all float values that describe a face are separated by commas:
Line 89 in d5156dc
It seems to make more sense to have code like this instead:
# ... elif (mode == 'FACES'): tokens = string.split(line, '\t') # split line by tabs if (len(tokens) > 3) : color_data = string.split(tokens[0], ' ') normal_data = string.split(tokens[1], ' ') n_points = tokens[2] point_data = string.split(tokens[3], ' ') # ...
The text was updated successfully, but these errors were encountered:
No branches or pull requests
when converting from .obj to .dat vertex data will in some cases be formatted as [float][space][float][space][float]:
oolite-mesh-converters/Obj2DatTexNorm.py
Line 177 in d5156dc
But the Dat2ObjTex converter assumes that the vertices are separated by commas:
oolite-mesh-converters/Dat2ObjTex.py
Line 79 in d5156dc
Also, it assumes that all float values that describe a face are separated by commas:
oolite-mesh-converters/Dat2ObjTex.py
Line 89 in d5156dc
It seems to make more sense to have code like this instead:
The text was updated successfully, but these errors were encountered: