Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (754)
Games in Android Showcase (229)
games submitted by our members
Games in WIP (842)
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  Game Development / Performance Tuning / Re: lots of triangles. on: 2005-05-02 16:00:06
Thanks for you replies.

Jeff you're absolutely right.

I am currently working on the datamodel part of a geoscience software, and the 2D/3D is the responsability of another person in my company... I was just wondering if I could avoid memory duplication using directbuffer in my Geometry class.

Probably a thing like discrete Level Of Details would be a good idea.

2  Game Development / Performance Tuning / Re: lots of triangles... on: 2005-05-01 12:24:01
>You are lost.

No i am not Tongue  

>Object oriented design doesn't mean to avoid arrays.

Yes it's true but one could admit that some implementations use arrays of indexes to refer to the geometry as a large array (geom[0][..]=xs, geom[1][..]=ys, geom[2][..]=zs) with only one class, others use Point3d objects with Triangles objects with... But the semantic is not the important point.

>You should know how much points you would have in >that program. In fact it might kill performance in any >design, if you'd not use VBO. (vertex buffer objects)

Ok, I know nothing about GL. I'll try to have a look at these vertex buffer objects. Thanks.

>You'd like to have a nice memory duplication in GFX card >memory, if not it will CRAWL.

In the GFX i can't avoid the memory duplication. But i guess GL is written in C and my program is in java. So without the use of nio.directbuffer i'll have Java part / C part memory duplication. But I guess GL bindings like lwjgl or jogl extensively use nio...
3  Game Development / Performance Tuning / lots of triangles... on: 2005-05-01 09:09:02
Hi all,

I need to 2D/3D display numerous samples (let's say 1,000,000 points) in a triangulated surface form. As it will kill performance to have an Object Oriented design, I guess I have no choice to use an Array Oriented design.

I found an interesting one from visad (at the moment I am not interesting in the algorithms): The Delaunay class has public array fields: Tri, Vertices, Walk, Edges, numEdges, which is what I intended to do (more or less). You could find explanations of these fields from:

So, how would you do 3D representation of this class? Of course I don't want to build Triangle objects, as deal with million objects is far too much. Do you think I could use a low level OpenGL tool (lwjgl, jogl...) to do the representation?

Perhaps I could replace arrays of the Delaunay class by DirectBuffers in order to avoid memory duplication in the GL side??? And also use the jdk1.5 new feature annotations (but don't know how actually)Huh

Thanks a lot for all your upcoming advices (and sorry for my not so good English). I know there are some very competent guys around there.

Pages: [1]
DesertCoockie (20 views)
2018-05-13 18:23:11

nelsongames (68 views)
2018-04-24 18:15:36

nelsongames (65 views)
2018-04-24 18:14:32

ivj94 (748 views)
2018-03-24 14:47:39

ivj94 (79 views)
2018-03-24 14:46:31

ivj94 (555 views)
2018-03-24 14:43:53

Solater (94 views)
2018-03-17 05:04:08

nelsongames (168 views)
2018-03-05 17:56:34

Gornova (338 views)
2018-03-02 22:15:33

buddyBro (998 views)
2018-02-28 16:59:18
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05 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‑
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!