Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (747)
Games in Android Showcase (226)
games submitted by our members
Games in WIP (829)
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 / Newbie & Debugging Questions / Re: Simplest way of making an animated (human) model. ( lwjgl ) on: 2012-12-25 22:12:44
thank you for your reply.

Yeah option 3 is pretty far out there  Grin.

Option 2 is a bit simpler, but it requires a decent understanding of matrix operations and 3D maths. If you are unfamiliar with these concepts, you should read up on them first. Also, the result would look pretty strange if the rest of your game isn't made out of cubes.
I had my share of math courses in University that covered matrix transformations for rotations & translations. just a matter of refreshing that memory  Grin.
And so far it would perfectly fit the look, its pretty much cubes and ramps and moving cubes as a temporary replacement. at the moment it is pretty much a basic thing like pong/snake.
But after thinking about it,you are right, i probably should make it a basic, but functioning game before i try to make it look better as a first try at OpenGL.

I know this isn't really on topic, but is there a standard on how you setup the screen coordinates for a OpenGL Window? I've seen pretty much every possibility while reading examples/tutorials.
2  Game Development / Newbie & Debugging Questions / Simplest way of making an animated (human) model. ( lwjgl ) on: 2012-12-24 23:47:55

My first post here. I am not sure if this is the right board to post this to, but for me this is pretty much
a newbie question. If it should be in the API & Engines board i'm sorry and would appreciate it if someone
could move it. I don't wanna doublepost it.

I am absolutely new when it comes to anything gfx related other then doing UIs with AWT/Swing.
I also have no experience in working with any modelling software.

I started to get my feet wet with OpenGL ( using LWJGL ) by making a game as a small hobby project.
I got started by looking up tutorials and just playing around with it, but now i need a little help.

My game is going to be in an isometric perspective. The x/z plane is my ground plane and y the height.
In isometric that gives me 4 possible camera directions by rotating around the y-axis by 90° each.
I haven't messed around with anything but building simple things and getting a texture to appear on them.

I now need a very simple human looking model with a walking animation and because i lack any knowledge in this area
i am writing this post in the hopes that someone can point me in the right direction.

The possible ways of doing this that i came up with:

1. Just using a 2d texture on a quad and change the texture every frame to animate it.
    I would need to draw the human figure frame by frame in multiple directions.

2. Make a basic model out of cuboids( is that the correct terminology? ) and try to animate them cuboid by cuboid.
    I guess this is how the minecraft playermodel works, at least it looks like 6 basic cuboids.

3. Bother to "learn" to use a 3D modelling software.
    Well i looked at blender and basic .obj exports are just textfiles that contain all the data. but anything with a
    skeleton for animation seems to be another beast. And i also searched the lwjgl javadoc and i would have to write
    code to handle all that myself.

The model size is only in the range of 64 pixels ( at least so far ) and there would be a maximum of around 100 of those
visible at a time.

I have no idea about performance, but option 2 seems to be the one i am favoring because it seems to need the least
amount of work and considering the size of it in a 1024*768 resolution ( or bigger resolution ) doesn't require a too good
looking animation  Grin. But as i mentioned i have no idea if that would give me a decent performance.
So far i am doing everything by using glBegin(GL_QUADS/TRIANGLES/LINES/POINTS)...glEnd(); which seems to be a deprecated
way of drawing in opengl, but i would like to keep it really simple for starters so i would also use this to draw my models if i am
going by option 2.

Can you tell me if i may run into any performance issues going down the road of option 2? Is there another possibility of doing this
i haven't thought about?

I appreciate any input on this, thank you.
Pages: [1]
xxMrPHDxx (113 views)
2017-12-31 17:17:51

xxMrPHDxx (41 views)
2017-12-31 17:15:51

xxMrPHDxx (51 views)
2017-12-28 18:11:33

Ecumene (215 views)
2017-09-30 02:57:34

theagentd (326 views)
2017-09-26 18:23:31

cybrmynd (370 views)
2017-08-02 12:28:51

cybrmynd (406 views)
2017-08-02 12:19:43

cybrmynd (374 views)
2017-08-02 12:18:09

Sralse (345 views)
2017-07-25 17:13:48

Archive (1112 views)
2017-04-27 17:45:51
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!