Web Design Web Design Forum
Registration is free! Here you can view your subscribed threads, work with private messages and edit your profile and preferences Calendar Find other members Frequently Asked Questions Search
Home Web Design

Convenient web based access to our favorite web design Usenet groups

web design reviews

This is Interesting: Free Magazines for Graphics designers and webmasters  





  Last Thread  Next Thread
Author
Thread Post New Thread   

System time with VRML
 

Ludovico




quote this post edit post

IP Loged report this post

Old Post  10-23-05 - 11:20 PM  
Hi,
I would like to know the time during viewing a VRML world, because I want to
change the intensity and color of light to simulate the sunlight. Can anyone
help me to do this task?
I tried the javascript function Date() but it doesn't work. May be I used it
in the wrong way.
Thanks a lot
Ludovico.


--
---------------------------------------

< " Don't expect, suggest". The Edge, U2 >

***************************************

e-mail lugenco@libero.it

***************************************




Post Follow-Up to this message ]
Re: System time with VRML
 

Chris Boyce




quote this post edit post

IP Loged report this post

Old Post  10-23-05 - 11:20 PM  
Ludovico wrote:
> I would like to know the time during viewing a VRML world, because I want 
to
> change the intensity and color of light to simulate the sunlight. Can anyo
ne
> help me to do this task?
> I tried the javascript function Date() but it doesn't work. May be I used 
it
> in the wrong way.

I've done this stuff sucessfully using Date() and it's helper functions,
getDate() etc. Take a look at:

http://www.mayfieldiow.freewire.co.uk/sun_sim.wrl

That should do pretty much everything you might need - it produces a
simulated sun that moves around the sky with time just as the real one
does, seasons and all. You need to tell it where on the earth your model
is, i.e. it's latitude and longitude, it will then do everything else,
it'll even turn on lights at twilight if you need. It should be
inlinable from your world. It's part of

http:\\www.allsaintsgodshil.free-online.co.uk\allsaints.wrl

which was something I was working on a while back.

bye,
Chris.




Post Follow-Up to this message ]
Re: System time with VRML
 

Ludovico




quote this post edit post

IP Loged report this post

Old Post  10-24-05 - 11:35 PM  
ok, that's exactly what I was looking for.
Thanks a lot
Bye
Ludovico

"Chris Boyce" <chris@mayfieldiow.freewire.co.uk> ha scritto nel messaggio
news:435c00e8$0$133$7b0f0fd3@mistral.news.newnet.co.uk...
> Ludovico wrote: 
want to 
anyone 
used it 
>
> I've done this stuff sucessfully using Date() and it's helper functions,
> getDate() etc. Take a look at:
>
> http://www.mayfieldiow.freewire.co.uk/sun_sim.wrl
>
> That should do pretty much everything you might need - it produces a
> simulated sun that moves around the sky with time just as the real one
> does, seasons and all. You need to tell it where on the earth your model
> is, i.e. it's latitude and longitude, it will then do everything else,
> it'll even turn on lights at twilight if you need. It should be
> inlinable from your world. It's part of
>
> http:\\www.allsaintsgodshil.free-online.co.uk\allsaints.wrl
>
> which was something I was working on a while back.
>
> bye,
> Chris.
>
>




Post Follow-Up to this message ]
Sponsored Links
 





All times are GMT. The time now is 04:53 AM. Post New Thread   
  Previous Last Thread   Next Thread next
VRML archive | Show Printable Version | Email this Page | Subscribe to this Thread

Popular forums

Adobe Photoshop forum Macromedia Flash Web Site Design
Dreamweaver FrontPage forum
JavaScript Forum XML forum
Style Sheets VRML
Forum Jump:
Rate This Thread:

 

XML RSS Feed web design latest articles Syndicate our forum via XML or simple JavaScript

Web Design archive  Database administration help  


Top Home  -  Register  -  Control Panel   -  Memberlist  -  Calendar  -  Faq  -  Search Top