Hi !
Featured games (85)
games approved by the League of Dukes
Games in Showcase (636)
Games in Android Showcase (178)
games submitted by our members
Games in WIP (687)
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 / Questions about rendering method on: 2011-05-14 03:31:26
Hello everyone, I have a great doubt about the best way to render my game.

I want to make my land based on squares 100x100 with texture. But I do not know whether it is better to create several instances of the class doing render terrain in absolute position (without using translate) or have each instance to differentiate the values ​​of translation to put into place.

Another doubt is about the method of rendering. In the future I want to use bump mapping with GLSL on the ground and wondered whether it is better to use it for Vertex Array? VBO? Display List? direct rendering?

It is possible to use display list with GLSL?

As are many instances of the class field and its vertices or translations do not change, I do not know if it's good to keep everything in VBO or Vertex Array.

So many doubts Sad sorry for that.

2  Java Game APIs & Engines / JOGL Development / BoundBox problems or doubts on: 2011-05-04 00:56:03
I'm trying to make a boundbox for a model tacking the ends of the coordinates x, y and z of the original model. But when I apply transformations such as scale and translate the world coordinates of the object change but the bound box remains the same, how do I apply these transformations in boundbox too?? Could someone give me an idea how to make a boundbox 3D coordinates?

3  Java Game APIs & Engines / JOGL Development / Easiest way to make a skybox? on: 2011-04-25 23:44:41
Hello everyone, I'm trying to make a skybox and wanted ideas about the best way.
I thought about creating a giant cube around my scene, placing its centroid in the same position of the camera. But I do not know if it's the best way.

Is there any difference in performance using a texture in a small or large cube?

I tried but when the camera moved some parts of the screen flashed to black.

If anyone know of a tutorial I would like to look.

Any suggestions would help me a lot.
4  Java Game APIs & Engines / JOGL Development / Re: Newbie confusion with 3d perspective on: 2011-04-25 23:31:46
Oh man you saved my life!

Thank you for quick response.

The ways to learn a totally new paradigm and alone sometimes are difficult = /

Thanks again.
5  Java Game APIs & Engines / JOGL Development / Newbie confusion with 3d perspective on: 2011-04-25 23:00:20
Hello everyone.
I'm making a few examples to start learning about JOGL.
But I'm having a little confusion with 3D view.
The image below shows my problem.

The rectangle pink and red are like as walls  in my example, and the larger blue rectangle would be like heaven. The Z coordinate of the walls is much smaller than the sky, but when I go walking till I get behind the sky, the walls are drawn on the sky. The most logical would be the sky hide the walls, since their position was to hide.

The order in which design objects make a difference? How do I know which to draw first? I thought I could draw in any order and glu.gluLookAt define  what would appear.

I'm using the camera with gluLookAt and gluPerspective.

Any help will be very welcome.
6  Java Game APIs & Engines / JOGL Development / Re: Model Loader with Jogl1.1 on: 2011-04-18 20:11:55
I tried as you said, but did not work, some things appeared purple, but is far from being a model ...

I'm posting the project I'm using the loader and the camera that I use. If someone can take a look would be very grateful! In the class what happens to load and render.

Excuse me for my problems, but I do not know what to do.

Thank you for your attention.
7  Java Game APIs & Engines / JOGL Development / Re: Model Loader with Jogl1.1 on: 2011-04-18 15:17:07
gouessej very thanks for reply Smiley

It's a small project for my university, for that reason can not use any engine ready (JMonkey for example). I can only use java and Jogl  1.1.

I got the joglutils 1.1 for testing, but when I try to use the loader in a .3 ds get a black screen and no display of the model: (.

When I was trying to use JD3dsModel, I put to load the model in the display method, since it must pass the argument by GL. But there was no error and also not turn up any object in my scene.

The work consists of making an interactive scene by which I can move into a house.

I've tested several loaders but I could not do any work so far Sad. I must be really weak in programming  Cry.

Thank you for the reply!
8  Java Game APIs & Engines / JOGL Development / Re: Model Loader with Jogl1.1 on: 2011-04-17 20:53:52
Thank you for the help,  it will be very useful.
Not wanting to trouble you, could you give me an example of how to use the loader to load a model? You just create a new instance of JD3dsModel passing the name of  .3ds file and GL to draw? Is there any method call that I need to draw?

Sorry to annoy you, I'm new in 3d world = /.

Thank you for your help!

ps: I'm replacing  all  GL2  for GL,  can cause a problem?
9  Java Game APIs & Engines / JOGL Development / Re: Model Loader with Jogl1.1 on: 2011-04-17 16:03:36
Nobody can give me a hand? Unfortunately I have to use pure Jogli 1.1 in the project ...
Any loader who accepts texture would help me ...

I heard that JOGL provides a model loader for wavefront .. but I could not use it: (
10  Java Game APIs & Engines / JOGL Development / Model Loader with Jogl1.1 on: 2011-04-16 23:09:18
Hello everyone, I need to do  a  job  for  computer graphics and it need a lot of load  models  from blender  or  3ds  ...
Was provided for work of a reader .obj but has numerous errors and did not read right texture.
 Could someone give me or indicate a reader .obj?? Reader of any other format also helped me a lot ...

Thanks for the help
Pages: [1]
Dwinin (71 views)
2015-11-07 13:29:08

Rems19 (80 views)
2015-10-31 01:36:56

Rems19 (73 views)
2015-10-31 01:32:37

williamwoles (106 views)
2015-10-23 10:42:59

williamwoles (92 views)
2015-10-23 10:42:45

Jervac_ (106 views)
2015-10-18 23:29:12

DarkCart (134 views)
2015-10-16 00:58:11

KaiHH (116 views)
2015-10-11 14:10:14

KaiHH (155 views)
2015-10-11 13:26:18

BurntPizza (171 views)
2015-10-08 03:11:46
Rendering resources
by Roquen
2015-11-13 14:37:59

Rendering resources
by Roquen
2015-11-13 14:36:58

Math: Resources
by Roquen
2015-10-22 07:46:10

Networking Resources
by Roquen
2015-10-16 07:12:30

Rendering resources
by Roquen
2015-10-15 07:40:48

Math: Inequality properties
by Roquen
2015-10-01 13:30:46

Math: Inequality properties
by Roquen
2015-09-30 16:06:05

HotSpot Options
by Roquen
2015-08-29 11:33:11 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!