Basic4GL
« Search Results »

Welcome Guest. Please Login or Register.
Dec 22, 2009, 2:27am




Basic4GL :: Search Results
20 Most Recent Posts20 Results Found

Result 1 of 20:
   [Search This Thread][Send Topic To Friend] [Print]
 AuthorTopic: DIE SERPENT!!! (Read 12 times)
crazynate
Global Moderator
*****
member is offline

[avatar]


[homepage]

Joined: Jan 2009
Gender: Male
Posts: 205
Location: somwhere
 DIE SERPENT!!!
« Result #1 Today at 12:02am »

>:( DAMN IT!!! >:(
I have an evil virus on my laptop that just loves to make my life miserable.
So far its been able to change my wallpaper, disable task manager, disable safe mode, render Malwarebytes, McAfee, Malware Removal Tool totally useless, and probably other unknown evil
When I log onto my computer it says that worm.win32.netsky has been detected, and no matter what i do i can't remove it.

DIE YOU FUCKING SERPENT AND GO TO FUCKING HELL!!!
Link to Post - Back to Top  IP: Logged

http://crazynatestudios.wikispaces.com/
http://crazynatestudios.proboards.com/index.cgi


Result 2 of 20:
Page 1 of 2 » Jump to page   Go    [Search This Thread][Send Topic To Friend] [Print]
 AuthorTopic: Things Created to get better/ out of boredom (Read 200 times)
shadow008
Posts a lot
****
member is offline

[avatar]

NINJAS WITH GUITARS! (you will never be as awsome as this)



Joined: Feb 2009
Gender: Male
Posts: 376
 Re: Things Created to get better/ out of boredom
« Result #2 Yesterday at 8:07am »


Dec 18, 2009, 7:37pm, Darkjester wrote:
Cool but the Demo lags on my new computer nicky, i mean seriously it brings a quad core 4 gigs of ram and a gt 220 to like 10 fps -darkjester


runs perfectly fine for me (my computer < your computer)
Link to Post - Back to Top  IP: Logged

OK

hint:
(look at it sideways)



Result 3 of 20:
Page 1 of 2 » Jump to page   Go    [Search This Thread][Send Topic To Friend] [Print]
 AuthorTopic: Things Created to get better/ out of boredom (Read 200 times)
johnwedd
Newish
*
member is offline





Joined: Jul 2007
Gender: Male
Posts: 49
 Re: Things Created to get better/ out of boredom
« Result #3 Yesterday at 5:49am »

Wow, B4GL has come a long way, i am starting to miss it.
Link to Post - Back to Top  IP: Logged


Result 4 of 20:
   [Search This Thread][Send Topic To Friend] [Print]
 AuthorTopic: basic4gl messenger (Read 31 times)
johnwedd
Newish
*
member is offline





Joined: Jul 2007
Gender: Male
Posts: 49
 Re: basic4gl messenger
« Result #4 Yesterday at 5:45am »

looks pretty freakin awesome
Link to Post - Back to Top  IP: Logged


Result 5 of 20:
   [Search This Thread][Send Topic To Friend] [Print]
 AuthorTopic: Request for GLPlusPlugin (Read 140 times)
Darkjester
Posts a bit
***
member is offline

[avatar]



Joined: Jun 2009
Gender: Male
Posts: 173
 Re: Request for GLPlusPlugin
« Result #5 on Dec 20, 2009, 9:27pm »

lol, its not part of the latest opengl spec see here

I ran the test and got a hell of alot of text dump(which i assume is good i didnt read the code), i also noticed a big difference in the shadow map demo, it works much smoother, and with less "shadow acne" than on my last card djlinux id love to chat with you if your not busy -darkjester
Link to Post - Back to Top  IP: Logged

-I love Krystal <3

http://joshkoert.wikispaces.com/


Result 6 of 20:
   [Search This Thread][Send Topic To Friend] [Print]
 AuthorTopic: Request for GLPlusPlugin (Read 140 times)
DJLinux
Global Moderator
*****
member is offline



\_/?



Joined: Apr 2008
Gender: Male
Posts: 486
Location: Germany NRW Essen
 Re: Request for GLPlusPlugin
« Result #6 on Dec 20, 2009, 7:28pm »


Dec 19, 2009, 12:13pm, Darkjester wrote:
... any progress on the plugin djlinux?

not realy at the moment
but you can run "test02.gb"
it's a test for glGetStringi() and only supported on devices with OpenGL >= V3.0


Download: GLPlusPlugin.zip


by the way your new card reports "gl_arb_vertex_blend = 0"
is it reserved for OpenGL V4.0 :lol:

thanx Joshy

« Last Edit: Dec 20, 2009, 7:34pm by DJLinux »Link to Post - Back to Top  IP: Logged

(sorry for my bad English)
I do not answer private messages asking for help because no one else can: benefit from advice I may give or correct me if I'm wrong.


Result 7 of 20:
   [Search This Thread][Send Topic To Friend] [Print]
 AuthorTopic: basic4gl messenger (Read 31 times)
Adam
Posts a bit
***
member is offline

[avatar]

[icq] [yim] [msn] [aim]

Joined: May 2008
Gender: Male
Posts: 235
 Re: basic4gl messenger
« Result #7 on Dec 20, 2009, 1:30am »

if your lucky enough to catch my server up.

odama666.mine.nu
Link to Post - Back to Top  IP: Logged

Kill Joy Kill Joy II Blocky Random Programs


Result 8 of 20:
   [Search This Thread][Send Topic To Friend] [Print]
 AuthorTopic: basic4gl messenger (Read 31 times)
Adam
Posts a bit
***
member is offline

[avatar]

[icq] [yim] [msn] [aim]

Joined: May 2008
Gender: Male
Posts: 235
 basic4gl messenger
« Result #8 on Dec 20, 2009, 12:52am »

one with user interface :D
Download: http://basic4gl.wikispaces.com/file/view/messenger.exe/110606917/messenger.exe

hmm..

lets log in, first type your name
[image]

then the ip address of the server (or localhost if you are creating your own like me)
[image]

create server? why yes! :)
[image]

oh look, I'm connected.. that was easy.
[image]

my imaginary friend bob seems to have logged in
[image]

oh! i seem to have gotten an im
[image]
« Last Edit: Dec 20, 2009, 2:14pm by DJLinux »Link to Post - Back to Top  IP: Logged

Kill Joy Kill Joy II Blocky Random Programs


Result 9 of 20:
   [Search This Thread][Send Topic To Friend] [Print]
 AuthorTopic: NEW WEBSITE!!!!(better than myspace) (Read 30 times)
hottiemark20
Posts
**
member is offline

[avatar]

[yim] [aim]

Joined: Oct 2008
Gender: Male
Posts: 55
 NEW WEBSITE!!!!(better than myspace)
« Result #9 on Dec 20, 2009, 12:36am »

Hey everyone i know i dont talk much on this website much but i just created a new website i would like everyone to join it and when you join make sure you add a default pic

The site: www.onlinehome.ning.com

What to do on site:
. play games
.talk on forum
.blogg
.chat with others
.watch videos
.add videos
.add movies
.add music
.and more
Link to Post - Back to Top  IP: Logged

Mark Waz Here


Result 10 of 20:
   [Search This Thread][Send Topic To Friend] [Print]
 AuthorTopic: i have a good one for you... (Read 15 times)
Adam
Posts a bit
***
member is offline

[avatar]

[icq] [yim] [msn] [aim]

Joined: May 2008
Gender: Male
Posts: 235
 i have a good one for you...
« Result #10 on Dec 19, 2009, 7:51pm »

id is a variable from a pointer and this sub is called from the window library with comp and exec. id only gives the right value in the first one if the window is active, id always gives the right value in the second routine (only thing that was added was i = id.. how does that work?)


Code:
Sub HandleClientWindow(id, active)
for i = buddy(id).lines-textrows() to buddy(id).lines
if not i<0 then
printr buddy(id).conversation(i)
endif
next
drawtext()
end sub


Code:
Sub HandleClientWindow(id, active)
i = id
for i = buddy(id).lines-textrows() to buddy(id).lines
if not i<0 then
printr buddy(id).conversation(i)
endif
next
drawtext()
end sub
Link to Post - Back to Top  IP: Logged

Kill Joy Kill Joy II Blocky Random Programs


Result 11 of 20:
   [Search This Thread][Send Topic To Friend] [Print]
 AuthorTopic: Request for GLPlusPlugin (Read 140 times)
Darkjester
Posts a bit
***
member is offline

[avatar]



Joined: Jun 2009
Gender: Male
Posts: 173
 Re: Request for GLPlusPlugin
« Result #11 on Dec 19, 2009, 12:13pm »


Dec 19, 2009, 10:00am, DJLinux wrote:
INT gl_version_3_0 = 1 hot

i send you my address per pm
looks like a nice gift for me ;D

but wait i have no PCIe only AGP :(

Joshy


haha, sorry only cards i can find with opengl 3 are pci-e cards, my card will actually do the opengl 3.2 (geometry shaders)

any progress on the plugin djlinux? cause i have a better idea for a plugin i know you can make but i cant -darkjester
Link to Post - Back to Top  IP: Logged

-I love Krystal <3

http://joshkoert.wikispaces.com/


Result 12 of 20:
   [Search This Thread][Send Topic To Friend] [Print]
 AuthorTopic: Request for GLPlusPlugin (Read 140 times)
DJLinux
Global Moderator
*****
member is offline



\_/?



Joined: Apr 2008
Gender: Male
Posts: 486
Location: Germany NRW Essen
 Re: Request for GLPlusPlugin
« Result #12 on Dec 19, 2009, 10:00am »

INT gl_version_3_0 = 1 hot

i send you my address per pm
looks like a nice gift for me ;D

but wait i have no PCIe only AGP :(

Joshy
Link to Post - Back to Top  IP: Logged

(sorry for my bad English)
I do not answer private messages asking for help because no one else can: benefit from advice I may give or correct me if I'm wrong.


Result 13 of 20:
   [Search This Thread][Send Topic To Friend] [Print]
 AuthorTopic: Request for GLPlusPlugin (Read 140 times)
Darkjester
Posts a bit
***
member is offline

[avatar]



Joined: Jun 2009
Gender: Male
Posts: 173
 Re: Request for GLPlusPlugin
« Result #13 on Dec 18, 2009, 9:47pm »

I just got new hardware so i decided to post to show off and to see what you can do djlinux ;D :D

Code:
STRING _renderer = "GeForce GT 220/PCI/SSE2"
STRING _vendor = "NVIDIA Corporation"
STRING _version = "3.2.0"

INT gl_version_1_2 = 1
INT gl_version_1_3 = 1
INT gl_version_1_4 = 1
INT gl_version_1_5 = 1
INT gl_version_2_0 = 1
INT gl_version_2_1 = 1
INT gl_version_3_0 = 1

INT gl_arb_color_buffer_float = 1
INT gl_arb_depth_buffer_float = 1
INT gl_arb_depth_texture = 1
INT gl_arb_draw_buffers = 1
INT gl_arb_draw_instanced = 1
INT gl_arb_fragment_program = 1
INT gl_arb_fragment_program_shadow = 1
INT gl_arb_fragment_shader = 1
INT gl_arb_framebuffer_object = 1
INT gl_arb_framebuffer_srgb = 1
INT gl_arb_geometry_shader4 = 1
INT gl_arb_half_float_pixel = 1
INT gl_arb_half_float_vertex = 1
INT gl_arb_imaging = 1
INT gl_arb_map_buffer_range = 1
INT gl_arb_multisample = 1
INT gl_arb_multitexture = 1
INT gl_arb_occlusion_query = 1
INT gl_arb_pixel_buffer_object = 1
INT gl_arb_point_parameters = 1
INT gl_arb_point_sprite = 1
INT gl_arb_shader_objects = 1
INT gl_arb_shading_language_100 = 1
INT gl_arb_shadow = 1
INT gl_arb_shadow_ambient = 0
INT gl_arb_texture_border_clamp = 1
INT gl_arb_texture_buffer_object = 1
INT gl_arb_texture_compression = 1
INT gl_arb_texture_compression_rgtc = 1
INT gl_arb_texture_cube_map = 1
INT gl_arb_texture_env_add = 1
INT gl_arb_texture_env_combine = 1
INT gl_arb_texture_env_crossbar = 1
INT gl_arb_texture_env_dot3 = 1
INT gl_arb_texture_float = 1
INT gl_arb_texture_mirrored_repeat = 1
INT gl_arb_texture_non_power_of_two = 1
INT gl_arb_texture_rectangle = 1
INT gl_arb_texture_rg = 1
INT gl_arb_transpose_matrix = 1
INT gl_arb_vertex_array_object = 1
INT gl_arb_vertex_blend = 0
INT gl_arb_vertex_buffer_object = 1
INT gl_arb_vertex_program = 1
INT gl_arb_vertex_shader = 1
INT gl_arb_window_pos = 1
INT gl_ati_draw_buffers = 1
INT gl_ati_texture_float = 1
INT gl_ati_texture_mirror_once = 1
INT gl_ext_abgr = 1
INT gl_ext_bgra = 1
INT gl_ext_bindable_uniform = 1
INT gl_ext_blend_color = 1
INT gl_ext_blend_equation_separate = 1
INT gl_ext_blend_func_separate = 1
INT gl_ext_blend_minmax = 1
INT gl_ext_blend_subtract = 1
INT gl_ext_compiled_vertex_array = 1
INT gl_ext_depth_bounds_test = 1
INT gl_ext_direct_state_access = 1
INT gl_ext_draw_buffers2 = 1
INT gl_ext_draw_instanced = 1
INT gl_ext_draw_range_elements = 1
INT gl_ext_fog_coord = 1
INT gl_ext_framebuffer_blit = 1
INT gl_ext_framebuffer_multisample = 1
INT gl_ext_framebuffer_object = 1
INT gl_ext_framebuffer_srgb = 1
INT gl_ext_geometry_shader4 = 1
INT gl_ext_gpu_program_parameters = 1
INT gl_ext_gpu_shader4 = 1
INT gl_ext_multi_draw_arrays = 1
INT gl_ext_packed_depth_stencil = 1
INT gl_ext_packed_float = 1
INT gl_ext_packed_pixels = 1
INT gl_ext_pixel_buffer_object = 1
INT gl_ext_pixel_transform_color_table = 0
INT gl_ext_point_parameters = 1
INT gl_ext_rescale_normal = 1
INT gl_ext_secondary_color = 1
INT gl_ext_separate_specular_color = 1
INT gl_ext_shadow_funcs = 1
INT gl_ext_stencil_two_side = 1
INT gl_ext_stencil_wrap = 1
INT gl_ext_texture3d = 1
INT gl_ext_texture_array = 1
INT gl_ext_texture_buffer_object = 1
INT gl_ext_texture_compression_latc = 1
INT gl_ext_texture_compression_rgtc = 1
INT gl_ext_texture_compression_s3tc = 1
INT gl_ext_texture_cube_map = 1
INT gl_ext_texture_env_add = 1
INT gl_ext_texture_env_combine = 1
INT gl_ext_texture_env_dot3 = 1
INT gl_ext_texture_filter_anisotropic = 1
INT gl_ext_texture_integer = 1
INT gl_ext_texture_lod_bias = 1
INT gl_ext_texture_mirror_clamp = 1
INT gl_ext_texture_object = 1
INT gl_ext_texture_shared_exponent = 1
INT gl_ext_texture_srgb = 1
INT gl_ext_texture_swizzle = 1
INT gl_ext_timer_query = 1
INT gl_ext_vertex_array = 1
INT gl_ext_vertex_array_bgra = 1
INT gl_ibm_rasterpos_clip = 1
INT gl_ibm_texture_mirrored_repeat = 1
INT gl_nv_blend_square = 1
INT gl_nv_conditional_render = 1
INT gl_nv_copy_depth_to_color = 1
INT gl_nv_depth_buffer_float = 1
INT gl_nv_depth_clamp = 1
INT gl_nv_explicit_multisample = 1
INT gl_nv_fence = 1
INT gl_nv_float_buffer = 1
INT gl_nv_fog_distance = 1
INT gl_nv_fragment_program = 1
INT gl_nv_fragment_program2 = 1
INT gl_nv_fragment_program_option = 1
INT gl_nv_framebuffer_multisample_coverage = 1
INT gl_nv_geometry_shader4 = 1
INT gl_nv_gpu_program4 = 1
INT gl_nv_half_float = 1
INT gl_nv_light_max_exponent = 1
INT gl_nv_multisample_filter_hint = 1
INT gl_nv_occlusion_query = 1
INT gl_nv_packed_depth_stencil = 1
INT gl_nv_parameter_buffer_object = 1
INT gl_nv_pixel_data_range = 1
INT gl_nv_point_sprite = 1
INT gl_nv_primitive_restart = 1
INT gl_nv_register_combiners = 1
INT gl_nv_register_combiners2 = 1
INT gl_nv_texgen_reflection = 1
INT gl_nv_texture_compression_vtc = 1
INT gl_nv_texture_env_combine4 = 1
INT gl_nv_texture_expand_normal = 1
INT gl_nv_texture_rectangle = 1
INT gl_nv_texture_shader = 1
INT gl_nv_texture_shader2 = 1
INT gl_nv_texture_shader3 = 1
INT gl_nv_transform_feedback = 1
INT gl_nv_transform_feedback2 = 1
INT gl_nv_vertex_array_range = 1
INT gl_nv_vertex_array_range2 = 1
INT gl_nv_vertex_program = 1
INT gl_nv_vertex_program1_1 = 1
INT gl_nv_vertex_program2 = 1
INT gl_nv_vertex_program2_option = 1
INT gl_nv_vertex_program3 = 1
INT gl_s3_s3tc = 1
INT gl_sgis_generate_mipmap = 1
INT gl_sgis_texture_lod = 1
INT gl_sgix_depth_texture = 1
INT gl_sgix_shadow = 1
INT gl_sun_slice_accum = 1
INT wgl_arb_buffer_region = 1
INT wgl_arb_create_context = 1
INT wgl_arb_extensions_string = 1
INT wgl_arb_make_current_read = 1
INT wgl_arb_multisample = 1
INT wgl_arb_pbuffer = 1
INT wgl_arb_pixel_format = 1
INT wgl_arb_pixel_format_float = 1
INT wgl_arb_render_texture = 1
INT wgl_ati_pixel_format_float = 1
INT wgl_ext_extensions_string = 1
INT wgl_ext_framebuffer_srgb = 1
INT wgl_ext_pixel_format_packed_float = 1
INT wgl_ext_swap_control = 1
INT wgl_nv_float_buffer = 1
INT wgl_nv_render_depth_texture = 1
INT wgl_nv_render_texture_rectangle = 1
« Last Edit: Dec 19, 2009, 9:47am by DJLinux »Link to Post - Back to Top  IP: Logged

-I love Krystal <3

http://joshkoert.wikispaces.com/


Result 14 of 20:
Page 1 of 2 » Jump to page   Go    [Search This Thread][Send Topic To Friend] [Print]
 AuthorTopic: Things Created to get better/ out of boredom (Read 200 times)
Darkjester
Posts a bit
***
member is offline

[avatar]



Joined: Jun 2009
Gender: Male
Posts: 173
 Re: Things Created to get better/ out of boredom
« Result #14 on Dec 18, 2009, 7:37pm »

Cool but the Demo lags on my new computer nicky, i mean seriously it brings a quad core 4 gigs of ram and a gt 220 to like 10 fps -darkjester
Link to Post - Back to Top  IP: Logged

-I love Krystal <3

http://joshkoert.wikispaces.com/


Result 15 of 20:
Page 1 of 2 » Jump to page   Go    [Search This Thread][Send Topic To Friend] [Print]
 AuthorTopic: Things Created to get better/ out of boredom (Read 200 times)
Nicky [&&] Leona forever
Global Moderator
*****
member is offline

[avatar]

~ I love, Leona ~

[msn]

Joined: Apr 2006
Gender: Male
Posts: 1,945
Location: uk
 Re: Things Created to get better/ out of boredom
« Result #15 on Dec 18, 2009, 5:30pm »

My first test mixing 3D/2D screens together.

sub Screen2D()
glMatrixMode(GL_PROJECTION)
glLoadidentity()
gluOrTho2D(0, 100, 100, 0)
glMatrixMode(GL_MODELVIEW)
endsub

sub Screen3D()
glMatrixMode(GL_PROJECTION)
glLoadidentity()
gluPerspective(60, 1.3333, 0, 1000)
glMatrixMode(GL_MODELVIEW)
endsub
'******************************************************************************'

dim b#(1)
dim c#(1)=vec2(0, -20)
dim a, i
dim Health=100,MaxHealth=100
dim x, y
dim dx#, dy#

while TRUE
glClear(GL_COLOR_BUFFER_BIT or GL_DEPTH_BUFFER_BIT)

Screen3D()

if ScanKeyDown (VK_RIGHT) Then
a=(a+2)%361
elseif ScanKeyDown (VK_LEFT) Then
a=(a-2)%361
endif

b#=c#
if ScanKeyDown (VK_UP) Then
c#=c#+vec2(-sind(a), cosd(a))
elseif ScanKeyDown (VK_DOWN) Then
c#=c#+vec2(sind(a), -cosd(a))
endif

'Collision test
for y = 0 to 4
for x = 0 to 4
dx# = abs((-x * 5) - c#(0))
dy# = abs((y * 5) - c#(1))

if dx# <= 1 and dy# <= 1 then
c#=b#
endif
next
next

glLoadidentity()
glRotatef(a, 0, 1, 0)
glTranslatef(c#(0), 0, c#(1))

'3D scene
for y = 0 to 4
for x = 0 to 4
glBegin(GL_QUAD_STRIP)
for i = 0 to 360
glColor3f(0, (i/360.0), 1-(i/360.0))
glVertex3f((x*5) + cosd(i), 1, -(y*5) + sind(i))
glVertex3f((x*5) + cosd(i), -1, -(y*5) + sind(i))
next
glEnd()
next
next

Screen2D()

glLoadidentity()

'Gun arrow
glColor3f(1, 1, 1)
glBegin(GL_LINE_STRIP)
for i = 0 to 360
glVertex2f(50+cosd(i)*4,50+sind(i)*4)
next
glEnd()

glBegin(GL_POINTS)
glVertex2i(50,50)
glEnd()

glBegin(GL_QUAD_STRIP)
for x = 0 to MaxHealth
glColor3f(sind((x/100.0) * 90), cosd((x/100.0) * 90), 0)
glVertex2f((x/360.0)*100, 0)
glVertex2f((x/360.0)*100, 4)
next
glEnd()

Swapbuffers()
wend


- Nicky
Link to Post - Back to Top  IP: Logged


Result 16 of 20:
   [Search This Thread][Send Topic To Friend] [Print]
 AuthorTopic: Tile Map Editor Finished!!! (Read 64 times)
James :)[& Ellie<3]
Posts heaps :)
*****
member is offline

[avatar]

Sup



Joined: Mar 2006
Gender: Male
Posts: 1,725
Location: UK
 Re: Tile Map Editor Finished!!!
« Result #16 on Dec 18, 2009, 4:51pm »

im not sure if itll work but try adding a 5 milisecond sleep each time you write anything to the file. i know basic4gl sometimes quits midway if you send a lot of traffic down the network engine so im wondering if the filesystem falls foul of this as well.

if not must be a limitation or something but i cant see why you cant i know ive written files larger than that in basic4gl before, might just be memory as i used less variables as mine was a simple text based file transfer program.
« Last Edit: Dec 18, 2009, 4:53pm by James :)[& Ellie<3] »Link to Post - Back to Top  IP: Logged

- James

There are 10 types of people in the world: Those who understand binary, and those who don't...


Result 17 of 20:
   [Search This Thread][Send Topic To Friend] [Print]
 AuthorTopic: Create an OpenGL ring [solved] (Read 58 times)
Adam
Posts a bit
***
member is offline

[avatar]

[icq] [yim] [msn] [aim]

Joined: May 2008
Gender: Male
Posts: 235
 Re: Create an OpenGL ring [solved]
« Result #17 on Dec 18, 2009, 3:50pm »

if you want to make a perfect cube that doesn't lag... here
Code:
dim x, y
dim a#, b#, c#
dim r=glGenLists(1)

glEnable(GL_TEXTURE_2D)
glBindTexture(GL_TEXTURE_2D, LoadTex("Textures/00002.jpg"))

glNewList(r, GL_COMPILE)
glBegin (GL_QUADS)
glTexCoord2f(0.0, 0.0): glVertex3f(-0.5, -0.5, 0.5)
glTexCoord2f(1.0, 0.0): glVertex3f( 0.5, -0.5, 0.5)
glTexCoord2f(1.0, 1.0): glVertex3f( 0.5, 0.5, 0.5)
glTexCoord2f(0.0, 1.0): glVertex3f(-0.5, 0.5, 0.5)
glTexCoord2f(1.0, 0.0): glVertex3f(-0.5, -0.5, -0.5)
glTexCoord2f(1.0, 1.0): glVertex3f(-0.5, 0.5, -0.5)
glTexCoord2f(0.0, 1.0): glVertex3f( 0.5, 0.5, -0.5)
glTexCoord2f(0.0, 0.0): glVertex3f( 0.5, -0.5, -0.5)
glTexCoord2f(0.0, 1.0): glVertex3f(-0.5, 0.5, -0.5)
glTexCoord2f(0.0, 0.0): glVertex3f(-0.5, 0.5, 0.5)
glTexCoord2f(1.0, 0.0): glVertex3f( 0.5, 0.5, 0.5)
glTexCoord2f(1.0, 1.0): glVertex3f( 0.5, 0.5, -0.5)
glTexCoord2f(1.0, 1.0): glVertex3f(-0.5, -0.5, -0.5)
glTexCoord2f(0.0, 1.0): glVertex3f( 0.5, -0.5, -0.5)
glTexCoord2f(0.0, 0.0): glVertex3f( 0.5, -0.5, 0.5)
glTexCoord2f(1.0, 0.0): glVertex3f(-0.5, -0.5, 0.5)
glTexCoord2f(0.0, 0.0): glVertex3f(-0.5, -0.5, -0.5)
glTexCoord2f(1.0, 0.0): glVertex3f(-0.5, -0.5, 0.5)
glTexCoord2f(1.0, 1.0): glVertex3f(-0.5, 0.5, 0.5)
glTexCoord2f(0.0, 1.0): glVertex3f(-0.5, 0.5, -0.5)
glTexCoord2f(1.0, 0.0): glVertex3f( 0.5, -0.5, -0.5)
glTexCoord2f(1.0, 1.0): glVertex3f( 0.5, 0.5, -0.5)
glTexCoord2f(0.0, 1.0): glVertex3f( 0.5, 0.5, 0.5)
glTexCoord2f(0.0, 0.0): glVertex3f( 0.5, -0.5, 0.5)
glEnd ()
glEndList()

glTransLatef(0, 0, -10)
glscalef(5,5,5)

while TRUE
glClear(GL_COLOR_BUFFER_BIT or GL_DEPTH_BUFFER_BIT)
glRotatef(0.8, 0, 1, 0)
glRotatef(0.7, 1, 0, 0)
glCallList(r)
Swapbuffers()
wend
Link to Post - Back to Top  IP: Logged

Kill Joy Kill Joy II Blocky Random Programs


Result 18 of 20:
   [Search This Thread][Send Topic To Friend] [Print]
 AuthorTopic: Create an OpenGL ring [solved] (Read 58 times)
shadow008
Posts a lot
****
member is offline

[avatar]

NINJAS WITH GUITARS! (you will never be as awsome as this)



Joined: Feb 2009
Gender: Male
Posts: 376
 Re: Create an OpenGL ring [solved]
« Result #18 on Dec 18, 2009, 3:10pm »

prepare for epic lag!!!!!! :o :o :o :o :o

...have patience IT DOES RUN!... just takes a while

Code:
dim x, y
dim a#, b#, c#
dim r=glGenLists(1)

glEnable(GL_TEXTURE_2D)
glBindTexture(GL_TEXTURE_2D, LoadTex("Textures/00002.jpg"))

glNewList(r, GL_COMPILE)
glBegin(GL_QUAD_STRIP)
for x = 0 to 359
for y = 0 to 360
a#=cosd(pow(x,3))
b#=sind(pow(y,3))
c#=cosd(a#*b#)

glTexCoord2f(y/360.0, x/360.0)
glVertex3f(a#, b#, c#): x=x+1

a#=sind(pow(x,3))
b#=cosd(pow(y,3))
c#=sind(a#*b#)

glTexCoord2f(y/360.0, x/360.0)
glVertex3f(a#, b#, c#): x=x-1
next
next
glEnd()
glEndList()

glTransLatef(0, 0, -10)

while TRUE
glClear(GL_COLOR_BUFFER_BIT or GL_DEPTH_BUFFER_BIT)
glRotatef(0.8, 0, 1, 0)
glRotatef(0.7, 1, 0, 0)
glCallList(r)
Swapbuffers()
wend


obviously just messed around with nicky's code. Its a perfect cube!... or is it....
Link to Post - Back to Top  IP: Logged

OK

hint:
(look at it sideways)



Result 19 of 20:
   [Search This Thread][Send Topic To Friend] [Print]
 AuthorTopic: Test for your IE on VISTA and 7 (Read 81 times)
DJLinux
Global Moderator
*****
member is offline



\_/?



Joined: Apr 2008
Gender: Male
Posts: 486
Location: Germany NRW Essen
 Re: Test for your IE on VISTA and 7
« Result #19 on Dec 18, 2009, 12:37pm »

any problem with the online ver sion on vista and 7?

i need this short info

thank you

Joshy
Link to Post - Back to Top  IP: Logged

(sorry for my bad English)
I do not answer private messages asking for help because no one else can: benefit from advice I may give or correct me if I'm wrong.


Result 20 of 20:
   [Search This Thread][Send Topic To Friend] [Print]
 AuthorTopic: Tile Map Editor Finished!!! (Read 64 times)
shadow008
Posts a lot
****
member is offline

[avatar]

NINJAS WITH GUITARS! (you will never be as awsome as this)



Joined: Feb 2009
Gender: Male
Posts: 376
 Re: Tile Map Editor Finished!!!
« Result #20 on Dec 18, 2009, 12:15pm »

no feedback? :'(

and can someone PLEASE tell me why executables wont write a file more than 512 bytes?
Link to Post - Back to Top  IP: Logged

OK

hint:
(look at it sideways)




Google
Webbasic4gl.proboards.com
Click Here To Make This Board Ad-Free


This Board Hosted For FREE By ProBoards
Get Your Own Free Message Boards & Free Forums!