I did mention it was NSFW
Announcement
Collapse
No announcement yet.
faking dispersion using the new blend material
Collapse
X
-
Originally posted by Paul Oblomov View PostBTW - saved img in vrimg, then converted to exr. Opened in PS with fnord proexr - it doesn't like vraymtlselect channels at all. They were all black
Best regards,
VladoI only act like I know everything, Rogers.
Comment
-
It is a plugin, that allow you to work with exr channels. Every other channel is fine, but vraymtlselect... It can be extracted in AE with this plug, so seems to me a glitch in PS plug.I just can't seem to trust myself
So what chance does that leave, for anyone else?
---------------------------------------------------------
CG Artist
Comment
-
Originally posted by vlado View PostI hope this makes sense... This scheme can also be adapted to include intermediate colors of the spectrum, if you think a bit more. E.g. if you want 4 colors in the spectrum, you can do something like this: have the bottom-most material with 50% red color; the one above it should be 100% red and 50% green, the one above it should be 100% green and 50% blue, the one above it should be the base material. It's possible to maybe write a script for this...
Best regards,
Vlado
hi vlado,
i managed to do it with 3 colors, but i tried to use 4 colors as you described and it doesn't really work. can you please have a look:
(i am using 3 posts because i can only use 4 images in 1 post)
this is a single glass material with caustics:
Last edited by plastic_; 11-02-2008, 10:45 AM.Marc Lorenz
___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___
www.marclorenz.com
www.facebook.com/marclorenzvisualization
Comment
-
this is a blend material with IOR variations of the above glass material. it looks right and nice.
Last edited by plastic_; 11-02-2008, 10:44 AM.Marc Lorenz
___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___
www.marclorenz.com
www.facebook.com/marclorenzvisualization
Comment
-
and this is where i have a problem:
--------------
am i using the wrong color values, or isn't it working that way with the blend material?Marc Lorenz
___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___
www.marclorenz.com
www.facebook.com/marclorenzvisualization
Comment
-
Wellll then some1 should write a shader...... hmm how is that done?
i have just started programming with the 3dsmaxSDK and the vraySDK for a month now, and now i'm only able to write custom meshes, do simple stuff to objects and such.. so writing a shader is to hard for me.
i have no idea where to start off, it would realy be awesome if some1 writes a guide on beginning you own shader using the vray SDK.
About the dispersion shader.
If you google dispersion and you click the renderman poorman's dispersion shader the it should not be very hard.
The technique that he uses is instead of casting 1 ray, it's casts 3 rays wich will be RGB.
That does not seems to be hard to implement but like i said. i have no idea where to begin hehe.
more info is on : http://astrofra.com/weblog/index.php...r-rman-version including the source for this.
a quick note, like he mentioned it's far for "physical" correct but well, should be fun if some1 is able to get it into a vray shader.My Homepage : http://www.pixelstudio.nl
Comment
-
-
Originally posted by vlado View PostIt is not too difficult to write a dispersive shader with the V-Ray SDK...
Sorry if I'm a stupid guy with no brain and 2 left hand
A difraction shader would be great for many people... and 2 ways for this will be great. A poor way like the Renderman shader and a rich way with a lot of xeon and RAM.
Best regards...
Comment
-
Hi. here is a test I make for glass dispersion inspired from maxwell disparsion aberration materials mode and this tread.. need more work on shadows.
And what is happend with coustics? its shows up in "coustics preview" but not in main render
sorry for the crappy render. need time..
dunno witch material is "physical accurate" if any, but look promising to me so far..actualy I'm using calcium fluoride (CAf2) ,IOR Arachi and glass asf9 form IOR material database of maxwell as a reference.
But maby Im side track, any help and tip will be appreciate for coustics and mat settings.
ok some scene info: vraylight material set to subd: 200, no store with IR
properties for light coustics: set to 3000 subd. and multy 1.0, intensiity : default image set to 110,
IR: is set to high no other settings, second bounce is brute force, coustics is ON and set to multy: 1.5, search distance is 7.5cm, max photons is set to 600, density is 0.0
no sky no SUN just plane VrayLIght
Comment
Comment