Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for 3D rendering, fix Mesh #19

Open
AlexMarinescu opened this issue Aug 8, 2015 · 3 comments
Open

Add support for 3D rendering, fix Mesh #19

AlexMarinescu opened this issue Aug 8, 2015 · 3 comments

Comments

@AlexMarinescu
Copy link
Member

Update the 2D pipeline to handle 3D objects. Currently CSG and GJK support 3D objects but they would be rendered in 2D. So in order for this to work mesh, shaders and camera have to be updated or added. Mesh was updated due to addition of CSG and camera is being worked on. Shaders will be updated to render 3D objects. Currently the shaders will only rendered textures 2D geometry.

@AlexMarinescu
Copy link
Member Author

So ran into issues. I manged to get camera to use view class to switch projections modes and any 2D objects render properly but no 3D objects yet. It is either the shaders or data being sent to the vbos. Or the camera does not point into the correct location. Need to look into this a bit deeper.

@mdsitton
Copy link
Member

Ok so this now works, but the old 2d stuff is now broken. Over the next few weeks hopefully this will all get ironed out and we can close this. Then we will need to see where we want to go with issue #10

@AlexMarinescu
Copy link
Member Author

Basically meshbase will get nuked, mesh will be converted to do the job of the meshbase and then entity will be a new class to tie in together, CSG, manually defined 2D and 3D objects, loaded objects and physics object. Gonna rename the title of this issue a bit.

@AlexMarinescu AlexMarinescu changed the title Add support for 3D rendering Add support for 3D rendering, fix Mesh Mar 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants