Re: [gentoo-dev] [rfc] Rendering the official Gentoo logo / Blender,2.04, Python 2.2

2015-03-25 Thread Sebastian Pipping
On 07.06.2011 11:15, Mario Bodemann wrote:
 Hi folks,
 
 Sebastian told me about the problem of not being able to render the
 logo in recent blender versions. So this is were I stepped in: I tried
 it and used the geometries from the old .blender file, and the
 yellowish reflecting image.
 
 Problem was to recreate the exact representation of the original logo,
 by new means of rendering and relighting. I tried to solve them by
 creating a new material for the g and carefully adjusting the
 parameters. Also I added a new modifier for the geometry to get rid of
 the ugly seam at the sharp edge. (This does not modify the geometry,
 only the rendering of it)
 
 However, here are my preliminary results:
 
  - the modified .blend-file[1] (tested with blender 2.57b)
  - new rendered logo image [2]
  - original logo image (for comparison)[3]
 
 What do you think?
 
 Greetings, Mario.
 
 [1]
 http://git.goodpoint.de/?p=g-metal-blend.git;a=blob_plain;f=g-metal.blend;hb=master
 [2]
 http://git.goodpoint.de/?p=g-metal-blend.git;a=blob_plain;f=g-metal.png;hb=images
 [3]
 http://git.goodpoint.de/?p=g-metal-blend.git;a=blob_plain;f=g-metal-orig.png;hb=images

For the record, I have resurrected that repository at

  https://github.com/gentoo/blender-gentoo-logo

now.  For the images [2][3], have a look at the images branch:

  https://github.com/gentoo/blender-gentoo-logo/tree/images

Best,



Sebastian




Re: [gentoo-dev] [rfc] Rendering the official Gentoo logo / Blender,2.04, Python 2.2

2011-06-12 Thread David Abbott
On Tue, Jun 7, 2011 at 5:15 AM, Mario Bodemann thec...@cs.tu-berlin.de wrote:
 Hi folks,

 Sebastian told me about the problem of not being able to render the
 logo in recent blender versions. So this is were I stepped in: I tried
 it and used the geometries from the old .blender file, and the
 yellowish reflecting image.

 Problem was to recreate the exact representation of the original logo,
 by new means of rendering and relighting. I tried to solve them by
 creating a new material for the g and carefully adjusting the
 parameters. Also I added a new modifier for the geometry to get rid of
 the ugly seam at the sharp edge. (This does not modify the geometry,
 only the rendering of it)

 However, here are my preliminary results:

  - the modified .blend-file[1] (tested with blender 2.57b)
  - new rendered logo image [2]
  - original logo image (for comparison)[3]

 What do you think?

 Greetings, Mario.

 [1]
 http://git.goodpoint.de/?p=g-metal-blend.git;a=blob_plain;f=g-metal.blend;hb=master
 [2]
 http://git.goodpoint.de/?p=g-metal-blend.git;a=blob_plain;f=g-metal.png;hb=images
 [3]
 http://git.goodpoint.de/?p=g-metal-blend.git;a=blob_plain;f=g-metal-orig.png;hb=images


Hi Mario,
Thanks for taking the time to do this, looks great by me.
Regards,
David
-- 
David Abbott (dabbott)
Gentoo
http://dev.gentoo.org/~dabbott/



[gentoo-dev] [rfc] Rendering the official Gentoo logo / Blender 2.04, Python 2.2

2011-04-28 Thread Sebastian Pipping
Hello!


Gentoo's official logo originates from a Blender file [1] created by
Daniel Robbis over 8 years ago.  He used Blender 2.04 and Python 1.6 at
that time.

When rendering that .blend file with Blender 2.49b (or a more recent
version), Blender does not apply the reflection texture needed [2] to
give the metal look that you know.  I don't know why that is.  All I
know is that Blender does find the file: it's not about the location.

Trying Blender 2.04 binaries on a Windows VM, it turned out that Blender
2.04 is still able to render our logo as expected.  In my eyes rendering
our logo should not depend on a proprietary operating system or binary
blobs.  The source tarball of Blender 2.04 is hard to find (if available
at all), the available sources of 2.03 [7] are incomplete.  Binaries of
2.04 [8] are 32bit only and crash on startup on my system.

The earliest source tarball after 2.04 that upstream offers for download
[3] is Blender 2.26.  That version does not compile with GCC 4.4 and
turns out to be home with Python 2.2.  In hope that this version would
be able to render our logo in the way that Blender 2.04 did, I tried
fixing compilation against GCC 4.4.5.  That worked [4].  The need for
Python 2.2 became clear when all of Python 2.4, 2.4 and 2.6 made it
segfault in Python related code instantly.  Therefore I tried bringing
our old Python 2.2-r7 ebuild to life.  Smaller changes like -fPIC were
needed but it wasn't too hard.  You can find the Python 2.2-r8 in the
betagarden overlay [6].  In the end I could do

  sudo eselect python set python2.2

to compile and run Blender 2.26 and make it render g-metal.blend (after
adjusting the path to the reflection texture) with metal look in a
resolution of a few megapixel on transparent background.
I have the impression, that the rending is the same as of Blender 2.04.


However, this is not a good long-term solution.  For instance Portage
doesn't operate under Python 2.2 so an ebuild for Blender 2.25 is a
tricky thing to do nowadays.

Among the options I see is the following:

 A) Find out how to render g-metal.blend with recent Blender
(2.57b at best) to give pixel-identical results to Blender 2.04.
Needs an advanced Blender user ideally.

 B) Port Blender 2.26 to a recent version of Python.

Are there any other options?

What do you think?

I would also like to encourage you to reproduce the process I described
to spot any problems I overlooked.

Thanks for reading up to this point.

Best,



Sebastian


[1]
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-src/gentoo-web/blend/g-metal.blend
[2]
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-src/gentoo-web/blend/metallandscape1.jpg
[3] http://download.blender.org/source/
[4] http://git.goodpoint.de/?p=blender-2.26.git;a=summary
[5]
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-lang/python/python-2.2-r7.ebuild?hideattic=0view=markup
[6]
http://git.overlays.gentoo.org/gitweb/?p=proj/betagarden.git;a=commitdiff;h=a3712c45dee61717cbc09b39ff868af7a3ccaa89
[7] http://download.blender.org/source/chest/blender_2.03_tree.tar.gz
[8] http://download.blender.org/release/Blender2.04/



Re: [gentoo-dev] [rfc] Rendering the official Gentoo logo / Blender 2.04, Python 2.2

2011-04-28 Thread Michał Górny
On Fri, 29 Apr 2011 02:29:42 +0200
Sebastian Pipping sp...@gentoo.org wrote:

 Gentoo's official logo originates from a Blender file [1] created by
 Daniel Robbis over 8 years ago.  He used Blender 2.04 and Python 1.6
 at that time.
 
 When rendering that .blend file with Blender 2.49b (or a more recent
 version), Blender does not apply the reflection texture needed [2] to
 give the metal look that you know.  I don't know why that is.  All I
 know is that Blender does find the file: it's not about the location.

 [...]
 
 Among the options I see is the following:
 
  A) Find out how to render g-metal.blend with recent Blender
 (2.57b at best) to give pixel-identical results to Blender 2.04.
 Needs an advanced Blender user ideally.
 
  B) Port Blender 2.26 to a recent version of Python.
 
 Are there any other options?

Maybe it's time to make the SVG variant the official logo, and leave
the blender file as a historical variant.

-- 
Best regards,
Michał Górny


signature.asc
Description: PGP signature