baking to low res textures with cycles produces artifacts (esp. gpu adaptive sampling) #95172

Closed
opened 2022-01-24 10:38:35 +01:00 by lictex_ · 7 comments

System Information
Operating system: windows 10 21h2
Graphics card: nvidia geforce rtx 2070, studio driver 511.09

Blender Version
Broken: 3.0.0
Worked: (newest version of Blender that worked as expected)

Short description of error
baking to low res texture (sth. like 1024x1 px) not working as expected
context: i'm trying to bake some 1-dimension gradients into textures, and load them with external applications
expect: getting a smooth 1d gradient texture, like the ref below
image.png
bake.blend
result on:

  • cpu / gpu / cpu adaptive sampling: some constant artifacts. even with 1024x16 tex there're still some micro stutters if scale up the view
  • gpu adaptive sampling: random trashes, every bake produces a different result.
    none of them really works well..

(btw gpu baking also outputs trashes time to time in my real scenes. restarting blender will temporarily solve it. since it's failing randomly i cannot get a reliable reproducing. this is possibly another topic tho)

Exact steps for others to reproduce the error

  • open .blend file
  • switch to proper cycles device
  • bake!
**System Information** Operating system: windows 10 21h2 Graphics card: nvidia geforce rtx 2070, studio driver 511.09 **Blender Version** Broken: 3.0.0 Worked: (newest version of Blender that worked as expected) **Short description of error** baking to low res texture (sth. like 1024x1 px) not working as expected context: i'm trying to bake some 1-dimension gradients into textures, and load them with external applications expect: getting a smooth 1d gradient texture, like the *ref* below ![image.png](https://archive.blender.org/developer/F12820763/image.png) [bake.blend](https://archive.blender.org/developer/F12820765/bake.blend) result on: - cpu / gpu / cpu adaptive sampling: some constant artifacts. even with 1024x16 tex there're still some micro stutters if scale up the view - gpu adaptive sampling: random trashes, every bake produces a different result. none of them really works well.. (btw gpu baking also outputs trashes time to time in my real scenes. restarting blender will temporarily solve it. since it's failing *randomly* i cannot get a reliable reproducing. this is possibly another topic tho) **Exact steps for others to reproduce the error** - open .blend file - switch to proper cycles device - bake!
Author

Added subscriber: @lictex_1

Added subscriber: @lictex_1
Member

Added subscribers: @brecht, @lichtwerk

Added subscribers: @brecht, @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Member

cpu / gpu / cpu adaptive sampling: some constant artifacts. even with 1024x16 tex there're still some micro stutters if scale up the view

I think this boils down to being the same as #81710 (Artifacts appear in texture bakes [stripe pattern]), workaround here is

In #81710#1249339, @brecht wrote:
It's a problem with long thin triangles, the workaround is to add a few loopcuts.


gpu adaptive sampling: random trashes, every bake produces a different result.

I am getting completely black results with this (this might have been reported before, will check for duplicates)

> cpu / gpu / cpu adaptive sampling: some constant artifacts. even with 1024x16 tex there're still some micro stutters if scale up the view I think this boils down to being the same as #81710 (Artifacts appear in texture bakes [stripe pattern]), workaround here is > In #81710#1249339, @brecht wrote: > It's a problem with long thin triangles, the workaround is to add a few loopcuts. --- > gpu adaptive sampling: random trashes, every bake produces a different result. I am getting completely black results with this (this might have been reported before, will check for duplicates)
Member

In #95172#1293788, @lichtwerk wrote:

gpu adaptive sampling: random trashes, every bake produces a different result.

I am getting completely black results with this (this might have been reported before, will check for duplicates)

#94355 (GPU+Adaptive sampling Bakes incomplete textures) might have the same roots

> In #95172#1293788, @lichtwerk wrote: >> gpu adaptive sampling: random trashes, every bake produces a different result. > I am getting completely black results with this (this might have been reported before, will check for duplicates) #94355 (GPU+Adaptive sampling Bakes incomplete textures) might have the same roots
Philipp Oeser changed title from baking to low res textures with cycles produces artifacts to baking to low res textures with cycles produces artifacts (esp. gpu adaptive sampling) 2022-01-24 11:33:16 +01:00
Author

It's a problem with long thin triangles, the workaround is to add a few loopcuts.

this works, so it seems to be the same issue, sorry for the duplicate
and after trying hundreds of loop cuts, i found that simply subdivide the plane once works really well on this particular case...

for #94355

When I dont use texture coordinate, and I just use the material color, it bakes fine.

not works, either.
image.png
might still have same roots though, as i'm also getting random baking results with that file..

> It's a problem with long thin triangles, the workaround is to add a few loopcuts. this works, so it seems to be the same issue, sorry for the duplicate and after trying hundreds of loop cuts, i found that simply subdivide the plane once works really well on this particular case... for #94355 > When I dont use texture coordinate, and I just use the material color, it bakes fine. not works, either. ![image.png](https://archive.blender.org/developer/F12821275/image.png) might still have same roots though, as i'm also getting random baking results with that file..

Closed as duplicate of #94355

Closed as duplicate of #94355
Sign in to join this conversation.
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
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#95172
No description provided.