﻿<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ja">
	<id>https://wiki.blender.jp/index.php?action=history&amp;feed=atom&amp;title=Extensions%3AUni-Verse%2Fvclock</id>
	<title>Extensions:Uni-Verse/vclock - 版の履歴</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.blender.jp/index.php?action=history&amp;feed=atom&amp;title=Extensions%3AUni-Verse%2Fvclock"/>
	<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Extensions:Uni-Verse/vclock&amp;action=history"/>
	<updated>2026-06-10T13:24:25Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=Extensions:Uni-Verse/vclock&amp;diff=52704&amp;oldid=prev</id>
		<title>Yamyam: 1版 をインポートしました</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Extensions:Uni-Verse/vclock&amp;diff=52704&amp;oldid=prev"/>
		<updated>2018-06-28T17:50:28Z</updated>

		<summary type="html">&lt;p&gt;1版 をインポートしました&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ja&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← 古い版&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;2018年6月28日 (木) 17:50時点における版&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;ja&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(相違点なし)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Yamyam</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=Extensions:Uni-Verse/vclock&amp;diff=52703&amp;oldid=prev</id>
		<title>wiki&gt;Mindrones: Robot: Automated text replacement  (-{{Template:UV/navigator}} +{{Page/Header|2.4|prevpage|nextpage}})</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Extensions:Uni-Verse/vclock&amp;diff=52703&amp;oldid=prev"/>
		<updated>2010-04-06T22:30:02Z</updated>

		<summary type="html">&lt;p&gt;Robot: Automated text replacement  (-{{Template:UV/navigator}} +{{Page/Header|2.4|prevpage|nextpage}})&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Page/Header|2.4|prevpage|nextpage}}&lt;br /&gt;
==Introduction==&lt;br /&gt;
This page describes the tool called &amp;quot;vclock&amp;quot;. The purpose of vclock is to create a &amp;quot;live&amp;quot; bitmap, holding a digital clock. The program updates the clock once a second, so that the displayed clock keeps track of time.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
Currently, vclock is not included in any binary distribution of Verse. Thus, to obtain it, you will need to check out its source code from CVS, and compile it yourself. It should be easy enough to build in Linux and similar environments, but has not been built under Windows yet.&lt;br /&gt;
&lt;br /&gt;
You will find vclock in its own [http://projects.blender.org/viewcvs/viewcvs.cgi/vclock/?cvsroot=verse module] in the main [http://projects.blender.org/viewcvs/viewcvs.cgi/?cvsroot=verse#dirlist Verse CVS repository]. Check it out from there, enter the resulting directory, and type &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Requirements===&lt;br /&gt;
Being very small and quickly developed, vclock has no external dependencies except for Verse itself.&lt;br /&gt;
&lt;br /&gt;
The LED-display-like font is compiled into the program, to change it you need to edit the XPM source file. The code assumes that the font image holds the digits 0..9, in that order left to right. The default image is 320x48 pixels, making each digit 32x48. Please note that the XPM file is a pixmap, so it defines colors as RGB triplets. However, the vclock client treats it as monochrome grayscale, and only uses the red part of each color. Still, it is not a bitmap, since there is the ability to support any number of intensity levels in the single channel.&lt;br /&gt;
&lt;br /&gt;
==Running vclock==&lt;br /&gt;
The vclock program is a pure command-line tool, meaning it has no graphical (window-based) user interface. To use it, you simply run the executable (&amp;quot;binary&amp;quot;) from the command prompt, and control its behavior by passing suitable arguments.&lt;br /&gt;
&lt;br /&gt;
The simplest possible invocation looks like this:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
 $ vclock&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above will connect to a Verse server on localhost, create the required bitmap node, and start displaying the current time, in the opinion of the machine where vclock is running.&lt;br /&gt;
&lt;br /&gt;
If you want to create a clock on a Verse server running elsewhere, use the &amp;lt;tt&amp;gt;-ip&amp;lt;/tt&amp;gt; option, like so:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
 $ vclock -ip=verse.example.org&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above will create a clock on a Verse server running on the host &amp;lt;tt&amp;gt;verse.example.org&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Options===&lt;br /&gt;
Being a command-line only tool, vclock has a number of options you can use to control the way it operates. All options are case-sensitive. Multiple single-letter options &amp;lt;i&amp;gt;cannot&amp;lt;/i&amp;gt; be given with a single dash.&lt;br /&gt;
&lt;br /&gt;
These are the supported options (a word enclosed in square brackets denotes an optional part):&lt;br /&gt;
;-ip=HOST&amp;lt;nowiki&amp;gt;[:PORT]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
:Specify the host name (or IP address) of the server to which the vclock client should connect.&lt;br /&gt;
;-border=&amp;lt;i&amp;gt;n&amp;lt;/i&amp;gt;&lt;br /&gt;
:Make the client add &amp;lt;i&amp;gt;n&amp;lt;/i&amp;gt; tiles of black border around the clock. This expands the image's total area by &amp;lt;code&amp;gt;VN_B_TILE_SIZE&amp;lt;/code&amp;gt;*(2*&amp;lt;i&amp;gt;n&amp;lt;/i&amp;gt;)*&amp;lt;code&amp;gt;VN_B_TILE_SIZE&amp;lt;/code&amp;gt;*(2*&amp;lt;i&amp;gt;n&amp;lt;/i&amp;gt;) pixels. Here, &amp;lt;code&amp;gt;VN_B_TILE_SIZE&amp;lt;/code&amp;gt; is an internal Verse constant, the value of which is typically eight.&lt;br /&gt;
;-layers=&amp;lt;nowiki&amp;gt;[r][g][b][a]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
:Select which bitmap layers are to be created and then written to by the vclock client. This controls the color of the clock, and let's you select any of the seven primary colors. In theory it is also possible to create an empty clock, although doing so is kind of pointless. The following table summarizes which layer gets created by each of the four letters:&lt;br /&gt;
{| align=&amp;quot;center&amp;quot;&lt;br /&gt;
! Letter !! Layer !! Content&lt;br /&gt;
|-&lt;br /&gt;
| r || color_r || Red component of bitmap's color.&lt;br /&gt;
|-&lt;br /&gt;
| g || color_g || Green component of bitmap's color.&lt;br /&gt;
|-&lt;br /&gt;
| b || color_b || Blue component of bitmap's color.&lt;br /&gt;
|-&lt;br /&gt;
| a || alpha || Alpha channel for the bitmap.&lt;br /&gt;
|}&lt;br /&gt;
;-utc&lt;br /&gt;
:Makes the current time [http://en.wikipedia.org/wiki/Coordinated_Universal_Time UTC], rather than local. Handy when you want to set up a foreign timezone, which might be specified relative to UTC.&lt;br /&gt;
;-offset=&amp;lt;i&amp;gt;n&amp;lt;/i&amp;gt;&lt;br /&gt;
:Create a clock that shows the current time, plus &amp;lt;i&amp;gt;n&amp;lt;/i&amp;gt; minutes. The offset can be negative.&lt;br /&gt;
;-node=NAME&lt;br /&gt;
:Rather than creating its own bitmap node, make the client wait for a node named NAME to show up, and use it. This works best if that node was previously created by an instance of vclock. Not too much care is taken to ensure that the proper layers exist, in this mode.&lt;br /&gt;
;-wait=&amp;lt;i&amp;gt;n&amp;lt;/i&amp;gt;&lt;br /&gt;
:When waiting for a node using the -name option, this sets the maximum time to wait to &amp;lt;i&amp;gt;n&amp;lt;/i&amp;gt; seconds. After the delay has expired, vclock will create the named node itself.&lt;br /&gt;
;-F&lt;br /&gt;
:Don't try to be smart when updating the clock, but always send all tiles that make up the clock. If not given, vclock will only send bitmap tiles for the digits that have actually changed. Note that even in the default mode, it is not smart enough to look at the actual tiles' contents: all tiles for a changing digit will be sent.&lt;br /&gt;
;-C&lt;br /&gt;
:Create all RGB layers, but only update those specified by the -layers option. This is useful to trick broken clients, that don't otherwise properly interpret the bitmap node.&lt;br /&gt;
;-h&lt;br /&gt;
:Prints help text, with summary descriptions of all the options.&lt;br /&gt;
&lt;br /&gt;
===Output===&lt;br /&gt;
The default output from vclock, in the form of a bitmap node created and updated on the indicated Verse server, looks like this:&lt;br /&gt;
&lt;br /&gt;
[[Image:Uni-Verse-vclock-default.png||By default, vclock creates a white digital clock. Use the -layers option to change the color.]]&lt;br /&gt;
&lt;br /&gt;
Here is how the clock looks when running with -border=3 and -layers=r:&lt;br /&gt;
&lt;br /&gt;
[[Image:Uni-Verse-vclock-red-border.png||In red, with a border.]]&amp;lt;br&amp;gt;&lt;br /&gt;
As you can see, this results in a red clock, with 3*8=24 pixels of black border all around. The border pixels are never written to.&lt;br /&gt;
&lt;br /&gt;
==Limitations==&lt;br /&gt;
There's no flashing colons ... :)&lt;br /&gt;
[[Category:Script]]&lt;/div&gt;</summary>
		<author><name>wiki&gt;Mindrones</name></author>
		
	</entry>
</feed>