From: "Sebastian Pipping (sping)" <sping@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo commit in xml/htdocs/proj/en/desktop/artwork: artwork.xml
Date: Thu, 28 Apr 2011 13:51:08 +0000 (UTC) [thread overview]
Message-ID: <20110428135108.3428B20054@flycatcher.gentoo.org> (raw)
sping 11/04/28 13:51:08
Added: artwork.xml
Log:
Add initial version of article on Gentoo artwork, todos left
Revision Changes Path
1.1 xml/htdocs/proj/en/desktop/artwork/artwork.xml
file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/proj/en/desktop/artwork/artwork.xml?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/proj/en/desktop/artwork/artwork.xml?rev=1.1&content-type=text/plain
Index: artwork.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
<guide>
<title>Gentoo Artwork</title>
<author title="Author">
<mail>sping</mail>
</author>
<abstract>
Collection of information about available artwork and its usage.
</abstract>
<!-- The *textual* content of this document is licensed under the CC-BY-SA license -->
<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
<!-- <license/> -->
<version>1</version>
<date>2011-04-28</date>
<chapter>
<title>Gentoo Mascots</title>
<section>
<title>Larry the Cow</title>
<body>
<fig link="/images/icon-cow.png" />
<p>
Larry the cow originates from letter <e>s</e> of the font
<uri link="http://www.fonthead.com/fonts/Font-Heads">Font Heads</uri>.
Therefore, usage of Larry the cow needs to respect the
<uri link=" http://www.fonthead.com/license">End User License Agreement (EULA)</uri>
of <uri link="http://www.fonthead.com/">Fonthead Design Inc.</uri>.
</p>
<p>
TODO
</p>
</body>
</section>
<section>
<title>Znurt and his shadow</title>
<body>
<p>
While Znurt also appears on the Gentoo <uri link="/">main page</uri>,
his shadow is known from a previous design of Gentoo's <uri link="https://bugs.gentoo.org/">bugzilla instance</uri> only.
</p>
<fig link="/images/bugzilla.png" />
<p>
Separate graphics for each of them are available. Click the respective image below to get to its vector sources.
</p>
<fig link="/images/artwork/znurt.png" linkto="/images/artwork/znurt.svg" />
<fig link="/images/artwork/black-gentoo-thing.png" linkto="/images/artwork/black-gentoo-thing.svg" />
<p>
Both SVGs and PNGs are licensed under
<uri link="http://creativecommons.org/licenses/by-sa/2.5">Creative Commons - Attribution / Share Alike</uri>.
</p>
</body>
</section>
</chapter>
<chapter>
<title>Rendering the offical "g" logo</title>
<section>
<title>The blue "g" logo</title>
<body>
<p>
TODO
</p>
</body>
</section>
<section>
<title>The red "gentoo" logo</title>
<body>
<fig link="/images/gentoo-new.gif" />
<p>
It is possible to render this logo as a transparent PNG with custom resolution.
</p>
<dl>
<dt><b>Procedure:</b></dt>
<dd>
<ol>
<li>Get a copy of <uri link="http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-src/gentoo-web/blend/blend-archive/gentoo3.blend.bz2">gentoo3.blend.bz2</uri></li>
<li>Unpack it using bunzip2</li>
<li>Pass it to Blender (package <c>media-gfx/blender</c>) for rendering</li>
</ol>
</dd>
</dl>
<p>
Blender can be made to render from the command line as following.
</p>
<pre caption="Invocation of Blender 2.49b">
# <i>blender -b gentoo3.blend -P gentoo3.py</i>
Compiled with Python version 2.6.6.
Checking for installed Python... got it!
Fra:1 Mem:0.20M | Preparing Scene data
Fra:1 Mem:2.94M | Preparing Scene data
Fra:1 Mem:2.94M | Creating Shadowbuffers
Fra:1 Mem:2.94M | Creating Environment maps
Fra:1 Mem:2.94M | SSS preprocessing
Fra:1 Mem:2.94M Sce: 1 Ve:15590 Fa:11616 La:5
Fra:1 Mem:13.24M | Part 1-16
Fra:1 Mem:12.67M | Part 2-16
Fra:1 Mem:14.82M | Part 3-16
Fra:1 Mem:13.24M | Part 5-16
Fra:1 Mem:12.67M | Part 4-16
Fra:1 Mem:13.24M | Part 6-16
Fra:1 Mem:12.67M | Part 7-16
Fra:1 Mem:13.24M | Part 8-16
Fra:1 Mem:12.67M | Part 9-16
Fra:1 Mem:13.24M | Part 11-16
Fra:1 Mem:12.67M | Part 10-16
Fra:1 Mem:13.24M | Part 13-16
Fra:1 Mem:12.67M | Part 12-16
Fra:1 Mem:13.24M | Part 15-16
Fra:1 Mem:12.67M | Part 14-16
Fra:1 Mem:12.67M | Part 16-16
Fra:1 Mem:9.90M Sce: 1 Ve:15590 Fa:11616 La:5
Save to: littletoo.png -> littletoo.png
Blender quit
</pre>
<p>
The script <path>gentoo3.py</path> is used to customize rendering parameters.
We are using a hard-coded resolution of 800x600 in this guide.
</p>
<pre caption="gentoo3.py">
<comment>#!BPY
# Copyright (C) 2011 Gentoo Foundation, Inc.
# Written by Sebastian Pipping <sping@gentoo.org>
# Licensed under GPL v2 or later</comment>
<keyword>import</keyword> <var>Blender</var>
<var>scn</var> = <var>Blender</var>.Scene.GetCurrent()
<var>context</var> = <var>scn</var>.getRenderingContext()
<comment># Dimensions</comment>
<var>context</var>.imageSizeX(<const>800</const>)
<var>context</var>.imageSizeY(<const>600</const>)
<var>context</var>.setRenderWinSize(<const>100</const>)
<comment># Transparent PNG</comment>
<var>context</var>.enableRGBAColor()
<var>context</var>.imageType = <var>Blender</var>.Scene.Render.PNG
<var>context</var>.enablePremultiply()
<comment># Render</comment>
<var>context</var>.render()
<var>context</var>.saveRenderedImage(<const>'.png'</const>, <const>1</const>)
</pre>
</body>
</section>
</chapter>
</guide>
next reply other threads:[~2011-04-28 13:54 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-28 13:51 Sebastian Pipping (sping) [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-04-29 1:40 [gentoo-commits] gentoo commit in xml/htdocs/proj/en/desktop/artwork: artwork.xml Sebastian Pipping (sping)
2011-04-29 22:23 Sebastian Pipping (sping)
2011-04-29 22:48 Sebastian Pipping (sping)
2011-04-30 1:56 Sebastian Pipping (sping)
2011-04-30 17:37 David Abbott (dabbott)
2011-04-30 18:49 Sebastian Pipping (sping)
2011-05-07 2:53 Sebastian Pipping (sping)
2011-05-10 16:30 JosA MarAa Alonso (nimiux)
2011-06-01 19:17 Sebastian Pipping (sping)
2011-06-01 20:44 Sebastian Pipping (sping)
2011-06-01 21:07 Sebastian Pipping (sping)
2011-06-01 23:21 Sebastian Pipping (sping)
2011-06-01 23:38 Sebastian Pipping (sping)
2011-06-02 1:16 Sebastian Pipping (sping)
2011-06-02 1:20 Sebastian Pipping (sping)
2011-06-02 1:24 Sebastian Pipping (sping)
2011-06-03 0:02 Sebastian Pipping (sping)
2011-06-03 0:23 Sebastian Pipping (sping)
2011-06-03 11:23 Sebastian Pipping (sping)
2011-06-03 12:06 Sebastian Pipping (sping)
2011-06-03 14:55 Sebastian Pipping (sping)
2011-06-03 17:17 Sebastian Pipping (sping)
2011-06-03 18:00 Sebastian Pipping (sping)
2011-06-04 17:19 Sebastian Pipping (sping)
2011-06-04 17:20 Sebastian Pipping (sping)
2011-06-05 13:49 Sebastian Pipping (sping)
2011-06-06 12:28 JosA MarAa Alonso (nimiux)
2011-06-20 20:02 Sebastian Pipping (sping)
2011-07-20 23:44 Sebastian Pipping (sping)
2011-07-21 2:04 Sebastian Pipping (sping)
2012-03-11 3:38 Sebastian Pipping (sping)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110428135108.3428B20054@flycatcher.gentoo.org \
--to=sping@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox