Landscape v6 >>> OK <<<

Everything related to 3D programming
User avatar
pf shadoko
Enthusiast
Enthusiast
Posts: 289
Joined: Thu Jul 09, 2015 9:07 am

Landscape v6 >>> OK <<<

Post 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)
Last edited by pf shadoko on Sun Aug 23, 2020 12:17 am, edited 2 times in total.
User avatar
DK_PETER
Addict
Addict
Posts: 898
Joined: Sat Feb 19, 2011 10:06 am
Location: Denmark
Contact:

Re: Landscape v6

Post 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
Current configurations:
Ubuntu 20.04/64 bit - Window 10 64 bit
Intel 6800K, GeForce Gtx 1060, 32 gb ram.
Amd Ryzen 9 5950X, GeForce 3070, 128 gb ram.
BarryG
Addict
Addict
Posts: 3318
Joined: Thu Apr 18, 2019 8:17 am

Re: Landscape v6

Post by BarryG »

Doesn't run for me. Just a black screen with the blue "waiting" circle for over a minute.
User avatar
pf shadoko
Enthusiast
Enthusiast
Posts: 289
Joined: Thu Jul 09, 2015 9:07 am

Re: Landscape v6

Post 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...
User avatar
DK_PETER
Addict
Addict
Posts: 898
Joined: Sat Feb 19, 2011 10:06 am
Location: Denmark
Contact:

Re: Landscape v6

Post 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. :-)
Current configurations:
Ubuntu 20.04/64 bit - Window 10 64 bit
Intel 6800K, GeForce Gtx 1060, 32 gb ram.
Amd Ryzen 9 5950X, GeForce 3070, 128 gb ram.
User avatar
pf shadoko
Enthusiast
Enthusiast
Posts: 289
Joined: Thu Jul 09, 2015 9:07 am

Re: Landscape v6 >>> OK <<<

Post by pf shadoko »

I've been updating the shaders.
Tell me if it works.
BarryG
Addict
Addict
Posts: 3318
Joined: Thu Apr 18, 2019 8:17 am

Re: Landscape v6 >>> OK <<<

Post by BarryG »

Works now, although still slow to start on my PC. But it looks great and is very smooth!
User avatar
DK_PETER
Addict
Addict
Posts: 898
Joined: Sat Feb 19, 2011 10:06 am
Location: Denmark
Contact:

Re: Landscape v6 >>> OK <<<

Post by DK_PETER »

Yes. Now it works. 8)
Current configurations:
Ubuntu 20.04/64 bit - Window 10 64 bit
Intel 6800K, GeForce Gtx 1060, 32 gb ram.
Amd Ryzen 9 5950X, GeForce 3070, 128 gb ram.
dige
Addict
Addict
Posts: 1251
Joined: Wed Apr 30, 2003 8:15 am
Location: Germany
Contact:

Re: Landscape v6 >>> OK <<<

Post by dige »

Looks great now!
"Daddy, I'll run faster, then it is not so far..."
Cyllceaux
Enthusiast
Enthusiast
Posts: 464
Joined: Mon Jun 23, 2014 1:18 pm
Contact:

Re: Landscape v6 >>> OK <<<

Post by Cyllceaux »

looks great, but if I move the mouse, it collaps up the complete program.

Maybe a DPI problem? My dpi is 200%
User avatar
pf shadoko
Enthusiast
Enthusiast
Posts: 289
Joined: Thu Jul 09, 2015 9:07 am

Re: Landscape v6 >>> OK <<<

Post 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.
Cyllceaux
Enthusiast
Enthusiast
Posts: 464
Joined: Mon Jun 23, 2014 1:18 pm
Contact:

Re: Landscape v6 >>> OK <<<

Post 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 :)
Post Reply