Timeline for Dot product of vector with camera's local positive x-axis?
Current License: CC BY-SA 4.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 2, 2023 at 17:55 | comment | added | Robin Betts♦ | If this one works for you, we can edit it into the answer. | |
Mar 2, 2023 at 16:02 | comment | added | Sam | Not sure what "carrying a shift" means. Yeah. The 3rd-party object is necessary, that's why I'm trying to transform it to view space. (Object-origin L/R is fine. Don't need point L/R.) | |
Mar 2, 2023 at 7:02 | comment | added | Robin Betts♦ | This group does give a result for object-origin L/R. It would need tweaking for point L/R. I see your GN group is on a 3rd-party object.. is that necessary? | |
Mar 2, 2023 at 7:00 | comment | added | Robin Betts♦ | Hi, @Sam ! np about the formatting. Comment markdown is limited, I can not get this group, as shown, to fail at my end, nor can I understand why it should, unless your camera is carrying a shift, or something? Try this file, and let us know? It's a bit of a mystery, to me ... | |
Mar 2, 2023 at 6:37 | comment | added | Sam | Sorry about the formatting issue above. I'm not sure how to put the sentences on a new line. I used shift-enter and that looks fine but once I add the comment, it seems to ignore formatting. :( | |
Mar 2, 2023 at 6:32 | comment | added | Sam | I made 2 changes to get it to somewhat working properly (it's still not correct though): 1) it seems my view transform was incorrect. For the translation, I have to subtract. computergraphics.stackexchange.com/questions/2037/… 2) I applied your "Vector" and "Vector Rotate" nodes Here's what my nodes currently look like: imgur.com/a/PaH7Fhm Here are my results: you can see that the dot product value becomes zero way before the cube reaches the middle of the camera: imgur.com/a/Sa7gKei | |
Mar 1, 2023 at 23:06 | history | answered | Robin Betts♦ | CC BY-SA 4.0 |