Skip to content

Commit

Permalink
Fix missing / malformed copyright headers, remove snow and autoexposure
Browse files Browse the repository at this point in the history
  • Loading branch information
araistrick authored and pvl-bot committed Jul 28, 2024
1 parent 63aab84 commit 9bbf39e
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 209 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ Please post this repository's Github Issues page for help. Please run your comma

Infinigen wouldn't be possible without the fantastic work of the [Blender Foundation](https://www.blender.org/) and it's open-source contributors. Infinigen uses many open source projects, with special thanks to [Land-Lab](https://github.com/landlab/landlab), [BlenderProc](https://github.com/DLR-RM/BlenderProc) [Blender-FLIP-Fluids](https://github.com/rlguy/Blender-FLIP-Fluids) and [Blender-Differential-Growth](https://github.com/inca/blender-differential-growth).

We thank [Thomas Kole](https://blenderartists.org/u/ThomasKole) for providing procedural clouds and [Pedro P. Lopes](https://blendswap.com/blend/30728) for the autoexposure nodegraph.
We thank [Thomas Kole](https://blenderartists.org/u/ThomasKole) for providing procedural clouds.

We learned tremendously from online tutorials of
[Andrew Price](https://www.youtube.com/channel/UCOKHwx1VCdgnxwbjyb9Iu1g),
Expand Down
130 changes: 0 additions & 130 deletions infinigen/assets/materials/snow.py

This file was deleted.

6 changes: 4 additions & 2 deletions infinigen/assets/weather/kole_clouds.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Derived from https://blenderartists.org/t/fluffy-mostly-procedural-clouds-for-cycles/1448689
# Original node-graph created by ThomasKole https://blenderartists.org/u/ThomasKole and licensed CC-0
# Copyright (C) 2023

# Portions of this file were autogenerated based on https://blenderartists.org/t/fluffy-mostly-procedural-clouds-for-cycles/1448689
# Original node-graph created by ThomasKole https://blenderartists.org/u/ThomasKole and made available under a CC0 license

import bpy
import gin
Expand Down
7 changes: 7 additions & 0 deletions infinigen/assets/weather/wind_effectors.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Copyright (C) 2023, Princeton University.
# This source code is licensed under the BSD 3-Clause license found in the LICENSE file in the root directory of this source tree.

# Authors:
# - Alexander Raistrick


import bpy
import gin
import numpy as np
Expand Down
66 changes: 0 additions & 66 deletions infinigen/core/rendering/auto_exposure.py

This file was deleted.

10 changes: 0 additions & 10 deletions infinigen/core/rendering/render.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@
from infinigen.tools.datarelease_toolkit import reorganize_old_framesfolder
from infinigen.tools.suffixes import get_suffix

from .auto_exposure import nodegroup_auto_exposure

TRANSPARENT_SHADERS = {Nodes.TranslucentBSDF, Nodes.TransparentBSDF}

logger = logging.getLogger(__name__)
Expand Down Expand Up @@ -110,18 +108,10 @@ def compositor_postprocessing(
nw,
source,
show=True,
autoexpose=False,
autoexpose_level=-2,
color_correct=True,
distort=0,
glare=False,
):
if autoexpose:
source = nw.new_node(
nodegroup_auto_exposure().name,
input_kwargs={"Image": source, "EV Comp": autoexpose_level},
)

if distort > 0:
source = nw.new_node(
Nodes.LensDistortion, input_kwargs={"Image": source, "Dispersion": distort}
Expand Down

0 comments on commit 9bbf39e

Please sign in to comment.