Java-Gaming.org Java4K winners: [ by our judges | by the community ]         
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members



News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  Print  
  chances in JOGL  (Read 914 times)
0 Members and 2 Guests are viewing this topic.
Offline Aant

JGO n00b
*

Posts: 3


Java games rock!


« on: 2005-09-04 07:34:09 »

Hello all,
I updated an early version of Jogl to the newly JOGL 1.1 june build, but now the app isn't working any more. I get a error in the part where i implemented the TessCallback. So my question is what has chanced in the use/implementation of the TessCallback class.

with regards
Aant
Offline Ken Russell

JGO Kernel
*****

Posts: 3446
Medals: 3


Java games rock!


« Reply #1 on: 2005-09-04 13:16:34 »

Could you post the stack trace of the exception you're getting? The interface didn't change but there were a couple of bug fixes, in particular I believe in how the combine callback was called.
Offline Aant

JGO n00b
*

Posts: 3


Java games rock!


« Reply #2 on: 2005-09-05 03:00:26 »

Hello,
I hope this will help, see attachment:
With regards Aant
Games published by our own members! Go get 'em!
Offline pepijnve

Sr. Member
**

Posts: 379
Medals: 1


Java games rock!


« Reply #3 on: 2005-09-05 04:09:54 »

The error code should be one of
1  
2  
3  
4  
5  
6  
GLU_TESS_MISSING_BEGIN_POLYGON
GLU_TESS_MISSING_END_POLYGON
GLU_TESS_MISSING_BEGIN_CONTOUR
GLU_TESS_MISSING_END_CONTOUR
GLU_TESS_COORD_TOO_LARGE
GLU_TESS_NEED_COMBINE_CALLBACK

Analyzing this code might give you a better idea of what's actually going wrong.
Offline Ken Russell

JGO Kernel
*****

Posts: 3446
Medals: 3


Java games rock!


« Reply #4 on: 2005-09-05 08:18:12 »

Based on the stack trace the error code must be GLU_TESS_NEED_COMBINE_CALLBACK. You need to specify a combine callback to handle the case where your model has intersecting edges but your tesselator callback doesn't handle the generation of new vertices.
Pages: [1]
  Print  
 
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.058 seconds with 20 queries.