Sun animation?

General Project and community related discussion.

Moderator: coordinators

Re: Sun animation?

Postby SATtva » Tue May 18, 2010 4:00 am

MaRo wrote:And if I manage to get a good grasp of it, I will have a very good reason to buy new hardware to be able to render much faster :mrgreen: , otherwise I will be old before my 250 frames of a complete sunrise->sunset animation are ready :)

If you're just going to look at the sky without not much objects in the scene, it won't take much time to render an animation even on the old hardware. Sky lightsource converges very quickly, a couple of minutes on a quadcore CPU in FullHD. If you need real geometry in the scene, then, depending on the scene, you could probably get a decent result even with a Directlight integrator or a Path integrator with 3-4 bounce depth, try them first.
Linux builds packager
聞くのは一時の恥、聞かぬのは一生の恥
User avatar
SATtva
Developer
 
Posts: 5498
Joined: Tue Apr 07, 2009 12:19 pm
Location: from Siberia with love

Re: Sun animation?

Postby MaRo » Tue May 18, 2010 4:23 am

Well actually I'd like to use it for an architectural simulation.

So once I get it working, I'll probably make tests at lower resolutions, with low bounce depth as you suggest. Maybe I'll use an idle server at work to render overnight :)

[Edit] I couldn't wait, so I fired up Blender during lunch break and I got it working! Yeah, you're DA man SATtva :D
(for those reading the thread, one thing that was not mentionned: grab latest LuxBlend from mercurial repository in order to see the new feature in the Cam/Env tab)
"Hello, IT. Have you tried turning it off and on again?"
User avatar
MaRo
 
Posts: 179
Joined: Thu Oct 15, 2009 11:32 am
Location: Villevêque, France

Re: Sun animation?

Postby MaRo » Thu May 20, 2010 5:27 am

Btw, my tests were done at work on windows platform, but when I tried to do it at home on my linux, I was unable to launch luxblend anymore.
I always got a script error. In the console, I found the following:
Code: Select all
Compiled with Python version 2.6.2.
Checking for installed Python... got it!
WARNING: LRMDB support not available


LuxBlend v0.7RC3 - UI mode

Lux scene UID is missing. Generating a new one...
./blender:199: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  4r?�I�L_C|l�A [jtb3.P�ZU
                          � �p�B�Z�N�-iq�V,:7a/b?i `�v�HnQ Q�q�^�a�3 <�HSNjNq� Vuh v�< C N�o<M d�vvI�X.$ Rz^�!�Q�8 l�a"r�L�U�`K�c�u h�F�?G^Lo�gta[h U_`�K{p 67r�aXsY
     YMm P�l_T�o|e�o�i�q C�h/*�\�^` �     o�q�S �n0uQdPh�4�\k]�l�q1< ;�S$ �;�^�gf@&9�$Gt�Z� �p_Pd 41�q3]+S�_�m�D�s8m N�u�m�gS� �W@\lA�j!C�N� ;ir �E�G�J y' ;'Qk' Z6u�n .�v�%�E�p�V= �YM+"&9�6YYkp�) C @�E�Z� �/�O�8�sY"K^)� �^&@Sp�<& }�gWWo6yS3bM`]N#� G`�g�Y� A 7]�tK1� �tpr)i�'�s>W�V�15r�Z.v #Oh�H�d:X�a�]�n� �q�U>? @!u�O$F) Vl
    b�v?7pI�t�l6�[� Oo6hG3�5�m2M�f R>\ p�e�n"e�C>=wg uIS�b
Traceback (most recent call last):
  File "/home/marc/Programmes/blender-2.49b-linux-glibc236-py26-x86_64/.blender/scripts/LuxBlend_0.1.py", line 7865, in luxDraw
    luxUID = luxGenUID(scn)
  File "/home/marc/Programmes/blender-2.49b-linux-glibc236-py26-x86_64/.blender/scripts/LuxBlend_0.1.py", line 199, in luxGenUID
    import sha
  File "/usr/lib/python2.6/sha.py", line 10, in <module>
    from hashlib import sha1 as sha
  File "/usr/lib/python2.6/hashlib.py", line 136, in <module>
    md5 = __get_builtin_constructor('md5')
  File "/usr/lib/python2.6/hashlib.py", line 63, in __get_builtin_constructor
    import _md5
ImportError: No module named _md5


I remember having read something about this issue (sha and hashlib) in the forum, but couldn't find it with the search engine. I also tried to update my python packages (still 2.6.2, but installed python-dev too), with no luck.

Could someone help? I'm a bit stuck for the moment (except to revert to older version without this nice new sun IPO keyframing option)
"Hello, IT. Have you tried turning it off and on again?"
User avatar
MaRo
 
Posts: 179
Joined: Thu Oct 15, 2009 11:32 am
Location: Villevêque, France

Re: Sun animation?

Postby SATtva » Thu May 20, 2010 5:56 am

Odd, this should still work in 2.6.2. Anyway, I've pushed an update to resolve your problem.
Linux builds packager
聞くのは一時の恥、聞かぬのは一生の恥
User avatar
SATtva
Developer
 
Posts: 5498
Joined: Tue Apr 07, 2009 12:19 pm
Location: from Siberia with love

Re: Sun animation?

Postby MaRo » Thu May 20, 2010 7:22 am

SATtva wrote:Odd, this should still work in 2.6.2. Anyway, I've pushed an update to resolve your problem.

Hmm. I still have the issue. Although the line errors now differ, and I get a smaller chunk of scrambled characters :)

Code: Select all
./blender:203: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  GU?X�s�v�DP W�u!p�M�h� *e=bo [^h ewh\dP[�F�<�b
Traceback (most recent call last):
  File "/home/marc/Programmes/blender-2.49b-linux-glibc236-py26-x86_64/.blender/scripts/LuxBlend_0.1.py", line 7908, in luxDraw
    luxUID = luxGenUID(scn)
  File "/home/marc/Programmes/blender-2.49b-linux-glibc236-py26-x86_64/.blender/scripts/LuxBlend_0.1.py", line 203, in luxGenUID
    import sha
  File "/usr/lib/python2.6/sha.py", line 10, in <module>
    from hashlib import sha1 as sha
  File "/usr/lib/python2.6/hashlib.py", line 136, in <module>
    md5 = __get_builtin_constructor('md5')
  File "/usr/lib/python2.6/hashlib.py", line 63, in __get_builtin_constructor
    import _md5
ImportError: No module named _md5


sorry to bother...
"Hello, IT. Have you tried turning it off and on again?"
User avatar
MaRo
 
Posts: 179
Joined: Thu Oct 15, 2009 11:32 am
Location: Villevêque, France

Re: Sun animation?

Postby SATtva » Thu May 20, 2010 9:27 am

Ok, another try. :) Test out the latest commit.
Linux builds packager
聞くのは一時の恥、聞かぬのは一生の恥
User avatar
SATtva
Developer
 
Posts: 5498
Joined: Tue Apr 07, 2009 12:19 pm
Location: from Siberia with love

Re: Sun animation?

Postby MaRo » Thu May 20, 2010 9:36 am

Works! Still get a deprecation warning and some garbage in the console, but luxblend runs.
:)

Thanks a bunch!
"Hello, IT. Have you tried turning it off and on again?"
User avatar
MaRo
 
Posts: 179
Joined: Thu Oct 15, 2009 11:32 am
Location: Villevêque, France

Previous

Return to General Discussion

Who is online

Users browsing this forum: Google [Bot] and 1 guest