Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Classroom asset: poly_count issue #672

Open
feniksa opened this issue Mar 24, 2024 · 0 comments
Open

Classroom asset: poly_count issue #672

feniksa opened this issue Mar 24, 2024 · 0 comments

Comments

@feniksa
Copy link
Contributor

feniksa commented Mar 24, 2024

Issue

  1. Classroom asset doesn't render correctly (issues with emissive mat)
  2. Denoiser step doesn't work at all with error poly_count issue

Steps to Reproduce

  1. Open Kitchen Demo scene](https://download.blender.org/demo/test/classroom.zip)
  2. Enable denoiser
  3. Render

System Setup (Environment)

Windows10
RX6800XT
Blender 4.1
GPU Render

Detailed Description

2024-03-24 18:00:00,774 ERROR rpr.init [77492]: 'Instance' object has no attribute 'poly_count' EXCEPTION: Traceback (most recent call last):
File "C:\Users\msditanov\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\rprblender_init_.py", line 141, in render
self.engine.render()
File "C:\Users\msditanov\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\rprblender\engine\render_engine.py", line 575, in render
self._render()
File "C:\Users\msditanov\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\rprblender\engine\render_engine_2.py", line 106, in _render
super()._render()
File "C:\Users\msditanov\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\rprblender\engine\render_engine.py", line 332, in _render
self.athena_send(athena_data)
File "C:\Users\msditanov\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\rprblender\engine\render_engine.py", line 842, in athena_send
data['Num Polygons'] = sum(
File "C:\Users\msditanov\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\rprblender\engine\render_engine.py", line 843, in
(o.mesh.poly_count if isinstance(o, pyrpr.Instance) else o.poly_count)
AttributeError: 'Instance' object has no attribute 'poly_count'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant