Author Topic: I don't like the new QB64 forum logo...  (Read 10473 times)

0 Members and 1 Guest are viewing this topic.

Offline Pete

  • Forum Resident
  • Posts: 2361
  • Cuz I sez so, varmint!
    • View Profile
Re: I don't like the new QB64 forum logo...
« Reply #15 on: April 02, 2019, 11:37:26 am »
@ Mark, I lie the transparent effect, too. Maybe a bit less background though?

  [ You are not allowed to view this attachment ]  

@ Jack, I liked the old logo too, but branding changes over time. I'm even thinking of modifying my avatar... maybe a BIGGER hat?

Pete
Want to learn how to write code on cave walls? https://www.tapatalk.com/groups/qbasic/qbasic-f1/

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: I don't like the new QB64 forum logo...
« Reply #16 on: April 02, 2019, 12:10:15 pm »
@ Mark, I lie the transparent effect, too. Maybe a bit less background though?

Don't lie too much... ;)

Quote
@ Jack, I liked the old logo too, but branding changes over time. I'm even thinking of modifying my avatar... maybe a BIGGER hat?

Pete

Now you're talk'n! :D


Offline Qwerkey

  • Forum Resident
  • Posts: 755
    • View Profile
Re: I don't like the new QB64 forum logo...
« Reply #17 on: April 02, 2019, 12:19:34 pm »
Maybe a bit less background though?
Pete

A good suggestion from Pete.

Offline Bert22306

  • Forum Regular
  • Posts: 206
    • View Profile
Re: I don't like the new QB64 forum logo...
« Reply #18 on: April 02, 2019, 03:01:53 pm »
Finicky guys! I like the new logo, and I also like its sci-fi-inspired background, flying through some foreboding magnetic storm in the Delta Quadrant. I say, keep it as is.

Offline Ashish

  • Forum Resident
  • Posts: 630
  • Never Give Up!
    • View Profile
Re: I don't like the new QB64 forum logo...
« Reply #19 on: April 03, 2019, 02:28:50 am »
I am thinking somebody (Ashish?) could make a 3D spinning QB64 cube with the Forever background. Ashish already has a nice one in 3D OpenWorld Mountains: https://www.qb64.org/forum/index.php?topic=1139.15

Maybe for the next version. ;-))

I do like like the transparent layering, kind of symbolic of QB64's development and works.

You will need additional images file for program to run.
@Cobalt : The program also shows using texture on cube in an easy way. Hope it helps.

Code: QB64: [Select]
  1. _TITLE "QB64 Forever"
  2.  
  3. SCREEN _NEWIMAGE(600, 600, 32)
  4. DIM bg&
  5. bg& = _LOADIMAGE("bg.jpg")
  6. _PUTIMAGE , bg&
  7.  
  8.     _LIMIT 30
  9.  
  10.  
  11. SUB _GL ()
  12.     STATIC qbGLTexture&, init, rot!
  13.     IF init = 0 THEN
  14.         init = -1
  15.  
  16.         qbGLTexture& = loadGLTexture("qb64icon.png")
  17.     END IF
  18.  
  19.     _glEnable _GL_DEPTH_TEST
  20.     _glEnable _GL_TEXTURE_2D
  21.  
  22.  
  23.     _glMatrixMode _GL_PROJECTION
  24.     _gluPerspective 60.0, _WIDTH / _HEIGHT, 0.01, 10
  25.  
  26.     _glMatrixMode _GL_MODELVIEW
  27.     _glTranslatef 0, 0, -3
  28.     _glRotatef 90 * rot!, 1, 0.6, 0
  29.  
  30.  
  31.     selectTexture qbGLTexture&
  32.     drawCube 0.5
  33.  
  34.     _glFlush
  35.  
  36.     rot! = rot! + 0.025
  37.  
  38.  
  39. SUB selectTexture (tex&) 'selects the texture handle
  40.     _glBindTexture _GL_TEXTURE_2D, tex&
  41.  
  42. FUNCTION loadGLTexture& (image_file$) 'return OpenGL texture handle.
  43.     DIM tmp&
  44.     tmp& = _LOADIMAGE(image_file$)
  45.  
  46.     IF tmp& < -1 THEN
  47.         DIM img_handle&, preDest
  48.  
  49.         img_handle& = _COPYIMAGE(tmp&)
  50.         _PUTIMAGE (0, _HEIGHT(tmp&) - 1)-(_WIDTH(tmp&) - 1, 0), tmp&, img_handle&
  51.  
  52.         _FREEIMAGE tmp&
  53.  
  54.         DIM temp_m AS _MEM
  55.         temp_m = _MEMIMAGE(img_handle&)
  56.         _glGenTextures 1, _OFFSET(loadGLTexture&)
  57.         _glBindTexture _GL_TEXTURE_2D, loadGLTexture&
  58.  
  59.         _glTexParameteri _GL_TEXTURE_2D, _GL_TEXTURE_WRAP_S, _GL_CLAMP
  60.         _glTexParameteri _GL_TEXTURE_2D, _GL_TEXTURE_WRAP_T, _GL_CLAMP
  61.         _glTexParameteri _GL_TEXTURE_2D, _GL_TEXTURE_MAG_FILTER, _GL_LINEAR
  62.         _glTexParameteri _GL_TEXTURE_2D, _GL_TEXTURE_MIN_FILTER, _GL_NEAREST
  63.  
  64.         _glTexImage2D _GL_TEXTURE_2D, 0, _GL_RGB, _WIDTH(img_handle&), _HEIGHT(img_handle&), 0, _GL_BGRA_EXT, _GL_UNSIGNED_BYTE, temp_m.OFFSET
  65.  
  66.         _MEMFREE temp_m
  67.         _FREEIMAGE img_handle&
  68.     END IF
  69.  
  70. SUB drawCube (s) 'draws the cube
  71.  
  72.     _glBegin _GL_QUADS
  73.     _glNormal3f 0, 0, -1
  74.     _glTexCoord2f 0, 1
  75.     _glVertex3f -s, s, -s 'front square face
  76.     _glNormal3f 0, 0, -1
  77.     _glTexCoord2f 0, 0
  78.     _glVertex3f -s, -s, -s
  79.     _glNormal3f 0, 0, -1
  80.     _glTexCoord2f 1, 0
  81.     _glVertex3f s, -s, -s
  82.     _glNormal3f 0, 0, -1
  83.     _glTexCoord2f 1, 1
  84.     _glVertex3f s, s, -s
  85.     _glEnd
  86.  
  87.     _glBegin _GL_QUADS
  88.     _glNormal3f 0, 0, 1
  89.     _glTexCoord2f 0, 1
  90.     _glVertex3f -s, s, s 'rear face
  91.     _glNormal3f 0, 0, 1
  92.     _glTexCoord2f 0, 0
  93.     _glVertex3f -s, -s, s
  94.     _glNormal3f 0, 0, 1
  95.     _glTexCoord2f 1, 0
  96.     _glVertex3f s, -s, s
  97.     _glNormal3f 0, 0, 1
  98.     _glTexCoord2f 1, 1
  99.     _glVertex3f s, s, s
  100.     _glEnd
  101.  
  102.     _glBegin _GL_QUADS
  103.     _glNormal3f -1, 0, 0
  104.     _glTexCoord2f 1, 0
  105.     _glVertex3f -s, s, s 'left
  106.     _glNormal3f -1, 0, 0
  107.     _glTexCoord2f 0, 0
  108.     _glVertex3f -s, -s, s
  109.     _glNormal3f -1, 0, 0
  110.     _glTexCoord2f 0, 1
  111.     _glVertex3f -s, -s, -s
  112.     _glNormal3f -1, 0, 0
  113.     _glTexCoord2f 1, 1
  114.     _glVertex3f -s, s, -s
  115.     _glEnd
  116.  
  117.     _glBegin _GL_QUADS
  118.     _glNormal3f 1, 0, 0
  119.     _glTexCoord2f 1, 0
  120.     _glVertex3f s, s, s 'right
  121.     _glNormal3f 1, 0, 0
  122.     _glTexCoord2f 0, 0
  123.     _glVertex3f s, -s, s
  124.     _glNormal3f 1, 0, 0
  125.     _glTexCoord2f 0, 1
  126.     _glVertex3f s, -s, -s
  127.     _glNormal3f 1, 0, 0
  128.     _glTexCoord2f 1, 1
  129.     _glVertex3f s, s, -s
  130.     _glEnd
  131.  
  132.     _glBegin _GL_QUADS 'up
  133.     _glNormal3f 0, 1, 0
  134.     _glTexCoord2f 0, 1
  135.     _glVertex3f -s, s, -s 'up
  136.     _glNormal3f 0, 1, 0
  137.     _glTexCoord2f 0, 0
  138.     _glVertex3f -s, s, s
  139.     _glNormal3f 0, 1, 0
  140.     _glTexCoord2f 1, 0
  141.     _glVertex3f s, s, s
  142.     _glNormal3f 0, 1, 0
  143.     _glTexCoord2f 1, 1
  144.     _glVertex3f s, s, -s
  145.     _glEnd
  146.  
  147.     _glBegin _GL_QUADS 'down
  148.     _glNormal3f 0, -1, 0
  149.     _glTexCoord2f 0, 1
  150.     _glVertex3f -s, -s, -s 'up
  151.     _glNormal3f 0, -1, 0
  152.     _glTexCoord2f 0, 0
  153.     _glVertex3f -s, -s, s
  154.     _glNormal3f 0, -1, 0
  155.     _glTexCoord2f 1, 0
  156.     _glVertex3f s, -s, s
  157.     _glNormal3f 0, -1, 0
  158.     _glTexCoord2f 1, 1
  159.     _glVertex3f s, -s, -s
  160.     _glEnd
  161.  
  162.  
 [ You are not allowed to view this attachment ]
if (Me.success) {Me.improve()} else {Me.tryAgain()}


My Projects - https://github.com/AshishKingdom?tab=repositories
OpenGL tutorials - https://ashishkingdom.github.io/OpenGL-Tutorials

FellippeHeitor

  • Guest
Re: I don't like the new QB64 forum logo...
« Reply #20 on: April 03, 2019, 07:30:01 am »
That was fun to watch, thanks Ashish! :-)

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: I don't like the new QB64 forum logo...
« Reply #21 on: April 03, 2019, 09:23:51 am »
Ashish, you nailed it! Nice job!

I am using it for avatar, hope you don't mind.

Just out of curiosity could the blue background on cube be made slightly transparent?
« Last Edit: April 03, 2019, 09:31:10 am by bplus »

Offline Ryster

  • Newbie
  • Posts: 77
    • View Profile
Re: I don't like the new QB64 forum logo...
« Reply #22 on: April 03, 2019, 09:46:07 am »
In my humble opinion, the new logo is nicer than the previous one.
Greetings.

Offline Jack002

  • Forum Regular
  • Posts: 123
  • Boss, l wanna talk about arrays
    • View Profile
Re: I don't like the new QB64 forum logo...
« Reply #23 on: April 03, 2019, 10:13:06 am »
@ Mark, I lie the transparent effect, too. Maybe a bit less background though?

  [ You are not allowed to view this attachment ]  

@ Jack, I liked the old logo too, but branding changes over time. I'm even thinking of modifying my avatar... maybe a BIGGER hat?

Pete
The word branding comes from what they did to cows. You burn it in once, it never changes. :)


Ashish, Wow, that is so impressive! I can't believe this is basic

« Last Edit: April 03, 2019, 10:16:27 am by Jack002 »
QB64 is the best!

Offline Cobalt

  • QB64 Developer
  • Forum Resident
  • Posts: 878
  • At 60 I become highly radioactive!
    • View Profile
Re: I don't like the new QB64 forum logo...
« Reply #24 on: April 03, 2019, 10:47:18 am »
@Cobalt : The program also shows using texture on cube in an easy way. Hope it helps.

Thanks Ashish.


Sorry guys but I really don't care for the new logo. BASIC should be simple and I just don't get that from the new logo. It does look nice though, personally just don't care for it. Maybe it will grow on me?
Granted after becoming radioactive I only have a half-life!

Offline Pete

  • Forum Resident
  • Posts: 2361
  • Cuz I sez so, varmint!
    • View Profile
Re: I don't like the new QB64 forum logo...
« Reply #25 on: April 03, 2019, 12:28:31 pm »
@Ashish: Tell Mark he can't use it, because I need it, well, if you can make it stop rotating. I need a nice big block fur my av-ee-tar to stand on, to make him taller!

  [ You are not allowed to view this attachment ]  
Want to learn how to write code on cave walls? https://www.tapatalk.com/groups/qbasic/qbasic-f1/

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: I don't like the new QB64 forum logo...
« Reply #26 on: April 03, 2019, 12:55:39 pm »
LOL :D

Offline Ashish

  • Forum Resident
  • Posts: 630
  • Never Give Up!
    • View Profile
Re: I don't like the new QB64 forum logo...
« Reply #27 on: April 04, 2019, 11:54:34 am »
...
I am using it for avatar, hope you don't mind.

Just out of curiosity could the blue background on cube be made slightly transparent?
Thanks. You can use it freely. I made the "blue" background transparent. You can control the extent of transparency from line 18.

Same images file which were in attachment in my previous reply are required for both of the below code.

Code: QB64: [Select]
  1. _TITLE "QB64 Forever"
  2.  
  3. SCREEN _NEWIMAGE(600, 600, 32)
  4. DIM bg&
  5. bg& = _LOADIMAGE("bg.jpg")
  6. _PUTIMAGE , bg&
  7.  
  8.     _LIMIT 30
  9.  
  10.  
  11. SUB _GL ()
  12.     STATIC qbGLTexture&, init, rot!
  13.     IF init = 0 THEN
  14.         init = -1
  15.  
  16.         qbGLTexture& = loadGLTexture("qb64icon.png", 140)
  17.     END IF
  18.  
  19.     _glEnable _GL_DEPTH_TEST
  20.     _glEnable _GL_TEXTURE_2D
  21.     _glEnable _GL_BLEND
  22.  
  23.     _glMatrixMode _GL_PROJECTION
  24.     _gluPerspective 60.0, _WIDTH / _HEIGHT, 0.01, 10
  25.  
  26.     _glMatrixMode _GL_MODELVIEW
  27.     _glTranslatef 0, 0, -3
  28.     _glRotatef 90 * rot!, 1, 0.6, 0
  29.  
  30.  
  31.     selectTexture qbGLTexture&
  32.     drawCube 0.5
  33.  
  34.     _glFlush
  35.  
  36.     rot! = rot! + 0.025
  37.  
  38.  
  39. SUB selectTexture (tex&) 'selects the texture handle
  40.     _glBindTexture _GL_TEXTURE_2D, tex&
  41.  
  42. FUNCTION loadGLTexture& (image_file$, alpha) 'return OpenGL texture handle.
  43.     DIM tmp&
  44.     tmp& = _LOADIMAGE(image_file$)
  45.  
  46.     IF tmp& < -1 THEN
  47.         DIM img_handle&, c~&, preSrc
  48.  
  49.         preSrc = _source
  50.         _SOURCE tmp&
  51.         c~& = POINT(0, 0)
  52.         _SOURCE preSrc
  53.  
  54.         _SETALPHA alpha, c~&, tmp&
  55.         img_handle& = _NEWIMAGE(_WIDTH(tmp&), _HEIGHT(tmp&), 32)
  56.         _PUTIMAGE (0, _HEIGHT(tmp&) - 1)-(_WIDTH(tmp&) - 1, 0), tmp&, img_handle&
  57.  
  58.         _FREEIMAGE tmp&
  59.  
  60.         DIM temp_m AS _MEM
  61.         temp_m = _MEMIMAGE(img_handle&)
  62.         _glGenTextures 1, _OFFSET(loadGLTexture&)
  63.         _glBindTexture _GL_TEXTURE_2D, loadGLTexture&
  64.  
  65.         _glTexParameteri _GL_TEXTURE_2D, _GL_TEXTURE_WRAP_S, _GL_CLAMP
  66.         _glTexParameteri _GL_TEXTURE_2D, _GL_TEXTURE_WRAP_T, _GL_CLAMP
  67.         _glTexParameteri _GL_TEXTURE_2D, _GL_TEXTURE_MAG_FILTER, _GL_LINEAR
  68.         _glTexParameteri _GL_TEXTURE_2D, _GL_TEXTURE_MIN_FILTER, _GL_NEAREST
  69.  
  70.         _glTexImage2D _GL_TEXTURE_2D, 0, _GL_RGBA, _WIDTH(img_handle&), _HEIGHT(img_handle&), 0, _GL_BGRA_EXT, _GL_UNSIGNED_BYTE, temp_m.OFFSET
  71.  
  72.         _MEMFREE temp_m
  73.         _FREEIMAGE img_handle&
  74.     END IF
  75.  
  76. SUB drawCube (s) 'draws the cube
  77.  
  78.     _glBegin _GL_QUADS
  79.     _glNormal3f 0, 0, -1
  80.     _glTexCoord2f 0, 1
  81.     _glVertex3f -s, s, -s 'front square face
  82.     _glNormal3f 0, 0, -1
  83.     _glTexCoord2f 0, 0
  84.     _glVertex3f -s, -s, -s
  85.     _glNormal3f 0, 0, -1
  86.     _glTexCoord2f 1, 0
  87.     _glVertex3f s, -s, -s
  88.     _glNormal3f 0, 0, -1
  89.     _glTexCoord2f 1, 1
  90.     _glVertex3f s, s, -s
  91.     _glEnd
  92.  
  93.     _glBegin _GL_QUADS
  94.     _glNormal3f 0, 0, 1
  95.     _glTexCoord2f 0, 1
  96.     _glVertex3f -s, s, s 'rear face
  97.     _glNormal3f 0, 0, 1
  98.     _glTexCoord2f 0, 0
  99.     _glVertex3f -s, -s, s
  100.     _glNormal3f 0, 0, 1
  101.     _glTexCoord2f 1, 0
  102.     _glVertex3f s, -s, s
  103.     _glNormal3f 0, 0, 1
  104.     _glTexCoord2f 1, 1
  105.     _glVertex3f s, s, s
  106.     _glEnd
  107.  
  108.     _glBegin _GL_QUADS
  109.     _glNormal3f -1, 0, 0
  110.     _glTexCoord2f 1, 0
  111.     _glVertex3f -s, s, s 'left
  112.     _glNormal3f -1, 0, 0
  113.     _glTexCoord2f 0, 0
  114.     _glVertex3f -s, -s, s
  115.     _glNormal3f -1, 0, 0
  116.     _glTexCoord2f 0, 1
  117.     _glVertex3f -s, -s, -s
  118.     _glNormal3f -1, 0, 0
  119.     _glTexCoord2f 1, 1
  120.     _glVertex3f -s, s, -s
  121.     _glEnd
  122.  
  123.     _glBegin _GL_QUADS
  124.     _glNormal3f 1, 0, 0
  125.     _glTexCoord2f 1, 0
  126.     _glVertex3f s, s, s 'right
  127.     _glNormal3f 1, 0, 0
  128.     _glTexCoord2f 0, 0
  129.     _glVertex3f s, -s, s
  130.     _glNormal3f 1, 0, 0
  131.     _glTexCoord2f 0, 1
  132.     _glVertex3f s, -s, -s
  133.     _glNormal3f 1, 0, 0
  134.     _glTexCoord2f 1, 1
  135.     _glVertex3f s, s, -s
  136.     _glEnd
  137.  
  138.     _glBegin _GL_QUADS 'up
  139.     _glNormal3f 0, 1, 0
  140.     _glTexCoord2f 0, 1
  141.     _glVertex3f -s, s, -s 'up
  142.     _glNormal3f 0, 1, 0
  143.     _glTexCoord2f 0, 0
  144.     _glVertex3f -s, s, s
  145.     _glNormal3f 0, 1, 0
  146.     _glTexCoord2f 1, 0
  147.     _glVertex3f s, s, s
  148.     _glNormal3f 0, 1, 0
  149.     _glTexCoord2f 1, 1
  150.     _glVertex3f s, s, -s
  151.     _glEnd
  152.  
  153.     _glBegin _GL_QUADS 'down
  154.     _glNormal3f 0, -1, 0
  155.     _glTexCoord2f 0, 1
  156.     _glVertex3f -s, -s, -s 'up
  157.     _glNormal3f 0, -1, 0
  158.     _glTexCoord2f 0, 0
  159.     _glVertex3f -s, -s, s
  160.     _glNormal3f 0, -1, 0
  161.     _glTexCoord2f 1, 0
  162.     _glVertex3f s, -s, s
  163.     _glNormal3f 0, -1, 0
  164.     _glTexCoord2f 1, 1
  165.     _glVertex3f s, -s, -s
  166.     _glEnd
  167.  
  168.  

@Ashish: Tell Mark he can't use it, because I need it, well, if you can make it stop rotating. I need a nice big block fur my av-ee-tar to stand on, to make him taller!
Well... You both can share it. :D . Here is your QB64 cube at rest (in motion).
Code: QB64: [Select]
  1. _TITLE "QB64 Forever"
  2.  
  3. SCREEN _NEWIMAGE(600, 600, 32)
  4. DIM bg&
  5. bg& = _LOADIMAGE("bg.jpg")
  6. _PUTIMAGE , bg&
  7.  
  8.     _LIMIT 30
  9.  
  10.  
  11. SUB _GL ()
  12.     STATIC qbGLTexture&, init
  13.     IF init = 0 THEN
  14.         init = -1
  15.  
  16.         qbGLTexture& = loadGLTexture("qb64icon.png")
  17.     END IF
  18.  
  19.     _glEnable _GL_DEPTH_TEST
  20.     _glEnable _GL_TEXTURE_2D
  21.  
  22.  
  23.     _glMatrixMode _GL_PROJECTION
  24.     _gluPerspective 60.0, _WIDTH / _HEIGHT, 0.01, 10
  25.  
  26.     _glMatrixMode _GL_MODELVIEW
  27.     _glTranslatef 0, 0, -3
  28.  
  29.     _glRotatef 35, 1, 0.65, 0
  30.  
  31.  
  32.     selectTexture qbGLTexture&
  33.     drawCube 0.5
  34.  
  35.     _glFlush
  36.  
  37.  
  38. SUB selectTexture (tex&) 'selects the texture handle
  39.     _glBindTexture _GL_TEXTURE_2D, tex&
  40.  
  41. FUNCTION loadGLTexture& (image_file$) 'return OpenGL texture handle.
  42.     DIM tmp&
  43.     tmp& = _LOADIMAGE(image_file$)
  44.  
  45.     IF tmp& < -1 THEN
  46.         DIM img_handle&, preDest
  47.  
  48.         img_handle& = _COPYIMAGE(tmp&)
  49.         _PUTIMAGE (0, _HEIGHT(tmp&) - 1)-(_WIDTH(tmp&) - 1, 0), tmp&, img_handle&
  50.  
  51.         _FREEIMAGE tmp&
  52.  
  53.         DIM temp_m AS _MEM
  54.         temp_m = _MEMIMAGE(img_handle&)
  55.         _glGenTextures 1, _OFFSET(loadGLTexture&)
  56.         _glBindTexture _GL_TEXTURE_2D, loadGLTexture&
  57.  
  58.         _glTexParameteri _GL_TEXTURE_2D, _GL_TEXTURE_WRAP_S, _GL_CLAMP
  59.         _glTexParameteri _GL_TEXTURE_2D, _GL_TEXTURE_WRAP_T, _GL_CLAMP
  60.         _glTexParameteri _GL_TEXTURE_2D, _GL_TEXTURE_MAG_FILTER, _GL_LINEAR
  61.         _glTexParameteri _GL_TEXTURE_2D, _GL_TEXTURE_MIN_FILTER, _GL_NEAREST
  62.  
  63.         _glTexImage2D _GL_TEXTURE_2D, 0, _GL_RGB, _WIDTH(img_handle&), _HEIGHT(img_handle&), 0, _GL_BGRA_EXT, _GL_UNSIGNED_BYTE, temp_m.OFFSET
  64.  
  65.         _MEMFREE temp_m
  66.         _FREEIMAGE img_handle&
  67.     END IF
  68.  
  69. SUB drawCube (s) 'draws the cube
  70.  
  71.     _glBegin _GL_QUADS
  72.     _glNormal3f 0, 0, -1
  73.     _glTexCoord2f 0, 1
  74.     _glVertex3f -s, s, -s 'front square face
  75.     _glNormal3f 0, 0, -1
  76.     _glTexCoord2f 0, 0
  77.     _glVertex3f -s, -s, -s
  78.     _glNormal3f 0, 0, -1
  79.     _glTexCoord2f 1, 0
  80.     _glVertex3f s, -s, -s
  81.     _glNormal3f 0, 0, -1
  82.     _glTexCoord2f 1, 1
  83.     _glVertex3f s, s, -s
  84.     _glEnd
  85.  
  86.     _glBegin _GL_QUADS
  87.     _glNormal3f 0, 0, 1
  88.     _glTexCoord2f 0, 1
  89.     _glVertex3f -s, s, s 'rear face
  90.     _glNormal3f 0, 0, 1
  91.     _glTexCoord2f 0, 0
  92.     _glVertex3f -s, -s, s
  93.     _glNormal3f 0, 0, 1
  94.     _glTexCoord2f 1, 0
  95.     _glVertex3f s, -s, s
  96.     _glNormal3f 0, 0, 1
  97.     _glTexCoord2f 1, 1
  98.     _glVertex3f s, s, s
  99.     _glEnd
  100.  
  101.     _glBegin _GL_QUADS
  102.     _glNormal3f -1, 0, 0
  103.     _glTexCoord2f 1, 0
  104.     _glVertex3f -s, s, s 'left
  105.     _glNormal3f -1, 0, 0
  106.     _glTexCoord2f 0, 0
  107.     _glVertex3f -s, -s, s
  108.     _glNormal3f -1, 0, 0
  109.     _glTexCoord2f 0, 1
  110.     _glVertex3f -s, -s, -s
  111.     _glNormal3f -1, 0, 0
  112.     _glTexCoord2f 1, 1
  113.     _glVertex3f -s, s, -s
  114.     _glEnd
  115.  
  116.     _glBegin _GL_QUADS
  117.     _glNormal3f 1, 0, 0
  118.     _glTexCoord2f 1, 0
  119.     _glVertex3f s, s, s 'right
  120.     _glNormal3f 1, 0, 0
  121.     _glTexCoord2f 0, 0
  122.     _glVertex3f s, -s, s
  123.     _glNormal3f 1, 0, 0
  124.     _glTexCoord2f 0, 1
  125.     _glVertex3f s, -s, -s
  126.     _glNormal3f 1, 0, 0
  127.     _glTexCoord2f 1, 1
  128.     _glVertex3f s, s, -s
  129.     _glEnd
  130.  
  131.     _glBegin _GL_QUADS 'up
  132.     _glNormal3f 0, 1, 0
  133.     _glTexCoord2f 0, 1
  134.     _glVertex3f -s, s, -s 'up
  135.     _glNormal3f 0, 1, 0
  136.     _glTexCoord2f 0, 0
  137.     _glVertex3f -s, s, s
  138.     _glNormal3f 0, 1, 0
  139.     _glTexCoord2f 1, 0
  140.     _glVertex3f s, s, s
  141.     _glNormal3f 0, 1, 0
  142.     _glTexCoord2f 1, 1
  143.     _glVertex3f s, s, -s
  144.     _glEnd
  145.  
  146.     _glBegin _GL_QUADS 'down
  147.     _glNormal3f 0, -1, 0
  148.     _glTexCoord2f 0, 1
  149.     _glVertex3f -s, -s, -s 'up
  150.     _glNormal3f 0, -1, 0
  151.     _glTexCoord2f 0, 0
  152.     _glVertex3f -s, -s, s
  153.     _glNormal3f 0, -1, 0
  154.     _glTexCoord2f 1, 0
  155.     _glVertex3f s, -s, s
  156.     _glNormal3f 0, -1, 0
  157.     _glTexCoord2f 1, 1
  158.     _glVertex3f s, -s, -s
  159.     _glEnd
  160.  
  161.  
« Last Edit: April 06, 2019, 01:47:44 am by Ashish »
if (Me.success) {Me.improve()} else {Me.tryAgain()}


My Projects - https://github.com/AshishKingdom?tab=repositories
OpenGL tutorials - https://ashishkingdom.github.io/OpenGL-Tutorials

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: I don't like the new QB64 forum logo...
« Reply #28 on: April 04, 2019, 12:13:42 pm »
Wow Ashish, amazing! Thanks

Offline Pete

  • Forum Resident
  • Posts: 2361
  • Cuz I sez so, varmint!
    • View Profile
Re: I don't like the new QB64 forum logo...
« Reply #29 on: April 08, 2019, 11:39:15 am »
I've mellowed in my older age, but I think I'm going to have to go back in time. I actually wanted to post the new logo would look better with a transparent background, and WOW, some 1 of 3 tried that idea out, and it looks GREAT! Sorry I didn't recommend it in the first place. Also, you may want to consider always having a release message next to it, because that looks amazing, too.

Nice work guy(s),

Pete
Want to learn how to write code on cave walls? https://www.tapatalk.com/groups/qbasic/qbasic-f1/