Displacement
This page provides information about the Displacement in V-Ray for SketchUp.
Overview
Displacement mapping is a technique for adding detail to your scene geometry without having to model it first. The concept is very similar to bump mapping. However, bump mapping is a shading effect that only changes the appearance of a surface, while displacement mapping actually modifies the surface.
UI path
||Asset Editor|| > Geometries (right-click) > Displacement
||Asset Editor|| > Create Asset > Geometries > Displacement
||Extensions|| > V-Ray menu > V-Ray Objects > Add Displacement to Selection
||V-Ray Objects Toolbar|| > Add Displacement to Selection
Parameters
Enabled – Turns on/off displacement.
Mode/Map – Specifies the mode in which the displacement is rendered:
Normal Displacement – Takes the original surface geometry and subdivides its triangles into smaller sub-triangles which are then displaced.
2D Displacement – Bases the displacement on a texture map that is known in advance. The displaced surface is rendered as a warped height-field based on that texture map. The actual raytracing of the displaced surface is done in texture space, and the result is mapped back into 3D space. The advantage of this method is that it preserves all the details in the displacement map. However, it requires that the object has valid UV coordinates. You cannot use this method for 3D procedural textures or other textures that use object or world coordinates.
Amount – Specifies the amount of displacement. A value of 0.0 means the object appears unchanged. Higher values produce a greater displacement effect. This value can also be negative, in which case the displacement pushes geometry inside the object.
Shift – Specifies a constant which will be added to the displacement map values, effectively shifting the displaced surface up and down along the normals. This value can be either positive or negative. See the Shift example below.
Keep Continuity – When enabled, V-Ray tries to produce a connected surface. Use it when you get splits (usually around sharp edges) in the displaced geometry. See the Keep Continuity example below.
View Dependent – When enabled, the Edge Length parameter determines the maximum length of a sub-triangle edge, in pixels. A value of 1.0, for example, means that the longest edge of the resulting mesh will be about 1 pixel long (when projected on the screen). When disabled, the Edge Length value is the maximum sub-triangle edge length in world units.
Edge Length – Determines the quality of the displacement. The behavior of this parameter depends on the View Dependent parameter above. Note that each triangle of the original mesh is divided into sub-triangles. More sub-triangles mean more detail in the displacement, slower rendering times and more RAM usage. Less sub-triangles mean less detail, faster rendering and less RAM. See the Edge Length example below.
Max Subdivs – Controls the maximum number of sub-triangles generated for every triangle of the original mesh. The maximum number of sub-triangles can be calculated by squaring this value. For example, a value of 256 means that at most 256 x 256 = 65536 sub-triangles will be generated for any given original triangle. It is not a good idea to increase this value much higher than 256. If that’s required, it will be better to tessellate the original mesh.
Resolution – Determines the resolution of the displacement texture used by V-Ray. If the texture map is a bitmap, it would be best to match this resolution to the size of the bitmap. For procedural 2d maps, the resolution is determined by the desired quality and detail in the displacement. Note that V-Ray will also automatically generate a normal map based on the displacement map, to compensate for details not captured by the actual displaced surface.
Water Level – Turns on/off water level.
Level Height – Specifies a value below which the geometry will be clipped. See the Height Level example below.
Источник
Проблема с Displacement
Добрый день! Почему может не работать Displacement? Даже в слоте материала не работает. С этой же текстурой Bump работает, а Dsplcmnt нет. Текстура в оттенках серого.
Спасибо, галочка включена. Вообще фигня какая-то даже в новой пустой сцене с другими картами не работает.
есть такой глюк у короны, особенно у не лицензионной.
Попробуйте использовать Use real world scale в материале и в UVW map-e.
Если корона 5.0 используйте карту corona bump converter
есть такой глюк у короны, особенно у не лицензионной.
Попробуйте использовать Use real world scale в материале и в UVW map-e.
Если корона 5.0 используйте карту corona bump converter
Получилось. Спасибо огромное.
есть такой глюк у короны, особенно у не лицензионной.
Попробуйте использовать Use real world scale в материале и в UVW map-e.
Если корона 5.0 используйте карту corona bump converter
Получилось. Спасибо огромное.
пират детектед
есть такой глюк у короны, особенно у не лицензионной.
Попробуйте использовать Use real world scale в материале и в UVW map-e.
Если корона 5.0 используйте карту corona bump converter
Получилось. Спасибо огромное.
пират детектед
Поэтому у меня теперь 3ddd плохо грузится?)
Поэтому у всех теперь 3ддд плохо грузится. Вот видите что вы наделали своим пиратством!
Поэтому у всех теперь 3ддд плохо грузится. Вот видите что вы наделали своим пиратством!
Ну главное, что мы нашли виновника
А если серьезно, то прям беда конечно, хуже всего результаты поиска пытаться посмотреть. Надеюсь, скоро починят.
Источник
Vray Displacement mod — рвет углы модели, как бороться?
Всем привет!
Давно борюсь с данной проблемой (разрыв геометрии на углах модели при рендере, если на модель наложен модификатор Vray Displacement Mod). Есть промежуточные решения, но так и не нашел «чистого» решения. Хотел бы узнать кто как борется с данной проблемой?
а как моделили? ощущение, что просто собрано из боксов. вот и дисплейсит по разному. модель должна быть цельная.
кстати вместо keep можно назначить одну группу сглаживания. Только это приведёт к эффекту подушки. С этим можно бороться insert или ребрами дополнительными вдоль углов
К сожалению, как видно на картинке, галочка почему-то не работает
На счет отрицательных значений карты мысль интересная, спасибо за идею.
Модель стенки с кирпичиками сделана одним куском. Группа сглаживания у всех разная. сейчас затестим с одинаковой группой сглаживания и без нее.
Ну же, комрады, какие еще будут мысли?
ну ещё текстуру аккуратнее натянуть. чтобы она угол огибала. Т.е. чтобы не получалось разницы высот на углах.
а вообще — у всех галочка работает )
Deemer
А texmap в дисплейсе зачем пустым оставлять?
выложи сцену,тогда легче найти причину
EARLDK:
Пожизненный бан
EARLDK:
Пожизненный бан
Хоть и времени много прошло но сам столкнулся сейчас с такой проблемой. Всем на будущее. Рваные углы лечатся очень и очень просто! Сам офигел! Champher минимальный на грани объекта, хватит 1го шага, и кидайте модификатор Smooth на объект. Ставьте в нем Auto галку и выкручивайте вверх до 60-70 (пока в превьюшке не покажет смус, сразу поймете). И все норм будет!
По поводу дисплэйса только на один полигон. Пожалуйста, создавайте мультисаб и айдишники выставьте на объекте, и все заработает. Vray Displacement Mod применяется же исключительно на весь объект.
Вот пример по фасту. Разумеется, это слеплено на быструю руку, но если у вас будет грамотная карта (замкнутая) то все должно быть без запинки.) Слева замкнутая карта, справа — одна стенка плоская. Поскольку все полигоны у нас с дисплэйсом кирпича, а одна без, то пришлось на другой материал так же добавить дисплэйс карту, только вместо битмапа ставьте VrayColor, и цветом подгоните, чтобы выпячивало одинакого. Другого способа чтобы на одном объекте обе карты использовать я пока не нашел.
Источник