glitch3d 0.2.3.8 → 0.2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -23,6 +23,11 @@ def render_normals():
23
23
  node_tree.links.new(enter.outputs['Normal'], multiply.inputs[1])
24
24
  node_tree.links.new(invert.outputs[0], composite.inputs[0])
25
25
 
26
+ def isometric_camera():
27
+ CAMERA.location = (12, -12, 12)
28
+ CAMERA.rotation_euler = (54.8, 0, 45)
29
+ CAMERA.data.type = 'ORTHO'
30
+
26
31
  def render_settings(animate, mode, normals):
27
32
  SCENE.render.resolution_x = 2000
28
33
  SCENE.render.resolution_y = 2000
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Glitch3d
3
- VERSION = '0.2.3.8'
3
+ VERSION = '0.2.4.0'
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glitch3d
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3.8
4
+ version: 0.2.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - pskl
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-03 00:00:00.000000000 Z
11
+ date: 2018-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -65,9 +65,12 @@ files:
65
65
  - fixtures/cube.obj
66
66
  - fixtures/examples/demo.jpg
67
67
  - fixtures/face.obj
68
+ - fixtures/female_head_slim.obj
68
69
  - fixtures/hand.obj
69
70
  - fixtures/m4a1.obj
71
+ - fixtures/male_body.obj
70
72
  - fixtures/male_head.obj
73
+ - fixtures/male_head_slim.obj
71
74
  - fixtures/mars.obj
72
75
  - fixtures/mecha.obj
73
76
  - fixtures/skull.obj
@@ -77,26 +80,33 @@ files:
77
80
  - fixtures/textures/baby.jpg
78
81
  - fixtures/textures/btc.jpg
79
82
  - fixtures/textures/checkered_texture.jpg
83
+ - fixtures/textures/corbusier_haus.jpg
80
84
  - fixtures/textures/dude.jpg
81
85
  - fixtures/textures/grid.jpg
82
86
  - fixtures/textures/jakob.jpg
83
87
  - fixtures/textures/kago.jpg
84
88
  - fixtures/textures/kawai.jpg
85
89
  - fixtures/textures/mario.jpg
90
+ - fixtures/textures/mario_faces.jpg
86
91
  - fixtures/textures/nice_glasses.jpg
87
92
  - fixtures/textures/putin.jpg
93
+ - fixtures/textures/putin_wave.jpg
88
94
  - fixtures/textures/rug.jpg
89
95
  - fixtures/textures/ship.jpg
90
96
  - fixtures/textures/slavs.jpg
91
97
  - fixtures/textures/spiral.jpg
98
+ - fixtures/textures/texture_wave.jpg
92
99
  - fixtures/textures/vapor.jpg
93
100
  - fixtures/textures/woman.jpg
94
101
  - fixtures/textures/yolo.jpg
102
+ - fixtures/woman_body.obj
95
103
  - glitch3d.gemspec
96
104
  - lib/glitch3d.rb
97
105
  - lib/glitch3d/bpy/canvas/aether.py
98
106
  - lib/glitch3d/bpy/canvas/dreamatorium.py
107
+ - lib/glitch3d/bpy/canvas/frame_generator.py
99
108
  - lib/glitch3d/bpy/canvas/lyfe.py
109
+ - lib/glitch3d/bpy/canvas/particles.py
100
110
  - lib/glitch3d/bpy/helpers.py
101
111
  - lib/glitch3d/bpy/lighting.py
102
112
  - lib/glitch3d/bpy/main.py