more lua fun... 500 asteroids rendering at 60 fps

Pioneer is an open-ended space adventure game. Explore the galaxy, make your fortune trading between systems, or work for the various factions fighting for power, freedom or self-determination.
Homepage: http://pioneerspacesim.net/
IRC: http://pioneerspacesim.net/irc
Downloads: https://pioneerspacesim.net/page/download/
Post Reply
shadmar
Private
Posts: 300
Joined: Thu Dec 08, 2016 4:54 pm

more lua fun... 500 asteroids rendering at 60 fps

Post by shadmar »

SGM uses instancing :)Yes the asteroids are "ships"
fluffyfreak
Private
Posts: 1292
Joined: Sun Nov 27, 2016 12:55 pm

RE: more lua fun... 500 asteroids rendering at 60 fps

Post by fluffyfreak »

Next we'll have to get them into belts and rings around planets ;)
User avatar
Cody
Private
Posts: 1975
Joined: Fri Nov 25, 2016 11:33 pm

RE: more lua fun... 500 asteroids rendering at 60 fps

Post by Cody »

Beautiful... oodles of 'roids! I love flying through massive 'roid swarms on torus!
ollobrain
Private
Posts: 561
Joined: Tue Jan 04, 2011 9:40 am

RE: more lua fun... 500 asteroids rendering at 60 fps

Post by ollobrain »

yes please need to find a way to get them into game, options are to make them static around certain planet types or have them randomly appear in random locations in space. Id like to see them as a combination of landmarks ( ie broken planets) or very large bodies mini moons and some random encounters to
sapog662
Private
Posts: 140
Joined: Tue Aug 14, 2012 12:15 pm

RE: more lua fun... 500 asteroids rendering at 60 fps

Post by sapog662 »

Planetary rings of gas giants?
shadmar
Private
Posts: 300
Joined: Thu Dec 08, 2016 4:54 pm

RE: more lua fun... 500 asteroids rendering at 60 fps

Post by shadmar »

Yeah, that would be great, we'd need an another objecttype to render, using 500 ship objects for this might be overkill.
ollobrain
Private
Posts: 561
Joined: Tue Jan 04, 2011 9:40 am

RE: more lua fun... 500 asteroids rendering at 60 fps

Post by ollobrain »

try 1000 for real overkill
User avatar
sscadmin
Private
Posts: 8003
Joined: Sun Sep 04, 2016 1:08 am

RE: more lua fun... 500 asteroids rendering at 60 fps

Post by sscadmin »

Are these static rocks or will they move/collide on there own? Or is that way beyond the scope of the engine or peoples graphic hardware?But all those rocks look great and will add a nice effect, especially if there is little overhead for the graphics to have plenty of them then I guess its ok to go a little crazy. I haven't played Pioneer in a while (i know bad me) but that radar seems a little too cluttered for me, maybe only having rocks of a certain mass show up or be able to filter it out. Just thinking about tracking ships on the radar with all those assets on it.
robn
Private
Posts: 1035
Joined: Mon Jan 31, 2011 10:29 pm

RE: more lua fun... 500 asteroids rendering at 60 fps

Post by robn »

This was just a hack - 500 ships with an asteroid-looking model.If (IF) we ever did something like this we'd have to do some specific code for it. Probably a bunch of very basic, light objects that are affected by gravity and be collided with, but with very simple meshes, and of course none of the trappings of ships (fuel, scanner, etc). I expect it could be made to perform pretty well even on low-end systems.I actually think the scanner looks good. If there's lots of asteroids around then maybe you want it to screw with your sensors, so the people can hide in there :)
ollobrain
Private
Posts: 561
Joined: Tue Jan 04, 2011 9:40 am

RE: more lua fun... 500 asteroids rendering at 60 fps

Post by ollobrain »

IF it was ever done it would add to the real world science fact asteroids occour in space but then again are very far apart so they could be a bit more random and spread out . 
shadmar
Private
Posts: 300
Joined: Thu Dec 08, 2016 4:54 pm

RE: more lua fun... 500 asteroids rendering at 60 fps

Post by shadmar »

Yes you would probably just see one at a time, however in the rings of the gas giants they would probably be more dense and small.But the it would be nice to have an object as robn describes, that could be used for just about anything from asteroids to debri, satelites etc.
Post Reply

Return to “Pioneer”