I'm using an stm32 blue pill. The clock seems to be unstable. Could this be because of the cheap parts on the board? Or else, is there something that I'm missing here. Also, did anyone else face the same? Thanks in advance for answering 😀
Related
I'm making a game with realtime lighting in HDRP and i don't know why i have tried so many things but the light just goes through walls and things.
i don't know what is going on.
please help me
if you need more images or things just tell me and i'll give them
Thanks in advance
For me, I got It fixed by enabling shadow map on my Light source.
I've been trying to use Lego EV3 with a gyro sensor to make it go straight. I've tried many videos, but they don't seem to work. Here's my code
to start off, your multiplier seems a little too off, usually I do something like 2.
You might want to refer to the image in the link below.
Gyro programming
I usually use this as my base gyro programming. If you understand My Blocks, I am basically using that in my programme. All I have to do is to add in the values in terms of direction, speed and distance.
Feel free to ask me if you need further help!
I have a spotlight in front of a mash:
And I would like to see the circle of light also from behind the mash. I would also love to have the light a bit diffused like lighting a piece of fabric.
Any tips about how to achieve this?
Thanks alot!
TL;DR the effect you're trying to achieve is not possible in the manner you're trying to achieve it in.
You've essentially got two or three options here. And you may want more than one of them.
Set the mesh to not cast shadows. This is pretty much the straight forward solution. It's not going to change the...texture of the light ("make it more diffuse") but it will mean that the light will illuminate other objects behind it.
Use two lights. One light will illuminate the mesh and only the mesh. You'll have to use physics layers for this, and layer masks. The second light--which is more diffuse than the first--illuminates everything but the mesh.
Along with #1 and #2, there's a thing called a cookie that might come in handy.
There might be a solution involving custom shaders. Not having explored this in the past myself, I can only say "it is a research direction I thought of." Research it. (Note: Shaders are complicated and Hard).
Writing your own lighting solution. This is probably the most advanced topic I can suggest. By which I mean "this will solve your problem, but keep in mind, there's about 40 years of research already been done to come up with the models we have which don't solve your problem." We only started to get subsurface scattering as an option in the last three to five. Now you want subsurface scattering to affect the light cone for other objects. Sooo...have fun with that.
I was wondering if there was a way on a raspberry pi to track people, and then communicate with GPIO pins to turn servos so something faces their direction. I know it is possible to track using simulink, but I am not sure how to act on results. Thanks for any responses!
Is it possible to detect eye in the video mode in MATLAB? I am trying to detect the eye and make some predictions based on the movement of the eye. But am not sure on how to do that. Can someone help me in how to start about that? Thanks in advance.
You could take a look at this set of functions on The MathWorks File Exchange: Fast Eyetracking by Peter Aldrian.
Quoting from the description of the post (to give a little more detail here):
This project handles with the question
how to extract fixed feature points
from a given face in a real time
environment. It is based on the idea,
that a face is given by Viola Jones
Algorithm for face detection and
processed to track pupil movement in
relation to the face without using
infrared light.
My MATLAB is incredibly rusty, but this site appears to have some scripts to help track eye movement.
eye detection will be possible with MATLAB and you can come up with that. But there is a difference between recognition and detection that you need to consider carefully. Detection is checking if an object is available in the image whereas recognition is determining what the different objects in the image are.
I hope it'll increase someone's knowledge.