Three questions
Hello,
I would like to know if there is the possibility to configure some options that I have not found in the documentation: 1. I know about the option, that I can adjust the specular property of individual objects but not on lights. Is there a way to enable/disable "specular casting" from a light? I want to create several lights, some that cause highlights on the objects and some just as "filllights" that do not evoke highlights. 2. Is there the possibility to have three objects with physics enabled, lets say a sphere, cube and floor and make the cube collide with the sphere and not with the floor but the sphere collide with both the cube and the floor? I basically want to tell objects to collide only with certain objects and not with all. I can imagine, that one would have to make use of the contact groups which I found to be implemented in OPAL: http://opal.sourceforge.net/tutorial8.html Is this difficult to access? 3. My last question is quite similar and deals with the collideMesh option. It is not possible to use forces with that. Why is this the case? It seems that OPAL has such an option: http://opal.sourceforge.net/tutorial10.html Would it be very complicated to implement such an option in general? I was searching for clear answers to these questions in the forum and in the documentation for a while now but I never found any clear statements to that, so I would be really happy to learn about the possibilities that I have probably missed so far. Best, Petra |
Does really nobody have an answer to at least one of my questions?
|
1) Setting the specular color on the light to black should effectively disable specular casting:
Code:
light.specular(viz.BLACK) Code:
import viz |
Thanks a lot for your response!! This was exactly what I wanted to know.
Considering 3), I must have misunderstood the contents of the link, thanks for making that clear to me. |
All times are GMT -7. The time now is 07:07 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC