Search found 276 matches

by pf shadoko
Wed Apr 24, 2024 8:34 pm
Forum: 3D Programming
Topic: Yes, my next 3D OGRE motion question ...
Replies: 3
Views: 141

Re: Yes, my next 3D OGRE motion question ...

I made the chain in the same style as my previous example it's a bit more complicated, since the section has an “H” shape all the points are doubled to give angular edges (compared to normals) of course it's fake, a simple texture scrolling, but it's light otherwise, to make it clean, you have to us...
by pf shadoko
Tue Apr 23, 2024 6:40 pm
Forum: 3D Programming
Topic: How to create a small column of smoke?
Replies: 10
Views: 294

Re: How to create a small column of smoke?

a few small changes note that the alpharate parameter of ParticleColorFader must be consistent with ParticleTimeToLive if duration is 2 seconds, alpha must lose 0.5 per second InitEngine3D() InitSprite() OpenWindow(0, 0, 0, 640, 480, "Cube example", #PB_Window_SystemMenu | #PB_Window_Scree...
by pf shadoko
Sat Apr 20, 2024 11:43 pm
Forum: 3D Programming
Topic: My machine OGRE texture rotation problem ...
Replies: 11
Views: 518

Re: My machine OGRE texture rotation problem ...

indeed, another error in the doc
(curiously, in the French version it's ok)
by pf shadoko
Sat Apr 20, 2024 11:08 pm
Forum: 3D Programming
Topic: My machine OGRE texture rotation problem ...
Replies: 11
Views: 518

Re: My machine OGRE texture rotation problem ...

the latest version (but that's not the problem)

have you pressed the space bar ?
by pf shadoko
Sat Apr 20, 2024 10:30 pm
Forum: 3D Programming
Topic: My machine OGRE texture rotation problem ...
Replies: 11
Views: 518

Re: My machine OGRE texture rotation problem ...

you're using values that are far too large! it's the x parameter you need to modify if you have a 60Hz framerate, a 1/60 offset will shift the length of your texture every second I've made a few small changes to your code note: startdrawing(screenoutput()) isn't very good (very slow), better use a s...
by pf shadoko
Sat Apr 20, 2024 6:00 pm
Forum: 3D Programming
Topic: My machine OGRE texture rotation problem ...
Replies: 11
Views: 518

Re: My machine OGRE texture rotation problem ...

rotatematerial has no place here scalematerial: - the x parameter is the total length of your belt divided by the number of repetitions of the texture you want. (line 79 of my example) - the y parameter must be 1 :no scale change in y axe scrollmaterial: - the x parameter defines the offset or its s...
by pf shadoko
Sat Apr 20, 2024 4:23 pm
Forum: Bugs - Documentation
Topic: 3D Error
Replies: 2
Views: 190

Re: 3D Error

not easy to make progress
do you see it with Fred?
by pf shadoko
Thu Apr 18, 2024 5:52 pm
Forum: 3D Programming
Topic: My machine OGRE texture rotation problem ...
Replies: 11
Views: 518

Re: My machine OGRE texture rotation problem ...

to animate the belts independently, you need to use one material per belt and adjust speed with scrollmaterial
by pf shadoko
Wed Apr 17, 2024 9:11 am
Forum: Mac OSX
Topic: Good News! Fuzzy Completion!
Replies: 14
Views: 1092

Re: Good News! Fuzzy Completion!

a video for me, great!
(after viewing, I'm a bit disappointed, I was thinking of a documentary on my life and work :cry: )

since v6, the list of authorized constants is displayed for function Arguments, too bad it requires typing "#pb_" (especially for beginners)
by pf shadoko
Sun Apr 14, 2024 10:22 pm
Forum: 3D Programming
Topic: My machine OGRE texture rotation problem ...
Replies: 11
Views: 518

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: 6636

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: 6636

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: 6636

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: 7970

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: 15176

Re: Demo 3d - Ocean

effectively
I updated the code for v2
now it should be ok