Page 1 of 1

Displacement Issues

Posted: Sun Dec 16, 2012 5:23 pm
by shiduo
Whenever I try using displacement in 3D objects these gaps between the faces appear. Using 8 subdivisions and a displacement of 0.005m. Any ideas what is causing this issue? Thanks for the help, I'm new to Indigo and to the Forum, and my apologies for any english error.

Re: Displacement Issues

Posted: Mon Dec 17, 2012 1:43 am
by CTZn
Edges marked as hard will no be sewed during displacement. You must set all edges smooth for that.

Then after you could use the "C" parameter of the displacement texture with a negative value to push back the displaced faces while preserving details. It may be labeled "Offset" depending on the exporter you are using.

Welcome to Indigo !

Re: Displacement Issues

Posted: Mon Dec 17, 2012 5:06 am
by galinette
Yes, non-smoothed vertices are exported as different vertices for each face, even if they have the same position. So when displaced along the normal, they will displaced independently, leading to this

Re: Displacement Issues

Posted: Mon Dec 17, 2012 9:17 am
by CADMonkey
Hey there.

Are you using Sketchup ?
If so take a look at this vid. I think it's made by one of the developers. It helped me lots!

http://www.youtube.com/watch?v=GCbMX2Udw7Y


There is actually a bunch of tutorials.... All of them are valuable information.

Re: Displacement Issues

Posted: Mon Dec 17, 2012 10:05 am
by shiduo
Thank you very much guys! Yes I'm using skindigo and all the tips you guys gave me were very useful!

Re: Displacement Issues

Posted: Mon Dec 17, 2012 1:20 pm
by shiduo
Ok,so I solved the problem with the borders/edges. But another issue appeared.I already checked if all planes got the same texture position and I have already smoothed them (and normals),but there is this another little bug.Any ideas what may be causing this?

Re: Displacement Issues

Posted: Mon Dec 17, 2012 4:31 pm
by CADMonkey
Glad to help.

With regard to the new issue.. It's beyond my knowledge of skindigo at the moment. However. My tip is to only use displacement when you have to. It eats memory. Could you get away with bump for that wall?

Re: Displacement Issues

Posted: Mon Dec 17, 2012 6:35 pm
by CTZn
shiduo wrote:Ok,so I solved the problem with the borders/edges. But another issue appeared.I already checked if all planes got the same texture position and I have already smoothed them (and normals),but there is this another little bug.Any ideas what may be causing this?
It looks like to me that there could be some geometric overlapping happening. Could the wall be folded back over itself (facing backwards) in that region ?

Also check the construcion lines out, Indigo doesn't like thin triangles when it comes to bump or displacement. This behavior was improved but it's worth digging your case. A workaround is to redraw construction lines if I'm making sense, being no SU user.

Re: Displacement Issues

Posted: Mon Dec 17, 2012 7:04 pm
by CTZn
Also the diffuse material has an option called "Random Triangles Color", in the Indigo GUI if not from the exporter.

It is usefull to check on triangles.

Re: Displacement Issues

Posted: Mon Dec 17, 2012 7:59 pm
by cotty
CTZn wrote:Also check the construcion lines out, Indigo doesn't like thin triangles when it comes to bump or displacement. This behavior was improved but it's worth digging your case. A workaround is to redraw construction lines if I'm making sense, being no SU user.
Yes. You can force a better subdivision mesh with some extra lines in SketchUp...

Re: Displacement Issues

Posted: Mon Dec 17, 2012 8:34 pm
by CTZn
Thanks Cotty, it's a nice illustration.

You might want to submit the image to Whaat for documentation concerns. Assuming that the issue was not documented already.

PS: I'm amazed on how SU is not accounting the added vertices to the wall wich is back to the light, keeping it with 4 vertices.

Re: Displacement Issues

Posted: Tue Dec 18, 2012 2:15 pm
by shiduo
cotty wrote:
CTZn wrote:Also check the construcion lines out, Indigo doesn't like thin triangles when it comes to bump or displacement. This behavior was improved but it's worth digging your case. A workaround is to redraw construction lines if I'm making sense, being no SU user.
Yes. You can force a better subdivision mesh with some extra lines in SketchUp...

I tried what you told and it solved my problem! I really appreciate all the help you've given me