<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Andy,<br>
<br>
Nice work. <br>
<br>
I am in Pacific (GMT-0800). My computer says 7:05 (AM), the clock
says 1:05. <br>
<br>
The script node always runs locally with access to local
resources. The time returned by a TimeSensor node is always GMT.
If you are making any adjustments for the clock to look correct at
your timezone, then it will probably be incorrect for most other
people. If you are using JavaScript in the browser (as opposed to
TimeSensor in X3D), then the time returned from the getTime()
method is local time.<br>
<br>
There can also be "hidden" adjustments based on the 0-angle for
various Transforms. <br>
<br>
You might consider getting the browser's JavaScript time and
feeding into an X3D Script node to determine the offset and use
that to set the initial position of the hour hand. Note that X3DOM
does not support the Script node, so you may need to do the
initialization work in the browser and feed the results as an
initial rotation of the hour hand into the X3D scene.<br>
<br>
<br>
Leonard Daly<br>
<br>
<br>
<br>
<br>
</div>
<blockquote
cite="mid:41B98515-9D6E-4A3E-826C-CD2B22C11512@qut.edu.au"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<div class="">Hi All,</div>
<div class=""><br class="">
</div>
<div class="">Sorry to cross post. I am testing TimeSensor and
OrientationInterpolator and wondering why the hour hand of my
analog clock has to start on 10 o’clock.</div>
<div class="">I am not sure if it has something to do with my
timezone being at +10 hours. I tried changing my computer
timezone but there is no effect on the clock. However, changing
the computer time does affect the TimeSensor and auto correct
the 3D clock. </div>
<div class=""><br class="">
</div>
<div class="">If you are willing to help, could you please view my
3D clock at <a moz-do-not-send="true"
href="https://vrmath2.net/content/analog-clock" class="">https://vrmath2.net/content/analog-clock</a> and
see if:</div>
<div class="">1. the clock is running correctly as your computer
time, and if you don’t mind,</div>
<div class="">2. what is your computer timezone?</div>
<div class=""><br class="">
</div>
Thanks in advance,<br class="">
<div apple-content-edited="true" class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica;
font-style: normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: normal; orphans: 2;
text-align: -webkit-auto; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width:
0px; word-wrap: break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space; " class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica;
font-style: normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; line-height: normal;
orphans: 2; text-align: -webkit-auto; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; word-wrap: break-word;
-webkit-nbsp-mode: space; -webkit-line-break:
after-white-space; " class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica;
font-style: normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; line-height: normal;
orphans: 2; text-align: -webkit-auto; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; word-wrap: break-word;
-webkit-nbsp-mode: space; -webkit-line-break:
after-white-space; " class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica;
font-style: normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; line-height: normal;
orphans: 2; text-align: -webkit-auto; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; word-wrap: break-word;
-webkit-nbsp-mode: space; -webkit-line-break:
after-white-space; " class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica;
font-style: normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; line-height: normal;
orphans: 2; text-align: -webkit-auto; text-indent:
0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px;
-webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; word-wrap: break-word;
-webkit-nbsp-mode: space; -webkit-line-break:
after-white-space; " class="">
<div style="color: rgb(0, 0, 0); font-family:
Helvetica; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal;
line-height: normal; orphans: 2; text-align:
-webkit-auto; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; word-spacing:
0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; word-wrap:
break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space; " class="">
<div style="color: rgb(0, 0, 0); font-family:
Helvetica; font-style: normal; font-variant:
normal; font-weight: normal; letter-spacing:
normal; line-height: normal; orphans: 2;
text-align: -webkit-auto; text-indent: 0px;
text-transform: none; white-space: normal; widows:
2; word-spacing: 0px; -webkit-text-size-adjust:
auto; -webkit-text-stroke-width: 0px; word-wrap:
break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space; " class="">
<div style="color: rgb(0, 0, 0); font-family:
Helvetica; font-style: normal; font-variant:
normal; font-weight: normal; letter-spacing:
normal; line-height: normal; orphans: 2;
text-align: -webkit-auto; text-indent: 0px;
text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px;
-webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; word-wrap:
break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space; "
class="">
<div style="margin: 0cm 0cm 0.0001pt; font-size:
16px; font-family: 'Times New Roman', serif; "
class="">
<div style="margin: 0cm 0cm 0.0001pt;
font-size: 11pt; font-family: Calibri,
sans-serif; " class="">
--</div>
<div style="margin: 0cm 0cm 0.0001pt;
font-size: 11pt; font-family: Calibri,
sans-serif; " class="">
Andy</div>
<div style="margin: 0cm 0cm 0.0001pt;
font-size: 11pt; font-family: Calibri,
sans-serif; " class="">
<br class="">
</div>
<div style="margin: 0cm 0cm 0.0001pt;
font-size: 11pt; font-family: Calibri,
sans-serif; " class="">
s 'text' based node as outlined below (it
may need to be tweaked, I'll send out my
final implementation when ready)</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div>
<blockquote type="cite" class="">
<div class="">
<div bgcolor="#FFFFFF" text="#000000" class="">The second
would be a 'binary' based system, where the weights would
be baked into a lossless PNG file. Probably up to 4 sets
of weights per file.<br class="">
Think of it as four alpha channels corresponding to 4
textures at a time. An alternative is one grayscale image
(jpg or png) representing a blending<br class="">
alpha for each layer. May do that both ways too.<br
class="">
<br class="">
<br class="">
<div class="moz-cite-prefix">On 1/21/2015 10:06 PM, Dave A
wrote:<br class="">
</div>
<blockquote
cite="mid:54C09357.5000305@realmofconcepts.com"
type="cite" class="">
I'm working on an X3D/X3DOM exporter for Unity.
Currently working on Terrains (ElevationGrids)<br
class="">
<br class="">
Is it still true that an EG can have only one texture?
Is this still true in X3DOM?<br class="">
<br class="">
If not, can we all go get the FREE Unity app, and check
out how Terrain is done. For the curious, it is like an
EG,<br class="">
but it can have multiple layers (each having both
diffuse and optionally normal maps), each with its own
resolution,<br class="">
and each with a set of 'weights'. The weights range from
0 to 1 indicating that texture's contribution to the
texel.<br class="">
Why? So you can have relatively small repeating textures
for things like grass, gravel, mud, snow, etc., and
blend them<br class="">
together across the larger map such that it doesn't look
so repetitive. Unity lets you paint heights as well as
these<br class="">
weights. So you can, for example, add grass and sand to
a terrain, then paint the sand onto the grass to make
paths<br class="">
in the grass.<br class="">
<br class="">
I would imagine the Appearance to looks something like
this maybe:<br class="">
<br class="">
<Appearance><br class="">
<ImageTexture index='0' url='"grass.png"'/><br
class="">
<ImageTexture index='1' url='"sand.png"'/><br
class="">
</Appearance><br class="">
<ElevationGrid .... how it is pretty much with height
et al ><br class="">
<Weight index='0' weight = ' 0 .5 .25 .....'
One weight for each height ... /><br class="">
<Weight index='1' weight = ' 1 .5 .75 .....'
One weight for each height ... /><br class="">
</ElevationGrid><br class="">
<br class="">
Of course this doesn't account for normal maps or other
types of maps that could be included, open to suggestion
there. Here's one:<br class="">
<br class="">
<ImageTexture index='0' channel='diffuse' ...<br
class="">
<ImageTexture index='0' channel='normal' ...<br
class="">
<br class="">
and so on.<br class="">
<br class="">
Here's something to whet your appetite:<br class="">
<br class="">
<span
id="cid:part1.07090007.09030806@realmofconcepts.com"><ATT00001.png></span><br
class="">
<pre class="moz-signature" cols="72">--
Follow me! @thatvrguy</pre>
<br class="">
<fieldset class="mimeAttachmentHeader"></fieldset>
<br class="">
<pre class="" wrap="">------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://p.sf.net/sfu/gigenet">http://p.sf.net/sfu/gigenet</a></pre>
<br class="">
<fieldset class="mimeAttachmentHeader"></fieldset>
<br class="">
<pre class="" wrap="">_______________________________________________
X3dom-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:X3dom-users@lists.sourceforge.net">X3dom-users@lists.sourceforge.net</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/x3dom-users">https://lists.sourceforge.net/lists/listinfo/x3dom-users</a>
</pre>
</blockquote>
<br class="">
<pre class="moz-signature" cols="72">--
Follow me! @thatvrguy</pre>
</div>
------------------------------------------------------------------------------<br
class="">
New Year. New Location. New Benefits. New Data Center in
Ashburn, VA.<br class="">
GigeNET is offering a free month of service with a new
server in Ashburn.<br class="">
Choose from 2 high performing configs, both with 100TB of
bandwidth.<br class="">
Higher redundancy.Lower latency.Increased
capacity.Completely compliant.<br class="">
<a moz-do-not-send="true"
href="http://p.sf.net/sfu/gigenet_______________________________________________"
class="">http://p.sf.net/sfu/gigenet_______________________________________________</a><br
class="">
X3dom-users mailing list<br class="">
<a class="moz-txt-link-abbreviated" href="mailto:X3dom-users@lists.sourceforge.net">X3dom-users@lists.sourceforge.net</a><br class="">
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/x3dom-users">https://lists.sourceforge.net/lists/listinfo/x3dom-users</a><br
class="">
</div>
</blockquote>
</div>
<br class="">
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. <a class="moz-txt-link-freetext" href="http://goparallel.sourceforge.net/">http://goparallel.sourceforge.net/</a></pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
X3dom-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:X3dom-users@lists.sourceforge.net">X3dom-users@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/x3dom-users">https://lists.sourceforge.net/lists/listinfo/x3dom-users</a>
</pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<font class="tahoma,arial,helvetica san serif" color="#333366">
<font size="+1"><b>Leonard Daly</b></font><br>
X3D Co-Chair<br>
Cloud Consultant<br>
President, Daly Realism - <i>Creating the Future</i>
</font></div>
</body>
</html>