Planetside Software Forums

General => Terragen Discussion => Topic started by: prasoc on December 10, 2009, 03:36:08 PM

Title: Fisheye lens?
Post by: prasoc on December 10, 2009, 03:36:08 PM
When I change the render cam to 180 degree FOV, it just makes a small blob in the center with the sky. I am trying to make a skydome for a game, thus I need the whole sky in the render. Why does it glitch up when it goes to 180? Also, if that can be fixed, is there a tutorial for making a night sky with the moon, stars etc?
Title: Re: Fisheye lens?
Post by: TheBlackHole on December 10, 2009, 04:07:06 PM
For a night sky, you don't really need a tutorial. You just need a tgc!
http://forums.planetside.co.uk/index.php?topic=4766.0
Title: Re: Fisheye lens?
Post by: neuspadrin on December 10, 2009, 04:14:04 PM
Animals Close-Up With a Wide-Angle Lens? ;)  Lol, i love that south park episode every time i see wide angled or fisheye stuff it reminds me of it.

anyways.

Theres a few discussions around here for making a skydome/skybox and how to take multiple renders and stitch them together.  You could prob do a search and find a few.
Title: Re: Fisheye lens?
Post by: prasoc on December 10, 2009, 04:51:34 PM
Thanks for the help :D But why doesn't the 180 degree FOV work anyway?
Title: Re: Fisheye lens?
Post by: Oshyan on December 10, 2009, 05:11:25 PM
180FOV should work correctly, it just may not be what you are expecting. This isn't really the correct way to make a skybox or skydome. Since TG2 doesn't currently have a specific function for this, you need to render multiple views with adjacent perspectives, then stitch them and reproject them in a 3rd party program like Panotools.

If you do a search on the forums for some of these terms you should find lots of discussion and advice on doing this.

- Oshyan
Title: Re: Fisheye lens?
Post by: prasoc on December 10, 2009, 06:28:11 PM
I used the method to make a skydome posted earlier in the thread, but the "up" image is a different colour than to the rest of them? Any ideas why?
Title: Re: Fisheye lens?
Post by: Oshyan on December 10, 2009, 06:35:13 PM
That is probably due to differences in Global Illumination calculations, another subject that has been discussed quite a lot. The best/quickest solution is simply to not use GI (use fill lights instead - a sample clip file for this can be found in the File Sharing area), however this will obviously change the look of your scene. In this case it looks like a decent stitching program ought to be able to correct it. If not, you can also try higher values of GI Sample Quality and GI Blur Radius (50 or greater).

- Oshyan