Search found 1346 matches

by applePi
Tue May 26, 2020 1:06 pm
Forum: 3D Programming
Topic: texturing a model?
Replies: 15
Views: 13214

Re: texturing a model?

@pdwyer , you are converting STL files to Ogre mesh, but STL files does not have texture mapping info (u,v) by specifications look here:
https://blender.stackexchange.com/questions/63784/how-to-attach-a-texture-to-an-imported-stl-file
The STL file format doesn't support textures, its a geometry ...
by applePi
Sun Apr 05, 2020 10:15 am
Forum: Off Topic
Topic: How to see the world without leaving your home
Replies: 6
Views: 3037

How to see the world without leaving your home

while you are inside the Quarantine you can watch these "Live" scenes from all over the world
https://www.bbc.com/news/world-52096529
by applePi
Sun Apr 05, 2020 10:14 am
Forum: Off Topic
Topic: Genomic sequences matches
Replies: 20
Views: 7111

Re: Genomic sequences matches

very nice video, thanks. yes exactly, i was young and trying to make experiments with high voltage, those high voltage generators have very low amperes (a few micro amperes) it is annoying but does not kill with some precautions.
by applePi
Sat Apr 04, 2020 10:07 am
Forum: Off Topic
Topic: Genomic sequences matches
Replies: 20
Views: 7111

Re: Genomic sequences matches

Olliv , i thought of this because someday i touch the ball of high voltage Generator (something like the hair of this woman (6m1s) touching the high voltage Generator in a comedy show
https://www.youtube.com/watch?v=zB0xNrsEIqU&t=6m1s )
i then have a bad sense, not comfortable, because of the ...
by applePi
Sat Apr 04, 2020 7:07 am
Forum: Off Topic
Topic: Genomic sequences matches
Replies: 20
Views: 7111

Re: Genomic sequences matches

china researchers have used high voltage with very little ampere to stop African swine fever caused by a virus. the conclusion: It led the team to hypothesise that the electric field had caused a change in the environment that prevented the virus thriving .
https://www.scmp.com/news/china/science ...
by applePi
Thu Apr 02, 2020 1:11 pm
Forum: 3D Programming
Topic: Demo 3D - Ocean v1.5
Replies: 11
Views: 6225

Re: Demo 3D - Ocean v1.5

@Justin , in line 599 change MoveCamera (0, KeyX, 0, keyz) to
MoveCamera(0, KeyX/3, 0, keyz/3) . any other values will be slower
by applePi
Wed Apr 01, 2020 6:57 am
Forum: 3D Programming
Topic: Physics - Speedboat
Replies: 3
Views: 3946

Re: Physics - Speedboat

Thank you pf shadoko, nice and exceptional example, the ocean seems real
by applePi
Wed Mar 18, 2020 10:34 am
Forum: Off Topic
Topic: The Corona Pandemic (COVID-19)
Replies: 25
Views: 8459

Re: The Corona Pandemic (COVID-19)

Coronavirus Fear : Hairdressers Use Sticks To Serve Customers
https://www.youtube.com/watch?v=pyelx99_zFs
by applePi
Thu Mar 12, 2020 1:44 pm
Forum: 3D Programming
Topic: Undocumented function EntityMesh()
Replies: 5
Views: 4314

Re: Undocumented function EntityMesh()

Hi DK_PETER
i believe it is a forgotten not working function, should be removed
we can replace it with something like this in your above code
If KeyboardReleased(#PB_Key_F1)
;EntityMesh(0, MeshID(1))
FreeEntity(0)
CreateEntity(0, MeshID(1), MaterialID(0), 0, 0, 0) ;
Debug "Swap mesh in entity ...
by applePi
Wed Mar 11, 2020 11:49 am
Forum: 3D Programming
Topic: Multiple ViewPorts in the same OpenGL window
Replies: 5
Views: 6417

Re: Multiple ViewPorts in the same OpenGL window

Thanks DK_PETER and Fred
this is a nice and short solution, it works fine in v5.62 and v5.46 .
Edit: works also with v5.70 LTS, but not 5.71 and up
by applePi
Tue Mar 10, 2020 4:15 pm
Forum: 3D Programming
Topic: Multiple ViewPorts in the same OpenGL window
Replies: 5
Views: 6417

Re: Multiple ViewPorts in the same OpenGL window

i want to try the Multiple ViewPorts with PB Ogre
adapted from Camera.pb example, all the 4 cameras here are showing the same scene, ie the Robot and the Barrel,
but is it possible to draw different scene with every camera such as the camera 1: robot only
camera 2 the barrel only ...etc ...
by applePi
Thu Mar 05, 2020 3:18 pm
Forum: 3D Programming
Topic: Request: CreateGearwheel()
Replies: 8
Views: 3844

Re: Request: CreateGearwheel()

Nice Gears, the two versions is nice, much better than using ready to use models.
just a note about the collisions with gears teeth
the Genuine gear (ie made with CreateGearwheel()) can pass forces to another genuine gear through using a compound entity (#PB_Entity_CompoundBody), but not directly ...
by applePi
Sat Feb 29, 2020 6:28 am
Forum: 3D Programming
Topic: Landscape v5
Replies: 30
Views: 13989

Re: Landscape v5

This is like uncrackable cipher, how this beauty come out from the code !!
Thanks for sharing
@kurzer, you can install DX9 without destroying your DX11 , install this 95MB:
http://download.microsoft.com/download/8/4/A/84A35BF1-DAFE-4AE8-82AF-AD2AE20B6B14/directx_Jun2010_redist.exe
for any reason ...
by applePi
Thu Feb 27, 2020 10:01 am
Forum: 3D Programming
Topic: Multiple ViewPorts in the same OpenGL window
Replies: 5
Views: 6417

Re: Multiple ViewPorts in the same OpenGL window

i have searched for how to pass a structured arrays to a procedure and find this solution:
https://www.purebasic.fr/english/viewtopic.php?f=13&t=46687#p355058
so the following is a better solution when using glDrawArray to display 4 viewports
we prepare 4 vertex arrays
Global Dim vertex.Point3D(0 ...
by applePi
Wed Feb 26, 2020 2:13 pm
Forum: 3D Programming
Topic: Multiple ViewPorts in the same OpenGL window
Replies: 5
Views: 6417

Multiple ViewPorts in the same OpenGL window

and every viewport have its own color
the gluOrtho2D_(-10, 10, -10, 10) projects the tiny real values to a viewport, here the coordinates will look as Cartesian coordinates (the 0,0 is at the center)
gluOrtho2D_(0, 10, 0, 10) here the (0,0) will be at the bottom Left of every viewport
https://i ...