Demo 3D - Mountain v3

Everything related to 3D programming
User avatar
luis
Addict
Addict
Posts: 3876
Joined: Wed Aug 31, 2005 11:09 pm
Location: Italy

Re: Demo 3D - Mountain v3

Post by luis »

pf shadoko wrote: Tue Mar 21, 2023 2:17 pm I forgot to specify the version in the shader, maybe that's it
Now it works, thank you.
Very beautiful, the mountains have a kind of voxel space look to them. :)
"Have you tried turning it off and on again ?"
A little PureBasic review
Saboteur
Enthusiast
Enthusiast
Posts: 271
Joined: Fri Apr 25, 2003 7:09 pm
Location: (Madrid) Spain
Contact:

Re: Demo 3D - Mountain v3

Post by Saboteur »

In linux works too. Looks fantastic.
[:: PB Registered ::]

Win10 Intel core i5-3330 8GB RAM Nvidia GTX 1050Ti
infratec
Always Here
Always Here
Posts: 6810
Joined: Sun Sep 07, 2008 12:45 pm
Location: Germany

Re: Demo 3D - Mountain v3

Post by infratec »

I just copied your code from the first post and I get the same result as luis.
Any further ideas?
Btw.: your morphing demo works on my pc
infratec
Always Here
Always Here
Posts: 6810
Joined: Sun Sep 07, 2008 12:45 pm
Location: Germany

Re: Demo 3D - Mountain v3

Post by infratec »

Messages from the log:

Can't assign material Surface to SubEntity of E60 because this Material does not exist. Have you forgotten to define it in a .material script?
Can't assign material none to SubEntity of E11928760 because this Material does not exist. Have you forgotten to define it in a .material script?
.
.
.
...
GLSL compile log: sh0VPVertex shader failed to compile with the following errors:
WARNING: 0:13: deprecated130(#55) "varing" is deprecated since GLSL1.3. We suggest usage of "in/out"
WARNING: 0:14: deprecated130(#55) "varing" is deprecated since GLSL1.3. We suggest usage of "in/out"
WARNING: 0:15: deprecated130(#55) "varing" is deprecated since GLSL1.3. We suggest usage of "in/out"
WARNING: 0:16: deprecated130(#55) "varing" is deprecated since GLSL1.3. We suggest usage of "in/out"
ERROR: 0:16: error(#132) Syntax error: ";" parse error
ERROR: error(#273) 1 compilation errors. No code generated
User avatar
pf shadoko
Enthusiast
Enthusiast
Posts: 275
Joined: Thu Jul 09, 2015 9:07 am

Re: Demo 3D - Mountain v3

Post by pf shadoko »

@infratec
I corrected the extra ";"
can you try again
infratec
Always Here
Always Here
Posts: 6810
Joined: Sun Sep 07, 2008 12:45 pm
Location: Germany

Re: Demo 3D - Mountain v3

Post by infratec »

:mrgreen:

It works now as it should.
I always try your demos, even when I have nothing todo with graphic stuff.
But it is always very impressing what you are doing.
Post Reply