Integrating 3D models with photography
Interested in integrating your 3D work with the real world? This might help
# 1 15-05-2003 , 09:04 PM
Subscriber
Join Date: Oct 2002
Posts: 46

create cd surface

hi gang
i'm trying to create a spinning cd animation, but i can't get the diffraction texture to radiate out from the centre - i just get parallel lines

i'm putting the texture on to a flattened poly cylinder - acan anyone tell me where i'm going wrong

cheers
tony

# 2 15-05-2003 , 09:17 PM
adldesigner's Avatar
Registered User
Join Date: Sep 2002
Location: CCS, Venezuela
Posts: 3,363
Can you post a screenshot? or image?

# 3 15-05-2003 , 09:34 PM
Subscriber
Join Date: Oct 2002
Posts: 46
hi, adldesigner
here is a screenshot

tony

# 4 16-05-2003 , 12:56 AM
ragecgi's Avatar
Registered User
Join Date: Sep 2002
Location: Minnesota, USA
Posts: 3,709
Do you have your shader settings like this image from A|W?

(notice that METHOD is set to CD)


Israel "Izzy" Long
Motion and Title Design for Broadcast-Film-DS
izzylong.com
# 5 16-05-2003 , 01:44 AM
I-Iybrid's Avatar
Simply Maya OG
Join Date: Dec 2002
Location: Queensbury NY, US A
Posts: 1,438
....theres a CD shader..? Man, where have I been user added image


- Hybrid
# 6 16-05-2003 , 08:16 AM
Subscriber
Join Date: Oct 2002
Posts: 46
hi, rage

attached the shader settings - method is set to cd - could it be because i'm trying to put effect on the end of a cylinder that's causing problems

is there a better way to approach this?

seems like the basic problem is to get the shader to wrap in a circle rather than staight - i'm still learning basics so haven't quite got a handle on how it all works yet

cheers
t

# 7 16-05-2003 , 02:36 PM
ragecgi's Avatar
Registered User
Join Date: Sep 2002
Location: Minnesota, USA
Posts: 3,709
hmmm.. yeah, it might be your cylinder geometry... not sure tho...

Have you mapped the cylinder cap with a projection before applying the shader?

...sorry, kinda out of my league here... anyone wanna chime in?


Israel "Izzy" Long
Motion and Title Design for Broadcast-Film-DS
izzylong.com
# 8 16-05-2003 , 03:47 PM
NitroLiq's Avatar
Moderator
Join Date: Nov 2002
Location: New York
Posts: 2,133
Well, I just downloaded the shader and built a quick CD using a pair of lofted concentric circles. Using the settings from A|W's site, I got it in the general ballpark (see attached image). I also created a pair of cylinders - one poly and one NURBS - and applied the shader. The results are what they should be and not that extreme rainbow effect that you're getting so my first guess is it has something to do with either your geometry, the camera angle, and the shader's brightness setting...or a combination perhaps.

Try this: create a NURBS circle, duplicate and scale it to create the inner hole. Then loft between the two. Now, apply your shader using the settings Rage posted, do an IPR render and start tweaking settings. If you look at the AW settings screenshot, they've connected additional nodes so don't be afraid to experiment a little bit.

Hope this helps some.


"Terminat Bora Diem, Terminal Auctor opus."
# 9 16-05-2003 , 03:53 PM
NitroLiq's Avatar
Moderator
Join Date: Nov 2002
Location: New York
Posts: 2,133
Crap, can someone delete this and the duplicate post above for me?


"Terminat Bora Diem, Terminal Auctor opus."
# 10 16-05-2003 , 11:31 PM
Subscriber
Join Date: Oct 2002
Posts: 46
many thanks, nitro

it was lofting between the circles that did the trick

knocked this up in a few minutes after that

t

# 11 17-05-2003 , 12:54 AM
ragecgi's Avatar
Registered User
Join Date: Sep 2002
Location: Minnesota, USA
Posts: 3,709
Great!

Thanks again Nitro!


Israel "Izzy" Long
Motion and Title Design for Broadcast-Film-DS
izzylong.com
# 12 17-05-2003 , 07:50 PM
Subscriber
Join Date: Oct 2002
Posts: 46
ok, so far, so good

next thing is i want to attach a file to the transparency input of the diffraction shader (to get the clear bit on the outer and inner edges) - have been trying for ages, and all that happens is the image turns black

have tried the same things with objects with just a regular shader - and it works - anyone have any idea why ican't do it with the diffraction shader

cheers,
t

# 13 17-05-2003 , 10:56 PM
ragecgi's Avatar
Registered User
Join Date: Sep 2002
Location: Minnesota, USA
Posts: 3,709
I havn't looked at the shader to see if there is an editable, or locked-out transparency node,
but try making a layered shader with:
-a basic Blinn on the bottom containing your ramp transparency,
-then add the diffraction shader on top of that at about 80% opacity with a blend mode of ADD.
(or try them all to see what might work best for a blend modeuser added image

Good luck!


Israel "Izzy" Long
Motion and Title Design for Broadcast-Film-DS
izzylong.com
# 14 18-05-2003 , 01:47 AM
M's Avatar
Subscriber
Join Date: Jan 2003
Location: BC, Canada
Posts: 2,250
hey tony.. looks like from that render you showed.... you may want to do a y axis planar map on that thing user added image. It could solve that line down one side. Looks good though


"I should call you sugar maple tree cause i'd totally tap that" haha

email - mattwettstein@gmail.com
# 15 18-05-2003 , 02:40 AM
NitroLiq's Avatar
Moderator
Join Date: Nov 2002
Location: New York
Posts: 2,133
Transparency is editable (r,g,b). I haven't had the time to play with it, though.


"Terminat Bora Diem, Terminal Auctor opus."
Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads