ok, so, we are having problems with our current mirror reflection implementation.
At the moment we are doing it very simple, so for the i-th frame, we calculate the reflection vectors given the viewPoint and some predefined points on the mirror surface (position and normal).
Then, using the least squared algorithm, we find the point that has the minimum distance from all these reflections vectors. This is going to be our virtual viewPoint (with the right orientation).
After that, we render offscreen to a texture by setting the OpenGL camera on the virtual viewPoint.
And finally we use the rendered texture on the mirror surface.
So far this has always been fine, but now we are having some more strong constraints on accuracy.
What are our best options given that:
- we have a dynamic scene, the mirror and parts of the scene can change continuously from frame to frame
- we have about 3k points (with normals) per mirror, calculated offline using some cad program (such as Catia)
- all the mirror are always perfectly spherical (with different radius vertically and horizontally) and they are always convex
- a scene can have up to 10 mirror
- it should be fast enough also for vr (Htc Vive) on fastest gpus (only desktops)
Looking around, some papers talk about calculating some caustic surface derivation offline, but I don't know if this suits my case
Also, another paper, used some acceleration structures to detect the intersection between the reflection vectors and the scene, and then adjust the corresponding texture coordinate. This looks the most accurate but also very heavy from a computational point of view.
Other than that, I couldn't find anything updated/exhaustive around, can you help me?
Thanks in advance
Hi, I'm new here and would like to get some help in what i should do first when designing a game? What would you consider to be the best steps to begin designing my game? Give resources with it as well please.
I am in need of a concept artist willing to draw animals, characters, and monsters. The design will be in a cute, but not chibi, anime style. The first projects I am hoping to work on are livestock for a farming/city building/social/survival game. And I want concept art for based on real breeds of animals. I am hoping my first animals will be Nigerian Dwarf Goats, Nubian Goats, Babydoll Sheep, Shetland Sheep, and Leghorn Chickens. Unfortunately, I cannot pay, however if I do make money, I'll share some of the proceeds. If you have any question or you are interested, please respond in the topic post. I also have a discord. If you're interested in this project, I'll send a link to it.
Thank you for reading!
While looking out for that pesky Terrator, our little alien is doing a bit of relaxed mining down on the new gas planet "Lelantos" this weekend....
#gamedev #indiedev #madewithunity #screenshotsaturday