View Full Version : Canvas depth paintfx
shserge 05-08-2005, 08:07 PM I'm drawing texture in paintfx modele. I want to save it with depth. I may say "Save depth as grayscale" and save it. If after i will save canvas in tiff, rla or iff and open this file again i lost the depth info. I mean that if i say "save depth as grayscale" again, i will have just black image. How i can save canvas with depth info?
|
|
Duncan
05-09-2005, 11:21 PM
Currently you can't save the zbuffer in canvas mode. However you could paint in scene mode against a fixed background color(or you could use a file textured imageplane) and enable "paintOnViewplane" on the pfx menu. This is a bit like painting in canvas mode, only you have history on your brush strokes and can rerender your painting at any resolution. This treats your entire scene file as the painting, rather than it being a bitmap image. When loading a previous painting scene file you would need to wait for it to render before starting(after hitting the refresh button in the pfx panel), which might be a pain.
Duncan
shserge
05-09-2005, 11:47 PM
Thank you very much, Duncan! Will know it. I've tried to post it at highend in paintfx section, but it doesn't work now. This was sadly. In paintfx window in 3D mode I can't change resolution. I did strokes at plane (polygonal plane as live object and strokes grown from it) and can see them in paintfx widow in 3d mode, but can't change resolution for rendering.
And as i said, now i do all in 3d - both strokes, and render in 3d via camera by maya software. And it's ok. The question is how now to save z-depth, because "save as graysacale" is not in now. I have turned on z-depth in render global for camera, but after i can't see z-depth channel in iff file, i use fcheck to see and it writes that no z-depth is in the file.
Duncan
05-10-2005, 10:00 PM
In paintfx window in 3D mode I can't change resolution.
By render after painting in scene mode, I mean "render the maya scene". One uses the normal rendering resolution and camera attributes.
If you enable zdepth output for your camera, then the paint effects should appear in the depth. Do a batch render (iff format) on the frame, view the frame in fcheck and hit the z key. You should see a greyscale representation of the depth channel. If not, perhaps your depth range is too little, or too large in the scene to map nicely into a greyscale range. As a test try a simple scene with the simple tree brush painted on the ground.. worked for me.
Duncan
shserge
05-11-2005, 09:51 AM
Thank you again! I have tried batch render and it works fine. I have got depth!!
In help it's written that depth in maya is 1/z. Invertion of normal z. Do that depth, that i obtain, inverted and do i need some post prosess to have linear depth?
I'm gald frankly to say the depth view i have now, even if it's inverted or not, but i just want to make it more exact.
CGTalk Moderation
05-11-2005, 09:51 AM
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.