Qbasicnews.com
September 17, 2019, 05:14:04 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Back to Qbasicnews.com | QB Online Help | FAQ | Chat | All Basic Code | QB Knowledge Base
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: RoboRaider: 3D Test...  (Read 9507 times)
Rattrapmax6
__/--\__
*****
Posts: 2577



WWW
« on: July 02, 2005, 09:20:59 PM »

Here is a color model of the robot Scorpian from RoboRaider to test my motion engine in 3D (Previous 2D version on FBTK). It uses OpenGL:

Controls:
Foward.. (Q+O)
Left Track = Q
Right Track = O

BackWard.. (A+L)
Left Track = A
Right Track = L

Combine for different motion effects: e.i. Left-Right, 0deg turns, Quick Left-Right (Q+O>Q+A or Q+O>O+L (Foward)) :wink:

Note: It shouldn't go to fast, if you ever seen a R/C car zip around, that's what its suppose to look like.. Mind I mean hobby grade R/Cs..  :wink:

http://members.aol.com/rattrapmax6/fbfiles/robo.exe

Download Updated: 7/3/05: 10:30 GMT -5
Logged

Kevin (x.t.r.GRAPHICS)

TheBlueKeyboard
Wandering Guru
***
Posts: 334



« Reply #1 on: July 02, 2005, 09:41:10 PM »

Very nice.  Cool
Did you model the car yourself?
Logged

It's the difference between asking someone how much flour goes into pancakes, and handing them a sorry mix of oozing green goo and asking them to fix it." - Deleter

-Founder & President of the No More Religion Threads movement-
HeavyWater
New Member

Posts: 4


« Reply #2 on: July 02, 2005, 10:03:10 PM »

Nice game!
Logged

url=http://www.freewebs.com/networld/avl.gif][/url]
Rattrapmax6
__/--\__
*****
Posts: 2577



WWW
« Reply #3 on: July 02, 2005, 10:56:27 PM »

@ TBK: Its a robot, but yeah, I made it myself... I intend to add the color later..  :lol:

@ HeavyWater: Thanks..  :wink:
Logged

Kevin (x.t.r.GRAPHICS)

dumbledore
Ancient Guru
****
Posts: 520



WWW
« Reply #4 on: July 02, 2005, 11:03:37 PM »

most of the time the controls seemed to work well, but it wouldn't go backwards sometimes with a or l or a+l...
Logged

ttp://m0n573r.afraid.org/
Quote from: "HexDude"
quote: "<+whtiger> you... you don't know which way the earth spins?" ... see... stupidity leads to reverence, reverence to shakiness, shakiness to... the dark side
...phear
Anonymous
Guest
« Reply #5 on: July 02, 2005, 11:50:10 PM »

really cool ^.^
Logged
Dr_Davenstein
Na_th_an
*****
Posts: 2052


« Reply #6 on: July 03, 2005, 12:30:19 AM »

Cool!  Tongue

It's kinda choppy here though... Are you still using the same method to render your models?
Logged
Frobozz
Forum Regular
**
Posts: 145



WWW
« Reply #7 on: July 03, 2005, 12:50:38 AM »

It is also choppy for me - try adding display lists to see if it speeds up.

Code:
' Ask OpenGL for a display list
robolist = glGenLists(1)
' Check if created successfully
If glIsList(robolist) Then
  ' Put data in the list
  glNewList(robolist, GL_COMPILE)
    ' Vertex, normal, texture data
  glEndList()
End If

' Call the list during rendering
glCallList(robolist)

' Delete the display list (do at end of use of it)
glDeleteLists(robolist, 1)


Ah the benefit of having an OpenGL book at hand. Cheesy
Logged
relsoft
*/-\*
*****
Posts: 3927



WWW
« Reply #8 on: July 03, 2005, 03:54:26 AM »

Display list all the way!!!

It even performs way better than VBO's in newer cards.
Logged

y smiley is 24 bit.


Genso's Junkyard:
http://rel.betterwebber.com/
Rattrapmax6
__/--\__
*****
Posts: 2577



WWW
« Reply #9 on: July 03, 2005, 10:32:27 AM »

Smiley A display list is that simple? cool..

@ Dr_D: Yeah,. except I have it in a sub,.... and its zfar as 1000 so the robot has more room to play..  :lol: .. could that be your problem?, I think I remember you saying that to another coder about cutting distance....  :roll:  :wink:

@ dumbledore: It works when you press (A+L), then for left let off A, or right let off L... I would make it like how you operate foward, but for some reason it disables 0-Deg Turning...  Sad  :wink:
Logged

Kevin (x.t.r.GRAPHICS)

Rattrapmax6
__/--\__
*****
Posts: 2577



WWW
« Reply #10 on: July 03, 2005, 11:32:13 AM »

Download updated: Display list & Color added...  :wink:
Logged

Kevin (x.t.r.GRAPHICS)

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!