Object Scatter Addon gone bad... #77785

Closed
opened 2020-06-12 02:34:31 +02:00 by Ajlan Altug · 10 comments

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce GTX 760/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 445.87

Blender Version
Broken: version: 2.83
Worked: 2.82

Short description of error
I was able to use the Object scatter addon in version 2.82 but it either doesn't function as expected or it doesn't function at all, returning errors.

image.png

This error I got working on a scene, trying to scatter a few objects across a mesh surface.

image.png

This screenshot is from a clean scene where I tried to see if I would get the above errors again. It did its job this time, but left placeholder triangles that I presume are used by the addon to calculate surface tangency.

The addon also needs a setting to determine which rotation axis is to be randomized instead of all 3 axis...

**System Information** Operating system: Windows-10-10.0.18362-SP0 64 Bits Graphics card: GeForce GTX 760/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 445.87 **Blender Version** Broken: version: 2.83 Worked: 2.82 **Short description of error** I was able to use the Object scatter addon in version 2.82 but it either doesn't function as expected or it doesn't function at all, returning errors. ![image.png](https://archive.blender.org/developer/F8609692/image.png) This error I got working on a scene, trying to scatter a few objects across a mesh surface. ![image.png](https://archive.blender.org/developer/F8609696/image.png) This screenshot is from a clean scene where I tried to see if I would get the above errors again. It did its job this time, but left placeholder triangles that I presume are used by the addon to calculate surface tangency. The addon also needs a setting to determine which rotation axis is to be randomized instead of all 3 axis...
Author

Added subscriber: @ajlanaltug

Added subscriber: @ajlanaltug
Jacques Lucke was assigned by Ajlan Altug 2020-06-12 02:35:07 +02:00
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

Seems to work fine here in simple tests (in both 2.83 and 2.90 master).

Could you provide your example .blend file (with selection already done, just before executing the operator)?

Also, not sure what this means?

Broken: version: 2.82
Worked: 2.83

Seems to work fine here in simple tests (in both 2.83 and 2.90 master). Could you provide your example .blend file (with selection already done, just before executing the operator)? Also, not sure what this means? > Broken: version: 2.82 > Worked: 2.83
Jacques Lucke was unassigned by Philipp Oeser 2020-06-12 15:35:28 +02:00
Member

Added subscriber: @JacquesLucke

Added subscriber: @JacquesLucke
Author

Hi Jacques Lucke;

Here's a stripped down version of the scene file: SCATTER_KAPUT.rar

Select the objects under the "MICROSCOPIC DEBRIS" collection.
select the "TOP WING ELECTRON MIC CLOSEUP LORES" object as the scatter object.
You'll see that the addon tends to only scatter on the corners of the object and leaves placeholder triangles behind.

The last time I worked on the scene just before I made the bug report, the addon only drew across the surface but gave out the errors that I sent previously. Now, I thought I should reinstall Blender 2.83 just in case I might have overridden the factory default addons the last time with the ones that came with 2.82 when I replaced the addons folder. So now it doesn't spew out any errors like the last time but you'll be able to see it for yourself.

Cheers :)

AJ

Hi Jacques Lucke; Here's a stripped down version of the scene file: [SCATTER_KAPUT.rar](https://archive.blender.org/developer/F8612184/SCATTER_KAPUT.rar) Select the objects under the "MICROSCOPIC DEBRIS" collection. select the "TOP WING ELECTRON MIC CLOSEUP LORES" object as the scatter object. You'll see that the addon tends to only scatter on the corners of the object and leaves placeholder triangles behind. The last time I worked on the scene just before I made the bug report, the addon only drew across the surface but gave out the errors that I sent previously. Now, I thought I should reinstall Blender 2.83 just in case I might have overridden the factory default addons the last time with the ones that came with 2.82 when I replaced the addons folder. So now it doesn't spew out any errors like the last time but you'll be able to see it for yourself. Cheers :) AJ
Jacques Lucke was assigned by Ajlan Altug 2020-06-13 20:08:02 +02:00
Author

Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'

Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'
Member

Changed status from 'Needs Developer To Reproduce' to: 'Archived'

Changed status from 'Needs Developer To Reproduce' to: 'Archived'
Member

The issue is that the object is so small compared to the density and radius (settings of the Object Scatter) addon. The triangles are a bit annoying here indeed, they should be a bit smaller. However, the should disappear when you render the scene. You can also scale them down manually. Every triangle represents one instanced object.

Things can certainly be improved here, but I won't work on this anytime soon probably.

I could not get the error message yet, that would be a bug.

The issue is that the object is so small compared to the density and radius (settings of the Object Scatter) addon. The triangles are a bit annoying here indeed, they should be a bit smaller. However, the should disappear when you render the scene. You can also scale them down manually. Every triangle represents one instanced object. Things can certainly be improved here, but I won't work on this anytime soon probably. I could not get the error message yet, that would be a bug.
Author

Ok. Thanks Jacques Lucke.

Cheers;

AJ

Ok. Thanks Jacques Lucke. Cheers; AJ
Sign in to join this conversation.
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-addons#77785
No description provided.