OS: Windows 10 and 11
Browser: Chrome and firefox
Ver: Babylon.js v7.19.1
Desc: the color on top of the box missing
Url: https://sandbox.babylonjs.com/
Actual:
Expected:
The model attached here:
obj.zip (752 Bytes)
OS: Windows 10 and 11
Browser: Chrome and firefox
Ver: Babylon.js v7.19.1
Desc: the color on top of the box missing
Url: https://sandbox.babylonjs.com/
Actual:
The model attached here:
obj.zip (752 Bytes)
It is because you have inline comments in the obj which I am not sure are supported in obj, only line comments are FWIR. @bghgary might know better ?
I don’t see anything in the spec that prohibits inline comments, but it also doesn’t explicit say it’s supported.
Comments
Comments can appear anywhere in an .obj file. They are used to annotate
the file; they are not processed.Here is an example:
# this is a comment
The Model program automatically inserts comments when it creates .obj
files. For example, it reports the number of geometric vertices,
texture vertices, and vertex normals in a file.# 4 vertices # 4 texture vertices # 4 normals
It shouldn’t be hard to support?
clearly not
I’ll do it today