Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (495)
Games in Android Showcase (114)
games submitted by our members
Games in WIP (563)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  chances in JOGL  (Read 1243 times)
0 Members and 1 Guest are viewing this topic.
Offline Aant

Junior Newbie




Java games rock!


« Posted 2005-09-04 11: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 Coder




Java games rock!


« Reply #1 - Posted 2005-09-04 17: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

Junior Newbie




Java games rock!


« Reply #2 - Posted 2005-09-05 07:00:26 »

Hello,
I hope this will help, see attachment:
With regards Aant
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline pepijnve

Junior Member




Java games rock!


« Reply #3 - Posted 2005-09-05 08: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 Coder




Java games rock!


« Reply #4 - Posted 2005-09-05 12: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]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

BurntPizza (13 views)
2014-09-19 03:14:18

Dwinin (31 views)
2014-09-12 09:08:26

Norakomi (57 views)
2014-09-10 13:57:51

TehJavaDev (79 views)
2014-09-10 06:39:09

Tekkerue (40 views)
2014-09-09 02:24:56

mitcheeb (62 views)
2014-09-08 06:06:29

BurntPizza (45 views)
2014-09-07 01:13:42

Longarmx (30 views)
2014-09-07 01:12:14

Longarmx (36 views)
2014-09-07 01:11:22

Longarmx (36 views)
2014-09-07 01:10:19
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!