Welcome, Guest. Please Login or Register
YaBB - Yet another Bulletin Board
  YaBB is sponsored by XIMinc!
  HomeHelpSearchLoginRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
About the Line problem (Read 494 times)
Eagle
Good Member
ERPG MMOG User
**
Offline


Eagle Softworks

Posts: 90
USA
Gender: female
About the Line problem
Feb 7th, 2010 at 5:52am
 
Hi Tye,
Hey I have noticed something about the line problem we
have been having, I don't know if this will help you or not
but it seems that the more complex the level the more the
lines start showing and they get bigger as you increase the
details in your level. Might be something to check out.

Look at this one and how big it is now.

...

Always~
Vickie Wink
Back to top
 
WWW Eagle  
IP Logged
 
exploreRPG
Administrator
*****
Online


Explorations Forever!

Posts: 265
Explorations HQ
Gender: male
Re: About the Line problem
Reply #1 - Feb 7th, 2010 at 9:16am
 
ok.. I will keep this thread open until I can determine the cause and fix.
Back to top
 

The Administrator.
WWW exploreRPG explorerpg@yahoo.com  
IP Logged
 
exploreRPG
Administrator
*****
Online


Explorations Forever!

Posts: 265
Explorations HQ
Gender: male
Re: About the Line problem
Reply #2 - Mar 13th, 2010 at 10:27am
 
Ok.. After ripping through the code I discovered that this issue is NOT caused by my clipping calculation. Clipping could cause this problem and did contain a minor issue, but I believe I have solved the problem.

Thanks to the beauty of the designers of Open GL, this problem was solved by a simple texture setting. (i think, the attached file will require your verification.)

When eMotions renders textures I was only using the GL_LINEAR setting; but after a little google-reading, I found out about the GL_NEAREST setting for vertex points. (Funny thing, I implented the feature in the engine, but never used it for drawing.)

GL_NEAREST appears to snap my new vertexes to the nearest existing vertex which will force OpenGl to create a seamless texture.. (pretty sweet, huh?)

So simply changing a 0 to a 1, in the engine for rendering PLANES solved this mysterious bug.. (nearly had a stroke analyzing my calculations.)


Vickie, (and anyone experiencing this problem)

Please replace the Playback.EXE on your system with this test version and let me know if the lines disappear. (The file should be placed in "Program Files\Explorations\Writerv9\LIVE\")

Explorations Forever!
Back to top
 

playback.ZIP (2352 KB | 29 )

The Administrator.
WWW exploreRPG explorerpg@yahoo.com  
IP Logged
 
Eagle
Good Member
ERPG MMOG User
**
Offline


Eagle Softworks

Posts: 90
USA
Gender: female
Re: About the Line problem
Reply #3 - Mar 29th, 2010 at 12:13am
 
I'm trying it out now Tye, been out of the loop for a while~

Always~
Vickie Wink
Back to top
 
WWW Eagle  
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print