Search found 267 matches

by pf shadoko
Sun Apr 14, 2024 10:22 pm
Forum: 3D Programming
Topic: My machine OGRE texture rotation problem ...
Replies: 1
Views: 153

Re: My machine OGRE texture rotation problem ...

I'm not sure I understand is this what you want? InitEngine3D():InitSprite():InitKeyboard():InitMouse() ExamineDesktops() OpenWindow(0, 0,0, DesktopWidth(0)*0.8,DesktopHeight(0)*0.8, "CreateShader - [Esc] quit",#PB_Window_ScreenCentered) OpenWindowedScreen(WindowID(0), 0, 0, WindowWidth(0)...
by pf shadoko
Tue Apr 02, 2024 7:49 pm
Forum: 3D Programming
Topic: Physics - Airplane
Replies: 28
Views: 6554

Re: Physics - Airplane

It works with several PB versions

did you search for "engine3D.dll" files on your computer ?
by pf shadoko
Tue Apr 02, 2024 7:09 pm
Forum: 3D Programming
Topic: Physics - Airplane
Replies: 28
Views: 6554

Re: Physics - Airplane

@Michel Vogel
it's just a technical demo, I didn't try to make something pretty!

@Psychophanta
don't you think it'd be easier to fix your problem than to adapt all the 3D code just for you?
did you search for "engine3D.dll" files on your computer ?
by pf shadoko
Tue Apr 02, 2024 2:01 pm
Forum: 3D Programming
Topic: Physics - Airplane
Replies: 28
Views: 6554

Re: Physics - Airplane

@Psychophanta as I've already told you, it seems to me that it is clear, InitEngine3D loads an old DLL search for "engine3D.dll" on your computer, and see if you have an old version maybe in the folder where unsaved code is executed (look in the preferences) you can also try saving the cod...
by pf shadoko
Thu Mar 28, 2024 7:54 pm
Forum: 3D Programming
Topic: Ocean v2 (shader OpenGL)
Replies: 24
Views: 7934

Re: Ocean v2 (shader OpenGL)

[EDIT 28/03/24]
adapted for PB6 (no scripting required, shaders are created in code)
by pf shadoko
Thu Mar 28, 2024 7:51 pm
Forum: 3D Programming
Topic: Demo 3d - Ocean
Replies: 38
Views: 15082

Re: Demo 3d - Ocean

effectively
I updated the code for v2
now it should be ok
by pf shadoko
Thu Mar 28, 2024 6:33 pm
Forum: 3D Programming
Topic: Demo 3d - Ocean
Replies: 38
Views: 15082

Re: Demo 3d - Ocean

What's the problem?
at home it works
(just replace MeshData.#PB_MeshVertex(0) -> Dim MeshData.MeshVertex(0))
I've corrected the code)

PS: this is an old demo, v2 has been released
by pf shadoko
Thu Mar 28, 2024 6:19 pm
Forum: 3D Programming
Topic: Physics - Airplane
Replies: 28
Views: 6554

Re: Physics - Airplane

I updated the code
it's now ok
by pf shadoko
Thu Mar 28, 2024 5:55 pm
Forum: 3D Programming
Topic: MaterialTextureAliases
Replies: 6
Views: 2914

Re: MaterialTextureAliases

indeed, the "ParallaxOcclusionMapping" script is no longer in the scripts folder (it was directx)
but it's no longer useful, as many effects are now integrated into the 3d engine.
The new version finally includes examples shaderXXX.pb (+ environnementmapping.pb)
by pf shadoko
Thu Mar 28, 2024 9:13 am
Forum: Feature Requests and Wishlists
Topic: EncodeSprite()
Replies: 4
Views: 285

Re: EncodeSprite()

and with GrabDrawingImage ?
by pf shadoko
Sat Mar 23, 2024 5:42 pm
Forum: Announcement
Topic: PureBasic 6.10 LTS is out !
Replies: 325
Views: 40240

Re: PureBasic 6.10 beta 9 is out !

thank you
i see it's only my place that's slower (good news!)
except breeze4me
by pf shadoko
Sat Mar 23, 2024 4:55 pm
Forum: 3D Programming
Topic: CreateMesh mirror texture when shared vertex with other faces
Replies: 3
Views: 234

Re: CreateMesh mirror texture when shared vertex with other faces

I'm not sure what you mean.
texture coordinates (UV) are not limited between 0 and 1
if you want it to repeat itself:

UV:
0,0---1,0---2,0
0,1---1,1---2,1
0,2---1,2---2,2
by pf shadoko
Sat Mar 23, 2024 4:37 pm
Forum: 3D Programming
Topic: Simple rain test
Replies: 8
Views: 851

Re: Simple rain test

an old code that simulates rain with particles (originally to demonstrate the use of CreateAnimatedMaterial) ;################################################################################################################# ; material_anim ;###########################################################...
by pf shadoko
Sat Mar 23, 2024 4:18 pm
Forum: Announcement
Topic: PureBasic 6.10 LTS is out !
Replies: 325
Views: 40240

Re: PureBasic 6.10 beta 9 is out !

the new 3D functions are not integrated with C backend + optimization, 6.1 is slightly slower than 6.0 (between 10 and 20%) if you have the 2 versions, can you confirm? a little code for comparison: Procedure ImageBlur(Image,ImageSource,di.w, dj.w,pass=1,loop=0) If di=0 And dj=0:ProcedureReturn:EndI...
by pf shadoko
Thu Mar 07, 2024 8:13 pm
Forum: Bugs - Documentation
Topic: 3D Error
Replies: 0
Views: 95

3D Error

Hi, I'm in charge of the 3D engine I'll give you a grouped report (just the errors I have in mind, but there are many others) if you have any question don't hesitate to ask me =============================== Camera ------ CameraRange: add "Remark" section: if the fast/near ratio is too hig...