Jump to content

  • Log In with Google      Sign In   
  • Create Account


Prozak

Member Since 22 Feb 2000
Offline Last Active Sep 02 2014 05:12 AM

Topics I've Started

Rendering Astral Bodies and Horizont

13 August 2014 - 05:11 AM

Hi all,

 

has anyone here worked on something that would render astral bodies, like

stars, constellations, galaxies, planets, taking into account the latitude and

longitude of the user?

 

I'm tasked with doing something like this, in a browser. If there was some REST API

I could consume and then render the horizon and the astral bodies, that would be

awesome, apart from that I would require the actual equations for calculating

their position above or bellow the horizon...

 

Thanks for any tips on this,

Hugo Ferreira


Stereographic to CubeMap Conversion...

12 June 2013 - 07:29 PM

Hi,

I'm coding a simple webGL engine, and would like to import stereographic panoramas (taken from an iPad) into the engine as cubemaps.

 

Is there any free utility i can download that would accomplish this?

 

Thank you in advance!


C++ operator overload ->

26 April 2013 - 12:56 PM

Hi all,

 

I'm back to coding in C++, after a somewhat long stint coding PHP.

 

I'm rewriting some code, and the way I'd like to deal with it, would be to overload the -> operator, so that I can "call" arbitrary method names, that are assigned at run time by various plugins and libraries that dynamically link to the process.

 

From what I know, this isn't possible, because the -> operator has to return the function to handle the call, and it does not give us the name of the method...

 

In pseudo-code:

 

myClass X;

x.addMethod( "nameHere" );

x.addMethod( "setAge" );

 

x->setAge( 25 );

 

- - -

The code, again in pseudo-code:

 

int operator ->( char* methodName ) 

{

if( methodName in listOfRegisteredMethods )

{

return methodFunctionPointer();

}

else

{

throw Exception...

};

};

 

- - -

I know that there have been, recently, changes and updates to the language. I've written myself a lambda function this past week for the very first time. I would just like to know if anything has been added that would allow me to accomplish something like the above.

 

Thanks for any replies!

 

 

 

 

 

 


Starting at the beginning: Sphere Collisions

04 November 2012 - 09:23 AM

I'm looking for some tutorials regarding sphere (2D) collisions, angular momentum, inertia, axis of rotation, etc...

Where can I find something like this, and does it evolve well into 3D?

Thanks for any tips into this subject!

Ray Tracing: Texture Map a Sphere

29 September 2012 - 10:52 PM

I've been looking for this, does someone here know the equations to texture map a sphere, that has a polar north vector, and a rotation arround that vector?

Something along those lines at least, so I can extrapolate.

Thank you!

PARTNERS