-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changing light quality - softness, color,... #46
Comments
Hi,
An alternative would be to compute a softer light relighting coefficients as the weighted sum of multiple light directions, I can add support for this, in case. About the color of the light: I can add support for the light color parameter, but inherent to the RTI mathematical model, emissive color for example would not really work. For example a red LED in a scene would remain red even if you shine a blue light, but RTI has no reasonable way (for the moment) to distinguish emissive from diffuse and the red would turn dark. In case you prefer (the matter is complex), we can have a call, just set up an appointment (write me at [email protected]). |
Hello, Thank you for your prompt reply and the different solutions. I just have 9 light directions because my scanner will work with photometric stereo and photogrammetry. Because I have to stack around 300 images per view/perspective and will need about 160-300 perspectives per insect, working with more light sources would tremendously increase scanning time. Working with higher magnification objectives would go into the weeks. With this lens about one to two days. OK, I will try to use RBF and test changing the light during rendering. Your alternative to use weighted sums of multiple light directions sounds more complicated, but thanks for the offer! It would be very helpful if there would be a function to change light color in real time, by a key combined with the mouse wheel (r for red, b for blue and g for green or h for hue), but I do not know if such a thing would be possible within OpenLime. Would changing the lights size (light circle not covering the whole scene) be possible somehow? Dynamically change the light to brighter and darker? In the end I plan to use sensors around the projection of the insect and an infrared flashlight, to relight my insects in an art installation. At least this is what I dream about. But I could imagine that the sensors could not exactly know the IR flashlight position. I have no clue about geometry. Thanks also for offering to have a call, perhaps I will come back on it, but my English is not very good and I have hearing problems, so this might not be the easiest thing. All in all OpenLime is already a really helpful tool for art installations. I´m very happy that I found it. Thank you again and kind regards, |
Hi again, I used relight-cli application and afterwards a sigma of 0.5, which made the whole rendering much softer/smoother. Would there be an easy way to control this sigma value in real time from OpenLime? Many thanks and kind regards, |
Ciao,
You need to update the light direction to have a proper redraw, i need to expose some function to do so properly. About the values in the json, it's perfectly doable to change them, but I need to understand which effect you would like to have implemented. Documentation is pretty sparse (as the code is in development) sorry. Feel free to ask here. |
Hello, I tested you suggestion and it works quite well. What is a little bit disturbing is the need for updating the light direction before one sees the resulting light-softness change in action. Is there no workaround for this? So that the light-softness would change immediately when making changes to the slider? Maybe changing the JSON would not be so easy because the "basis" would need to be changed in so many different positions. Such a thing I could just imagine to do some presets (perhaps also in ui.menu[1]) that for instance change the red values at some positions and the blue ones for another direction/position. Would there be an easier way to maybe just change the color temperature in general (like one would do when adjusting the white balance in photography; with some kind of "Kelvin-Slider")? Or to change the RGB values separately? And, for a first exhibition, it would be good to have such a slider for the image brightness / the lights brightness. Because this could make images more dramatic too. These functions would be sufficient for the first exhibitions beginning of June in my studio and end of June at the University. I also managed to switch views or specimen with links to other folders.
I know these are many questions. |
Hello,
I´m developing an 3D insect scanner and would be interested if and how it may be possible to change the lighting quality in OpenLime. Is there an easy way of changing the light softness/hardness, brightness and the color of the light? One case: I want to shine blue light on my object.
I´m quite happy with my first result (http://www.michaelbachhofer.com/PS/) but for presenting such scans with OpenLime in an art context, I would need to also influence the light quality.
Perhaps this might be possible by changing values in the "openlime.min.js" file.
Many thanks and kind regards,
Michael
The text was updated successfully, but these errors were encountered: