View Full Version : Rendering game sprites
d2king10 02-04-2006, 02:04 AM Hey guys, Ive been messing around in maya for awhile now trying to figure out how to turn off the Antialiasing(AA) so i can get clean edges, but i havent had any luck yet. What im trying to do is render sprites similar to Diablo. Any ideas? Thanks in advance.
~D2king10
|
|
leif3d
02-04-2006, 03:57 AM
If you are rendering sprites with the hardware render buffer(which is my favorite) under Window > Rendering Editors > Hardware Render buffer..., then they should have no AA by default unless you turn it on with multy pass rendering...and in the Hardware Renderer you should have Accelerated Multi sampling off. Hope that helps.
d2king10
02-06-2006, 04:29 AM
Once i do the hardware render, all the alpha parts show up behind the non-alpha parts. Anyone know how to fix this?
d2king10
02-06-2006, 02:31 PM
Heres a screencap of what i am talking about. The left picture is the viewport image, thats where the problem is, but the right is when i render(everything renders fine).
http://garagecreativity.com/dkseries/My_Work/compare.JPG
Gnimmel
02-06-2006, 02:43 PM
In the maya software render settings under Color/Compositing, untick Premultiply and turn up Premultiply Threshold to 1. If you render with maya software onto a black background you should get hard edges for an old game engine.
What game engine are you using? Most 2D engines have been able to use the alpha fine for the last few years, making the edges look really nice.
Thanks,
Richard
d2king10
02-06-2006, 05:25 PM
Alright that took away the AA, but it left one problem, most of the leave texture went bye bye. Heres a picture: http://garagecreativity.com/dkseries/My_Work/compare2p.png
Almost there =) any ideas? Thanks!
CGTalk Moderation
02-06-2006, 05:25 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.