REQ>Sun Position-Time of Day and Geographic Data

Feature requests, bug reports and related discussion
User avatar
joegiampaoli
Posts: 837
Joined: Thu Oct 05, 2006 7:12 am
Location: San Miguel de Allende-MEXICO
Contact:

REQ>Sun Position-Time of Day and Geographic Data

Post by joegiampaoli » Fri Aug 10, 2007 4:57 pm

I'm not sure if this has been requested before or not, also I think it's more of an exporter thing than indigo core system.

Is there a way to precisely know what my sun position and angle in blender for example could represent an exact time of day and geographical place?
Joe Giampaoli
Never tie a ship to a single anchor, nor life to a single hope
My Indigo Gallery

User avatar
Kram1032
Posts: 6649
Joined: Tue Jan 23, 2007 3:55 am
Location: Austria near Vienna

Post by Kram1032 » Fri Aug 10, 2007 11:50 pm

hum...

hard...

1) north south east west isn't defined - you can't make it 100% accurate
2) at the same time in the same timezone, the sun stands differently, 'cause of the north-south cordinates... (and the season)

you might find sort of a calculator, for that, or simmilar, dunno.
Or if you (or someone else) finds a formula, you can use that, yourself, then. ;)

...definately possible, if you do it correctly

User avatar
suvakas
3rd Place Winner
Posts: 2613
Joined: Mon Sep 04, 2006 11:08 pm
Location: Estonia
Contact:

Post by suvakas » Fri Aug 10, 2007 11:57 pm

This is implemented in 3ds Max (don't know how acurately Indigo renders it though)

mrCarnivore
Posts: 517
Joined: Sun Mar 04, 2007 6:20 am
Location: Stuttgart, Germany

Post by mrCarnivore » Fri Aug 10, 2007 11:59 pm

I think that should be part of the 3d-prog or the exporter...

you would have to define GPS coordinates, the exact date and time and the direction where north is in your render (or default that to the poitive x-axis or something else). The rest should be pretty easily calculatable.

Haven't found a formula, though. (Haven't looked for it tbh. :-) )

User avatar
Caronte
Posts: 61
Joined: Tue May 01, 2007 7:17 am
Location: Valencia, Spain

Post by Caronte » Sat Aug 11, 2007 12:02 am

Kram1032 wrote:you can't make it 100% accurate
Wrong.
Several softwares have that (Max, Cinema4D, Terragen, Carrara...) and you can determine the position like in a global map (latitud&longitud).
Last edited by Caronte on Sat Aug 11, 2007 12:12 am, edited 1 time in total.
Sorry about my poor english ;)

User avatar
Kram1032
Posts: 6649
Joined: Tue Jan 23, 2007 3:55 am
Location: Austria near Vienna

Post by Kram1032 » Sat Aug 11, 2007 12:03 am

He asked for blender

User avatar
Caronte
Posts: 61
Joined: Tue May 01, 2007 7:17 am
Location: Valencia, Spain

Post by Caronte » Sat Aug 11, 2007 12:16 am

Kram1032 wrote:He asked for blender
We only need some maths and a coder ;)
Sorry about my poor english ;)

User avatar
Kram1032
Posts: 6649
Joined: Tue Jan 23, 2007 3:55 am
Location: Austria near Vienna

Post by Kram1032 » Sat Aug 11, 2007 12:19 am

yes...
that's what I meant with the rest of my post...
you might find sort of a calculator, for that, or simmilar, dunno.
Or if you (or someone else) finds a formula, you can use that, yourself, then.
:wink:
:wink:

User avatar
Caronte
Posts: 61
Joined: Tue May 01, 2007 7:17 am
Location: Valencia, Spain

Post by Caronte » Sat Aug 11, 2007 12:57 am

Making a quick search on google seems there is enough info to do it, but the coder is more dificult :P
Sorry about my poor english ;)

User avatar
filippo
Posts: 658
Joined: Sat Aug 05, 2006 8:46 pm
Location: italia(senigallia-an)
Contact:

Post by filippo » Sat Aug 11, 2007 2:46 am

only for max user ...you can see http://www.indigorenderer.com/joomla/fo ... php?t=1241
this tutorial it is write in italian, but the setting is very easy..
filippo
2x Xeon quad core ghz 2.66(8 core)+4g ram+quadro fx
2 x Xeon Quad 5540 (16 core)+16GB ram+ Nvidia GTX 295 1800mb

User avatar
zsouthboy
Posts: 1395
Joined: Fri Oct 13, 2006 5:12 am

Post by zsouthboy » Sat Aug 11, 2007 3:31 am

Maxwell actually made you do this information to set the sun position (last I used it - might be different now).

Personally, I *don't* see the value in it. Calculate it yourself, if needed.

User avatar
Headroom
Indigo 100
Posts: 1058
Joined: Wed Aug 08, 2007 1:07 pm
Location: Spartanburg, SC, USA
Contact:

Post by Headroom » Sat Aug 11, 2007 4:20 am

I believe there is a script for Blender that helps you do that.
I remember that I read a post in respect to this on the Blender artists forum, so you may search the forum there for a solution.

For the Radiance lighting analysis software such a solution already exists and I think it is called "gensky". As radiance is open software a skilled programmer (which unfortunately excludes me :( should be able to interpret that source code and replicate something similar for Blender or Indigo. That however really should not be part of Indigo as a render engine.

User avatar
Headroom
Indigo 100
Posts: 1058
Joined: Wed Aug 08, 2007 1:07 pm
Location: Spartanburg, SC, USA
Contact:

Post by Headroom » Sat Aug 11, 2007 4:21 am

I forgot to add the link to the Radiance website:

http://radsite.lbl.gov/

crsrma
Posts: 45
Joined: Thu Nov 02, 2006 3:38 am

Post by crsrma » Sat Aug 11, 2007 5:17 am

Something like this has been in Lightwave, for god knows how long... It'd be sweet if it were part of Blender itself. I suggest making a feature request on the blender.org site. ;)

neepneep
Indigo 100
Posts: 413
Joined: Wed Jun 28, 2006 10:21 am

Post by neepneep » Sat Aug 11, 2007 6:07 am

http://www.stellarium.org/

Maybe Ono can copy and paste some of this into Indigo? :D :? :D

edit: I just noticed that they also have an API under development :twisted: hmmm?

Post Reply
21 posts

Who is online

Users browsing this forum: No registered users and 76 guests