0
votes

I'm trying to export a model using the Three.js import export for blender and everything is working fine when I used the WebGLRenderer, but if I use CnavasRenderer (what I need for crossbrowsing support) I get a model but with a weird behavior (if I export a model with more than 2 geometries touching each other) with blinking and distorded normals from my mesh. I doesnt matter if I have tested joining the model before exporting into a single mesh and is the same, its like if there are 2 different geometries touching each other this happens)

I link a image from the model as an example! http://i.stack.imgur.com/ATjLH.png

Someone have some tip to export this from blender to use with CanvasRenderer? I will appreciate any help :)

Thank you!!

1
1. Can you show a live link to demonstrate the problem? 2. Why do you believe the normals are "distorted"?WestLangley
Hi. Yes I post a link to a video with the behaviour.elverde
I thought the same, but I was not sure, I thought that maybe I did something wrong exporting the model from Blender, but I have tried every possibility with the same result...I'll report it and I'll comment with the answer in case I get something...elverde
@elverde 1. Can you show a live link to demonstrate the problem (not a video)? 2. Why do you believe the normals are "distorted"?WestLangley
@WestLangley You can check it here Answering your question 2, I dont know how to explain it, check it out the link and you could judge by yourself :)elverde

1 Answers

0
votes

After struggling a bit I found this alternative, I hope it helps if someone have the same problem.

To me, the solution was to use the ThreeCSG library to make substractions, unions, etc. I think that doesn't work for most cases because is a little bit messy to do that with a complex model, but it's ok in my case.

I leave you an image with the result, and the render using CanvasRenderer it works perfectly

Thank you!