Page 1 of 1

Landscape v6 >>> OK <<<

Posted: Fri Aug 21, 2020 12:07 pm
by pf shadoko
Image
Hey, coders,

v6 of my "Landscape" demo.
the use of shaders improves the rendering significantly
for compatibility on all platforms, I have adapted my shaders for OpenGL (GLSL)

we can now do some perfectly good things with PB.

This time I didn't put the source, just the exe.
I would like to provide a lib with a doc to use it in your games.
I haven't been able to make this lib yet because of a problem with the arrays as procedure parameters.
(but I'm hoping Fred will figure it out.)

the Zip:

http://cg.racine.free.fr/paysage-v6.zip

Sorry just for Windows64 at the moment


the sprites are problematic with 3D OpenGL, so I removed the display of the commands:
- F1 -> F5 : terrain selection
- F11: to switch to flight/walk mode
- F12: wire
- Esc: leave
PS: we start with field 4, but you can use the buttons
(if it's rowing try lowering your screen resolution)

Re: Landscape v6

Posted: Fri Aug 21, 2020 12:55 pm
by DK_PETER
Hey pf shadoko

Something is wrong. All I get is the following: (F1 - F5)

https://www.dropbox.com/s/dad2hva1ri7idbc/F1.png?dl=0
https://www.dropbox.com/s/uw089ew82xpzg7e/F2.png?dl=0
https://www.dropbox.com/s/wltrqcka16u58fh/F3.png?dl=0
e.t.c...

Your image looks really good, though. ;-)

Best regards

Re: Landscape v6

Posted: Fri Aug 21, 2020 1:37 pm
by BarryG
Doesn't run for me. Just a black screen with the blue "waiting" circle for over a minute.

Re: Landscape v6

Posted: Fri Aug 21, 2020 1:51 pm
by pf shadoko
Thanks for bringing up those issues.

I had made a first HLSL (DirectX) version, but as it required the installation of DX9c, I converted my shaders to GLSL (OpenGL), and there again I have compatibility problems.
I don't know what to do anymore...

Re: Landscape v6

Posted: Fri Aug 21, 2020 2:27 pm
by DK_PETER
I know how that feels. You're generally stuck between a rock and a hard place.
It would be nice to have the Ogre3D updated to a newer version
but I won't hold my breath.
Anyway, you are extremely skilled in 3D and it's always interesting to see
what you're creating. :-)

Re: Landscape v6 >>> OK <<<

Posted: Sun Aug 23, 2020 12:19 am
by pf shadoko
I've been updating the shaders.
Tell me if it works.

Re: Landscape v6 >>> OK <<<

Posted: Sun Aug 23, 2020 1:51 am
by BarryG
Works now, although still slow to start on my PC. But it looks great and is very smooth!

Re: Landscape v6 >>> OK <<<

Posted: Sun Aug 23, 2020 6:48 am
by DK_PETER
Yes. Now it works. 8)

Re: Landscape v6 >>> OK <<<

Posted: Mon Aug 24, 2020 7:37 am
by dige
Looks great now!

Re: Landscape v6 >>> OK <<<

Posted: Mon Aug 24, 2020 7:53 am
by Cyllceaux
looks great, but if I move the mouse, it collaps up the complete program.

Maybe a DPI problem? My dpi is 200%

Re: Landscape v6 >>> OK <<<

Posted: Sun Aug 30, 2020 11:44 am
by pf shadoko
@ Cyllceaux:
can you test with normal DPI :


to see how it works, see my post 'Shader v2' :
viewtopic.php?f=36&t=75223

in Add3DArchive set the path to the script folder of "paysage-v6".
Add3DArchive(.../MaterialScriptsGeneric-2", #PB_3DArchive_FileSystem )
and compile in opengl

note : there are 2 shaders that don't work, I haven't adapted them yet.

Re: Landscape v6 >>> OK <<<

Posted: Mon Aug 31, 2020 6:40 am
by Cyllceaux
With normal DPI it workes like a charm... damn that looks great... I can watch this for hours.


And I like the F11 button.... I'm Jesus... I can walk on water :)