Antialiasing 3d objs with multi-threading

Discuss Moho bugs (or suspected bugs) with other users. To report bugs to Smith Micro, please visit support.smithmicro.com

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
Aritz
Posts: 6
Joined: Thu Jun 09, 2011 7:08 pm
Contact:

Antialiasing 3d objs with multi-threading

Post by Aritz »

Rendering projects containing obj 3d objects in multi-thread computers with "Extra-smooth images" option active, creates frames randomly unantialiased. In version 8 the solution is to disable multi-threading, but in earlier versions the only solution is to disable image smoothing and render to double size, because the antialiasing in 3d objects is very poor compared to vector objects without image smoothing.
Last edited by Aritz on Wed Jun 15, 2011 5:37 pm, edited 1 time in total.
ponysmasher
Posts: 370
Joined: Thu Aug 05, 2004 2:23 am
Location: Los Angeles
Contact:

Post by ponysmasher »

This happens to images as well if they're big enough. Maybe it's some kind of memory issue?
User avatar
Víctor Paredes
Site Admin
Posts: 5815
Joined: Wed Jan 26, 2005 12:18 am
Location: Barcelona/Chile
Contact:

Post by Víctor Paredes »

Can you post a file to try? I can't reproduce the bug.
Image Image Image Image Image Image
Moho co-owner

Previously Rigged animation supervisor: My father's dragon, Wolfwalkers & Star Wars Visions "Screecher's Reach"
My personal Youtube Channel
ponysmasher
Posts: 370
Joined: Thu Aug 05, 2004 2:23 am
Location: Los Angeles
Contact:

Post by ponysmasher »

It happens mostly in full HD resolution.
Here's one of my files: http://animestudioscripts.com/temp/13f.zip
Check out the benches after rendereing.
ponysmasher
Posts: 370
Joined: Thu Aug 05, 2004 2:23 am
Location: Los Angeles
Contact:

Post by ponysmasher »

Arrgh! I thought this wouldn't be a problem now that we could disable multicore but it turns it it's even worse in ASP8! :cry:

On this page there's an explanation and sample files: http://animestudioscripts.com/aliaserror/

Feel free to try and render the files and report back.
sbtamu
Posts: 1915
Joined: Tue Dec 15, 2009 5:05 am
Location: Texas
Contact:

Post by sbtamu »

I just rendered the .obj file you supplied and did a quick 6 PNG frames at 1920x1080 and they all came out good.

Single core, Windows XP.
Sorry for bad animation

http://www.youtube.com/user/sbtamu
User avatar
GCharb
Posts: 2274
Joined: Mon Oct 10, 2005 2:31 am
Location: Montreal, Quebec, Canada
Contact:

Post by GCharb »

the v8 file rendered with jagged edges every two frames or so with multi-core on, while rendered properly with multi-core off.
ponysmasher
Posts: 370
Joined: Thu Aug 05, 2004 2:23 am
Location: Los Angeles
Contact:

Post by ponysmasher »

Thanks for testing guys.
sbtamu wrote:I just rendered the .obj file you supplied and did a quick 6 PNG frames at 1920x1080 and they all came out good.

Single core, Windows XP.
Was this version 7 or 8?
ponysmasher
Posts: 370
Joined: Thu Aug 05, 2004 2:23 am
Location: Los Angeles
Contact:

Post by ponysmasher »

Masks will also stop working if you have complex scenes or render at very high resolutions.

I've updated http://animestudioscripts.com/aliaserror/ with an example.

The resolution I used for the mask example might seem extreme, 9000x5063 but it happens in lower resolutions if the scene is complex.

Also I've had screenshots of a commercial I did printed on buses previously and that time I had to render as large as I could, so really high resolution render are needed at times.

Here I rendered a PNG sequence at 5000x2812:
Image
sbtamu
Posts: 1915
Joined: Tue Dec 15, 2009 5:05 am
Location: Texas
Contact:

Post by sbtamu »

ponysmasher wrote:Thanks for testing guys.
sbtamu wrote:I just rendered the .obj file you supplied and did a quick 6 PNG frames at 1920x1080 and they all came out good.

Single core, Windows XP.
Was this version 7 or 8?
AS 7 Pro
Sorry for bad animation

http://www.youtube.com/user/sbtamu
ponysmasher
Posts: 370
Joined: Thu Aug 05, 2004 2:23 am
Location: Los Angeles
Contact:

Post by ponysmasher »

sbtamu wrote: AS 7 Pro
Yeah, AS 7 seems to handle it a bit better than AS 8 for some reason. Especially on single core.
ponysmasher
Posts: 370
Joined: Thu Aug 05, 2004 2:23 am
Location: Los Angeles
Contact:

Post by ponysmasher »

It seems that this is related to ram and the reason AS8 is worse than AS7 could be that AS8 apparently takes up more ram than AS7.
Also it isn't as bad if I restart my computer and don't run anything else. Then I only get every other frame ruined instead of all of them...
User avatar
GCharb
Posts: 2274
Joined: Mon Oct 10, 2005 2:31 am
Location: Montreal, Quebec, Canada
Contact:

Post by GCharb »

As Isaid in another thread, might be time for a 64 bits version of ASP for systems with more then 3-4 gb or ram!
ponysmasher
Posts: 370
Joined: Thu Aug 05, 2004 2:23 am
Location: Los Angeles
Contact:

Post by ponysmasher »

I just installed ASP8 in Virtual PC, XP mode and it renders everything perfectly. With one core and 512MB ram...

So I guess it's not just a ram issue.
Post Reply