Maya for 3D Printing - Rapid Prototyping
In this course we're going to look at something a little different, creating technically accurate 3D printed parts.
# 1 02-04-2004 , 03:47 AM
Registered User
Join Date: Jul 2003
Location: lost... and I'm NOT asking directions!! (psst... could you tell me where I am?)
Posts: 33

Compositing paint effects

Hey guys! In the past I've had good luck with getting help around here so I'll throw another one at you. user added image

I have a scene that uses a rather large scale. I generally try to keep my scale small at all times to avoid this problem, but alas... I had some stuff that I imported from CAD and this is the scale they used.

So the render looks very bad in Software Render. Stuff is poking through other stuff even though it's as much as a full unit apart, etc.

That said, Mental Ray seems a better choice because it doesn't have this problem regardless of my scale. (within reason) but it doesn't support paint effects. I use paint effects for plants in my scene.

Software Render can render the paint effects separately, and I can composite it later. Sounds nice, but when the "only render paint effects" option is on, it renders... nothing. It does load the depth file (required for "paint effects only" renders) but it displays this file and doesn't render over it.

I refered to the manual first...

To create a composite

Render the scene or animation without Paint Effects strokes as follows:
1. Select Window > Rendering Editors > Render Globals.

Got it.

If you are compositing an animation, beside Frame/Animation Ext, select name.#.ext.

Not an animation, so skip that.

In the Image File Output section, turn on Depth Channel (Z Depth) beside Channels.

*click* got it.

In the Paint Effects Rendering Options section, turn off Enable Stroke Rendering.

got it...

Render the scene or animation (for example, rainyday). For details, see the online Rendering guide.

Okay, I did this. The rendered image doesn't look any diffrent, except I don't see the paint effects. Makes sense, since I told it not to render the paint effects.

Save the scene using a different file name to ensure that the rendered images do not overwrite each other (for example, rainydaywithstrokes).

Saved, and copied the path to the clipboard.

Render the strokes with the scene as follows:

Make sure the camera and the lights are set up to match the camera and lights in step #1.

Nothing's changed.

If you are compositing an animation, beside Frame/Animation Ext, select name.#.ext.

Again, not an animation...

In the Paint Effects Rendering Options section, turn on Enable Stroke Rendering and Only Render Strokes.

Did this.

Beside Read This Depth File, type the location and name of the depth file for the image you rendered in step #1. Make sure it is an absolute path name (for example, /h/pearce/rainyday.iff or c:\pearce\rainyday.iff).

Yup, copied the path from the clipboard. The guide goes on to provide some additional information for animating.

So when I render, it pulls up the depth map (which looks like any other image, full color even) but I see no paint effects.

I'm wondering if it has something to do with the depth map (Perhaps the paint effects are not where they should be? Is it supposed to be full color like that, or something black and white?)

Anyway, thanks in advance for your help. Sorry about the longer-than-necessary post. user added image


Me and THIS army!
# 2 02-04-2004 , 08:25 PM
vladimirjp's Avatar
Subscriber
Join Date: Jun 2003
Location: stuck in the 90's boston, USA
Posts: 1,871
??user added image
i'm lost here.....user added image

# 3 02-04-2004 , 09:56 PM
Registered User
Join Date: Jul 2003
Location: In the Caribbean
Posts: 193
Hmmm....I Had that problem but it was on the camera configuration...

Verify that the camera u r using (persp,top, etc or camera1 if u created one) is renderable go to the attribute editor of the camera and i think is on the output setting (i dont have maya right now in my pc so im trying to remmeber the main option) check the RENDER check box

and if you are using render layers verify that you have the layer that has the paint effect has beauty on and render on

Just throwing some ideas....

hth


If you can Imagine, Draw it, if you Draw it, Animate it, then it becomes a Masterpiece.....
# 4 03-04-2004 , 01:34 AM
Registered User
Join Date: Jul 2003
Location: lost... and I'm NOT asking directions!! (psst... could you tell me where I am?)
Posts: 33
Thanks for your reply.

I went into the camera attribute editor, and it does say it's renderable. (camera1) I also fiddled around with some settings in there, to no avail.

When it renders, it puts up the depth file. (I would think it would have a black, or better yet transparent background) and I expected the paint effects to appear on top, but they don't.

I looked at the layers, layers was disabled but I enabled it to see if that would make a diffrence. Sadly, it did not.

I can render the paint effects when I do a standard maya software render, they just don't show up when I check the "only render paint effects" option, which is what I need. (you see, it does not look good when rendered using maya software, but it does in MR)

Anything else I overlooked? Is it supposed to throw up the depth file like that?


Me and THIS army!
Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads