[yt-svn] commit/yt: 2 new changesets
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Mon Apr 15 08:05:59 PDT 2013
2 new commits in yt:
https://bitbucket.org/yt_analysis/yt/commits/134989bc7f64/
Changeset: 134989bc7f64
Branch: yt
User: MatthewTurk
Date: 2013-04-15 17:01:07
Summary: Touch-ups to FisheyeCamera to work with new VR system.
Affected #: 1 file
diff -r 4c9a9cd7eac8541bc10a747fb90ad2fdf200761a -r 134989bc7f64b3cc4732c29668a4e6fa3a873ebc yt/visualization/volume_rendering/camera.py
--- a/yt/visualization/volume_rendering/camera.py
+++ b/yt/visualization/volume_rendering/camera.py
@@ -1390,7 +1390,7 @@
def finalize_image(self, image):
- image.shape = self.resolution, self.resolution, 3
+ image.shape = self.resolution, self.resolution, 4
def _render(self, double_check, num_threads, image, sampler):
pbar = get_pbar("Ray casting", (self.volume.brick_dimensions + 1).prod(axis=-1).sum())
@@ -1402,7 +1402,7 @@
raise RuntimeError
view_pos = self.center
- for brick in self.volume.traverse(view_pos, None, image):
+ for brick in self.volume.traverse(view_pos):
sampler(brick, num_threads=num_threads)
total_cells += np.prod(brick.my_data[0].shape)
pbar.update(total_cells)
https://bitbucket.org/yt_analysis/yt/commits/335a441ef6db/
Changeset: 335a441ef6db
Branch: yt
User: samskillman
Date: 2013-04-15 17:05:53
Summary: Merged in MatthewTurk/yt (pull request #479)
Touch-ups to FisheyeCamera to work with new VR system.
Affected #: 1 file
diff -r af7c2b1e3697906d0a4faa0f244903d079490c2e -r 335a441ef6db882f8934808f616fd677b2d527b2 yt/visualization/volume_rendering/camera.py
--- a/yt/visualization/volume_rendering/camera.py
+++ b/yt/visualization/volume_rendering/camera.py
@@ -1390,7 +1390,7 @@
def finalize_image(self, image):
- image.shape = self.resolution, self.resolution, 3
+ image.shape = self.resolution, self.resolution, 4
def _render(self, double_check, num_threads, image, sampler):
pbar = get_pbar("Ray casting", (self.volume.brick_dimensions + 1).prod(axis=-1).sum())
@@ -1402,7 +1402,7 @@
raise RuntimeError
view_pos = self.center
- for brick in self.volume.traverse(view_pos, None, image):
+ for brick in self.volume.traverse(view_pos):
sampler(brick, num_threads=num_threads)
total_cells += np.prod(brick.my_data[0].shape)
pbar.update(total_cells)
Repository URL: https://bitbucket.org/yt_analysis/yt/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the yt-svn
mailing list