Java-Gaming.org Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (683)
Games in Android Showcase (196)
games submitted by our members
Games in WIP (750)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Java Game APIs & Engines / JOGL Development / Re: tessellation blows heap ... on: 2008-05-15 23:02:25
I just wanted to follow up that my input geometry had a discontinuity (a "hole" in one contour). When the discontinuity is removed, the OGL tessellator finishes in a reasonable time and space. arg!! sorry everyone ... bad data.
2  Java Game APIs & Engines / JOGL Development / Re: tessellation blows heap ... on: 2008-05-15 00:47:23
btw I'd appreciate any pointers to good 2d tessellators ... I am familiar delaunay triangulation and trimming out interiors ... what does OGL use? thanks!
3  Java Game APIs & Engines / JOGL Development / tessellation blows heap ... on: 2008-05-12 07:54:10
hi all,

I don't have much experience with the OGL tessellator, but does anyone have a rule of thumb on how it should scale with input geometry? I'm putting in some pretty large polygons and it just keeps growing on the heap, over 512mib ... is this expected? My polygons have ~8 contours each, with perimeter < 2000px each. Edge counts are ~1000 per contour.

The offending object is the "GLUhalfedge" (approximate name ... I can't remember the exact name), which consumes most of the space.

Has anyone had problems with tessellating a complex polygon?

I'm using a work-around that is to break up the polygon into pieces, but this isn't optimal (just more computation time).  I'd like to get feedback from more experienced people ... I feel the amount of memory being used is way too much ... that is, I think I'm missing something.

My goal is to tessellate in 32mb of heap ... is that reasonable?
4  Java Game APIs & Engines / JOGL Development / 2d, using depth as an ID on: 2008-04-15 11:39:57
hi all,

If I want to do picking often (maybe 20 times a second) for a 2d scene, would it be better to store IDs in the depth buffer than to use the standard selection approach (a render per pick)? That is, read the ID from the depth buffer using glReadPixels? Rendering is much faster than picking in the CPU for my case.

thanks
5  Java Game APIs & Engines / JOGL Development / Re: usage enum for buffer objects on: 2008-04-10 04:14:47
ah, yes, GL has access to all the goods, with pointers being replaced by Buffer objects.
6  Java Game APIs & Engines / JOGL Development / usage enum for buffer objects on: 2008-04-09 10:16:15
hi all,

Does anyone know if the usage enum for buffer objects is supported in JOGL? Does anyone have any insight into whether this hint affects performance? e.g. GL_STATIC_DRAW for a shape that is repeatedly rendered.

Regards, Brien
Pages: [1]
 
orrenravid (163 views)
2016-07-16 03:57:23

theagentd (232 views)
2016-07-11 14:28:54

Hydroque (315 views)
2016-07-06 05:56:57

Hydroque (467 views)
2016-07-03 08:52:54

GrandCastle (350 views)
2016-07-01 09:13:47

GrandCastle (342 views)
2016-07-01 09:09:45

CopyableCougar4 (396 views)
2016-06-25 16:56:52

Hydroque (375 views)
2016-06-22 02:17:53

SwampChicken (346 views)
2016-06-20 13:22:57

SwampChicken (290 views)
2016-06-20 13:22:49
Making a Dynamic Plugin System
by Hydroque
2016-06-25 00:13:25

Java Data structures
by BinaryMonkL
2016-06-13 21:22:09

Java Data structures
by BinaryMonkL
2016-06-13 21:20:42

FPS Camera Tutorial
by Hydroque
2016-05-22 05:40:58

Website offering 3D Models specifically for games for free
by vusman
2016-05-18 17:23:09

Website offering 3D Models specifically for games for free
by vusman
2016-05-09 08:50:56

Website offering 3D Models specifically for games for free
by vusman
2016-05-06 11:10:21

Website offering 3D Models specifically for games for free
by vusman
2016-04-29 12:56:17
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!