pabennett / glblox Goto Github PK
View Code? Open in Web Editor NEWAn OpenGL volume renderer
An OpenGL volume renderer
http://www.indiedb.com/games/scrumbleship/news/shaders-so-sharp-youll-cut-yourself
It seems like this unintuitive at first ordering can be much quicker to render.
please add instructions for building, for osx
Hi
Gletools is no longer available, is it worth shipping it here?
S
I was having a bash at getting this compiling in linux and hit some issues with using a newer version of glm:
I think this would be a fairly simple tweak in the code, though obviously I haven't seen it running yet so not sure:
from /usr/include/glm/gtc/type_ptr.hpp:63,
from chunk.hpp:12,
from chunk.cpp:14,
from world.hpp:4,
from world.cpp:17,
from main.cpp:20:
/usr/include/glm/gtc/quaternion.inl: In function ‘glm::detail::tquat<T, P> glm::rotate(const glm::detail::tquat<T, P>&, const T&, const glm::detail::tvec3<T, P>&)’:
/usr/include/glm/gtc/quaternion.inl:639:165: note: #pragma message: GLM: rotate function taking degrees as a parameter is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.
# pragma message("GLM: rotate function taking degrees as a parameter is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.")
^
/usr/include/glm/gtc/quaternion.inl: In function ‘T glm::roll(const glm::detail::tquat<T, P>&)’:
/usr/include/glm/gtc/quaternion.inl:666:151: note: #pragma message: GLM: roll function returning degrees is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.
# pragma message("GLM: roll function returning degrees is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.")
^
/usr/include/glm/gtc/quaternion.inl: In function ‘T glm::pitch(const glm::detail::tquat<T, P>&)’:
/usr/include/glm/gtc/quaternion.inl:680:152: note: #pragma message: GLM: pitch function returning degrees is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.
# pragma message("GLM: pitch function returning degrees is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.")
^
/usr/include/glm/gtc/quaternion.inl: In function ‘T glm::yaw(const glm::detail::tquat<T, P>&)’:
/usr/include/glm/gtc/quaternion.inl:694:150: note: #pragma message: GLM: yaw function returning degrees is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.
# pragma message("GLM: yaw function returning degrees is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.")
^
/usr/include/glm/gtc/quaternion.inl: In function ‘T glm::angle(const glm::detail::tquat<T, P>&)’:
/usr/include/glm/gtc/quaternion.inl:824:152: note: #pragma message: GLM: angle function returning degrees is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.
# pragma message("GLM: angle function returning degrees is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.")
^
/usr/include/glm/gtc/quaternion.inl: In function ‘glm::detail::tquat<T, P> glm::angleAxis(const T&, const glm::detail::tvec3<T, P>&)’:
/usr/include/glm/gtc/quaternion.inl:854:168: note: #pragma message: GLM: angleAxis function taking degrees as a parameter is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.
# pragma message("GLM: angleAxis function taking degrees as a parameter is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.")
^
In file included from /usr/include/glm/gtc/matrix_transform.hpp:292:0,
from camera.hpp:15,
from camera.cpp:14,
from main.cpp:22:
/usr/include/glm/gtc/matrix_transform.inl: In function ‘glm::detail::tmat4x4<T, P> glm::rotate(const glm::detail::tmat4x4<T, P>&, const T&, const glm::detail::tvec3<T, P>&)’:
/usr/include/glm/gtc/matrix_transform.inl:79:165: note: #pragma message: GLM: rotate function taking degrees as a parameter is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.
# pragma message("GLM: rotate function taking degrees as a parameter is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.")
^
/usr/include/glm/gtc/matrix_transform.inl: In function ‘glm::detail::tmat4x4<T, P> glm::rotate_slow(const glm::detail::tmat4x4<T, P>&, const T&, const glm::detail::tvec3<T, P>&)’:
/usr/include/glm/gtc/matrix_transform.inl:120:170: note: #pragma message: GLM: rotate_slow function taking degrees as a parameter is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.
# pragma message("GLM: rotate_slow function taking degrees as a parameter is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.")
^
/usr/include/glm/gtc/matrix_transform.inl: In function ‘glm::detail::tmat4x4<T, (glm::precision)0u> glm::perspective(const valType&, const valType&, const valType&, const valType&)’:
/usr/include/glm/gtc/matrix_transform.inl:253:170: note: #pragma message: GLM: perspective function taking degrees as a parameter is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.
# pragma message("GLM: perspective function taking degrees as a parameter is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.")
^
/usr/include/glm/gtc/matrix_transform.inl: In function ‘glm::detail::tmat4x4<T, (glm::precision)0u> glm::perspectiveFov(const valType&, const valType&, const valType&, const valType&, const valType&)’:
/usr/include/glm/gtc/matrix_transform.inl:285:173: note: #pragma message: GLM: perspectiveFov function taking degrees as a parameter is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.
# pragma message("GLM: perspectiveFov function taking degrees as a parameter is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.")
^
/usr/include/glm/gtc/matrix_transform.inl: In function ‘glm::detail::tmat4x4<T, (glm::precision)0u> glm::infinitePerspective(T, T, T)’:
/usr/include/glm/gtc/matrix_transform.inl:311:178: note: #pragma message: GLM: infinitePerspective function taking degrees as a parameter is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.
# pragma message("GLM: infinitePerspective function taking degrees as a parameter is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.")
^
/usr/include/glm/gtc/matrix_transform.inl: In function ‘glm::detail::tmat4x4<T, (glm::precision)0u> glm::tweakedInfinitePerspective(T, T, T)’:
/usr/include/glm/gtc/matrix_transform.inl:339:185: note: #pragma message: GLM: tweakedInfinitePerspective function taking degrees as a parameter is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.
# pragma message("GLM: tweakedInfinitePerspective function taking degrees as a parameter is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.")
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.