-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
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
java.lang.RuntimeException: Only triangles supported #4
Comments
please help me |
Hello Haris and thanks for using smartGL. SmartGL handles only objects made of triangles, so you have to convert your object first. When it is converted you should be able to use it with smartGL. Arnaud. |
try this:
|
thanks i will try it
…On Thu, May 18, 2017 at 10:15 PM, dawjdh ***@***.***> wrote:
try this:
cat my.obj | sed -E -e "s/f ([0-9\/]+) ([0-9\/]+) ([0-9\/]+) ([0-9\/]+)/f \1 \2 \3`echo -e "\r"`f \1 \3 \4/g" > my_tri.obj
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#4 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AbcSbtmiOcEnD9FVz_2aaW9JVtLtDFijks5r7HWMgaJpZM4NezM5>
.
|
please provide detail for your solutions
…On Thu, May 18, 2017 at 10:15 PM, dawjdh ***@***.***> wrote:
try this:
cat my.obj | sed -E -e "s/f ([0-9\/]+) ([0-9\/]+) ([0-9\/]+) ([0-9\/]+)/f \1 \2 \3`echo -e "\r"`f \1 \3 \4/g" > my_tri.obj
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#4 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AbcSbtmiOcEnD9FVz_2aaW9JVtLtDFijks5r7HWMgaJpZM4NezM5>
.
|
You can solve by importing your model in Blender, then exporting it ticking the "Triangulate Faces" option. |
i have an error while add my obj file instead of bus.obj
The text was updated successfully, but these errors were encountered: