Results 1 to 10 of 42

Thread: pascal and learning 3d

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #33
    @Sascha: I'd use color picking if i could but I'm not texturing voxels and I don't plan to. To do color picking in this scenario I guess I'd have to render geometry with unique colours and then change them to proper values from some reference texture?

    @User137: yeah, I'm using your engine as a reference from time to time but picking there is done in a way I've described in my previous post. Where do I get model matrix from if glGetDoublev(GL_MODELVIEW_MATRIX) doesn't seem to do it's job?
    Internet says GL_SELECT is obsolete and shouldn't be used anymore

    edit: another problem with color picking is that I have tons of cubes on the scene so
    lookup would be costly unless I encode cube coords into color..
    Last edited by laggyluk; 09-01-2013 at 06:37 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •