Loading ...
Sorry, an error occurred while loading the content.

Re: Odd question about making cube faces with Pano2QTVR

Expand Messages
  • fierodeval
    Great! :-)
    Message 1 of 12 , Oct 14, 2009
    View Source
    • 0 Attachment
      Great! :-)


      --- In PanoToolsNG@yahoogroups.com, Ken Warner <kwarner000@...> wrote:
      >
      > Hey Fiero -- that worked nicely. No seams!!!
      >
      > Just a little trial and error to find the right spelling. For the JavaScript
      > interface it's spelled like:
      >
      > glCanvas3D.texParameter(glCanvas3D.TEXTURE_2D, glCanvas3D.TEXTURE_WRAP_S, glCanvas3D.CLAMP_TO_EDGE);
      > glCanvas3D.texParameter(glCanvas3D.TEXTURE_2D, glCanvas3D.TEXTURE_WRAP_T, glCanvas3D.CLAMP_TO_EDGE);
      >
      > Only took about 17 times trying different spellings but it works!
      >
      > fierodeval wrote:
      > > Hi Ken,
      > >
      > > Do you mean that you are programming a cubic viewer with OpenGL?
      > > If yes, you should use this code to avoid edges (this is C language):
      > >
      > > if (CheckExtension("GL_SGIS_texture_edge_clamp") || CheckExtension("GL_ARB_texture_border_clamp"))
      > > {
      > > glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);
      > > glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE);
      > > }
      > >
      > > regards!
      > > fiero
      > >
      > >
      > > --- In PanoToolsNG@yahoogroups.com, Ken Warner <kwarner000@> wrote:
      > >> I'm fiddling around with OpenGL and I'm using an equirectangular made by PTGui
      > >> and using Pano2QTVR to generate the cube faces.
      > >>
      > >> When I put them into a cube face viewer, I see the seams of the cube -- where the cube
      > >> faces connect.
      > >>
      > >> Questions: Does Pano2QTVR make cube faces that match at the edges?
      > >>
      > >> Do I need to use a specific interpolator? Pano2QTVR has a bunch of interpolators.
      > >>
      > >> Which would be the best interpolator to use? Is it something I'm doing wrong when
      > >> I generate the cube faces that cause the seam?
      > >>
      > >> I'm asking this question because I'm just figuring out OpenGL and how it puts cube
      > >> faces together. It's probably something I'm doing wrong when I initialize the viewer.
      > >> But hopefully someone of you will have some insight that can put me on track.
      > >>
      > >> Question: Is there a better cube face generator that is free?
      > >>
      > >
      > >
      > >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.