Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


JohnnyCode

Member Since 10 Mar 2008
Online Last Active Today, 07:21 AM

Topics I've Started

What could I hypoteticly face for reused asset I do not own

23 April 2015 - 09:46 AM

I wonder, what possibly may happen to a subject that creates a game while incorporating an asset that it did not create (like mocap data for example), meaning that asset was produced by someone else, and the competent author did not acredit its usage in any way. Lets say the game gets commercial, earns money, what would happen?


ddx ddy with a sampler returned value

15 April 2015 - 09:06 PM

I wonder if it is possible to use partial derivates, namely ddx and ddy, in GLSL, with a value returned by texture2D function.

 

Since ddx and ddy can operate only on interpolated fragment function inputs (true?), what would be most apropriate way to retrieve the texture samples at neighboiring pixels, is the only solution to fire multiple sampling functions with derived texture coordinates?

 

I do not want GPU to perform this:

 

sample bottom closest mipmap 1 texel- travel to upper closest mipmap for 1 texel - weight- repeat four times

 

rather pefrom this

 

sample bottom closest mipmap 4 neigbouring texels- travel to upper closest mipmap for other 4 texels- weight- done

 

 

 


What will heppen in real world?

03 April 2015 - 04:31 PM

I have a rigid body response dilema as to their real world behaviour.

Consider a cube (in space- no gravity) that moves its direction and hits a static (super stable) platform orthogonaly like this:

 

      

    ooo

    ooo

    ooo

oooo

 

I then wonder wheather the fact that the cube mass center being over the static platform in the direction of cube movement, will couse the cube to not to "try" hang over the edge at all, or, the fact that some part of mass is still over the edge to move freely, will couse the cube to emit some tendence of movement to the right over the egde. So will it slightly bend over the platform or not at all?

 

And second question is what would happen if there was attractive force in the direction of cube movement against the platform?


Mad question- how to reconstrught height map from normal map

01 April 2015 - 10:29 AM

I know it is not possible in an exact definitive proper way, but what could be possibly done to reconstruct height map information to reflect the normal map, so that if a normal map was to be created from this generated height information, it would be matching the sourcing normal map?

 

You may consider this being done from an object space normals map, or tangent space normals map maped on a surface. Any idea would be awesome


Please, help me identify that song...

16 March 2015 - 03:12 AM

Hi,

 

I wonder wheather you would know this song from the 60's, its rephrene souns like "vajduajduajduaj! vajduajduajduaj"- I think it is saying "Why do I do I do I !?"

 

The singer sounds much like The kinks frontman here  :


PARTNERS