ladybug-blender icon indicating copy to clipboard operation
ladybug-blender copied to clipboard

Geometry handling problems.

Open ppaawweeuu opened this issue 5 years ago • 4 comments

LB Direct Sun Hours node. I think there are some general issues with geometry handling, multi-object geometry and context sockets, with/without modifiers. I started with 3 objects: House.Left, House.Right.Mod (with modifiers) and Plane:

001_objects_in

Here are results:

002_objects_in

  1. House.Left doesn't cast shadows at all
  2. House.Right.Mod casts shadows but displace modifiers are ignored. There are 2 displace modifiers, one of them just moves mesh up. Shadows are cast like house is on the ground.

blend file - untitled13.zip

  1. All geometry seems to be offseted / pumped, a little bit.

003_objects_in

  1. Sometimes modifiers from one object are applied to all other objects.

004_geom 005_geom

ppaawweeuu avatar Oct 10 '20 21:10 ppaawweeuu

The geometry being offset is a feature, not a bug. I believe this is due to the offset distance setting, which ensures that during ray intersection the source geometry doesn't act as a collider.

The rest look like bugs. The copied modifiers is definitely a bug.

Moult avatar Oct 10 '20 21:10 Moult

After object renaming (F2 or Outliner), objects are not updated in Object in node list. I reported it to SV (link)

ppaawweeuu avatar Oct 10 '20 21:10 ppaawweeuu

The geometry being offset is a feature, not a bug.

I thought so. thx.

ppaawweeuu avatar Oct 10 '20 21:10 ppaawweeuu

Mod casts shadows but displace modifiers are ignored.

Can be relevant https://docs.blender.org/api/current/bpy.types.Depsgraph.html

Durman avatar Oct 11 '20 03:10 Durman