Search found 17 matches

by MrBean
Thu Feb 17, 2022 5:47 am
Forum: Off Topic
Topic: browser for Windows XP.
Replies: 12
Views: 2810

Re: browser for Windows XP.

this browser MyPal works well with XP in youtube and facebook. except this site https://www.bbc.com
and like all other browsers on XP it can't run the videos from that site and gives an error msg:
(( This player no longer works properly on your device. you need to update your browser or device to ...
by MrBean
Sat Jan 22, 2022 6:04 am
Forum: Tricks 'n' Tips
Topic: OpenB3D 3D DLL framework include file for PureBasic
Replies: 25
Views: 16026

Re: OpenB3D 3D DLL framework include file for PureBasic

the ability to use many graphics engines denote the richness of purebasic and does not lower the value of its own engine, many people are using Ogre3D for their commercial projects.
it means that the enthusiasts are happy to create something for the purebasic. if purebasic is a trivial project no ...
by MrBean
Fri Jan 21, 2022 2:57 pm
Forum: Tricks 'n' Tips
Topic: OpenB3D 3D DLL framework include file for PureBasic
Replies: 25
Views: 16026

Re: OpenB3D 3D DLL framework include file for PureBasic

Thank you [blendman] for the examples
all the examples run nicely. the nice animation and the model viewer
by MrBean
Fri Jan 21, 2022 8:52 am
Forum: Tricks 'n' Tips
Topic: OpenB3D 3D DLL framework include file for PureBasic
Replies: 25
Views: 16026

Re: OpenB3D 3D DLL framework include file for PureBasic

Thanks for the Graphics engine,
i have tried your demo at the bottom of the include file, with a cube
IncludeFile "openb3d.pb"
; === DEMO ===
#MAIN_WINDOW = 0
#OPENGL_SCREEN = 0
#PREVIEW_SIZE = 400
#Menu_Event_CloseWindow = 0

OpenWindow( #MAIN_WINDOW, 0, 0, #PREVIEW_SIZE, #PREVIEW_SIZE, "Test ...
by MrBean
Tue Dec 21, 2021 10:11 am
Forum: 3D Programming
Topic: Camera range
Replies: 4
Views: 2482

Re: Camera range

the above example should have FlipBuffers() after RenderWorld()
else nothing will display if we choose opengl as a subsystem
what works is:
#PB_Shadow_TextureAdditive and #PB_Shadow_TextureModulative
by MrBean
Sat Dec 18, 2021 2:01 pm
Forum: 3D Programming
Topic: Camera range
Replies: 4
Views: 2482

Re: Camera range

the same for me CameraRange does not work with shadow
this is reported here:
https://www.purebasic.fr/english/viewtopic.php?t=59876
by MrBean
Fri Nov 26, 2021 8:03 am
Forum: 3D Programming
Topic: Simple 3D Software Renderer for starters
Replies: 17
Views: 7802

Re: Simple 3D for starters?

jamirokwai what is the "bare metal" ? a graphics engine ?, can't find it with google.
regarding the book "PC Underground" it is may be this one:
https://archive.org/details/pcundergroundunc0000unse/mode/2up
can be viewed for one hour every time but after registering and installing the free "Adobe ...
by MrBean
Tue Oct 26, 2021 3:50 pm
Forum: 3D Programming
Topic: Camera movement - Walking on a plane
Replies: 5
Views: 4003

Re: Camera movement - Walking on a plane

this is a general roaming method using the keyboard and mouse as used in BillboardGrass.pb example .
Define.f KeyX, KeyY, MouseX, MouseY
#CameraSpeed = 0.5

InitEngine3D()
InitSprite()
InitKeyboard()
InitMouse()

OpenWindow(0, 0, 0, 800, 600, " scene", #PB_Window_SystemMenu|#PB_Window ...
by MrBean
Tue Oct 26, 2021 12:55 pm
Forum: 3D Programming
Topic: Camera movement - Walking on a plane
Replies: 5
Views: 4003

Re: Camera movement - Walking on a plane

i have found this example on my hard drive, don't know who create it originally.
here the camera follow the cube. you can hide the cube by the code:
HideEntity(Player, #True)
while the camera still follow the hidden cube
to let the camera higher a little change line 95
CameraFollow(...... EntityY ...
by MrBean
Thu Oct 07, 2021 11:06 am
Forum: 3D Programming
Topic: [ Ogre3D ] how can i make glass ?
Replies: 5
Views: 4543

Re: [ Ogre3D ] how can i make glass ?

@skinkairewalker
there is an example CreateTextureAlpha.pb in PB 3D examples, it display a transparent blue cube, using alpha and blend method.
here is a reproduction of mpz Opengl cube posted here https://www.purebasic.fr/english/viewtopic.php?f=36&t=78021 in PB Ogre code
i have used the same mpz ...
by MrBean
Sat Aug 28, 2021 4:27 pm
Forum: Off Topic
Topic: What is the best free basic compiler ?
Replies: 25
Views: 19596

Re: What is the best free basic compiler ?

decimal basic from japan, old style basic with IDE, but not completely compatible with MS basic
http://hp.vector.co.jp/authors/VA008683/english/
by MrBean
Mon Aug 09, 2021 9:30 am
Forum: 3D Programming
Topic: Demo 3D - mountains v2
Replies: 11
Views: 8747

Re: Demo 3D - mountains v2

extremely nice demos, thank you
i suggest to the users to replace line 644
Add3DArchive(#PB_Compiler_Home + "Examples\3D\Data\Scripts\MaterialScriptsGeneric", #PB_3DArchive_FileSystem )
with this one
Add3DArchive(".", #PB_3DArchive_FileSystem )
and then copy the shaders (the files in montagnes.zip ...
by MrBean
Sun Mar 28, 2021 9:07 am
Forum: 3D Programming
Topic: OGRE EXCEPTION(3:RenderingAPIException)
Replies: 4
Views: 4533

Re: OGRE EXCEPTION(3:RenderingAPIException)

since there is OgreD3D9Device.cpp in the error msg, then i guess you have compiled the code with the default context (DX9) . so try compiling with Opengl context. add the word opengl in the Compiler - Compiler Options - Library Subsystem
and see what will happen
by MrBean
Mon Jan 25, 2021 2:29 pm
Forum: 3D Programming
Topic: draw a 3D arc
Replies: 14
Views: 4762

Re: draw a 3D arc

@juergenkulow
change the Dim in line 15 to
Global Dim Points3D.PointsXYZ(2)
and replace the CircleData() Procedure as in the following
here is the full modified code, but note to view the rotation better make the universe bigger by changing glOrtho... to glOrtho_(-2,2,-2,2,-2,2)
Declare CircleData ...
by MrBean
Mon Jan 25, 2021 9:42 am
Forum: 3D Programming
Topic: draw a 3D arc
Replies: 14
Views: 4762

Re: draw a 3D arc

the most hard part for me is to get the coordinates of the multiple points which constitute the Arc
if we know these points, then it is easy to draw these points and to rotate them using the opengl function glDrawArrays_ . this function operates over a structured array filled with the Arc (or ...