adaptive displacement seams between dupli faces #60587
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#60587
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: win10
Graphics card: gtx 1070
Blender Version
Broken: 2.79b
There are visible seams between objects duplicated using dupli faces of a plane.
For example I have a section of road which needs to be 5km long and arrays are going to use too much memory, so I make a one face plane the exact size of the section of road, add an array to the plane, set its duplication method to face, and then parent the section of road to it. Add a subidivision modifier to the road, and turn on adaptive. I also set the texture co-ordinate node in the road material to object and populate the object to get the co-ordiantes from as the plane. The result is that although the texture is seamless, the micro displacement has a very noticeable crack between each duplication.
I'm guessing this is possible to fix, as the displacement works correctly if I use just an array on the road section even with merge disabled.
Added subscriber: @3di
Added subscriber: @JacquesLucke
Please upload a simple .blend file that shows the issue (if you use textures, don't forget to pack them into the file). Also a screenshot would be helpful.
Added subscriber: @brecht
Changed status from 'Open' to: 'Archived'
Closing due to lack information to investigate.
Changed status from 'Archived' to: 'Open'
adaptive displacement bug.blend
file attached.
texture is seamless between duplicates (see right hand object which has same material minus the displacement).
normal map works correctly:
Changed status from 'Open' to: 'Archived'
The Noise Texture is not seamless actually, it's intended to not show any repetitive patterns. You'd have to use an image texture or node setup that is seamless.
If you look closely at the textures on the left and right they are not the same.
Adaptive displacement is also not a good fit for this, since the number of subdivs on both ends may not be the same, it depends on distance to the camera.
Changed status from 'Archived' to: 'Open'
Hi, the object, mapping, and noise are identical on both left and right models. This is just an example file, the client file was using a seamless texture from poligon, and the results where the same. No matter how high the subdiv's are increased or how close the camera is, the result is still a visible seam between instances.
with seamless texture:
with displacement:
without displacement (same camera view):
A fix would probably be to make sure a change in subdivision cant occur where two instances meet.
You can't use adaptive subdivision for this purpose, we don't consider that a bug.
If you have an example .blend without adaptive subdivision and with a seamless texture we can look at it. If not there is nothing to fix here.
Here's the problem, the adaptive subdivision is being carried out on the first instance only, so that the end of the first instance is low poly, but then it meets back up with the high poly end when it's repeated. Would it be possible to perform the adaptive subdivision as it currently does, but limit the adaptivity to the inner part of the mesh, so that the outmost loop of polygons all get the same number of subdivisions as whatever the highest value on the mesh is (closest to camera).
Brecht, i've just proposed a fix, can you see any problem with the logic? basically give the outer polygon loop of instanced models the same subidivion level so there's never a seam in displacement.
Changed status from 'Open' to: 'Archived'
We have some ideas to do smarter adaptive subdivision for instances, for now the current behavior is as intended. Any improvements in this area are outside the scope of the bug tracker.
We would probably do uniform edge length subdivision for instances, possibly with a detail level based on the distance of the closest instances to the camera.
Yeah, that's basically what I'm suggesting. But definitely not uniform across the entire model, just at the outer polygons (or it's defeating the purpose of adaptivity in the first place). Perhaps not a bug, just an oversight. Would be great to get it fixed though :)
Added subscriber: @EclairesRa
When you use displacement - texture displacing geometry what you have, but with separated geometry aka duplicates/instances (not connected verticies) its be doing that kind of artifacts, there is 2 solutions - 1 if its ok merge object duplicates (CTRL + J) and in edit mode press M (merge by distance). 2 you can set in texture extend instead of repeat (should fix problem if you use instances with displace modifier). if its subdivision it dont like separated geometry even when its merged (so you need to connect verticies in edit mode).