I would like this scale bar (located at z=100) represents the distance in (xy) plane for the objects at z=0, could you help me please
Type: Posts; User: youpi1
I would like this scale bar (located at z=100) represents the distance in (xy) plane for the objects at z=0, could you help me please
yes, I draw a fixed line of 100 pixel and I would like to put the distance that it represents in kpc
Hi,
I developed a program which models the dynamics of a stellar disk. Rendering is done in 3D with rotation and zoom functionalities. Here's an image at the start of the simulation :
...
Indeed, I use the following function for loading the 2D texture :
// Load Bitmaps And Convert To Textures
void LoadGLTextures(void)
{
// Load Texture
Image *image1;
//...
I am working on a n-body code with "glut functions" display. I would like to display each body with a 2D texture from a bmp image.
The coordinates of each body (x, y, z) is in the "pos" array. I...