| Item | Quantity | Price |
|---|
| Your cart is empty. Check out our collection of 3d models! |
Prices in:
Clear Cart
Home » Forums » 3D Forums » RenderMan renderers and plug-ins » how to use 3delight's maya_phong() function with prman? Topic 3 of 1646
| Item | Quantity | Price |
|---|
| Total | $0.00 (USD) | ||
| Your cart is empty. Check out our collection of 3d models! | |||
Prices in:
Clear Cart
| Name | Downloads |
|---|---|
TrueGlass |
845,828 |
detachSeparate.mel |
837,128 |
The Andy Rig |
617,648 |
Sergio |
467,150 |
LWOImpR4-R5_043 |
431,545 |
Tiny |
339,492 |
Smedge .6 |
208,192 |
Ocean Shader |
183,735 |
silver shader |
179,836 |
At The Sea |
163,198 |
| Name | Contributions | Posts |
|---|---|---|
| humster3d | 2146 | 2 |
| squir | 1300 | 0 |
| Pupuhol | 967 | 0 |
| KanhtArt | 857 | 0 |
| GuamWork | 854 | 0 |
| admin | 778 | 21231 |
| rose studio | 655 | 0 |
| stefano tartarotti | 616 | 0 |
| VKModels | 444 | 1 |
| fileadmin | 424 | 0 |
Hi all,
I write a surface shader which uses 3delight(10.0.4)'s maya_phong() function. Then I compile the shader and render my rib file with prman13.5. But the output image seems wrong. I'm not sure where is the problem, may be the incorrect use of maya_phong().
Here is my shader and rib file.
My surface shader phong1.sl:
compile the shader with prman shader.exe
\>shader.exe -o "E:/MyDocuments/maya/projects/default/generatedShader/phong1.slo" -I"%LIQUID_ROOT%/dependence/_3delight" "E:/MyDocuments/maya/projects/default/generatedShader/phong1.sl"My rib file er_rm_shader_graph_phong3_perspShape.0001-3delight.rib:
(Note that I also use 3delight maya_pointlight shader for the point light.)
Render this rib file:
\>prman er_rm_shader_graph_phong3_perspShape.0001-3delight.ribThe output image seems not correct.Here is the output image:
My Question is:
1. I guss that my usage of maya_phong() is wrong, but I'm not sure where the problem is. Could you give me any help?
2. Can 3delight shader header files(e.g. phong.h) be used with prman?
Thank you in advance.