Thanks. That did it.
The obj mtl spec document I have does not mention 'r'.
Do you have a pointer to a full material spec document?
Also, is it possible to move the light source?
I didn't see anything in Manta help for controlling light parameters.
Thanks,
John
-----Original Message-----
From: Thiago Ize [mailto:thiago@cs.utah.edu] Sent: Tuesday, October 23, 2007 12:42 PM
To: John Kichury
Cc: manta@sci.utah.edu
Subject: Re: [Manta] Reflections with Obj Files
I believe reflection is handled by 'r' in an mtl file. For reflections to occur you need to have an "Ns" so that manta knows to use the phong material and not lambertian (lambertian doesn't do reflections) and the 'r' to specify the amount of reflection.
For instance:
newmtl Yellow208
Ns 92.156863
Ka 0.000000 0.000000 0.000000
Kd 0.521600 0.577280 0.286080
Ks 0.250000 0.250000 0.250000
d 1.000000
r 0.4 ---- this is the important part.
Thiago
John Kichury wrote:
Hi,specular and
Is it possible for Manta to render reflections when using obj files?
I tried increasing the material property values such asshininess in the material library file which didn't affectreflections.
Thanks,
John
_______________________
J o h n K i c h u r y
Principal Systems Engineer, SGI
<jjk@sgi.com>
Archive powered by MHonArc 2.6.16.