BBC BASIC for Windows
« A pseudo-3D road! »

Welcome Guest. Please Login or Register.
Apr 5th, 2018, 11:08pm



ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018.
Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.

If you require a dump of the post on your message board, please come to the support board and request it.


Thank you Conforums members.

BBC BASIC for Windows Resources
Online BBC BASIC for Windows documentation
BBC BASIC for Windows Beginners' Tutorial
BBC BASIC Home Page
BBC BASIC on Rosetta Code
BBC BASIC discussion group
BBC BASIC for Windows Programmers' Reference

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: A pseudo-3D road!  (Read 391 times)
David Williams
Developer

member is offline

Avatar

meh


PM

Gender: Male
Posts: 452
xx A pseudo-3D road!
« Thread started on: Nov 7th, 2015, 10:28am »

Jeffrey Lee over at the 'RISC OS Open' forum recently put up some nice ARM BASIC code which renders an animated pseudo-3D road. I somewhat cheekily took the liberty of adapting it to BB4W (a quick job). Here's the compiled EXE:

http://www.proggies.uk/bb4w/road2.zip

The extraneous line visible at the bottom of the window is my fault, not Jeffrey's. I didn't spot it until after I uploaded the EXE.


EDIT: Faster version:

http://www.proggies.uk/bb4w/road3.zip


David.
--
« Last Edit: Nov 7th, 2015, 2:10pm by David Williams » User IP Logged

dfeugey
Guest
xx Re: A pseudo-3D road!
« Reply #1 on: Nov 7th, 2015, 6:34pm »

Works very well... Thanks.
User IP Logged

David Williams
Developer

member is offline

Avatar

meh


PM

Gender: Male
Posts: 452
xx Re: A pseudo-3D road!
« Reply #2 on: Nov 7th, 2015, 7:14pm »

on Nov 7th, 2015, 6:34pm, dfeugey wrote:
Works very well... Thanks.


Thanks, David. I've just tried Jeffrey's new version (where he's converted the original BASIC code into C, and made various optimizations), and I ran it under RPCEmu. Runs very impressively.

I'm happy to admit that my polygon plotter (coded in C rather than ASM), as used in road3.exe, is very inefficient but it just about does the job.


David.
--
User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls