ZBrushCentral

Stencil Anaglyph Experiment

It did make some sense and thank you and I look forward to your text on this technique…

I think I am breakin the golden rule of Kiss…aka Keep it simple stupid…lol

I am making regular zbrush pics using all the little bells and whistles and making it too complex…I will go back to simple form and see it that works better…thank you very much…this is still fun, though it’s bringing havoc on my singular brain cell at the moment :mad: :smiley:

ron

Those last two images I posted are the same image. All I did was rotate the 2nd one 180 degrees, just like turing a printed page upside down. Nothing fancy about it. Doing so just inverts your ‘perception’ of the depth to make it look like it’s goin ‘in’ instead of ‘out’. The image color is upside down, but the image depth is inside out.

You could make the depth go ‘in’ while keeping the color right-side up by simply pasting the displaced ‘right’ image into the Red Channel for the displaced ‘left’ image instead of the way you usually do it. I hope that wasn’t confusing.

Well K.I.S.S. didnt work for me…

When I export the depth alpha after grabbing it from Zbrush, Photoshop is recognizing it as a grayscale bitmap …and won’t allow me to use it as was intended…it I make the texture into an alpha and export it, it recognizes it with no problem and allows me to convert it etc…but it doesnt work because there is no depth as we discussed and I found out…so that is worthless…grrrr…

I understand what you mean about rotating the image…makes perfect sense…

this is definitely proving to be a challenge for me again…(as I sit here poking my eyes out with hot cigs…which I have went thru like candy tonight playing around with this and Bas Mazurs Doodle thread script…wanting to integrate these two thread techniques…)

The text I have so far might help you with this part actually. One thing I noticed that was missing and a little confusing about the process as described in the original thread by ‘cb3d’ was the way he has you adjust the depth image in Photoshop. I’m not sure if he is using an older version of Zbrush that exports depth information in a different format or what.

I will attach here the text I have so far. I plagiarized a little bit from the original cb3d text, but I plan on giving credit. Bear in mind this is a work in progress and the end post will have screenshot illustrations along with certain points but I think the text alone is complete enough to help you through the depth editing in Photoshop. Let me know if any of it is unclear and I will try to improve those parts before the final release.

How to Make a 3D Anaglyph (WIP)

  1. Create Image – Start your Zbrush application and create a stunning 2.5D masterpiece.
  2. Save Work - Save the canvas as a Zbrush document. Why? The following process may require you to perform actions that cannot be undone. Save now or you may regret it later.
  3. Flatten Multi-Layered Images - Merge all Zbrush layers until there is only one layer. (This action cannot be Undone. Luckily the document was saved.) How? Open the “Layer” pallet. The layer that appears farthest to the [i]top[/i] and far [i]left[/i] in the “Layer” pallet is considered the bottom layer. Select the top layer ([i]bottom[/i] far [i]right[/i]) and a small “Mrg” (Merge Layer Down) button will appear just below the “Create Layer” button. Press this button until all Zbrush layers have been merged into one.
  4. Final Render - Render the Zbrush canvas using any preferred settings (Best, shadows on, etc.).
  5. “Grab” Image Color and Depth Information - Select the “MRGBZGrabber” tool. In the modifier rollout of the tool leave “Shaded RGB” on, but turn “Auto Crop” off. Select the entire canvas with the “MRGBZGrabber” tool. The depth information of the canvas will automatically be saved in the Alpha palette. The color rendered image will be saved in the Texture palette.
  6. Export Image Color - In the “Texture” palette click the “Export” Texture button to save the texture (the image color) as a .psd. I used the naming scheme “sampleImage_color.psd”.
  7. Export Image Depth Information - In the “Alpha” palette click the “Export” Alpha button to save the alpha (the image depth) as a .psd. I used the naming scheme “sampleImage_depth.psd”. At this point we are done with Zbrush.
  8. Composite 3D Image – Now that the color rendering and the depth information are saved as separate files, we are ready to separate it into a stereo pair and composite the final red/blue anaglyph.
  9. Prepare Image Depth - Start your Photoshop application and open the exported image depth file (sampleImage_depth.psd). If you have downloaded and installed my “3D Anaglyph Maker” Photoshop Action Set file you can simply “Play” the Action titled “3D Depth Prep” and skip to step #16. Otherwise continue with step #10.
  10. Ensure the image mode is set to “8/Bits Channel” by clicking on “Image>Mode>8 Bits/Channel” from the menu at the top of the Photoshop application.
  11. Open the “Layers” palette and create a New transparent layer.
  12. Open the “Swatches” pallet and select the "50% Grey" color.
  13. With the new layer still selected, use the “Paint Bucket Tool” and fill the new layer with the selected 50% Grey.
  14. With the gray layer still selected, click on the blending mode rollout (just under the word “Layers” in the Layers palette) and change it from “normal” to “screen”.
  15. Save the current depth image over the old one. (File>Save)
  16. The final processed depth image should now appear gray with lighter gray areas.

2 points of final somewhat success again…

  1. the 8 bit was the key to getting the alpha depth into ps correctly…

  2. and I changed from 15 down to 5 on the displace shifting…

thnx for all the help…looking forward to more from you…I will now work on more myself…

successful scorpion pic for a dry run at this…

(edit…thumbnailed because it was so large an image and I dont want to hog this thread anymore than I have done…thnx for your patience)

I also put the gray stripe background to see what it would do as a test as you were talking about…

thnx again

Attachments

AboutTime3d1.jpg

Ron,

I see what you mean now about how clean my images are compared to what you have been producing. The final image you get is still aliased. You have to reduced the image size by 50% in Photoshop to anti-alias the image and give it more of a clean look. Here are two ways to do it.

  1. From the top menu in Photoshop select “Image > Image size…” A dialogue box opens. Under Document Size change the unit of measure from whatever it is on (usually ‘inches’ for me) to ‘percent.’ Then adjust the width and height from 100 to 50 and hit ok. Then save the image as you normally do (i use hotkeys “Shift+Ctrl+S” all at once to save).

  2. If I am just going to post the image in the forums I prefer to use this method. From the top menu in Photoshop select “File > Save for Web…” (also hotkeys “Shift+Ctrl+Alt+S” all at the same time). A dialogue box opens. Click the “Image Size” tab on the right and change the “Percent” from 100 to 50. Then in the “Preset” area set the image to “JPEG” and I usually use “Very High” for the quality.

I edited your image a little to illustrate. The technique is definitely working for you now though.

Attachments

scorpionTest.jpg

I also work at default size in z…640 x 480…I need to at least double that work also and ctrl 0 (zero) in zbrush to anti alias before I start grabbing and starting this…

I noticed this after looking closely at one I just did…some areas are ok, and others are screwy due to the AA or lack there of due to the render size…

live and learn …but thats ok…this is still a hoot and a half to do to say the least…

mucho appreciated

latest result…you will see what I mean about the hands and such…grrrr…nothing like trial and error…

Played a bit with resizing in ps…I normally use psp7 instead…need to use my ps more apparently :wink:

Attachments

witchColorRJJJ.jpg

3 am here…and I am tuckered out…watching Land of the Dead before I go to sleep…but wanted to post the latest of my anaglyphs…

his fingers are doubling for some reason…

painted the background with my red/blue glasses on…a little more natural and a fun experiment…

Here is my devil model…might take this further …the image that is…gotta figure out though whats causing the fingers effect… displaced at 6…

anyhoo…goodnight and thnx
ron
[email protected]

ps…doubled the z doc size and did the AA thing…that did work… :slight_smile:

Attachments

DevilJa.jpg

Neat stuff. I’ll have to find a place to buy some glasses.

Ron - Interesting coincidence. I just finished land of the dead about the same time you are I’d guess.:eek: Pretty gruesome. I was rooting for the dead folks.:evil:

This image was not done in Zbrush. It is 100% Photoshop. I was combing through some old images I made a couple of years ago and I can across this one which was greyscale. I saved a copy of the image as *_depth.psd and used that as the depth information and distorted. Came out kind of cool, I think.
Darkness.jpg

I was at a friends earlier and saw this but they arent registered so I waited till I got home just now to comment…

The last one is kewl, doesn’t pop as well as your others did, but its still kewl.

I may work on my devil guy again tonight…

ron

Watching Day of the Dead2: Contagium (dunno if they intentionally misspelled it or not…it has bad reviews so I know I will love it :slight_smile: )

:wink: im relatively new here. tried this out (couldnt get that callipygian program to work).

I’m not really sure if i followed the steps correctly, but this is what i got:
brandokayWIP3D.jpg

hows it look?

Forget that Caligraph application. I edited it out of my original post and took it off my computer. Photoshop does a better job and it’s not that hard.

Your image looks pretty good. It’s popping out and all. I see something in there that I’m not sure about though. There is a weird shadow off to the right of your little man. It does not have any 3D depth. It looks like it’s part of the background. I don’t know if it’s a lighting effect or what, but I think Ron was having a similar problem. Maybe it’s intentional, but it looks out of place to me.

thanks for your comment!

the weird shadow thingie is from me trying to get hte background to be black using photoshop, but not doing a complete job. I’m going to try at this again w/ a skull model i made earlier today :wink:

If anyone is still looking for some 3D glasses I found another place to get them that should be widely available, albeit time sensitive. I went grocery shopping this weekend and, low and behold, GoGurt (brand name of yogurt in a plastic tube) has special Halloween packaging with 3D glasses embedded in them. The yogurt comes in packs of either 8 or 16. The 8-packs were about $3 at the store I went to. I guess you have to at least like yogurt as a prerequisite for this purchase.

Here is another 3D image more in keeping with the title of this thread, as I used the Stencil tool on this one again. I also decided to experiment with a little bit of color. Green seems to hold up pretty well. I’ve got some tricky depth going on in there so it may take a second to pop right for you.
tribalColorTexture.jpg

This was just an experiment to see how crazy I could get with some of the detail. The image itself isn’t all that visually interesting but I’m amazed at how well it held up when I converted it to an anaglyph. Especially around the edges of the ‘hill’ where there is some relatively signifigant depth contrast.

Attachments

depthDetailTest.jpg

definitely got some depth goign on there…In between doodlings I want to do one with some pebbles…any ideas to the problems I was/am having with the Devil anaglyph I posted? lol nothing comes easy to me anymore :slight_smile:
thnx and keep up the works…love em…

ron
[email protected]

As you may have noticed, I tend to be a little abstract. This next one I put some thought into as far as mixing up what I’ve learned so far about what I can do with an anaglyph. The whole final image is really just based off of one model. Even the stencil is based off that model. It’s kind of fractal in concept.

Before I show the 3-D anaglyph, here is basically what I exported from Zbrush, plus some shots of the tool I used.

specialGrowth_parts.jpg

I have also attached a Zbrush Time-lapse of what I’m doing with that stencil exactly, if anybody is interested.

Attachments

specialGrowth_3D.jpg

specialGrowth_process.jpg

Ok. This one was failure. It doesn’t look to bad, but I was trying to achieve a specific anaglyph depth effect and it fell short . I was trying to make the cube look like it was entirely above the surface of the plane (your monitor) and everything else was sinking into the plane. If you run your mouse through the image elements while still wearing your 3D glasses you will see what is above and below the surface of the invisible plane.

Now, I’m on a little confused about why the background is coming up around the edges, but I’m pretty sure I can sort that out. The part that really confuses me is the cube. The far corners of the cube appear to be a little blurry and sinking into the plane and I don’t understand that at all.

I got’a think harder now. Dang…

doubleDepth.jpg

I figured out why that cube looks a little funky. I know how to solve the problem but it is truning out to be much more tricky that I at first thought.

Attachments

doubleDepth_corrected.jpg

I truly enjoy your experiments! Hope you’re adding a few more pieces!
:+1:small_orange_diamond:+1:small_orange_diamond:+1:small_orange_diamond:+1:small_orange_diamond:+1:
LemonNado