BBC BASIC for Windows
« B3D files »

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



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: B3D files  (Read 274 times)
michael
Senior Member
ImageImageImageImage


member is offline

Avatar




PM


Posts: 335
question B3D files
« Thread started on: Mar 9th, 2016, 01:18am »

I noticed that the source files with BBC basic has B3D files.. Is there a OBJ converter so I can stay with Hexagon 3D or have you been using another way to make them?
« Last Edit: Mar 9th, 2016, 01:46am by michael » User IP Logged

I like making program generators and like reinventing the wheel
sveinioslo
Developer

member is offline

Avatar




PM


Posts: 64
question Re: B3D files
« Reply #1 on: Mar 9th, 2016, 1:38pm »

Quote:
or have you been using another way to make them?

There is an example on how they are made, in the manual under Library Routines/Direct3D graphics/FN_f4.

Code:
F% = OPENOUT"TRIANGLE.B3D"
PROC4(3):REM 3 vertices
PROC4(&100042):REM vertex size &10 and format &42
PROC4(FN_f4(-1.0)):PROC4(FN_f4(-1.0)):PROC4(FN_f4(1.0)):PROC4(&FF0000FF)
PROC4(FN_f4(1.0)):PROC4(FN_f4(-1.0)):PROC4(FN_f4(1.0)):PROC4(&FF00FF00)
PROC4(FN_f4(0.0)):PROC4(FN_f4(1.0)):PROC4(FN_f4(0.0)):PROC4(&FFFF0000)
CLOSE #F%
DEF PROC4(A%):BPUT#F%,A%:BPUT#F%,A%>>8:BPUT#F%,A%>>16:BPUT#F%,A%>>24:ENDPROC
 


Svein
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