sidebar features
sidebar content

Go Back   Blender Artists Forums > General Forums > News & Discussion

Reply
 
Thread Tools
dfelinto's Avatar
dfelinto dfelinto is offline
Member
 
Join Date: Jun 2005
Location: Rio de Janeiro, Brasil
Posts: 382
Hi.
I'm running some tests and came out with an interesting workaround for fulldome productions with Blender. I still can't completely get away of the seams, but they are pretty much unnoticeable (I have a feeling this word is wrong).

The result:
(1) Equiangular Fisheye / Truetheta (most common for dome projection):



(2) "Mirror-wise" Fisheye (most popular for photography):


More on different kind of lens/projections here:
http://local.wasp.uwa.edu.au/~pbourke/miscellaneous/domefisheye/fisheye/

the method:
  • get a predeformed mesh UV mapped (sphere, plate, ...)
  • UV Node (composite)
  • linked scenes with camera set to unique and rotated.

It will work nicely only with Blender 2.49a (for a Map UV node fix after 2.49).

Test file:
http://blenderecia.orgfree.com/blender/dome/dome_rendering.blend

Youtube videos:
* note: I forgot to mention that to use it for real it's better to pre-render the UVs and save them as openEXR multiLayered

Last edited by dfelinto; 19-Jun-09 at 01:27.
#1   Old 19-Jun-09, 01:03   
Reply With Quote


secundar secundar is offline
Member
 
Join Date: Dec 2002
Location: Pittsburgh, USA
Posts: 418
Seams, the bane of the dome content creator's existence....

I tried something like this some time ago: http://blenderartists.org/forum/show...59&postcount=9 and the seams were there then as well. Yours aren't as noticeable but it would be nice to find a better solution without resorting to refraction and stitching lots of images.

Also this thread: http://blenderartists.org/forum/show...v+seams&page=2
............................................
Designer + Digital Artist

Last edited by secundar; 19-Jun-09 at 03:39.
#2   Old 19-Jun-09, 03:27   
Reply With Quote
dfelinto's Avatar
dfelinto dfelinto is offline
Member
 
Join Date: Jun 2005
Location: Rio de Janeiro, Brasil
Posts: 382
Quote:
Originally Posted by secundar View Post
Seams, the bane of the dome content creator's existence....

I tried something like this some time ago: http://blenderartists.org/forum/show...59&postcount=9 and the seams were there then as well. Yours aren't as noticeable but it would be nice to find a better solution without resorting to refraction and stitching lots of images.

Also this thread: http://blenderartists.org/forum/show...v+seams&page=2
Nice. So, I took your file and tried to apply the same method I'm using on it. With Blender 2.49a the seams almost go away. (this method doesn't use refraction or raytracing)

http://blenderecia.orgfree.com/blend...6_glr_01.blend
(render the UVs scene first, and store the .exr file to use in the Composite)



There is a major problem with your file. I think you are using some effects that are dependent of the camera rotation (i.e. if you rotate the camera you get a different mapping). That happens if you use the options NOR and REFL as mapping Input.

Btw, I couldn't find your bug-report. (it lead to an inexistent link). But the main problem we had (alpha blending in the edges) was fixed yesterday by Ton.

Other thing: How did you come out with your mesh? How did you calculate the geometry you applied the Subsurf?

Last edited by dfelinto; 19-Jun-09 at 15:30.
#3   Old 19-Jun-09, 15:24   
Reply With Quote
acdolph acdolph is offline
Member
 
Join Date: Jun 2009
Posts: 2
so here's a silly question - I know nothing about the blender game engine - but it would seem that with the dome capability existing in that now, there should be a relatively straight forward way to use that code to render ofline... What am I missing? Andy
#4   Old 30-Jun-09, 02:28   
Reply With Quote
acdolph acdolph is offline
Member
 
Join Date: Jun 2009
Posts: 2
quick question - how do you control which type of fish eye you get - is that done with different UVs? Andy
#5   Old 30-Jun-09, 02:44   
Reply With Quote
dfelinto's Avatar
dfelinto dfelinto is offline
Member
 
Join Date: Jun 2005
Location: Rio de Janeiro, Brasil
Posts: 382
Quote:
Originally Posted by acdolph View Post
so here's a silly question - I know nothing about the blender game engine - but it would seem that with the dome capability existing in that now, there should be a relatively straight forward way to use that code to render ofline... What am I missing? Andy
Hi Andy.
You can always use use the BGE Rasterizer.makeScreenshot() to save your bge game screen in the current resolution (and make a movie out of it). Other then that the solution, code and even language (C++ vs C) of BGE and render in Blender are very different.
It's possible for sure, but not necessarly related.

Quote:
Originally Posted by acdolph View Post
quick question - how do you control which type of fish eye you get - is that done with different UVs? Andy
In this method/workaround yes. I'm doing the stiching in Composite Nodes. The UV is pre-calculated from another scene (see the scene UVs). In layer 1 to 4 you can see the objects I used for the equiangular fisheye, In layer alt+1 to alt+4 the objects for the other mapping).
I setup a different Screen for each mapping (Composite_Fisheye and CompositeEqui).
Ctrl+Left Arrow will show you the different screens of the file. You can see how each one of them are using different RenderLayers.
#6   Old 30-Jun-09, 02:58   
Reply With Quote
dfelinto's Avatar
dfelinto dfelinto is offline
Member
 
Join Date: Jun 2005
Location: Rio de Janeiro, Brasil
Posts: 382
I was trying some alpha sorting with this method and I'm very pleased with the result (although I can spot some premul problems around the leaves).

I took the scene by Andrew P. Price (redbyte) and set it following the present method. Interesting to say that it's quite fast once you get used to it (create new scenes, adjust the nodes, ...).


fisheye

equidistant fisheye

background (photo distorted in gimp + alpha) [my favourite !]

final composition

If you want to see the nodes you can check the file here.
All the credit for the art goes to Andrew remember to check his tutorial on how to create stunning trees !!!
#7   Old 30-Jun-09, 05:14   
Reply With Quote
ionee's Avatar
ionee ionee is offline
Member
 
Join Date: Jun 2008
Location: location is classified
Posts: 1,915
wow, thanks for sharing, keep it up!
............................................
windows 7 and xp using a dual boot
so dont be supprised if im always switching beetween them.
www.ionee.org
tutorials here!!! (videos!)
all new tutorials here!!! (not video)

current project/s:
parkour pro game thread here
............................
#8   Old 30-Jun-09, 05:23   
Reply With Quote
blenderificus's Avatar
blenderificus blenderificus is offline
Member
 
Join Date: Jun 2008
Posts: 717
this looks to be very well done, and quite useful. Thank you for sharing.!
#9   Old 30-Jun-09, 06:34   
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 22:52.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Logo and website design copyright © 2006 by froodee design bureau. All rights reserved.
Other Blender Sites
new icon Blender Homepage »
The official Blender homepage
new icon BlenderNation »
Fresh Blender News, Every Day
new icon Blenderart Magazine »
Blender articles, tutorials and images.
Blender Headlines
Featured Artwork
Short animation: Barrel by Phlopper
Woolly mammoth by sebastian_k
Photorealistic classic furniture by eMirage
Social BlenderArtists