Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (degenerate_762, AbrahamR, AndrewAMD, ozgur), 667 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: GAAHH! Making a star.. [Re: Rei_Ayanami] #330506
06/27/10 21:53
06/27/10 21:53
Joined: May 2010
Posts: 22
M
Matt_UK Offline OP
Newbie
Matt_UK  Offline OP
Newbie
M

Joined: May 2010
Posts: 22
Are there any examples? grin

Thanks,
Matt.

Re: GAAHH! Making a star.. [Re: Matt_UK] #330518
06/28/10 02:33
06/28/10 02:33
Joined: Jul 2004
Posts: 1,710
MMike Offline
Serious User
MMike  Offline
Serious User

Joined: Jul 2004
Posts: 1,710
but the sun it to se from far distances or proximity?

Re: GAAHH! Making a star.. [Re: MMike] #330605
06/28/10 18:15
06/28/10 18:15
Joined: May 2010
Posts: 22
M
Matt_UK Offline OP
Newbie
Matt_UK  Offline OP
Newbie
M

Joined: May 2010
Posts: 22
It is seen from space, so yeah, quite close. Although if you move to a far away planet the effects could be disabled.

Still looking for a way :S

Re: GAAHH! Making a star.. [Re: Matt_UK] #330610
06/28/10 18:49
06/28/10 18:49
Joined: Jul 2004
Posts: 1,710
MMike Offline
Serious User
MMike  Offline
Serious User

Joined: Jul 2004
Posts: 1,710
why dont use a shpere, ..
then you use some effect like bright star image /sprite that gets from the sun, overlaying the sphere... or even some coronal ejection effects but with simples particles

http://www.youtube.com/watch?v=Pm1VutgxXkw&feature=fvsr

sun from XNA
http://www.youtube.com/watch?v=gkV3raj93_o

Celestia


here

Re: GAAHH! Making a star.. [Re: MMike] #330644
06/28/10 21:54
06/28/10 21:54
Joined: May 2010
Posts: 22
M
Matt_UK Offline OP
Newbie
Matt_UK  Offline OP
Newbie
M

Joined: May 2010
Posts: 22
Good find! Like the one in celestia, how would I implement a visible glow around the sphere? Also, does anyone have any ideas about how to make an algorithm which generates particle emitters on the surface of a sphere?

Thanks,
Matt.

Re: GAAHH! Making a star.. [Re: Matt_UK] #330667
06/29/10 00:18
06/29/10 00:18
Joined: Jul 2004
Posts: 1,710
MMike Offline
Serious User
MMike  Offline
Serious User

Joined: Jul 2004
Posts: 1,710
well the algorithm would be complicated, but i guess it is based on magnetic attraction, since thats what happens on the sun...

for the glow, just use a glow sprite, and put it in the sun axis, and facing the camera, with the function

ent_create("glow.png", sun.x, NULL);

your.pan=camera.pan
your.tilt=-camera.tilt

and so on
OF course there is better and more quality aproaches using Post processing glow etc...

Page 2 of 2 1 2

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1