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.

Pages: [1] 2

Author Topic: Multithreading  (Read 6272 times)

sedlja

  • Newbie
  • *
  • Posts: 2
    • View Profile
Multithreading
« on: May 10, 2008, 02:16:33 pm »

Steve, ART is just great, but still, one thing i think anim8or really needs is some form of multithreading, it's cool that i can watch Lost meantime i render, but for greater images it takes long with one core. So, will there be some form of MT?
Logged

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 1519
    • View Profile
Re: Multithreading
« Reply #1 on: May 12, 2008, 02:15:54 am »

Yeah, multithreading would really speed up ray tracing.  Unfortunately it's not that simple to do it correctly in general.  Speeding up the rendering of a single frame would require that I completely rewrite the way that all of the random number generators work for the samplers.  It might be possible to do two frames in parallel, however, but that would use twice as much memory.
Logged

startrekfan001

  • Jr. Member
  • **
  • Posts: 65
    • View Profile
Re: Multithreading
« Reply #2 on: May 14, 2008, 07:40:22 am »

well what about if you write in that last option, two frames in parallel, and make a switch, so the users with enough memory can turn it on and the rest leaves it off? if it's not too hard, i think this would be a great feature.
Logged

gzs

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Multithreading
« Reply #3 on: May 17, 2008, 02:26:30 pm »

Why just 2? An Intel  core 2 quad has 4 cpus...

Another  possibility is to write a plugin to use Gelatto, a renderer of nvidia, very fast. This kind of think we users can do, who's volunteer??
Logged

karate5662

  • Jr. Member
  • **
  • Posts: 80
    • View Profile
    • my mini city
Re: Multithreading
« Reply #4 on: May 19, 2008, 04:13:31 pm »

whenever i need to render a long animation or a shorter one with a lot of detail, I open multiple windows of anim8or. That way i can render and animation that would normally take 20 hours of rendering in about 5. After i finish I use virtualdub to put the .avi's together.

just a nice work-around i've done. multithreading would still be nice.

a note here for steve: I've noticed that the further the rays have to travel, the longer the render takes. if you put a spher around the camera with a diameter of 1 000 and render, it will be noticibly shorter that a render with a sphere with a diameter of 10 000. nothing major though.
Logged

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 1519
    • View Profile
Re: Multithreading
« Reply #5 on: May 21, 2008, 04:03:59 am »

I am adding multithreading but not for rendering multiple frames simultaneously or to speed up a single frame.  That would be a large amount of work.  The reason I'm doing it is to make Anim8or more Vista friendly.  Vista kills programs that don't respond to messgaes in 10 seconds or so which doesn't let you render anything interesting.  I'll use one thread to process messages and one to render.
Logged

flametiger74

  • Full Member
  • ***
  • Posts: 152
    • View Profile
Re: Multithreading
« Reply #6 on: May 22, 2008, 11:57:39 pm »

Thanks Steve.
Logged

Tanzim

  • Guest
Re: Multithreading
« Reply #7 on: May 23, 2008, 06:43:00 am »

Out of curiosity, how long (estimate) would it take to add 'Render Farm' support (the method where multiple computers hook-up to each other to help render the one frame faster, or several frames simultaneoulsy)?
Logged

thecolclough

  • Sr. Member
  • ****
  • Posts: 820
  • 3D Ignoramus 1988-2002, Anim8or User 2002-present.
    • View Profile
    • www.mattghc.com
Re: Multithreading
« Reply #8 on: May 23, 2008, 10:48:25 am »

it's an interesting idea, tanzim, but then how many of us, this side of Pixar, have enough computers to be able to make render farming a worthwhile addition to anim8or?  i suspect a large proportion of the anim8or 'fanbase' have only one machine, or maybe two, and part of the joy of this program is that it can run quite happily on a single machine, and not need pixar-sized piles of hardware.

if you want to split up your render over multiple machines, all you have to do is put anim8or.exe and your .an8 file onto each one, and then assign one to render the first hundred frames (as an example), the second machine to do the second hundred frames, etc, and then put all the video files back onto the same machine via a data key or something.

;)

- colclough
Logged

csf

  • Newbie
  • *
  • Posts: 26
    • View Profile
    • CSF On The Web
Re: Multithreading
« Reply #9 on: May 23, 2008, 11:11:53 pm »

I could be 100% wrong on this but I believe render farms can be done with out actually having the program directly support it.

I will say that a home made computer cluster (basically the same as a render farm) is not an easy thing to accomplish and very few users will effectively be able to set one up. Its not a simple as connecting two computers together with a wire and running a program.
Logged
AKA coaster sim. fan on the old boards

kreator

  • Hero Member
  • *****
  • Posts: 1112
  • Anim8or, Blender, & Carrara. A Great Combination!
    • View Profile
    • Anim8orWorld
Re: Multithreading
« Reply #10 on: May 24, 2008, 08:02:55 am »

Quote
Another  possibility is to write a plugin to use Gelatto, a renderer of nvidia, very fast.

That sounds a very good idea, Any possibility Steve, as you work for them!  8)
Logged
O

Blank Studios

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Multithreading
« Reply #11 on: June 17, 2008, 03:35:57 am »

doesn't Gelatto use Nvidia's GPU's for Fixed/Floating point calculations (hence the speed)? I know there's a password cracker I read about that used the GPU of a graphics card and could crack an 8 character Vista password in 2-3 days.... on a high end graphics card. (normal quad core, cpu time would take about 3-5 months)

lol... and as a side note... I could run a renderfarm... I have 4 computers right now, and I'm working on setting up 2 more, but anim8or doesn't need to support renderfarms, there's an opensource program that will work fine for renderfarms, I can't remember the link, but If I come across it again, I'll put it up here... no more work arounds with 8 different anim8or exe's running :P

EDIT: I guess that had little to nothing to do with the Preview... but felt I should mention it for some reason...
« Last Edit: June 17, 2008, 03:38:18 am by Blank Studios »
Logged
In the republic of mediocracy; knowlege is power, and power is dangerous.

kreator

  • Hero Member
  • *****
  • Posts: 1112
  • Anim8or, Blender, & Carrara. A Great Combination!
    • View Profile
    • Anim8orWorld
Re: Multithreading
« Reply #12 on: June 17, 2008, 08:19:20 am »

As Nvidia are not supporting Gelato any longer so they are offering Gelato Pro previously $1500 free now ! ..... pity it only works with Maya and 3DSMax......
Logged
O

Tanzim

  • Guest
Re: Multithreading
« Reply #13 on: June 17, 2008, 09:33:07 am »

Pity on those who actually paid!
Logged

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 1519
    • View Profile
Re: Multithreading
« Reply #14 on: June 18, 2008, 05:25:29 am »

It's a bit of work to make a version of Anim8or that just renders.  I should have planned for that from the start but I didn't.  Maybe someday.

As for render farms, you can buy very cheap time form a number of places on the web.  Google for render farm services.
Logged
Pages: [1] 2