Mesh problems

BlitzMax Forums/MiniB3D Module/Mesh problems

Sveinung(Posted 2007) [#1]
I got a hole in my object. It was created with the 'CreateSphere(40)' command. Is there a bug or am I doing something wrong. I'm using Klepto2's .4 version.

Download Exe here

regards
Sveinung


Sanctus(Posted 2007) [#2]
Well thats the seam... I have no ideea how to get rid of the problem...


bradford6(Posted 2007) [#3]
looks like the mesh's verts are not welded. you could:

a. create a sphere in a 3d modeller (3DS Max, etc) and unwrap it.

b. look at the sourcecode for the sphere creation and modify it.

if you want to write a new sphere code, please post here and I am sure simonh will consider putting it in the source.


DJWoodgate(Posted 2007) [#4]
I think the idea of having a seam is that it makes texturing easier. It avoids the discontinuity you would get when the UV's wrap from 1 back to 0. I suppose you could get around this with the right texture, or maybe if you welded it you can make the uv's go up to 1 for half the sphere and then back down to 0 for the other half so the texture would repeat twice around the sphere in a mirror like fashion but with a less glaring discontinuity?


Sveinung(Posted 2007) [#5]
Thanks for all the answers. I'll look into the createsphere command...and I'll post it id I succeed.

BTW loading 3ds...all fine :D

Sveinung