Using molecules engine with other data

2 replies [Last post]
cory
User offline. Last seen 8 years 36 weeks ago. Offline
Joined: 06/28/2012
Posts:

Hello! This is my first post and it's a please to be here. Brad, thank you so much for open sourcing all your code. It has been helpful beyond belief. I sincerely appreciate it.

I am tinkering around with a little side project of tracking routes with core location. Pretty easy stuff. Every time that I track an update point I store 3 properties: lat, long, elevation. I have a view that will draw all your routes on an overlay on MKMapView. Pretty boring. So I thought it might be cool to map the points in 3D space (without any map) to see how they look.

Which leads me to the crux of this post.

Would molecules be a good project/code base to use to feed in a bunch of points to draw in 3D space? Someway I could config it so I could pass in X,Y,Z points along with edges.

I am doing this on the side from my day job (which is building apps as well) so I've been searching for something that would take as little configuration as possible. Coding 10+ hours a day for work leaves little time for anything else :(

Again, Brad I really appreciate you sharing all your hard work and if I can get this to work I will share as well!

- Cory

Brad Larson
Brad Larson's picture
User offline. Last seen 4 years 22 weeks ago. Offline
Joined: 05/14/2008
Posts:

I really would not use this as the basis for generic OpenGL ES rendering. The whole application is tuned around rendering spheres and cylinders as they appear within a molecular structure. I've piled on optimizations to that end, which can make the code a little tricky to read through, as well.

I do list some more generic resources for learning OpenGL ES 2.0 in this Stack Overflow answer:

http://stackoverflow.com/a/8495261/19679

including a link to my iTunes U course, where I have two classes on the topic. Those resources would be much better starting points than this application.

cory
User offline. Last seen 8 years 36 weeks ago. Offline
Joined: 06/28/2012
Posts:

Thank you very much for your help and I will give it a try.

Syndicate content