JohannesK opened this issue on Dec 20, 2005 ยท 20 posts
JohannesK posted Tue, 20 December 2005 at 4:08 AM

I have a question regarding the creation of a shader in C5Pro: Is there a way of making a gradient shader for a surface that goes from white opaque in the center to fully transparent on the edge (see illustration)? I want to create a floor of 1000mm x 1000mm where I can see cast shadows but no horizon. Thanks. Happy christmas to you all. Johannes
Hoofdcommissaris posted Tue, 20 December 2005 at 4:29 AM
If you just want to get rid of the horizon, there are maybe other approaches that would require less of your render time too. There is the 'shadow catcher' thing that might do what you want. Are you rendering with raytrace, or do you want to use GI and IL? Do you want to combine your render with a existing background? Or is it just the edge you do not want? If you check the 'packaging' scenes in the Wizard, you will see that there are certain ways of creating a 'white room' that might be usable for your situation too.
bwtr posted Tue, 20 December 2005 at 4:49 AM
Johannes. What an intersting one. No solution BUT it looks like it MAY be somthing like applying the Veloute Tools 2d Gradient on a plane. Using the Circular zero-one pattern and checking invert. It' just a guess and not much help if you don't have the Velout plug in. Will look at more tomorrow.
bwtr
JohannesK posted Tue, 20 December 2005 at 5:40 AM
Hoofd: I would use a white background, preferably with GI. I'd rather not go for actually building a white room like in the Packaging Scenes. Stupid question: what do you mean by "shadow catcher thing"? :) J
Hoofdcommissaris posted Tue, 20 December 2005 at 5:56 AM
Attached Link: ShadersPlus @ www.digitalcarversguild.com
You can make anything a shadow catcher, but normally that works only with ray tracing. I you want to 'catch shadows' with GI you need the plugin from DCG that does just that (and lots and lots of other things). If you want just a white background, and a white floor, the horizon line should not be a problem at all. The 'building' of a white room could be just a bent plane from the spline modeller. Or a plane that bends downwards at the end, or something. Good luck! Hoofewinemiller posted Tue, 20 December 2005 at 6:57 AM
I'd look at the shader catcher, or Shaders Plus GI Shadow Catcher route. You can also look at the Radial Gradient in Shader Ops. It does exactly what you've shown in your original diagram.
Regards,
Eric Winemiller
Digital Carvers Guild
Carrara plug-ins
Eric Winemiller
Digital Carvers Guild
Carrara and LightWave
plug-ins
ewinemiller posted Tue, 20 December 2005 at 7:47 AM
Is this the result you want to get?

This is the object, an infinite plane, background = white, ambient light = 0, and no other lights. The infinite plane has Shaders Plus GI Shadow Catcher with Max Brightness set on 80%. The renderer is set on Sky Light = checked, Photon Count = 50000, Lighting Quality = Excellent, Accuracy = 4 pixels. It shows no horizon.
You could get away with using the built in Shadow Catcher if you went for normal lighting (no GI).
Regards,
Eric Winemiller
Digital Carvers Guild
Carrara plug-ins
Eric Winemiller
Digital Carvers Guild
Carrara and LightWave
plug-ins
sfdex posted Tue, 20 December 2005 at 9:46 AM
You could also create texture maps for the transparency channel to achieve your goal of a fully transparent outer edge of your floor plane. - Dex
JasenJ1 posted Tue, 20 December 2005 at 3:32 PM

JasenJ1 posted Tue, 20 December 2005 at 3:35 PM
The Blender is a curve filter on a Radial Gradient. A couple control points in the Filter control how much of the shader is which color. Copy the color channel to the Transparency channel with the colors reversed. If you wanted to get tricky, make the Blender a Reference Shader so you'd only haveto mess with it in one place to affect both the color and transparency channels. - Jasen.
bwtr posted Tue, 20 December 2005 at 8:17 PM
Don't know if this .car will help or confuse? At least you will be able to look at all the adjustments in the various parts of the shader. I used the Shader Ops Radial Gradient. And it won't let me attach the .car file? Sorry.
bwtr
bwtr posted Tue, 20 December 2005 at 8:29 PM
Go to www.3dxtract.com---forums---Carrara--Radial Gradient. Where you will get access to the .car.
bwtr
bluetone posted Tue, 20 December 2005 at 8:48 PM
You can attach a .car, just change the extention to .txt and let the person know. R'Osity will transfer the file fine as long as it isn't too big.
bwtr posted Tue, 20 December 2005 at 9:24 PM
Sorry Bluetone you have lost me. Do you mean change Radial Gradient.car to Radial Gradient.txt? And what person do I let know? Sorry if that all sounds dumb.
bwtr
bluetone posted Tue, 20 December 2005 at 10:08 PM
Yes. Renderosity's servers will not accept all file types, but certain ones they will, like .jpg, and .gif AND .txt. So, change "Radial Gradient.car" to "Radial Gradient.txt". Then Renderosity's servers will accept the file type and you can updload it to the site as a link in your message. Then whoever wants to download the file can and then change it back to "Radial Gradient.car" and it will work.
bwtr posted Tue, 20 December 2005 at 10:15 PM

bwtr
JohannesK posted Wed, 21 December 2005 at 3:45 AM
Thanks everyone!! Johannes
JasenJ1 posted Wed, 21 December 2005 at 9:02 AM

JasenJ1 posted Wed, 21 December 2005 at 9:14 AM

bwtr posted Wed, 21 December 2005 at 3:58 PM
JasenJ1. I used the Shader Ops plugin Radial Grad. You say you used C5 Radial Grad?--I can only find Spherical Gradient?
I have gone through your three shaders on the .car and I think it's all to clever my mind to grasp! I guess it's because I would not think of what you wanted to attain in a million years! What a lot of clever people in 3D. OK I found the C5 ADJUSTABLE gradient--whacco you beaut!
Message edited on: 12/21/2005 16:05
bwtr