wavefront 0.0.6 → 0.0.61
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.
- checksums.yaml +15 -0
- data/README.md +2 -1
- data/lib/triangle.rb +4 -0
- data/lib/wavefront/version.rb +1 -1
- data/wavefront.gemspec +1 -0
- metadata +7 -8
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
ODIwMTczZDgxMTFkNTQ2MjU0ZTQ3MzgwNzkzMjBmMjhjZjljZmQ3NA==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
N2NlNzE1ZDI0NTA1MjZjMTBjNDM3N2MyMTBiODljZWUyMTgyNTE5MA==
|
7
|
+
!binary "U0hBNTEy":
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
YTM1NzQ2YjI5MjU2M2JmZDFjNWNlODNmODU2NWE3ZTg1M2ExOTZjOGUxMjgy
|
10
|
+
OGNmZmVhYzdmMTFmZjZkOTQ5OWUwMjlmMjdhODZlYTRkYmY0OGU0ZTgyOWNl
|
11
|
+
YmIxOWIwOTNlZmE0ZWJjMDdjZWRjNjI2MTkzYzM1ZGQ3OWM0YmU=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
MzFlMWNkNzIxYzI3NjE0YWFjOTIxMTBmNGJiN2UwNGY1MTMyNzMyYTgyZGMy
|
14
|
+
MzU4NDVhZGE0YTgwNTA2NTk3Y2Y5YWMxOTg4NzQ4OTlmOWQwNmNhNTY0MzFj
|
15
|
+
NTQwOWM4YTU4OTgyMGViZjVhNDdlNzYxNTNmYTA1ZjYyM2Y2MTg=
|
data/README.md
CHANGED
@@ -12,9 +12,9 @@
|
|
12
12
|
|
13
13
|
Some additional operations supported are:
|
14
14
|
-computing a simple vertex buffer from the wavefront model
|
15
|
+
-computing a vertex buffer/index buffer
|
15
16
|
|
16
17
|
Some features that are coming in the future
|
17
|
-
-ability to compute a vertex/index buffer pair since these will be more optimal than a single giant vertex buffer
|
18
18
|
-ability to scale, transform, rotate, and unitize the obj
|
19
19
|
-materials (this is a feature I am currently working on, but is not available in the current version)
|
20
20
|
-ability to support more than one object. Even though wavefront spec says a file should have only one object,
|
@@ -62,6 +62,7 @@ Or install it yourself as:
|
|
62
62
|
w.export "my_exported_wavefront_model" (export file, including .obj extension is optional)
|
63
63
|
|
64
64
|
vertex_buffer = w.compute_vertex_buffer (compute an array of vertices from file)
|
65
|
+
vertex_and_index_buffers = w.compute_vertex_and_index_index_buffer
|
65
66
|
|
66
67
|
w.object (inspect object itself)
|
67
68
|
group = w.object.groups.first (grab the first group)
|
data/lib/triangle.rb
CHANGED
data/lib/wavefront/version.rb
CHANGED
data/wavefront.gemspec
CHANGED
@@ -11,6 +11,7 @@ Gem::Specification.new do |gem|
|
|
11
11
|
gem.description = %q{Wavefront parser and exporter}
|
12
12
|
gem.summary = %q{Wavefront parser and exporter}
|
13
13
|
gem.homepage = "https://github.com/MishaConway/wavefront-ruby"
|
14
|
+
gem.license = 'MIT'
|
14
15
|
|
15
16
|
gem.files = `git ls-files`.split($/)
|
16
17
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
metadata
CHANGED
@@ -1,15 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wavefront
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.61
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Misha Conway
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2013-
|
11
|
+
date: 2013-11-19 00:00:00.000000000 Z
|
13
12
|
dependencies: []
|
14
13
|
description: Wavefront parser and exporter
|
15
14
|
email:
|
@@ -34,7 +33,9 @@ files:
|
|
34
33
|
- lib/wavefront_object.rb
|
35
34
|
- wavefront.gemspec
|
36
35
|
homepage: https://github.com/MishaConway/wavefront-ruby
|
37
|
-
licenses:
|
36
|
+
licenses:
|
37
|
+
- MIT
|
38
|
+
metadata: {}
|
38
39
|
post_install_message:
|
39
40
|
rdoc_options: []
|
40
41
|
require_paths:
|
@@ -44,17 +45,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
44
45
|
- - ! '>='
|
45
46
|
- !ruby/object:Gem::Version
|
46
47
|
version: '0'
|
47
|
-
none: false
|
48
48
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
49
49
|
requirements:
|
50
50
|
- - ! '>='
|
51
51
|
- !ruby/object:Gem::Version
|
52
52
|
version: '0'
|
53
|
-
none: false
|
54
53
|
requirements: []
|
55
54
|
rubyforge_project:
|
56
|
-
rubygems_version:
|
55
|
+
rubygems_version: 2.0.3
|
57
56
|
signing_key:
|
58
|
-
specification_version:
|
57
|
+
specification_version: 4
|
59
58
|
summary: Wavefront parser and exporter
|
60
59
|
test_files: []
|