Jump to content

  • Log In with Google      Sign In   
  • Create Account

WiredCat

Member Since 09 Apr 2011
Offline Last Active Yesterday, 07:51 AM

Posts I've Made

In Topic: i keep buying games and they're not what i expected

17 July 2016 - 01:33 PM

a bit off topic but i have the same with movies, i'll never go to the cinema again. waste of time and money


In Topic: you all say oculus rift but why not google glass?

15 July 2016 - 03:05 AM

anyway whats the magic behind creating such googles (i mean creating that lets say oled display on glass.plastic) how do they do it?

 

edit.

i ask because i would love to try to make one. at least i could have light weight, almost invisible interactive headset, ofc for game dev but first i need to know how they do it so i can compare my thoughts to real things. but dont ask me what i want to do it, i can tell only that it will require a positioning devices, but not gps


In Topic: OpenGL - Can't get FBO to work

11 July 2016 - 03:58 PM

Spoiler

In Topic: Making an object move back and forth.

11 July 2016 - 03:50 PM

bool halt;
 
void init()
{
halt = false; //...
}
    void Update ()
    {
if (halt) return;
        transform.Translate(Vector3.right * movementSpeed * Time.deltaTime);
 
    }
 

 

 

 

 

void Execute()

{

 

Update();

halt = (position_between_two_points(transform.pos, some_point) < 10.0); //that acutally will hold position forever so we go with another update function:

 

}

 

 

    void Update ()
    {
if (halt) 
{
//code here
return;
}
        transform.Translate(Vector3.right * movementSpeed * Time.deltaTime);
 
    }
 
 
 
 
 
Nopw look how this is stupid: define a throw object, and make it bool fly; yes or no when it flies it travels then it makes sense 

In Topic: OPenGL:texture mapping problem

11 July 2016 - 03:45 PM

from the code in first post, you don't set viewport, additionally i don't see that you enable texturing. 

 

secondary you need to set ortographic projection for glvertex2x would work or set proper projection matrix.

reply for more


PARTNERS