September 23, 2019, 03:10:30 PM

Author Topic: fixing improving Blitz3d  (Read 674 times)

Offline RemiD

  • Hero Member
  • *****
  • Posts: 852
fixing improving Blitz3d
« on: August 11, 2019, 12:31:18 PM »
hi :)

i have some money to spend, so why not fix / improve the good old Blitz3d... That i will probably continue to use for many many many years ( i still use windows 7 :P )

from what i remember of my past experiments, i needed these fixes / mods :

->remove direct play dependency
->merge the addons by Bobysait (to create bones, to create skinned vertices, to set weights)
->separate the collisions system and the animation system ( updateworld()  -> updateanimations() updatecollisions() )
->separate animation system (update of skinned vertices depending on bones positions / orientations) and renderworld()
->be able to get the rigid mesh after a skinned mesh has been animated
->simplify the procedure / functions to be able to merge different riggs (bones) / skinned meshes / weights
->mod the stencil shadows system (devil shadow system) to make it work with rigid meshes and skinned meshes
->remove / increase the limit of vertices / triangles per surface (32000 ? 64000 ?)
->be able to customize the properties of a directx light (color, intensity, falloff, max range)
->render to texture and auto set each rendered black pixels with a alpha value of 0
->texture blendmode similar to drawimage (all black pixels are invisible)
->implement a fast glow (with 8 directions offsets for the outline)
->fix linepick which sometimes fails on terrain (ROAM)
->be able to update or not the terrain (ROAM)
->be able to get the built terrain mesh (ROAM)
->rename some functions names to make them more meaningful

so for the remaining users, what are your suggestions of fixes / mods ?

the base will still be directx7, i just want to make it even more easy to use and flawless.
DualCore AMD E-450, 1646 MHz - 6 Go DDR3 1333 SDRAM - AMD Radeon HD 6320 Graphics (384 Mo) - Windows 7 Home Premium - DirectX 11.0

Offline Santiago

  • Jr. Member
  • **
  • Posts: 48
  • Blitz3d
    • Indiesoft
Re: fixing improving Blitz3d
« Reply #1 on: August 12, 2019, 03:24:49 PM »
Hi RemiD, I am in the same situation.

I still use B3d, and Windows7, I will continue using it for many years, because that is what works for me.

I currently do some work for museums, and I always use b3d, since it is 100% stable and I can use low-performance PCs to run the games.

I don't know how much money it would take to develop a Blitz that has dx9 or dx11, it would be ideal to have Shaders, itineraries to generate soft-mesh.

My biggest problem now is that with the Naval Simulator, with Laptops + Windows 10, it runs very slow b3d, and there are several MAVs that I can't replicate on my computers.

Some things, I solved them by creating my own functions, but everything you mention, and many other things, I suppose only a genius could achieve them.

but without a doubt, if I left a Blitz with dx11 or something, I would happily put money that I don't have to be able to use it.

regards!!!!

Offline Naughty Alien

  • Hero Member
  • *****
  • Posts: 630
Re: fixing improving Blitz3d
« Reply #2 on: August 12, 2019, 03:32:52 PM »
Hi RemiD, I am in the same situation.

I still use B3d, and Windows7, I will continue using it for many years, because that is what works for me.

I currently do some work for museums, and I always use b3d, since it is 100% stable and I can use low-performance PCs to run the games.

I don't know how much money it would take to develop a Blitz that has dx9 or dx11, it would be ideal to have Shaders, itineraries to generate soft-mesh.

My biggest problem now is that with the Naval Simulator, with Laptops + Windows 10, it runs very slow b3d, and there are several MAVs that I can't replicate on my computers.

Some things, I solved them by creating my own functions, but everything you mention, and many other things, I suppose only a genius could achieve them.

but without a doubt, if I left a Blitz with dx11 or something, I would happily put money that I don't have to be able to use it.

regards!!!!

Then you are looking no further than NB..its basically abandoned as B3D(except its not released in same way as B3D), but its very stable system, dx9/11 powered and very very fast on both low and high end hardware, while syntax is almost identical to B3D

Offline Santiago

  • Jr. Member
  • **
  • Posts: 48
  • Blitz3d
    • Indiesoft
Re: fixing improving Blitz3d
« Reply #3 on: August 12, 2019, 04:24:19 PM »
:) NB?

Sounds good! But I can't find it on Google, what does NB mean? Sometimes I feel like I'm coming from another planet, sorry for my ignorance.

saludos!

Offline Santiago

  • Jr. Member
  • **
  • Posts: 48
  • Blitz3d
    • Indiesoft
Re: fixing improving Blitz3d
« Reply #4 on: August 12, 2019, 04:36:38 PM »
i respond to my self. NB = Nuclear Basic :) i found it!! :) thanks

Offline RemiD

  • Hero Member
  • *****
  • Posts: 852
Re: fixing improving Blitz3d
« Reply #5 on: August 12, 2019, 07:31:24 PM »
Quote
and there are several MAVs that I can't replicate on my computers.
this is most likely due to too many rendered vertices / triangles in a surface, but apparently the limit that blitz3d has is not necessary, and was set to increase compatibility with old computers. but i plan to remove this limit (if it is not a directx 7 limit)...
DualCore AMD E-450, 1646 MHz - 6 Go DDR3 1333 SDRAM - AMD Radeon HD 6320 Graphics (384 Mo) - Windows 7 Home Premium - DirectX 11.0

Offline grindalf

  • Jr. Member
  • **
  • Posts: 75
Re: fixing improving Blitz3d
« Reply #6 on: August 14, 2019, 08:50:22 AM »
You should check out Blitz3D-NG. I know Kevin removed dependency on DirectPlay Im not sure if he crossed off any others on your list there but its a good place to start.

Offline STEVIE G

  • Sr. Member
  • ****
  • Posts: 307
Re: fixing improving Blitz3d
« Reply #7 on: August 14, 2019, 05:13:32 PM »
Quote
and there are several MAVs that I can't replicate on my computers.
this is most likely due to too many rendered vertices / triangles in a surface, but apparently the limit that blitz3d has is not necessary, and was set to increase compatibility with old computers. but i plan to remove this limit (if it is not a directx 7 limit)...

I'm pretty sure this was a DX7 limitation so you would expect a MAV on all machines.  One thing which can cause a MAV on some machines but not others is trying to write to or read from a texture/image outwith the image size.

Offline RemiD

  • Hero Member
  • *****
  • Posts: 852
Re: fixing improving Blitz3d
« Reply #8 on: August 14, 2019, 07:47:10 PM »
or another cause of a MAV is trying to do something with an entity / pivot / mesh / surface which does not exist anymore (so an error in your code)
DualCore AMD E-450, 1646 MHz - 6 Go DDR3 1333 SDRAM - AMD Radeon HD 6320 Graphics (384 Mo) - Windows 7 Home Premium - DirectX 11.0

Offline RemiD

  • Hero Member
  • *****
  • Posts: 852
Re: fixing improving Blitz3d
« Reply #9 on: August 14, 2019, 07:52:54 PM »
about Blitz3d-NG, the goal of kfprimm is apparently to make it cross platform and more modern (quite a quest !), i just want to fix a few bugs and add some useful functionalities, but i don't plan to rewrite the whole thing...

and honestly i don't know if i will do it, because my motivation to make games is very low these days...
DualCore AMD E-450, 1646 MHz - 6 Go DDR3 1333 SDRAM - AMD Radeon HD 6320 Graphics (384 Mo) - Windows 7 Home Premium - DirectX 11.0

Offline grindalf

  • Jr. Member
  • **
  • Posts: 75
Re: fixing improving Blitz3d
« Reply #10 on: August 15, 2019, 08:57:33 AM »
Oh and it also appears as if Kevin got rid of the NaN object bug as that was causing me some problems until I switched across to NG

Offline Omnicode

  • Jr. Member
  • **
  • Posts: 1
Re: fixing improving Blitz3d
« Reply #11 on: September 09, 2019, 08:56:23 PM »
Hello,
I managed to find this site after all this time since the official Blitz site went down. With regards to improving B3D, should someone want to contribute or need explanation of how to change the application/exe could this info be provided? I've always wanted to hunker down and add some unique functionality to my programs while still utilizing B3D.

Offline RemiD

  • Hero Member
  • *****
  • Posts: 852
Re: fixing improving Blitz3d
« Reply #12 on: September 12, 2019, 08:43:49 PM »
@omnicode>>bobysait did it, to add a few functionalities to blitz3d (create bones, create skinned vertices + set influences)
you can find some explanations about the necessary files here :
http://mojolabs.nz/posts.php?topic=105408 (#60, #61, #62)
https://github.com/blitz-research/blitz3d

however, after a first test, when i try to compile the source code of blitz3d in a exe, there are many errors (some apprently due to the use of external libs, some i don't know)

good luck
DualCore AMD E-450, 1646 MHz - 6 Go DDR3 1333 SDRAM - AMD Radeon HD 6320 Graphics (384 Mo) - Windows 7 Home Premium - DirectX 11.0

Offline MikeHart

  • Hero Member
  • *****
  • Posts: 599
Re: fixing improving Blitz3d
« Reply #13 on: September 12, 2019, 09:24:36 PM »

however, after a first test, when i try to compile the source code of blitz3d in a exe, there are many errors (some apprently due to the use of external libs, some i don't know)

good luck


the latest github release from BRL (For MSVC 2010 and later) compiles without a problem for me.

Offline 3DzForMe

  • Hero Member
  • *****
  • Posts: 655
Re: fixing improving Blitz3d
« Reply #14 on: September 13, 2019, 07:36:59 AM »
Quote
the latest github release from BRL (For MSVC 2010 and later) compiles without a problem for me.

Blitz3D:  You just can't keep a good programming language down.

Although I confess..... I'm tempted by Python, dipped my toe into Unity, Nuclear Basic also sounds appealing. Oh and there is AGK as well - just need a lottery win to get my head around all these creation tools.