Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

germangb

Member Since 17 Aug 2012
Offline Last Active May 16 2013 04:12 PM

Topics I've Started

alpha maps?

17 February 2013 - 11:30 AM

Hello, I have this mesh:

DgkegsP.png

 

and I was wondering how to draw a path so that the plane would look like this (with smooth borders):

 

9UJFemC.png

 

 

What I have been able to do so far is this.

 

3l0sJZN.png

and as you can see, it's such a fail. I don't know what to do to make it smooth.


how can I archieve this?

13 February 2013 - 12:03 PM

people in the GTA Chinatown Wars game look like 2d sprites but they are 3d models, here are some screenshots of the game:

www.totalvideogames.com_69429_chinatownw

6226-_-grand-theft-auto-chinatown-wars-p

 

I believe this kind of models can be archieved by defining the models with 3d points intead of polygons, and then render a tiny square for each point in the 3d scene.

 

Any ideas?


texture issue

12 December 2012 - 04:19 PM

I have two 2D textured quads that always face me:

Posted Image

It looks ok, but when I watch the 2 quads from another point I have the following problem:
Posted Image

any idea?

terrain render

10 December 2012 - 12:00 PM

Hey, I want to implement clipping in my terrain generator in openg.
The question is: would it be ok to use inmediate mode to perform the render?

triangles and textures (2D)

17 August 2012 - 05:59 PM

Hello, I've been hanging around these forums for like a month or so, sience I started with the game programming stuff, but anyways...

I have the 2d map made of triangles:

Posted Image

and the following texture (this is just an example, so the size of the image is not a power of 2):
Posted Image

My question is: is there any opengl method to make the map look like this directly:
Posted Image

or I have to specify the texture coordinates "manually"?

Any reply is appreciated,
many thanks.

PARTNERS