Anim8or Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

An update to Anim8or, v1.00b, is available with a few bug fixes. Get your copy HERE. See the "ReadMe" file for details.

Author Topic: Sun  (Read 3962 times)

mysterysmith

  • Newbie
  • *
  • Posts: 9
    • View Profile
Sun
« on: March 29, 2009, 12:10:55 am »

Hey again,

Now Im trying to make something like this (for the same project) but I have no idea how to achieve this effect. I know it was made in anim8or is anyone able to help out?

So far I have two textured spheres for the sun and moon but cant figure out how to make the sun.



&feature=related  (more what Im looking for)

Thanks again :D
Logged

benzjie

  • Jr. Member
  • **
  • Posts: 95
    • View Profile
Re: Sun
« Reply #1 on: March 29, 2009, 12:41:53 am »

i think that's post pro.
Logged

mysterysmith

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Sun
« Reply #2 on: March 29, 2009, 03:47:13 am »

I've found a solution. It's not great but it works. If you use Celestia and then use the mouse as the camera to record.
Logged

lizeal93

  • Full Member
  • ***
  • Posts: 177
  • Coool!
    • View Profile
Re: Sun
« Reply #3 on: April 06, 2009, 12:38:23 am »

to create a lense flare effect you need either a 3d application that has that built in as a render effect like 3ds max or light wave or you can buy a video compositer and psecial effects program like vision lab studios or adobe affter effects. and then using layers you can create an animated effect kinda like you would do in photoshop or in the gimp for a still frame.

or you can use the free method by downloading virtualDub and decom[piling your render from anim8or into still frames.

then in the gimp you add the lense flare filter appropiatly to each frame.
BEWARE that this is ver time consuming and i would set the frame rate to 15 instead of 24.
Logged
there are two things that are contstant. human stupitity and matter.
and i'm not to sure about the second one.
-Albert Einstien

Dreadkb

  • Full Member
  • ***
  • Posts: 108
    • View Profile
Re: Sun
« Reply #4 on: April 06, 2009, 02:06:17 am »

What about making a series of disks, with trans maps, almost like a cylinder without the walls, then rotate it in the scene? I'll try it out and see how it looks.
Logged

headwax

  • Sr. Member
  • ****
  • Posts: 600
    • View Profile
    • Headwax's Website
Logged

Indian8or

  • Full Member
  • ***
  • Posts: 193
    • View Profile
Re: Sun
« Reply #6 on: April 06, 2009, 03:33:01 am »

It is very easy to achieve this in anim8or.  Do this, make a layer with bright sun and lens effect in photoshop, save it as a JPG image.  Then, create a plane in anim8or, apply the above JPG image as a trans map with 0 specular value and high emissive value.  Then, keep this textured plane in front of camera as a filter while you animate the earth and moon.

Try it.
Logged

ENSONIQ5

  • Sr. Member
  • ****
  • Posts: 929
    • View Profile
    • Mission Backup Earth
Re: Sun
« Reply #7 on: April 06, 2009, 07:36:37 am »

That's a good idea to replicate the first video in the OP, Indian8or, nice simple workaround.  It would be less effective for the second video, with a moving sun, because the relative positions of the lens flare artifacts changes as the light source moves across the focal plane.  It might be possible to produce a pretty good simulation of this using your technique, however, with each artifact on a separate transparent plane, animated separately (and carefully).  In fact, it may be possible to automatically animate the planes, making them children of a second camera in respect to position, with their orientation locked to the "world".  This second camera would be a child of the rendering camera, occupying the same physical space, but set to point at the sun light source.

In the past I have used the frame-by-frame technique suggested by lizeal93, and it is indeed mind-numbingly tedious.  The rendering software I use now has the ability to produce this effect automatically (Carrara).

I would also love to suggest attempting to construct an actual lens, based on a 35mm camera lens for example, and placing the camera behind it, but I doubt that this would work, because I am not sure what causes the lens flare effect and whether ART is capable of simulating the necessary parameters.  For example, if the effect is caused by a combination of chromatic aberration and caustics, as I suspect, then I don't think this method would have much effect at all.  Still, it might be an interesting experiment.
Logged

ENSONIQ5

  • Sr. Member
  • ****
  • Posts: 929
    • View Profile
    • Mission Backup Earth
Re: Sun
« Reply #8 on: April 06, 2009, 09:09:49 am »

Ok, here's a quick proof-of-concept test using a modification of Indian8or's suggestion.

http://www.animanon.com/Forum/MGalleryItem.php?id=134

I have attached the .an8 file and relevant trans maps, which will have to be restored in the Textures window of each lens material.  Take particular note of the parent/child relationships and the "Facing other" field for each element in Scene mode.  For an actual project render I would suggest having a close look at a real lens flare effect, from an actual photograph, to work out the placement of each plane and the shape of each trans map.

Note that a limitation of this technique is the inability to adjust the intensity of the flare effect.  As the light source moves away from the focal plane the effect should lessen to zero, but without animatable materals in Anim8or that would prove problematic.  One workaround would be to render the animation twice, once with the lens flare rig in place and again without it, and use a good video editor capable of multi-layered video merging to fade from one render to the other.

Another limitation is the fact that the textured planes are moving in real space, and they could intersect with other objects in the scene.  This could limit how close you can get your camera to the action.
« Last Edit: April 06, 2009, 09:15:16 am by ENSONIQ5 »
Logged