Русский New site

Advanced search

[ New messages · Forum rules · Members ]
Page 299 of 423«12297298299300301422423»
Forum » SpaceEngine » Space Journeys » Image Dump (Post your SpaceEngine screenshots here)
Image Dump
JackDoleDate: Wednesday, 04.11.2015, 13:47 | Message # 4471
Star Engineer
Group: Local Moderators
Germany
Messages: 1737
Status: Offline
Quote DoctorOfSpace ()
do tell

I made two black holes, a normal, with 2.1 solar masses, a second with a radius of one kilometer. This is a size that normaly should not occur in SpaceEngine. In the 'blackhole_warp.glsl' script, I just do a if statement to the radius.

Black hole barycenter:
Code

// Null Hole

StarBarycenter "Null Hole bc"
{
    RA    0 21 38.47
    Dec    -70 53 10
    Dist    3999.99
}


Black holes:
Code

// Null Hole

Star    "Null Hole A"
{
    ParentBody     "Null Hole bc"
    Class        "X"
    MassSol         2.1

    Orbit
    {
  Period          1.9012852688417e-007
  Eccentricity    0
  Inclination     90
  AscendingNode   0
  ArgOfPericenter 90
  MeanAnomaly     0
  RefPlane       "Ecliptic"
    }
}

Star    "Null Hole B"
{
    ParentBody     "Null Hole bc"
    Class        "X"
    Radius        1
    
    Orbit
    {
  Period          1.9012852688417e-007
  Eccentricity    0
  Inclination     90
  AscendingNode   0
  ArgOfPericenter 0
  MeanAnomaly     0
  RefPlane       "Ecliptic"
    }
}


blackhole_warp.glsl:
Code

#version 330 core
#auto_defines

uniform sampler2D   Scene;
uniform vec4        PosScale;   // (BH x, BH y, BH scale x, BH scale y)
uniform vec3        RadDist;    // (BH radius, distance, 2*radius/distance)

#ifdef _VERTEX_

layout(location = 0) in  vec4  VertexPos;
layout(location = 1) in  vec4  VertexTexCoord;
                     out vec2  TexCoord;

void main()
{
    gl_Position = VertexPos;
    TexCoord = VertexTexCoord.xy;
}

#else

                     in  vec2  TexCoord;
layout(location = 0) out vec4  OutColor;

void main()
{
    vec2  texCoord = TexCoord - PosScale.xy;
    float rad = length(texCoord * PosScale.zw);

    if (RadDist.x > 1.0)   // normal black hole
    {
  float distort = max(RadDist.z / (rad * rad), 0.0);
  texCoord = texCoord * (1.0 - distort) + PosScale.xy;
  //texCoord = clamp(texCoord, 0.0, 1.0);
  OutColor = texture(Scene, texCoord);
  OutColor *= clamp((rad * RadDist.y - RadDist.x) / RadDist.x * 100.0, 0.0, 1.0); // antialiased event horizon
    }
    else    // black hole <= (Radius = 1.0)
    {
  float distort = max(RadDist.z / (rad * rad), 0.0);
  texCoord = texCoord * (1.0 + distort) + PosScale.xy;
  //texCoord = clamp(texCoord, 0.0, 1.0);
  OutColor = texture(Scene, texCoord);
  OutColor *= clamp((rad * RadDist.y - RadDist.x) / RadDist.x * 100.0, 1.0, 1.0); // antialiased event horizon
    }
    //if (rad * RadDist.y < sqrt(RadDist.z) * RadDist.y) OutColor.g += 0.2; // check Einstein's radius
}

#endif



Of course I have no idea what I was doing with the shader.





Don't forget to look here.



Edited by JackDole - Wednesday, 04.11.2015, 13:50
 
DoctorOfSpaceDate: Wednesday, 04.11.2015, 14:24 | Message # 4472
Galaxy Architect
Group: Global Moderators
Pirate
Messages: 3599
Status: Offline
Quote JackDole ()
Of course I have no idea what I was doing with the shader.


Well you just solved my Wormhole for Interstellar addon problem. Now I can include my wormhole from before by combining your shader with mine, thanks a bunch.





Intel Core i7-5820K 4.2GHz 6-Core Processor
G.Skill Ripjaws V Series 32GB (4 x 8GB) DDR4-2400 Memory
EVGA GTX 980 Ti SC 6GB
 
JackDoleDate: Wednesday, 04.11.2015, 14:40 | Message # 4473
Star Engineer
Group: Local Moderators
Germany
Messages: 1737
Status: Offline
That was the reason. biggrin

I think by the way, it might be possible to write your own shaders scripts - for example, a function for an Einstein-Rosen Bridge - and with #Include to bind into the system. Then you can call these functions via an IF query.
Moreover, I think, a separate thread for shader programming would make sense. wink





Don't forget to look here.

 
DoctorOfSpaceDate: Wednesday, 04.11.2015, 14:42 | Message # 4474
Galaxy Architect
Group: Global Moderators
Pirate
Messages: 3599
Status: Offline
Quote JackDole ()
it might be possible to write your own shaders scripts - for example, a function for an Einstein-Rosen Bridge


That is a tad beyond my skill set.

Quote JackDole ()
Moreover, I think, a separate thread for shader programming would make sense.


Feel free to make one if you would like. I do have some shaders I could post in it for people to play around with.










Intel Core i7-5820K 4.2GHz 6-Core Processor
G.Skill Ripjaws V Series 32GB (4 x 8GB) DDR4-2400 Memory
EVGA GTX 980 Ti SC 6GB
 
Bells_TheoremDate: Thursday, 05.11.2015, 07:59 | Message # 4475
Explorer
Group: Users
United States
Messages: 188
Status: Offline










Gallery
 
FireintheholeDate: Thursday, 05.11.2015, 18:06 | Message # 4476
Pioneer
Group: Translators
Sweden
Messages: 356
Status: Offline
I don't want to live on this planet. Its star is shining at suprisingly dim -6 mag, meaning the planet itself would be at magnitude +1.72 when viewed from a distance of 15,700 km, even though its apparent size is 21° (42 times the angular size of the Moon, and 1764 times the area the Moon takes up in Earth's sky). Its temperature is as low as -249.15 °C.



Simulating the real planet brightness:





Love SpaceEngine!
 
PhoenixDate: Friday, 06.11.2015, 06:52 | Message # 4477
Explorer
Group: Users
United States
Messages: 242
Status: Offline





Attachments: 7910104.jpg(444Kb) · 8399633.jpg(523Kb) · 4102820.jpg(468Kb)
 
MarcusDate: Friday, 06.11.2015, 13:39 | Message # 4478
Astronaut
Group: Users
United Kingdom
Messages: 44
Status: Offline
Found a beautiful planetary system with a volcanic moon and a blue gas giant. During solar eclipse it transitions from blue to pink to a blood red:







Here's a separate narrow angle shot of the system



Some other's I took while experimenting with AMD VSR




Attachments: 9807730.jpg(105Kb) · 9036711.jpg(63Kb) · 1616445.jpg(72Kb)





AMD Phenom II x4 960T @3.6GHz
8GB DDR3 1600MHz CL9 Kingston Hyper X Blu
MSi R6850 Cyclone 1GD5 950MHz Core 1150MHz Mem
Gigabyte GA-880GM USB 3 motherboard AM3+
 
JackDoleDate: Friday, 06.11.2015, 14:27 | Message # 4479
Star Engineer
Group: Local Moderators
Germany
Messages: 1737
Status: Offline



Attachments: 3386239.jpg(64Kb) · 8965198.jpg(104Kb)





Don't forget to look here.

 
JackDoleDate: Friday, 06.11.2015, 19:13 | Message # 4480
Star Engineer
Group: Local Moderators
Germany
Messages: 1737
Status: Offline

Attachments: 0447549.jpg(108Kb)





Don't forget to look here.

 
JackDoleDate: Saturday, 07.11.2015, 17:53 | Message # 4481
Star Engineer
Group: Local Moderators
Germany
Messages: 1737
Status: Offline
I find black holes as Gargantua, are a danger to the public. Everyone who happened to come by, can fall into it. So I built a cage for Gargantua.




Attachments: 2581533.jpg(121Kb) · 8349795.jpg(100Kb)





Don't forget to look here.

 
DoctorOfSpaceDate: Saturday, 07.11.2015, 18:00 | Message # 4482
Galaxy Architect
Group: Global Moderators
Pirate
Messages: 3599
Status: Offline
Quote JackDole ()
I find black holes as Gargantua, are a danger to the public. Everyone who happened to come by, can fall into it. So I built a cage for Gargantua.


Realistically speaking a structure of that size is so improbable it borders on impossible. Also caging a black hole would do little to stop it's gravitational pull, so at best you might end up with a lot of junk stuck on the shell of your sphere.





Intel Core i7-5820K 4.2GHz 6-Core Processor
G.Skill Ripjaws V Series 32GB (4 x 8GB) DDR4-2400 Memory
EVGA GTX 980 Ti SC 6GB
 
AlekDate: Saturday, 07.11.2015, 18:42 | Message # 4483
Pioneer
Group: Users
United States
Messages: 319
Status: Offline
Quote DoctorOfSpace ()
so at best you might end up with a lot of junk stuck on the shell of your sphere.


That's the point, to catch things before they fall in biggrin





Living among the stars, I find my way. I grow in strength through knowledge of the space I occupy, until I become the ruler of my own interstellar empire of sorts. Though The world was made for the day, I was made for the night, and thus, the universe itself is within my destiny.
 
JackDoleDate: Saturday, 07.11.2015, 19:54 | Message # 4484
Star Engineer
Group: Local Moderators
Germany
Messages: 1737
Status: Offline
Quote Alek ()
That's the point, to catch things before they fall in

Precisely. cool

But since we're talking about impossibilities. How about this.


Attachments: 3272878.jpg(66Kb)





Don't forget to look here.

 
kingArthurDate: Saturday, 07.11.2015, 20:16 | Message # 4485
Observer
Group: Newbies
Tunisia
Messages: 3
Status: Offline
some of my best




 
Forum » SpaceEngine » Space Journeys » Image Dump (Post your SpaceEngine screenshots here)
Page 299 of 423«12297298299300301422423»
Search: