UB2D - 2D Physically Based Rendering Engine

Applications, Games, Tools, User libs and useful stuff coded in PureBasic
User avatar
STARGÅTE
Addict
Addict
Posts: 2067
Joined: Thu Jan 10, 2008 1:30 pm
Location: Germany, Glienicke
Contact:

Re: UB2D - 2D PBR Engine

Post by STARGÅTE »

We are very happy to present you a very first pre-alpha version of our 2D physically based rendering engine, which you can try by yourself.

In the download link below you will find the following things:
  • The UB2D library (UB2D_d.dll) as a in a 32-bit version with included engine debugger.
  • The UB2D library (UB2D.dll) as a in a 32-bit release version (without debugger).
  • The pure basic include file (UB2D.pbi) with all constants, structures and procedures loaded by OpenLibrary().
    This include automatically imports all functions from the respective DLL file depending on the mode (with or w/o debugger).
  • A folder with some examples and media files for the features of our engine.
  • The font editor (wich you probably knows from my Typeface module) in the tools folder.
Download: UB2D_PreAlpha_0026_2018-11-07.zip
Download: UB2D_PreAlpha_0027_2018-11-09.zip


ImageImage

Even if we haven't a complete documentation for all functions of our engine, we hope you will enjoy this pre-release of our engine.

We would be happy about any feedback from you.

Greetings STARGÅTE and Artus from UnionBytes
Last edited by STARGÅTE on Fri Nov 09, 2018 10:49 pm, edited 2 times in total.
PB 6.01 ― Win 10, 21H2 ― Ryzen 9 3900X, 32 GB ― NVIDIA GeForce RTX 3080 ― Vivaldi 6.0 ― www.unionbytes.de
Lizard - Script language for symbolic calculations and moreTypeface - Sprite-based font include/module
User avatar
IceSoft
Addict
Addict
Posts: 1616
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Re: UB2D - 2D Physically Based Rendering Engine

Post by IceSoft »

Code: Select all

 	; Display info text on the screen.
 	UB2D_DisplayText(0, 20, 20, "F1: Open Engine Control!", $FFFFFFFF) 	
 	UB2D_DisplayText(0, 20, 40, "Right mouse butten (RMB) + move mouse in x and y direction: Rotate mesh!", $FFFFFFFF)
Works not like shown on your screenshot (All text on the same line on my machine)
Belive!
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
Artus
Enthusiast
Enthusiast
Posts: 104
Joined: Wed Feb 25, 2009 10:29 pm
Location: Germany
Contact:

Re: UB2D - 2D Physically Based Rendering Engine

Post by Artus »

Hi IceSoft,

do you have a ATI or Intel graphic card?
The Problem is, wie dont have a ATI graphic card, so we test only on nvidia. Please give us some Information about your System, especially the graphic card.

After my experience with UBE, Nvidia is much more comfortable with error handling and is not that sensitive.

PS. Thans for the Bug report.
User avatar
IceSoft
Addict
Addict
Posts: 1616
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Re: UB2D - 2D Physically Based Rendering Engine

Post by IceSoft »

Artus wrote:... you have a ATI or Intel graphic card?
I having an Intel® UHD Grafik 630
Belive!
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
Artus
Enthusiast
Enthusiast
Posts: 104
Joined: Wed Feb 25, 2009 10:29 pm
Location: Germany
Contact:

Re: UB2D - 2D Physically Based Rendering Engine

Post by Artus »

Ok, unfortunately we can afford another system with ATI graphic card and intel GPU, so is hard for us to find the bug.
When im back from work, i will chek the code. Maybe i can guess the reason ^^
User avatar
IceSoft
Addict
Addict
Posts: 1616
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Re: UB2D - 2D Physically Based Rendering Engine

Post by IceSoft »

Artus wrote:When im back from work, i will chek the code. Maybe i can guess the reason ^^
Maybe you can send me a version which writing some logs (send me PM, I speak german too)
Belive!
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5342
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: UB2D - 2D Physically Based Rendering Engine

Post by Kwai chang caine »

Just for help and give feedback :wink:
Here, i have a black screen, with all the examples :|
Even after adding opennGL in compiler option
Surely my PC for enterprise and his little grafical card, is not enough powerfull :oops:
W7 x86 / v5.62 x86
ImageThe happiness is a road...
Not a destination
#NULL
Addict
Addict
Posts: 1440
Joined: Thu Aug 30, 2007 11:54 pm
Location: right here

Re: UB2D - 2D Physically Based Rendering Engine

Post by #NULL »

I'm on linux so can't test, but looks great. The GUI looks delicious :)
<edit>oh, that's blender?
Artus
Enthusiast
Enthusiast
Posts: 104
Joined: Wed Feb 25, 2009 10:29 pm
Location: Germany
Contact:

Re: UB2D - 2D Physically Based Rendering Engine

Post by Artus »

@Kwai chang caine
Which graphic card do you have? Does it support openGL 3.3?

@#NULL
Yes, it's Blender^^ this are the Blender export settings for OBJ and COLLADA.

@All :)
If you test it, please can you post it with the name of your graphic card, even if its function perfectly?
We want to make a table with all supported graphic cards.

Thanks to all
Greetings
User avatar
Paul
PureBasic Expert
PureBasic Expert
Posts: 1243
Joined: Fri Apr 25, 2003 4:34 pm
Location: Canada
Contact:

Re: UB2D - 2D Physically Based Rendering Engine

Post by Paul »

Intel HD Graphics 4600 ...

Image

Image

Image

Demos with multi lines of text were scrambled and no lighting effects.
Last edited by Paul on Fri Nov 09, 2018 5:16 am, edited 1 time in total.
Image Image
User avatar
Paul
PureBasic Expert
PureBasic Expert
Posts: 1243
Joined: Fri Apr 25, 2003 4:34 pm
Location: Canada
Contact:

Re: UB2D - 2D Physically Based Rendering Engine

Post by Paul »

nvidia GeForce 8400 GS ...

Image

Image looks better than the Intel Card but frame rate was 3 fps :(
All demos with text appeared fine and light effects were good, just unusable frame rate.
Image Image
User avatar
Lord
Addict
Addict
Posts: 847
Joined: Tue May 26, 2009 2:11 pm

Re: UB2D - 2D Physically Based Rendering Engine

Post by Lord »

Hi!

Nice work.

I tried the examples and all worked fine, no quirks observed.
Frame rate was 75 at example #9.
I've got an rather old sytem with NVIDIA GeForce GTX 640 (EVGA)
with a GigaByte board with Intel Core i5 760 an 16 GB RAM.

Edit: It's a GTX 460 not 640
Last edited by Lord on Sat Nov 10, 2018 10:46 am, edited 1 time in total.
Image
ccode
User
User
Posts: 99
Joined: Sat Jun 23, 2018 5:21 pm

Re: UB2D - 2D Physically Based Rendering Engine

Post by ccode »

Very nice,
but only 32bit and only for Windows.

Testing the GUI example often hangs up the entire program.

I usually do not get much more than 15 frames per second.
User avatar
N_Gnom
User
User
Posts: 76
Joined: Fri Sep 13, 2013 3:20 pm
Location: Germany

Re: UB2D - 2D Physically Based Rendering Engine

Post by N_Gnom »

Intel HD 5500
example 09 30FPS
example 11 45FPS

All examples runs fine

Not yet tested on my desktop...maybe later
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5342
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: UB2D - 2D Physically Based Rendering Engine

Post by Kwai chang caine »

Which graphic card do you have? Does it support openGL 3.3?
I don't know...but surely not, it's a notebook LENOVO for works :oops:
I have test your code in my home "Asus VIVO W10 X64 / v5.62 X86" , and that works fine 8)
It's splendid !!! :shock:
Thanks for sharing 8)
ImageThe happiness is a road...
Not a destination
Post Reply