Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (416)
games submitted by our members
Games in WIP (307)
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-16 01: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 02: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 09: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 13: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 06: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 12: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]
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Browse for soundtracks for your game!

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

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
mrbenebob (17 views)
2013-06-19 14:55:23

BrassApparatus (27 views)
2013-06-19 08:52:37

NegativeZero (30 views)
2013-06-19 03:31:52

NegativeZero (33 views)
2013-06-19 03:24:09

Jesse_Attard (35 views)
2013-06-18 22:03:02

HeroesGraveDev (72 views)
2013-06-15 23:35:23

Vermeer (72 views)
2013-06-14 20:08:06

davedes (73 views)
2013-06-14 16:03:55

alaslipknot (65 views)
2013-06-13 07:56:31

Roquen (89 views)
2013-06-12 04:12:32
Smoothing Algorithm Question
by UprightPath
2013-05-28 02:58:26

Smoothing Algorithm Question
by UprightPath
2013-05-28 02:57:33

Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38
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!