What is the simplest way to . . . . . .
-
- User
- Posts: 14
- Joined: Sat Jan 06, 2018 4:54 am
- Location: Saint George, Utah
- Contact:
What is the simplest way to . . . . . .
I'm NOT sure if I asked this question before, what is the simplest way to create a 3D screen, & create a cube, sphere, cone, or any simple object in the 3D screen? Please help?
Re: What is the simplest way to . . . . . .
Open the reference manual (F1 - help) and read the 3D Games & Multimedia Libraries topic.
additionally read
the 3D Programming forum.
additionally read
the 3D Programming forum.
Re: What is the simplest way to . . . . . .
Check out Stargate's Drawing3D samples (ZIP) on the German PureBoard...
http://www.purebasic.fr/german/viewtopi ... 58#p269258
http://www.purebasic.fr/german/viewtopi ... 58#p269258
- It was too lonely at the top.
System : PB 6.10 LTS (x64) and Win Pro 11 (x64)
Hardware: AMD Ryzen 9 5900X w/64 gigs Ram, AMD RX 6950 XT Graphics w/16gigs Mem
System : PB 6.10 LTS (x64) and Win Pro 11 (x64)
Hardware: AMD Ryzen 9 5900X w/64 gigs Ram, AMD RX 6950 XT Graphics w/16gigs Mem
Re: What is the simplest way to . . . . . .
Simple..like this?
Code: Select all
InitEngine3D() : InitSprite()
OpenWindow(0, 0, 0, 1024, 768, "Small", #PB_Window_ScreenCentered|#PB_Window_SystemMenu)
OpenWindowedScreen(WindowID(0), 0, 0, 1024, 768)
CreateCamera(0, 0, 0, 100, 100)
CreateCone(0, 1, 1)
CreateEntity(0, MeshID(0), #PB_Material_None, 0, 0, -8)
Repeat
RotateEntity(0, 0.4, 0.5, 0.6, #PB_Relative)
RenderWorld()
FlipBuffers()
Until WindowEvent() = #PB_Event_CloseWindow
Current configurations:
Ubuntu 20.04/64 bit - Window 10 64 bit
Intel 6800K, GeForce Gtx 1060, 32 gb ram.
Amd Ryzen 9 5950X, GeForce 3070, 128 gb ram.
Ubuntu 20.04/64 bit - Window 10 64 bit
Intel 6800K, GeForce Gtx 1060, 32 gb ram.
Amd Ryzen 9 5950X, GeForce 3070, 128 gb ram.