Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (108)
games submitted by our members
Games in WIP (536)
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]
 

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

The first screenshot will be displayed as a thumbnail.

CogWheelz (16 views)
2014-07-30 21:08:39

Riven (22 views)
2014-07-29 18:09:19

Riven (14 views)
2014-07-29 18:08:52

Dwinin (12 views)
2014-07-29 10:59:34

E.R. Fleming (32 views)
2014-07-29 03:07:13

E.R. Fleming (12 views)
2014-07-29 03:06:25

pw (42 views)
2014-07-24 01:59:36

Riven (42 views)
2014-07-23 21:16:32

Riven (30 views)
2014-07-23 21:07:15

Riven (31 views)
2014-07-23 20:56:16
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
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!