• Welcome to Theos PowerBasic Museum 2017.

BassBox

Started by Patrice Terrier, October 08, 2007, 10:57:44 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Petr Schreiber

#225
Hi Charles,

nice ideas! But it will require all shapes to have same vertexcount to do morphing ?

Well, I had very long but entertaining night, so here is my "Solaris" plugin, I named it as plug011. Just unzip the files in BBPlugin directory.


Hope you will like it,
Petr

UPDATED PLUGIN DOWNLOAD
AMD Sempron 3400+ | 1GB RAM @ 533MHz | GeForce 6200 / GeForce 9500GT | 32bit Windows XP SP3

psch.thinbasic.com

Patrice Terrier

#226
--Petr

Thank you very much for working a part of the night to provide us with this new plugin!

To make it even look better, please note that you must use mt(x).Square = 1, only when image source is not already a ^2.

In the case of texture "11_venusmap.jpg" the size being already 1024 * 512 then no need to use it.

Note: you can decrease the size down to 256 * 128 without problem, because it is being used to represent the sun instead of venus.

...
Patrice Terrier
GDImage (advanced graphic addon)
http://www.zapsolution.com

Petr Schreiber

#227
Hi Patrice,

thanks, I thought Square = 1 means it is square :) I know code is a bit ( a lot ;) ) messy, but I wanted to finally show something instead of promising something for months. I will further work on the plugin if I will have time.

I have updated the download with your suggestions.

I know it is not much evident, but it is not suposed to be sun, but "Solaris" - kind of planet with own inteligence ;)
It is featured in really good book by Stanislaw Lem. There were even movies done based on this book, first by Tarkovskij ( but I haven't seen this ) and second featuring George Clooney quite recently. Both movie and book are very good stuff, check it out when in mood :)


Thanks,
Petr
AMD Sempron 3400+ | 1GB RAM @ 533MHz | GeForce 6200 / GeForce 9500GT | 32bit Windows XP SP3

psch.thinbasic.com

Patrice Terrier

#228
Hi Petr

I have reworked plug011.bas to produce that one
and added a new audio file to play with it.


Note: we could smoother the planet circle to make it even more realistic, however I am geting tired and need a good sleep either ;)

We are not that far from the monolith ...

...
Patrice Terrier
GDImage (advanced graphic addon)
http://www.zapsolution.com

Charles Pegge

Petr, Is it safe to land on this planet?  Sunglasses and asbestos boots provided. Or maybe a close transit would be safer.

Petr Schreiber

#230
It is even more dangerous Charles,

everything on the surface is kind of weird which makes astronauts think they took LSD rather than classic cosmic food :)
Book will tell you more :)

Patrice, thanks for tuning the module, it looks much better now!


Petr
AMD Sempron 3400+ | 1GB RAM @ 533MHz | GeForce 6200 / GeForce 9500GT | 32bit Windows XP SP3

psch.thinbasic.com

Patrice Terrier

#231
--Petr

I am still tuning the module to make it looks more realistic and brushing up the code.

I shall save it as Plug012.bas to not interfere with your initial work and it will be named "In the begining" this is because I want to create several scenes about the theme of Earth genesis.

This one would be the early stage, just before earth and heaven separation.

And guess you, what/who is working hard behind the globe emiting all these glowing lights  ;)

...
Patrice Terrier
GDImage (advanced graphic addon)
http://www.zapsolution.com

Patrice Terrier

#232
--Charles, Petr

It is a bad idea to hard code the rAspect parameter of the gluPerspective procedure in the %BBP_RENDER section.

- First, because the aspect is never 1.25 but always the result of width / height.
- Second, all the computation is already done in the handling of the %BBP_SIZE message.

Thus all you have to do in %BBP_RENDER is just to call glLoadIdentity() to reset to default.

Then the aspect will always looks good, like in the HAL plugin.

Thank you

...
Patrice Terrier
GDImage (advanced graphic addon)
http://www.zapsolution.com

Patrice Terrier

#233
Here is new plugin "In the begining" derivated from Petr's original plug011 (Thanks Petr).

The code has been cleaned up, and it shows you how to use glut quadric object to create the embedded spheres. The aspect is correctly computed to work with any screen size resolution.

I have edited several textures before I could produce something that looks close to the reality.

I selected an infrared sky, because we are close to the begining of the universe. At this time the Monolith stands behind the Earth, working hard to make this jewel of our galaxy that is our little planet.

Next step would be to split the water and make earth ground coming visible, while the Monolith slowly emerges from behind the Earth, moving hover the scene ;)


See below attached PLUG012.ZIP + TheChamber.zip (audio theme)

...

Patrice Terrier
GDImage (advanced graphic addon)
http://www.zapsolution.com

Petr Schreiber

Hi Patrice,

thanks for both perspective correction advice and new plugin!
Your plan sounds nice!


Petr
AMD Sempron 3400+ | 1GB RAM @ 533MHz | GeForce 6200 / GeForce 9500GT | 32bit Windows XP SP3

psch.thinbasic.com

Charles Pegge

Wonderful textures, really enhance the scene. They might also appear elsewhere :)

Two more pieces of music that go well with the Space theme:

Face of Mars:    mars.ogg
Vestige of Time: vestige.ogg

They are quite large so here is where they can be downloaded:

http://freaknet.org/martin/audio/csound/index.en.html

Patrice Terrier

#236
See there:
Mike Oldfield

I bought his album "The songs of Distant Earth", however he also has some other nice pieces of work ;)

...
Patrice Terrier
GDImage (advanced graphic addon)
http://www.zapsolution.com

Charles Pegge

Yes I've got it too. It is a very fine album.

Here is another plugin, inspired by the two previous pieces. It is a bit warmer here than planet Earth, a landing is not advised.

Patrice, please renumber this plugin if it interferes with your Genesis sequence.

José', I have removed most of the redundant code, but it is the progeny of 005. I wonder if it works  on your PC.

Petr Schreiber

Nice Charles,

really interesting shape!
I will check the source later today to see how it is done ;)


Petr
AMD Sempron 3400+ | 1GB RAM @ 533MHz | GeForce 6200 / GeForce 9500GT | 32bit Windows XP SP3

psch.thinbasic.com

Patrice Terrier

I am thinking that I will make a change to kernell as to let you use any name for your plugin.dll.
I shall check for all the DLL stored inside of the BBPlugin folder, and if they export a "BBProc" procedure then they will be added to the list.

Your thought?
Patrice Terrier
GDImage (advanced graphic addon)
http://www.zapsolution.com