Jump to content

  • Log In with Google      Sign In   
  • Create Account

FREE SOFTWARE GIVEAWAY

We have 4 x Pro Licences (valued at $59 each) for 2d modular animation software Spriter to give away in this Thursday's GDNet Direct email newsletter.


Read more in this forum topic or make sure you're signed up (from the right-hand sidebar on the homepage) and read Thursday's newsletter to get in the running!


Garrett Hoofman

Member Since 05 Sep 2007
Offline Last Active Dec 24 2014 12:17 PM

Topics I've Started

OPifex Entertainment - Splat! Beta

06 August 2012 - 12:04 PM

Posted Image
OPifex Entertainment is proud to present the Splat! Beta release. We've come a long ways since the Alpha release and are ready to show off our next release. The game is currently free while in Beta, so please check it out, and let us know what you think.

Splat! - http://www.opifexent...com/Game/Splat

Splat!'s Development History
http://www.youtube.com/watch?v=QdMJDZfI8TE

Alpha Release of Splat!

04 April 2012 - 11:16 AM

OPifex Entertainment is proud to announce the Alpha 0.2 release of Splat!. With this, we are looking for a few dedicated testers to help us out. Check out our latest gameplay video:

If you are interested in trying out Splat!, head over to OPifexEntertainment.com and create an account. If you play Splat! and fill out the end-game survey, you'll recieve all updates throughout development as well as a free copy of the final release.

Please note that this is in the very early stages of development, and we appreciate you submitting bug reports through our website. Thank you, and we hope you enjoy playing Splat!

The OPifex Entertainment Team


Game Requirements
Operating System : Windows Vista/7
Graphics Card : DirectX 10 compatible card

Drawing Faces in DirectX

21 January 2010 - 06:50 AM

I'm trying to figure out how to properly create my vertex buffer and index buffer after loading a .obj file. When I load a .obj file there are 4 sections. Vertices Texture Coordinates Normals Faces Now for the sake of simplicity, I have a cube exported from Maya. So the cube has 6 faces, 8 vertices. The .obj file has this structure : Vertices[8] Texture Coordinates[12] Normals[24] Faces[6] Each face consists of 4 points containing 3 indexes referring to a Vertex,Texture Coordinate, and Normal. DirectX only accepts 1 Index Buffer per Vertex Buffer. So in order to combine this into one VB and one IB we would have to do all of the permutations. So, 8 Vertices * 12 Texture Coordinates * 24 Normals = 2304 points...in the Vertex Buffer That's 3 floats * 2 floats * 3 floats = 8 floats per point, or 64 bits per point. So 147,456 bits or 144 KB in the Vertex Buffer. That doesn't seem right to me...it takes 144KB in video memory to create a cube with a point, texture coordinate, and a normal. On top of that, it removes the need at all for an index buffer as you have to define each point all on its own anyway. So instead of the 8*3 + 12*2 + 24*3 = 744 * 8 = 5952 bits = ~5.8 KB of unique information, we end up waisting ~138 KB of memory for a simple cube. Granted this is without the index buffer information. Even so it's still ~137 KB of information added into it that's simply repeated. So, is there a more efficient way of doing this in DirectX? I know OpenGL has a glDrawArrays() function that is supposed to use multiple index buffers. Or is it even a problem as most meshes are going to use the same texture coordinate/normal on each vertex. Any thoughts?

.OBJ quad drawing

21 January 2010 - 03:19 AM

I created a simple .obj loader trying to get a grasp on how model formats are used. Everything loads perfectly fine up until I start trying to draw the model. I created a simple cube in Maya and exported it as a .obj, it exported it using quad faces. I assumed this was an easy task to transform from a quad to two triangles but I'm having a lot of problems... Right now I'm setting the vertices 1 - 8, each corner of the box. Then I'm creating the index buffer. For each face (quad) I create 6 index points using v1, v2, v3 v1, v3, v4 To my understanding, that's how a .obj file is laid out. However when I draw it, there are a few faces that correctly render, and then about half that are completely messed up. I'm using DirectX and setting the primitive topology to a TriangleStrip, also tried a TriangleList though. Neither come out with the cube. I know the file is correct, because I've loaded it in a couple of .obj viewers and it looked fine. So I'm doing something wrong. # This file uses centimeters as units for non-parametric coordinates. v -0.500000 -0.500000 0.500000 v 0.500000 -0.500000 0.500000 v -0.500000 0.500000 0.500000 v 0.500000 0.500000 0.500000 v -0.500000 0.500000 -0.500000 v 0.500000 0.500000 -0.500000 v -0.500000 -0.500000 -0.500000 v 0.500000 -0.500000 -0.500000 vt 0.375000 0.000000 vt 0.625000 0.000000 vt 0.375000 0.250000 vt 0.625000 0.250000 vt 0.375000 0.500000 vt 0.625000 0.500000 vt 0.375000 0.750000 vt 0.625000 0.750000 vt 0.375000 1.000000 vt 0.625000 1.000000 vt 0.875000 0.000000 vt 0.875000 0.250000 vt 0.125000 0.000000 vt 0.125000 0.250000 vn 0.000000 0.000000 1.000000 vn 0.000000 0.000000 1.000000 vn 0.000000 0.000000 1.000000 vn 0.000000 0.000000 1.000000 vn 0.000000 1.000000 0.000000 vn 0.000000 1.000000 0.000000 vn 0.000000 1.000000 0.000000 vn 0.000000 1.000000 0.000000 vn 0.000000 0.000000 -1.000000 vn 0.000000 0.000000 -1.000000 vn 0.000000 0.000000 -1.000000 vn 0.000000 0.000000 -1.000000 vn 0.000000 -1.000000 0.000000 vn 0.000000 -1.000000 0.000000 vn 0.000000 -1.000000 0.000000 vn 0.000000 -1.000000 0.000000 vn 1.000000 0.000000 0.000000 vn 1.000000 0.000000 0.000000 vn 1.000000 0.000000 0.000000 vn 1.000000 0.000000 0.000000 vn -1.000000 0.000000 0.000000 vn -1.000000 0.000000 0.000000 vn -1.000000 0.000000 0.000000 vn -1.000000 0.000000 0.000000 f 1/1/1 2/2/2 4/4/3 3/3/4 f 3/3/5 4/4/6 6/6/7 5/5/8 f 5/5/9 6/6/10 8/8/11 7/7/12 f 7/7/13 8/8/14 2/10/15 1/9/16 f 2/2/17 8/11/18 6/12/19 4/4/20 f 7/13/21 1/1/22 3/3/23 5/14/24 Any ideas?

Houghton Game Jam

19 April 2009 - 07:11 AM

Recently, I organized the Houghton Game Jam of 09' ( http://www.houghtongamejam.com ), in the event people create games in a 24 hour period. This year we had people from the gaming industry do the judging on these games and they had some great feedback for each of the games. Judging Chat Log http://www.houghtongamejam.com/judgechatlog.aspx Judges Comments http://www.houghtongamejam.com/judgecomments.aspx Houghton Game Jam Games http://www.houghtongamejam.com/Games.aspx?Year=2009

PARTNERS