We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
OpenGL Vertex Gaps (Read 357 times)
OpenGL Vertex Gaps
Oct 1st, 2008, 4:00pm
 
Hi there, i've been playing around with processing for a while now, i just started a new project, this time i wanted to use OpenGL for 3D models.

i try to build a model with multiple vertex objects but i'm unable to remove the gap between to objects, P3D looks much better but it's terribly slow, so am i missing something?

OpenGL: http://www.ghley.ch/pic/opengl.jpg

P3D: http://www.ghley.ch/pic/P3D.jpg

using noStroke()
and:

  beginShape(QUADS);
  texture(blank);

  vertex(x,y,z,0,0);
  vertex(x_,y,z,1,0);
  vertex(x_,y_,z,1,1);
  vertex(x,y_,z,0,1);  

  endShape();

and the coordinates are exact the same, so there shouldn't be any gap, the texture is 128x128 and the floor tiles in the pictures have this dimension.

i tried to find a solution in this board but couldn't, probably using wrong keywords...

thanks for your help
Ghley
Re: OpenGL Vertex Gaps
Reply #1 - Oct 1st, 2008, 5:01pm
 
Hopefully a fix coming soon...
http://dev.processing.org/bugs/show_bug.cgi?id=200
Re: OpenGL Vertex Gaps
Reply #2 - Oct 1st, 2008, 5:28pm
 
I see, so nothing i'm doing wrong =)

well i can live with those lines during development, i sure hope there will be a fix out when i finished my project

thanks for the fast reply

Ghley
Page Index Toggle Pages: 1