Displacement problems

Announcements, requests and support regarding SkIndigo - the Sketchup / Indigo exporter.
Post Reply
10 posts • Page 1 of 1
User avatar
Bosseye
Posts: 312
Joined: Fri Jan 01, 2010 10:52 pm
Location: Bristol, UK

Displacement problems

Post by Bosseye » Tue Sep 18, 2012 12:45 am

I seem to be having nothing but problems lately, and all on stuff I used to have no issue with! Grrrr.

Ok, so I'm trying to add a small displacement to a texture. Normally I would simply add the texture, tick the displacement checkbox in SKIndigo, set the map to texture, load the bump map of my choice to use, set a displacement value and render, job done.

But for some reason, when I follow the above, displacement is simply moving the texture up rather than displacing it in line with the chosen bump mapped texture.

I've never had any issues with this before, what the funk am I doing wrong now?

Thanks,
Displacement.JPG
DisplacementR.jpg[/attachment [attachment=0]DisplacementR1.jpg
Attachments
DisplacementR1.jpg
DisplacementR.jpg

User avatar
vasco
Posts: 120
Joined: Wed Jan 26, 2011 6:45 am
Location: Germany

Re: Displacement problems

Post by vasco » Tue Sep 18, 2012 1:38 am

Have you done any subdivision settings?
Intel Pentium 4, 512MB Ram, Nvidia Riva TNT2 Ultra


Instagram: gorilla_studio_coco

User avatar
bubs
2nd Place Winner
Posts: 620
Joined: Fri Jul 22, 2011 8:46 pm
Location: UK

Re: Displacement problems

Post by bubs » Tue Sep 18, 2012 1:38 am

Hey Bosseye, I'd the exact same problem. With me it was that subdivision was set to zero. This used to be within the material editor dialogue box within Skindigo, but is now controlled on a mesh by mesh basis, using the 'edit active mesh' dialogue box. (right click on a face and scroll down to Skindigo items).

Whaat covers this pretty well in his YouTube tutorial on displacement.

Hope this helps, it was wrecking my heads for days!

Bubs

User avatar
CTZn
Posts: 7240
Joined: Thu Nov 16, 2006 4:34 pm
Location: Paris, France

Re: Displacement problems

Post by CTZn » Tue Sep 18, 2012 1:42 am

This is also what would happen when the Offset value alone was to be changed. It is indeed to modify the overall elevation of the displacement wich is defined with the Gain. edit: just checked your settings, vasco and bubs probably came closer to your concern.

If not for albedo and coloured effects (like the absorbtion layer of the glossy and specular), the texture gamma should be 1.0 (for bump, disp, transparency, exponent etc). A different value would "stretch" the data; still, this is an option.
obsolete asset

User avatar
Pibuz
1st Place 100
Posts: 2646
Joined: Tue Dec 11, 2007 7:58 am
Location: Padua, Italy
3D Software: SketchUp

Re: Displacement problems

Post by Pibuz » Tue Sep 18, 2012 9:56 am

..I'd go with bubs tip: check your subdivision parameter for the mesh you want to displace!

User avatar
Bosseye
Posts: 312
Joined: Fri Jan 01, 2010 10:52 pm
Location: Bristol, UK

Re: Displacement problems

Post by Bosseye » Tue Sep 18, 2012 7:35 pm

bubs wrote:Hey Bosseye, I'd the exact same problem. With me it was that subdivision was set to zero. This used to be within the material editor dialogue box within Skindigo, but is now controlled on a mesh by mesh basis, using the 'edit active mesh' dialogue box. (right click on a face and scroll down to Skindigo items).

Whaat covers this pretty well in his YouTube tutorial on displacement.

Hope this helps, it was wrecking my heads for days!

Bubs
Winner thanks. Yeah, when I change subdivisions to 10 then it suddenly renders more like I was expecting.

I'm afraid I can't check Youtube from work (most of my rendering is on my work PC - I'll watch the video later at home) so can someone give me some brief indication as to what the subdivision is actually doing - theres no visual change on the face in Sketchup. Whats changed from previous SKIndigo versions, was subdivision of the face not required before, or was it just inherent? If so, why the change, does being able to manually adjust the subdivisions give more power over the behaviour of a texture?

Anyway, thanks all for your input.
DisplacementOK.jpg

User avatar
Pibuz
1st Place 100
Posts: 2646
Joined: Tue Dec 11, 2007 7:58 am
Location: Padua, Italy
3D Software: SketchUp

Re: Displacement problems

Post by Pibuz » Tue Sep 18, 2012 7:47 pm

The manual adjustment gives you the way to control the amount of RAM used. The higher the value, the higher the memory drainage. Sometimes you can stick to non-excessive values, so you can save some GB. 8) But in my experience this is rare.

User avatar
cotty
Posts: 314
Joined: Tue Aug 03, 2010 7:59 am
Location: Germany
Contact:

Re: Displacement problems

Post by cotty » Wed Sep 19, 2012 7:11 pm

Bosseye wrote: Winner thanks. Yeah, when I change subdivisions to 10 then it suddenly renders more like I was expecting.
10 is a high value for subdivision and not needed in most cases (and would freeze my laptop 8) )
Here is a little example of the influence of this parameter: http://www.indigorenderer.com/forum/vie ... 21#p114121

(The used 'random triangle colors' are described by Whaat some posts earlier there)
little gallery... http://unverzagt.biz/cottysgallery/

User avatar
Bosseye
Posts: 312
Joined: Fri Jan 01, 2010 10:52 pm
Location: Bristol, UK

Re: Displacement problems

Post by Bosseye » Wed Sep 19, 2012 8:34 pm

That's interesting, thanks Cotty. I can see that 10 is a huge value now, especially on more complex geometry! Not quite so bad on my flat plane perhaps.

User avatar
CTZn
Posts: 7240
Joined: Thu Nov 16, 2006 4:34 pm
Location: Paris, France

Re: Displacement problems

Post by CTZn » Thu Sep 20, 2012 1:02 am

One subdivision level higher will double the polycount.

I estimate my needs based on a small face of the object: I split it's width in two mentally and count one level. Adding another level would mean to create a face as small as the half of this half etc.

Learning to harness view-dependent subdivisions is a must for detailed objects. I see that it is on by default in SkIndigo.
obsolete asset

Post Reply
10 posts • Page 1 of 1

Who is online

Users browsing this forum: No registered users and 19 guests