|
Post by n00b on Dec 31, 2022 23:57:12 GMT -6
This is a tech demo demonstrating importing and rendering 3D models in RCBasic using a 3D engine I made over the past week. Note: Requires 3.19 or higher Controls: W,A,S,D - move around ARROW Keys - Rotate Camera R, F - Move the squid model up and down calamity3D_demo.zip (1004.93 KB)
|
|
|
Post by johnno56 on Jan 1, 2023 4:49:59 GMT -6
Extracted Calamity 3D into its own folder. Executed calamity_demo.bas
|
|
|
Post by n00b on Jan 1, 2023 7:12:14 GMT -6
You need to use 3.19
|
|
|
Post by johnno56 on Jan 1, 2023 16:44:19 GMT -6
Downloaded, extracted and installed 3.19rc3 successfully. Different error this time.
|
|
|
Post by n00b on Jan 1, 2023 17:14:40 GMT -6
What distro are you running?
|
|
|
Post by n00b on Jan 1, 2023 17:46:03 GMT -6
Check the itch.io page. I uploaded a second linux build of 3.19 called Johnno Edition. It should work on a slightly older distro.
|
|
|
Post by johnno56 on Jan 1, 2023 18:10:22 GMT -6
Running 64 bit Linux Mint 20.3... I cannot use LM21 yet as the compiler has not 'caught up' with RC... lol
Anyway... Using the 'JE' version created the same error message...
Which Linux distro do you normally use to test RCB? I may have to look at 'changing brands'... lol
Before I forget... HAPPY NEW YEAR!!!
|
|
|
Post by n00b on Jan 1, 2023 18:39:58 GMT -6
Hey Johnno, I responded to your message on it
|
|
|
Post by n00b on Jan 1, 2023 18:43:35 GMT -6
Also, try running it in studio. You can run a file in studio by pressing F10 or selecting "Build and Run Current File" from the build menu.
|
|
|
Post by johnno56 on Jan 1, 2023 21:09:36 GMT -6
Getting closer... Running via "Studio" (F10)... My next attempt will be on a "fresh" Ubuntu 22.04.1 install....
|
|
|
Post by n00b on Jan 1, 2023 21:44:15 GMT -6
If you are using 22.04 then just use the regular linux version instead of the JE version. It was built to run on modern distros.
|
|
|
Post by johnno56 on Jan 1, 2023 23:52:15 GMT -6
Rcbasic and Geany installed on U22.04. Downloaded and extracted Calamity into its own folder. Configured Geany for Compile and Execution. Ran the Demo but failed. Problem stemmed from a lack of sdl2 libraries within U22.04
Installed:
libsdl2-image-2.0-0 libsdl2-gfx-1.0-0 libsdl2-ttf-2.0-0 libsdl2-mixer-2.0-0 libsdl2-net-2.0-0
Once installed, Calamity Demo, ran very well. Even on the old laptop (10 years old). FPS of 24-25 when viewing objects and up to 37FPS when viewing just 'sky'...
My next test will be using LM21.1 ... as soon as I download it .... fingers crossed
|
|
|
Post by johnno56 on Jan 2, 2023 1:02:49 GMT -6
Update:
Installation of LM21.1; Geany and Calamity 3D was successful. LM21.1, like U22.04, required the sdl2 libraries. Installed.
Calamity Demo ran without error via Geany. Performance was slightly slower (21 FPS) than U22.04 (24 FPS)
I still have Lubuntu 22.04 and Xubuntu 22.04 to test. These will be primarily to test performance on an old laptop.
J
|
|
|
Post by n00b on Jan 2, 2023 8:33:48 GMT -6
I am glad you got it to work. It's only gets about 45 fps on my machine as well.
There is no occlusion culling so it draws all faces within a certain depth range of the camera.
It's not all that impressive but you could probably make a game like starfox without taking a huge performance hit.
|
|
|
Post by tbird on Jan 4, 2023 18:04:54 GMT -6
I think its pretty awesome, as I wouldn't be able to do it. Cool demo.
|
|