create account

Godot Viewport Documentation by clayjohn

View this thread on: hive.blogpeakd.comecency.com
· @clayjohn ·
$42.69
Godot Viewport Documentation
#### Repository
https://github.com/godotengine/godot-docs

#### Details
With the transition to Godot3 much of the documentation has fallen out of date. In many areas all it took was some updating of function names and the like in order to update the documentation, but in others much more was required.  The Viewport docs were one of these places. I have:

* added sections to explain various new functions of the Viewport class;
* updated outdated sections;
* added and replaced various images used to highlight certain parts of the Viewport menus in-engine; and
* updated the corresponding class reference add and correct information.

#### Components
Viewports are a very important part of the Godot engine. They are the surface on which the game is displayed. The new version of Viewports allows for the use of custom made viewports to render directly to textures which can be used however the user likes. This is an important step away from how Viewports used to be used, which was more rigid. Now the Viewports are easier to create, render to, and read from than ever before. With these changes it was important that the documentation reflected the various uses and capabilities of the Viewport class.  

#### Difference
The old documentation was out of date and reflected aspects of the Viewport class which are no longer applicable to modern Godot. The old class had multiple settings and was more rigid in the way it was used, and the documentation reflected this. 

Additionally, the images used in the documentation were added quickly by someone on the release of godot3 to match the style of the new editor. Because of this the pictures looked hastily added. I have taken new pictures to replace those ones and I have added many images to show the various menus and sub-menus associated with the Viewport as well as images showing a basic scene with different Viewport settings. 

http://docs.godotengine.org/en/latest/_images/unshaded.png

*Here is a collection of primitive objects with an unshaded Viewport*

In addition to the changes to the Viewport documentation I have also updated the Viewport class reference with a few small changes. One fixes updated information that is no longer accurate, and the rest are to add missing information that had not been added by previous contributors. 

#### Links
http://docs.godotengine.org/en/latest/tutorials/viewports/viewports.html

*Please note the link is to the latest version of the documentation. If you go to the stable version of the docs the old version is still present.*

http://docs.godotengine.org/en/latest/classes/class_viewport.html

*The class ref updates only with new releases of the engine, so it is very far behind. Currently the changes are not reflected in the official documentation, but they will be.*

#### GitHub Proof of Authorship
- GitHub Account: https://github.com/clayjohn
- Pull Requests: https://github.com/godotengine/godot-docs/pull/1506, https://github.com/godotengine/godot/pull/19494
πŸ‘  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 17 others
properties (23)
authorclayjohn
permlinkgodot-viewport-documentation
categoryutopian-io
json_metadata{"tags":["utopian-io","documentation","gamedev","godot"],"image":["http://docs.godotengine.org/en/latest/_images/unshaded.png"],"links":["https://github.com/godotengine/godot-docs","http://docs.godotengine.org/en/latest/tutorials/viewports/viewports.html","http://docs.godotengine.org/en/latest/classes/class_viewport.html","https://github.com/clayjohn","https://github.com/godotengine/godot-docs/pull/1506","https://github.com/godotengine/godot/pull/19494"],"app":"steemit/0.1","format":"markdown"}
created2018-06-18 06:02:09
last_update2018-06-18 06:02:09
depth0
children4
last_payout2018-06-25 06:02:09
cashout_time1969-12-31 23:59:59
total_payout_value32.351 HBD
curator_payout_value10.334 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length2,984
author_reputation12,492,798,894,700
root_title"Godot Viewport Documentation"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id61,184,198
net_rshares19,886,133,330,811
author_curate_reward""
vote details (81)
@ms10398 ·
$0.03
Hello @clayjohn,

Its great to see your contribution in Utopian again and its a really good contribution.

Looking for more future contributions from your end.

Thanks

Your contribution has been evaluated according to [Utopian policies and guidelines](https://join.utopian.io/guidelines), as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, [click here](https://review.utopian.io/result/4/2221223).

---- 
Need help? Write a ticket on https://support.utopian.io/. 
Chat with us on [Discord](https://discord.gg/uTyJkNm). 
[[utopian-moderator]](https://join.utopian.io/)
πŸ‘  ,
properties (23)
authorms10398
permlinkre-clayjohn-godot-viewport-documentation-20180620t102212745z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"users":["clayjohn"],"links":["https://join.utopian.io/guidelines","https://review.utopian.io/result/4/2221223","https://support.utopian.io/","https://discord.gg/uTyJkNm","https://join.utopian.io/"],"app":"steemit/0.1"}
created2018-06-20 10:22:12
last_update2018-06-20 10:22:12
depth1
children0
last_payout2018-06-27 10:22:12
cashout_time1969-12-31 23:59:59
total_payout_value0.024 HBD
curator_payout_value0.005 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length658
author_reputation27,572,487,973,390
root_title"Godot Viewport Documentation"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id61,473,547
net_rshares15,031,821,831
author_curate_reward""
vote details (2)
@steemitboard ·
Congratulations @clayjohn! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

[![](https://steemitimages.com/70x80/http://steemitboard.com/notifications/voted.png)](http://steemitboard.com/@clayjohn) Award for the number of upvotes received

<sub>_Click on the badge to view your Board of Honor._</sub>
<sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP`</sub>


To support your work, I also upvoted your post!


**Do not miss the [last post](https://steemit.com/steemitboard/@steemitboard/steemitboard-world-cup-contest-tunisia-vs-england) from @steemitboard!**

---
**Participate in the [SteemitBoard World Cup Contest](https://steemit.com/steemitboard/@steemitboard/steemitboard-world-cup-contest-collect-badges-and-win-free-sbd)!**
Collect World Cup badges and win free SBD
Support the Gold Sponsors of the contest: [@good-karma](https://v2.steemconnect.com/sign/account-witness-vote?witness=good-karma&approve=1) and [@lukestokes](https://v2.steemconnect.com/sign/account-witness-vote?witness=lukestokes.mhth&approve=1)

---

> Do you like [SteemitBoard's project](https://steemit.com/@steemitboard)? Then **[Vote for its witness](https://v2.steemconnect.com/sign/account-witness-vote?witness=steemitboard&approve=1)** and **get one more award**!
properties (22)
authorsteemitboard
permlinksteemitboard-notify-clayjohn-20180618t111706000z
categoryutopian-io
json_metadata{"image":["https://steemitboard.com/img/notify.png"]}
created2018-06-18 11:17:06
last_update2018-06-18 11:17:06
depth1
children0
last_payout2018-06-25 11:17:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,337
author_reputation38,975,615,169,260
root_title"Godot Viewport Documentation"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id61,212,683
net_rshares0
@utopian-io ·
Hey @clayjohn
**Thanks for contributing on Utopian**.
We’re already looking forward to your next contribution!

**Contributing on Utopian**
Learn how to contribute on <a href='https://join.utopian.io'>our website</a> or by watching <a href='https://www.youtube.com/watch?v=8S1AtrzYY1Q'>this tutorial</a> on Youtube.

**Want to chat? Join us on Discord https://discord.gg/h52nFrV.**

<a href='https://v2.steemconnect.com/sign/account-witness-vote?witness=utopian-io&approve=1'>Vote for Utopian Witness!</a>
πŸ‘  
properties (23)
authorutopian-io
permlinkre-godot-viewport-documentation-20180620t103009z
categoryutopian-io
json_metadata"{"app": "beem/0.19.29"}"
created2018-06-20 10:30:09
last_update2018-06-20 10:30:09
depth1
children0
last_payout2018-06-27 10:30:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length505
author_reputation152,955,367,999,756
root_title"Godot Viewport Documentation"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id61,474,314
net_rshares2,085,755,049
author_curate_reward""
vote details (1)
@writingpassion ·
Helpful Info. Thanks For Sharing.
properties (22)
authorwritingpassion
permlinkre-clayjohn-godot-viewport-documentation-20180618t060309018z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit/0.1"}
created2018-06-18 06:03:09
last_update2018-06-18 06:03:09
depth1
children0
last_payout2018-06-25 06:03:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length33
author_reputation-7,572,631,267
root_title"Godot Viewport Documentation"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id61,184,296
net_rshares0