Jump to content


Q: Fixing Displacement Bound


  • Please log in to reply
4 replies to this topic

#1 Eitht

Eitht

    Peon

  • Members
  • Pip
  • 34 posts
  • Joined: 21-April 10
  • Location:Singapore
  • Name:Jia Bao Zhang

Posted 18 July 2011 - 03:57 PM

Morning guys,

I'm working on a project which requires me to build a molten shader, but it's displacement bound isn't going away despite installing displacement bound parameter.

It only appears at an angle then goes away when the camera looks at it head on, it kinda make sense since they are being pulled along Y-axis but i could be wrong.
Checked the normals on the grids, they are perfectly fine & i switched "UVProject SOP" from Point to Vertice - it appears that's not the problem.
Finally tried increasing Displacement Bound much higher than Scale, no good either.

A render to help visualize the problem,

View on Vimeo.


Attached my hip file, anybody kind enough to take a peek at it? ><
Cheers!

eitht.

Attached Thumbnails

  • 00_molten.png
  • 01_molten.png
  • 02_molten.png

Attached Files



#2 symek

symek

    Grand Master

  • Members
  • PipPipPipPipPip
  • 1,536 posts
  • Joined: 02-November 04
  • Location:Waw/Pol
  • Name:Szymon Kapeniak

Posted 19 July 2011 - 02:55 AM

You actually applied displacement bounds render parameter also on the object (along with many other spare properties I assume). This one is linked to an old material and evaluates to 0. Object level properties overwrite shader properties (which is strange as I though it works oppositely, but apparently not).

hope this helps,
cheers,
skk.
(...) It was late, late in the evening, the lovers they were gone;
The clocks had ceased their chiming, and the deep river ran on.

#3 Eitht

Eitht

    Peon

  • Members
  • Pip
  • 34 posts
  • Joined: 21-April 10
  • Location:Singapore
  • Name:Jia Bao Zhang

Posted 19 July 2011 - 09:44 AM

View PostSYmek, on 19 July 2011 - 02:55 AM, said:

You actually applied displacement bounds render parameter also on the object (along with many other spare properties I assume). This one is linked to an old material and evaluates to 0. Object level properties overwrite shader properties (which is strange as I though it works oppositely, but apparently not).

hope this helps,
cheers,
skk.

Ahhh SYmek, you're absolutely right! Now i am remembering being told about this object level versus shader level thingy in the past & i completely forgotten there's displacement bound installed on object level, kept searching for the problem in SHOP. Hate myself...

Thanks thanks! :D

eitht.

Edited by Eitht, 19 July 2011 - 09:46 AM.


#4 anim

anim

    Houdini Master

  • Members
  • PipPipPipPip
  • 921 posts
  • Joined: 23-August 07
  • Location:Slovakia, Bratislava
  • Name:Tomas Slancik

Posted 19 July 2011 - 10:31 AM

View PostSYmek, on 19 July 2011 - 02:55 AM, said:

... Object level properties overwrite shader properties (which is strange as I though it works oppositely, but apparently not)...

strange, I thought the same since in docs there is written:

Quote

You can properties at any of several levels, and properties at more specific levels override properties at more general levels.
The inheritance order is:
Renderer defaults – if you don’t specify a property, the renderer uses its built-in (or configured) default value.
Output driver
Camera
Objects
Primitives

Shader level isn't specified there but it seems that SHOP Properties are above Object Properties, good to know
it makes sense since object is more specific than shader (which can belong to more objects)
but if that shader was directly on object's primitives, shader's properties would be preferred then
Tomas Slancik
Generalist
Slovakia

#5 Eitht

Eitht

    Peon

  • Members
  • Pip
  • 34 posts
  • Joined: 21-April 10
  • Location:Singapore
  • Name:Jia Bao Zhang

Posted 19 July 2011 - 11:45 AM

Ah ha! Tomas was the culprit, hahaha.
Now we know, cheers.

eitht.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users