# How to determine the position of coordinate system origin when use genbox command?

**URL:** <https://discourse.radiance-online.org/t/how-to-determine-the-position-of-coordinate-system-origin-when-use-genbox-command/6711>\
**Category:** Uncategorized\
**Created:** [November 27, 2024, 8:12am UTC](https://discourse.radiance-online.org/t/how-to-determine-the-position-of-coordinate-system-origin-when-use-genbox-command/6711 "2024-11-27T08:12:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hao](https://discourse.radiance-online.org/letter_avatar_proxy/v4/letter/h/ea5d25/32.png) [@Hao](https://discourse.radiance-online.org/u/Hao)\
**Post date:** [November 27, 2024, 8:12am UTC](https://discourse.radiance-online.org/t/how-to-determine-the-position-of-coordinate-system-origin-when-use-genbox-command/6711/1 "2024-11-27T08:12:13Z")

</div>

Hi everyone,

I recently followed the _radiance\_tutorial.pdf - Jacobs_ to use the `genbox` to generate a simple room. However, I am confused about the coordinate system’s  
origin. As shown in the picture, the origin of the room I generated is different from the one in the tutorial. Therefore, I am wondering how to determine the position of the coordinate system origin for `genbox` command.

 ![a simple room](https://discourse.radiance-online.org/uploads/default/original/2X/c/c32e9064ec05a064834dc42d05f3c92ac1dc338a.png)

Best regards,  
Hao

---

<div class="post-metadata">

**Author:** ![Lars\_Grobe](https://discourse.radiance-online.org/user_avatar/discourse.radiance-online.org/lars_grobe/32/469_2.png) [@Lars\_Grobe](https://discourse.radiance-online.org/u/Lars_Grobe)\
**Post date:** [November 27, 2024, 9:12am UTC](https://discourse.radiance-online.org/t/how-to-determine-the-position-of-coordinate-system-origin-when-use-genbox-command/6711/2 "2024-11-27T09:12:32Z")

</div>

Hi Hao,

I think the orientation of the box in the coordinate system is as expected, the view is different. In Axel’s tutorial, the view is from negative x, negative y. In your preview, the camera is at positive x, negative y. In both cases, the box extends 4m along the positive x-, and 5m along the positive y-axis starting at the origin. What is still missing in your scene is the window.

Best, Lars.

---

<div class="post-metadata">

**Author:** ![Hao](https://discourse.radiance-online.org/letter_avatar_proxy/v4/letter/h/ea5d25/32.png) [@Hao](https://discourse.radiance-online.org/u/Hao)\
**Post date:** [November 27, 2024, 9:41am UTC](https://discourse.radiance-online.org/t/how-to-determine-the-position-of-coordinate-system-origin-when-use-genbox-command/6711/3 "2024-11-27T09:41:42Z")

</div>

Hi Lars,

Thanks a lot for your explanation.

Besides, when I use `objline | x11meta` to preview, do you know how to change the view?

Best regards,  
Hao

---

<div class="post-metadata">

**Author:** ![Greg\_Ward](https://discourse.radiance-online.org/user_avatar/discourse.radiance-online.org/greg_ward/32/471_2.png) [@Greg\_Ward](https://discourse.radiance-online.org/u/Greg_Ward)\
**Post date:** [November 27, 2024, 6:12pm UTC](https://discourse.radiance-online.org/t/how-to-determine-the-position-of-coordinate-system-origin-when-use-genbox-command/6711/4 "2024-11-27T18:12:31Z")

</div>

Hi Hao,

objline is a very basic line-drawing program and doesn’t offer different views. It would be nice if it did, but there are plenty of other tools in Radiance for looking at geometry. I recommend trying rvu or “rad -o x11”. It’s worth learning how to use rad early on, as it’s a good introduction to setting Radiance parameters. I don’t remember if it’s introduced in Axel’s tutorial.

Cheers,  
-Greg

---

<div class="post-metadata">

**Author:** ![Hao](https://discourse.radiance-online.org/letter_avatar_proxy/v4/letter/h/ea5d25/32.png) [@Hao](https://discourse.radiance-online.org/u/Hao)\
**Post date:** [November 28, 2024, 12:26am UTC](https://discourse.radiance-online.org/t/how-to-determine-the-position-of-coordinate-system-origin-when-use-genbox-command/6711/5 "2024-11-28T00:26:46Z")

</div>

Hi Greg,

Thank you for your reply and suggestion. There is one section in Axel’s tutorial to introduce the `rad` command. I will review that section along with the manpages to learn more about this command.

Cheers,  
Hao
