# 3D Scaling (Volume Rendering) Issue Along the Z-axis

**URL:** <https://vapor.discourse.group/t/3d-scaling-volume-rendering-issue-along-the-z-axis/149>\
**Category:** Uncategorized\
**Created:** [October 31, 2021, 10:00pm UTC](https://vapor.discourse.group/t/3d-scaling-volume-rendering-issue-along-the-z-axis/149 "2021-10-31T22:00:24Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![msw17002](https://avatars.discourse-cdn.com/v4/letter/m/6f9a4e/32.png) [@msw17002](https://vapor.discourse.group/u/msw17002)\
**Post date:** [October 31, 2021, 10:00pm UTC](https://vapor.discourse.group/t/3d-scaling-volume-rendering-issue-along-the-z-axis/149/1 "2021-10-31T22:00:24Z")

</div>

Hello,

I’m new to VAPOR and I’d like to plot any 3D variable using the ‘Volume’ renderer. The problem is, when I try to display any valid 3d field, the Z-axis looks like it propagates infinitely in the + Z axis (so it appears). That said, how may I display the Z axis so that the data is appropriately scaled?

I attached an image of the problem.

Thanks in advance!

 ![Capture.PNG](https://global.discourse-cdn.com/free1/uploads/vapor/original/1X/75dfa84f2d7e0f18f3d504c95e9121936ae03d8a.jpeg)

---

<div class="post-metadata">

**Author:** ![pearse](https://yyz2.discourse-cdn.com/free1/user_avatar/vapor.discourse.group/pearse/32/177_2.png) [@pearse](https://vapor.discourse.group/u/pearse)\
**Post date:** [November 1, 2021, 6:58pm UTC](https://vapor.discourse.group/t/3d-scaling-volume-rendering-issue-along-the-z-axis/149/2 "2021-11-01T18:58:30Z")

</div>

It looks like the Z axis is getting scaled too much. What is the value of the Z axis scale in the Scene-\>Viewpoint tab?

When the Z axis is small compared to X and Y, we automatically scale it with this setting. However this is way over exaggerated.

---

<div class="post-metadata">

**Author:** ![msw17002](https://avatars.discourse-cdn.com/v4/letter/m/6f9a4e/32.png) [@msw17002](https://vapor.discourse.group/u/msw17002)\
**Post date:** [November 1, 2021, 7:27pm UTC](https://vapor.discourse.group/t/3d-scaling-volume-rendering-issue-along-the-z-axis/149/3 "2021-11-01T19:27:33Z")

</div>

Hello pearse,

That was, in fact, the problem.

I set Z equal to 12 (from 12000) and the plot looks good.

Thanks for your help!

---

<div class="post-metadata">

**Author:** ![pearse](https://yyz2.discourse-cdn.com/free1/user_avatar/vapor.discourse.group/pearse/32/177_2.png) [@pearse](https://vapor.discourse.group/u/pearse)\
**Post date:** [November 1, 2021, 9:45pm UTC](https://vapor.discourse.group/t/3d-scaling-volume-rendering-issue-along-the-z-axis/149/4 "2021-11-01T21:45:40Z")

</div>

Great. I’m guessing that you didn’t enter 12000 yourself and this was Vapor’s default value based on your dataset.

This isn’t an ideal behavior and I think we may have a bug. Do you have a sample file I could look at to test the underlying cause?

---

<div class="post-metadata">

**Author:** ![msw17002](https://avatars.discourse-cdn.com/v4/letter/m/6f9a4e/32.png) [@msw17002](https://vapor.discourse.group/u/msw17002)\
**Post date:** [November 2, 2021, 12:59am UTC](https://vapor.discourse.group/t/3d-scaling-volume-rendering-issue-along-the-z-axis/149/5 "2021-11-02T00:59:33Z")

</div>

Of course! Would you like my WRF.nc file? I’m not sure how to upload it.

The value, 12000+, was set by default. It was unexpected. I think (not entirely certain) the problem may be caused by adding AFWA diagnostics (just a wild guess). I’m using the latest version of VAPOR (3.5.0 - Windows OS 64 bit).

---

<div class="post-metadata">

**Author:** ![pearse](https://yyz2.discourse-cdn.com/free1/user_avatar/vapor.discourse.group/pearse/32/177_2.png) [@pearse](https://vapor.discourse.group/u/pearse)\
**Post date:** [November 2, 2021, 3:13pm UTC](https://vapor.discourse.group/t/3d-scaling-volume-rendering-issue-along-the-z-axis/149/6 "2021-11-02T15:13:26Z")

</div>

Yes, it would be useful to check it out. Thank you.

For hosting the file, something like google drive would work. Not sure how big your file is though…
