Hi,
To more faithfully recreate the V-REP scene in the VR Interface I also read the lights from V-REP. To that end, it would be useful if I can access more parameters.
- Spot cutoff (vtk method)
- Spot exponent (vtk method)
- Attenuation factors (vtk method)
A related question. In VTK I have to set the Ambient/Diffuse/Specular coëfficients. Does anybody have suggestions as to what these values might be in V-REP? I don't seem to find the correct parameters (this is also related to lighting which can be off).
Kind regards,
Boris Bogaerts
Acces to light related parameters
Re: Acces to light related parameters
Hi copelia,
Thanks
Kind regards,
Boris
Thanks
Kind regards,
Boris
Re: Acces to light related parameters
Hi Boris,
rev.4 was uploaded. There you can use:
As to the ambient, diffuse, specular values: you can get/set them with
rev.4 was uploaded. There you can use:
- sim_lightfloatparam_spot_exponent
sim_lightfloatparam_spot_cutoff
sim_lightfloatparam_const_attenuation
sim_lightfloatparam_lin_attenuation
sim_lightfloatparam_quad_attenuation
As to the ambient, diffuse, specular values: you can get/set them with
- sim_colorcomponent_ambient
sim_colorcomponent_diffuse
sim_colorcomponent_specular