PDA

View Full Version : cd shader



PXLPSH
02-17-2003, 02:01 PM
I am trying to make a shader in lw that will simulate the surface of a cd.. ie: The anistropic rainbow effect...

i have been trying to accomplish this but am at a loss ...Can someone please pass on some knowledge as to how i can
accomplish this...
Best regards

Mylenium
02-17-2003, 11:41 PM
Try the Interference/ Thinfilm shaders with a microscopic bump map (I mean very small size). This will not give you real diffraction but it should look good enough if you do not get too close. You could also play with gradients on the incidence angle depending on what look you are after.

Mylenium

PXLPSH
02-17-2003, 11:56 PM
Thnx for your reply Mylenium.. that is what i started to do but i my animation need to be close up towards the end.... i will keep tweaking till i obtain the look im after..thnx again for the reply.
peace

JDaniel
02-18-2003, 12:21 AM
Try using an incidence angle.

joschy
02-18-2003, 01:01 AM
Canīt remeber where I get this, I think it was Flay.com...

"Heres a quick way to get you started:
1. Make a cylinder along the y axis and delete the ends.
2. Create a morph target for the cylinder that has the top sized down
and then pulled down so you have a CD.
3. In layout apply a procedural that has small x and z settings but
large y values. This will create long streaks up the cylinder.
4. Open morph mixer and morph to your CD position.
Now you have a disk with radiating streaks. You can do this in
various channels and so forth.
Ive done some pretty good looking CDs by combining steaks in the bump
channel with a gradient in the color channel set to bump as the input
parameter."

Sounds good, havenīt tried it myself...

PXLPSH
02-18-2003, 03:09 AM
Thankyou all for your replies as each has been usefull...
joschy..your tip worked great..thnkyou so much

HowardM
02-18-2003, 04:04 PM
Here, play with this!

http://www.3DInk.com/CDrom7.lwo

Enjoy!

riki
06-28-2003, 06:24 AM
Mmm cool looking CD, thanks Howard

HowardM
06-28-2003, 10:07 AM
Aye! I cant take all the credit, but youre welcome.
:)
Thank YOU for the killer tutorials/resources!

toby
06-28-2003, 04:04 PM
you can also make a large image in photoshop, fill it with noise, and do a radial blur

riki
06-28-2003, 08:45 PM
Thanks Howard, yeah I keep padding them out as I learn new stuff. Determined that I'm going to master modeling if it kills me :)