#3dmath
Explore tagged Tumblr posts
Text
Keeping Busy
Wow, I haven’t worked on my engine in 7 weeks! But now that work is out for Corona prevention, I’m trying to re-engage and keep busy.
Today I spent a couple hours remembering where I was and finishing off some camera work I needed. Specifically, where I left off in January was trying to get the camera frustum planes and check if a point is in the frustum or not. There was a blatant error in my Vector3 dot product, so I fixed that. I also spent a while debugging a cross product issue. I was unaware that if you use the standard formula for computing the cross product, you need to negate it if you are working in a left-handed system.
With those issues sorted out, I’ve added a simple check in my SceneStreamSystem to check which actors are in-view and which aren’t. Tomorrow I’ll start on determining which of my scene tiles should be in view and creating renderables for them.
1 note
·
View note
Text
3D mathematical libraries
Все-таки мания ��исать свое решение для каждой пр��блемы у программистов в крови.
Вот и я создал проект для 3Д математики на гугл коде, и только потом отправился в интернет, чтобы посмотреть, а нет ли готовых решений.
Как всегда оказалось, что есть. В нескольких местах нашел несколько ссылок на одни и теже библиотеки. Вот они
MathLib3D: http://mathlib3d.sourceforge.net/
Configurable Math Library: http://cmldev.net
Boost: http://www.boost.org
Скачаю, соберу, погоняю и напишу о своих впечатлениях. Основными критериями для меня являются:
1. независимость библиотеки
2. возможность работы с графическими фреймворками DirectX и OpenGL.
3. легкость интегрирования в любой проект.
Всем доброй ночи.
0 notes