Author Topic: Space Travel w/ Multi-Layered Stars  (Read 11606 times)

0 Members and 1 Guest are viewing this topic.

Offline SirCrow

  • Forum Regular
  • Posts: 144
    • View Profile
Re: Space Travel w/ Multi-Layered Stars
« Reply #30 on: January 27, 2020, 12:25:37 am »
Now arrived

Easily the best and most beautiful U.S.S. Enterprise ever designed, the NCC-1701-A.
Years ago, I built a digital model of her.  Came out great, but I made her bottom too big.
Now that I've found how to run SketchUp under Linux, I may have another go at her.
« Last Edit: February 14, 2020, 12:22:51 am by SirCrow »
I may not always finish what I've started....

Offline SirCrow

  • Forum Regular
  • Posts: 144
    • View Profile
Re: Space Travel w/ Multi-Layered Stars
« Reply #31 on: February 14, 2020, 12:19:21 am »
Very nice parallax effect!

Maybe a seamless background is the only thing that could make the effect even better.

Here's your [dark_Tiled] made seamless...

I'll have to try it with your version of the image.  But what do you mean by seamless?  As far as I can see, my original has very faint seams that all but vanish with all the layers of stars, and other things, passing over them.  It looks plenty seamless to me.  Is there a flaw I've missed?
I may not always finish what I've started....

Offline SMcNeill

  • QB64 Developer
  • Forum Resident
  • Posts: 3972
    • View Profile
    • Steve’s QB64 Archive Forum
Re: Space Travel w/ Multi-Layered Stars
« Reply #32 on: February 14, 2020, 12:42:45 am »
I don't know how it is with the more modern Windows, but in the old days of XP and lower it was quite easy to do a screensaver.  You would rename the .exe to .scr and place the file in your Windows directory and add it as your screensaver.  Not sure if that is still relevant, but there you go.  Warp speed ahead.  Live Long and Prosper.

https://www.qb64.org/forum/index.php?topic=1018.msg102149#msg102149
https://github.com/SteveMcNeill/Steve64 — A github collection of all things Steve!

Offline SirCrow

  • Forum Regular
  • Posts: 144
    • View Profile
Re: Space Travel w/ Multi-Layered Stars
« Reply #33 on: February 14, 2020, 01:45:24 am »
I don't know how it is with the more modern Windows, but in the old days of XP and lower it was quite easy to do a screensaver.  You would rename the .exe to .scr and place the file in your Windows directory and add it as your screensaver.  Not sure if that is still relevant, but there you go.  Warp speed ahead.  Live Long and Prosper.

Did I forget to mention that I'm using Linux/Ubuntu 18.04?  Pretty sure it's much more complicated than you described, darn it.  Full stop, I think.
« Last Edit: February 14, 2020, 01:47:26 am by SirCrow »
I may not always finish what I've started....

Offline SMcNeill

  • QB64 Developer
  • Forum Resident
  • Posts: 3972
    • View Profile
    • Steve’s QB64 Archive Forum
Re: Space Travel w/ Multi-Layered Stars
« Reply #34 on: February 14, 2020, 01:51:51 am »
Did I forget to mention that I'm using Linux/Ubuntu 18.04?  Pretty sure it's much more complicated than you described, darn it.  Full stop, I think.

Try this link: https://www.hecticgeek.com/2012/07/enable-screensavers-ubuntu-linux/
https://github.com/SteveMcNeill/Steve64 — A github collection of all things Steve!

Offline AndyA

  • Newbie
  • Posts: 73
    • View Profile
Re: Space Travel w/ Multi-Layered Stars
« Reply #35 on: February 15, 2020, 01:53:53 pm »
Quote
I'll have to try it with your version of the image.  But what do you mean by seamless?  As far as I can see, my original has very faint seams that all but vanish with all the layers of stars, and other things, passing over them.  It looks plenty seamless to me.  Is there a flaw I've missed?

I Googled "What is a seamless pattern?"

Top result: A seamless pattern is an image that can be placed side-by-side with copies of itself without any visible seams or interruptions on the content, so you can repeat this image and create a pattern that can go on infinitely to create unique backgrounds, text effects or brand elements.

In other words, images that when tiled, will blend perfectly on all sides of the image.

The image I provided blends perfectly on all four sides of the image when tiled.

Offline SirCrow

  • Forum Regular
  • Posts: 144
    • View Profile
Re: Space Travel w/ Multi-Layered Stars
« Reply #36 on: February 16, 2020, 02:42:33 pm »
I Googled "What is a seamless pattern?"

Top result: A seamless pattern is an image that can be placed side-by-side with copies of itself without any visible seams or interruptions on the content, so you can repeat this image and create a pattern that can go on infinitely to create unique backgrounds, text effects or brand elements.

In other words, images that when tiled, will blend perfectly on all sides of the image.

The image I provided blends perfectly on all four sides of the image when tiled.

Well, if you see my version of the image exactly the way I do, then you're seeing it as I meant it to be, and I consider it seamless enough.  As long as you don't see a sudden jump or shift in the image, I don't see any problem.  Your version, when it's the same size as mine, has more frequent repetition than I prefer.  If my code were modified to work with larger BG images, then it might work nicely with the interlaced pattern you've created, if that's the word for it.
Anyway, these days, I can just barely concentrate on this programming thing, so I think I'll just leave it as is.
I may not always finish what I've started....

Offline SirCrow

  • Forum Regular
  • Posts: 144
    • View Profile
Re: Space Travel w/ Multi-Layered Stars + MUSIC
« Reply #37 on: March 08, 2020, 10:28:37 pm »
Here's my latest version. 

EDIT: I've added the ability to play audio accompaniment while flying thru space, but you may have to supply your own sound files.  And you'd have to change the program code to refer to your own files, unless the filenames are exactly the same.

I've attached a help file below.

===  IS IT OK to upload copyrighted material here?  If not, I'll have to remove the audio files and resend the archive.  ===

EDIT: I changed the code to check the Audio folder for available files, so that the user can place his/her own sound files there; then my IDE closed unexpectedly.  When I reopened it, no auto-saved file was offered, so now I have to redo all that.  In any case, one of the audio files I had included is CREATIVE COMMONS, so I'm leaving that one in, and I don't care what anyone says about that.  Ciao for now.  I'm gonna work on some SketchUp models for a while instead;  that's much easier when I can't concentrate, which is quite often.
* ReadMe.txt (Filesize: 1.13 KB, Downloads: 219)
* StarTrip_2020_3_26.zip (Filesize: 12.69 MB, Downloads: 208)
« Last Edit: May 14, 2020, 11:11:07 am by SirCrow »
I may not always finish what I've started....

Offline odin

  • Administrator
  • Newbie
  • Posts: 92
  • I am.
    • View Profile
Re: Space Travel w/ Multi-Layered Stars
« Reply #38 on: March 08, 2020, 10:43:05 pm »
Not okay.

Offline SirCrow

  • Forum Regular
  • Posts: 144
    • View Profile
Re: Space Travel w/ Multi-Layered Stars
« Reply #39 on: March 08, 2020, 10:51:05 pm »
Not okay.

If this is true, then I'll have to upload w/o the audio and let the user substitute whatever audio files he/she wants.
Bummer.  Can someone please confirm this for me?  I'd like a little more than Not okay, please understand, before I make the effort.  Thanks.
« Last Edit: March 08, 2020, 11:17:21 pm by SirCrow »
I may not always finish what I've started....

FellippeHeitor

  • Guest
Re: Space Travel w/ Multi-Layered Stars
« Reply #40 on: March 09, 2020, 03:31:38 am »
If odin says it, it is true. He's the one.

I wonder why he didn't delete it himself. He probably wanted to give you a chance to choose the righteous path yourself.
« Last Edit: March 09, 2020, 03:34:03 am by FellippeHeitor »

Offline TerryRitchie

  • Seasoned Forum Regular
  • Posts: 495
  • Semper Fidelis
    • View Profile
Re: Space Travel w/ Multi-Layered Stars
« Reply #41 on: March 09, 2020, 01:35:49 pm »
I'm no legal expert on this so let's get that out of the way. However, when I was a teacher I was able to use any copyrighted material I chose as long as it was for educational purposes only. I believe this exemption extends beyond the educational community as long as the works (your program in this case) are marked as "for educational use only".

In many of my code listings of programs created for the QB64 class I taught I placed this disclaimer inside. This may work for regular users too, placing "educational use" within the source code and "education use" within the forum post.

Again, I am not 100% sure about this. Someone in the legal profession should be consulted to verify my assumptions.
In order to understand recursion, one must first understand recursion.

FellippeHeitor

  • Guest
Re: Space Travel w/ Multi-Layered Stars
« Reply #42 on: March 09, 2020, 03:58:15 pm »
🤷‍♂️

 
EBCF698B-9B8B-4C73-8232-34FCFD49ECF0.jpeg

Offline SirCrow

  • Forum Regular
  • Posts: 144
    • View Profile
Re: Space Travel w/ Multi-Layered Stars
« Reply #43 on: March 29, 2020, 04:03:02 pm »
I'm having trouble uploading my updated archive.
I may not always finish what I've started....