Landscape v4

Everything related to 3D programming
Little John
Addict
Addict
Posts: 4519
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: Landscape v4

Post by Little John »

Fred wrote:You can try with 'opengl' as subsystem
Executing the code from the 1st post here just causes a short flickering of the IDE (PB 5.70 x64 on Windows 10), with or without opengl.

However, using opengl solved my problem with pf shadoko's other code. :-)
User avatar
pf shadoko
Enthusiast
Enthusiast
Posts: 285
Joined: Thu Jul 09, 2015 9:07 am

Re: Landscape v4

Post by pf shadoko »

@Mythros :
think I will do otherwise in future versions
(in my opinion multi-layered is greedy and limited in number of textures)

@ Kukulkan:
Strange, someone else had the problem on the next line (startdrawing...)
(you can however operate the code by avoiding the menu and "DisplayTransparentSprite" in "affiche3d' procedure)
Mythros
Enthusiast
Enthusiast
Posts: 306
Joined: Mon Aug 19, 2013 3:28 pm

Re: Landscape v4

Post by Mythros »

?
User avatar
RSBasic
Moderator
Moderator
Posts: 1218
Joined: Thu Dec 31, 2009 11:05 pm
Location: Gernsbach (Germany)
Contact:

Re: Landscape v4

Post by RSBasic »

Nice demo Image
Image
Image
User avatar
mk-soft
Always Here
Always Here
Posts: 5335
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: Landscape v4

Post by mk-soft »

Nice :wink:

With macOS the menu sprite is displayed rotated.

With the Intel HD graphics 4000 (Mac Mini) the performance is no longer sufficient under macOS (OpenGL), in the VM Windows 7 it still runs (DirectX) and subsystem OpenGL it crashes.
Under VM-Linux Ubuntu 1810 (OpenGL) it doesn't work anymore.

Let's see if it runs when I allocate more graphics memory to the VM´s.
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
User avatar
Tombmyst
User
User
Posts: 11
Joined: Thu Jul 04, 2013 2:34 am
Location: Québec

Re: Landscape v4

Post by Tombmyst »

I.n.s.a.n.e wow good job! Looking for v5 v6 and so on!
Tombmyst
Hi-Toro
Enthusiast
Enthusiast
Posts: 265
Joined: Sat Apr 26, 2003 3:23 pm

Re: Landscape v4

Post by Hi-Toro »

Amazing work.
James Boyd
http://www.hi-toro.com/
Death to the Pixies!
Mythros
Enthusiast
Enthusiast
Posts: 306
Joined: Mon Aug 19, 2013 3:28 pm

Re: Landscape v4

Post by Mythros »

c(i,j)=repartition(h/8+100,g,Random(9)) | Array index out of bounds, line 466 when I hit F5. :(
User avatar
pf shadoko
Enthusiast
Enthusiast
Posts: 285
Joined: Thu Jul 09, 2015 9:07 am

Re: Landscape v4

Post by pf shadoko »

@ Mythros:
replace line 369 by
Global Dim repartition.b(300,400,9)

or remove debug mode (it's much faster)

(i corrected the initial code)
nicolaus
Enthusiast
Enthusiast
Posts: 456
Joined: Tue Aug 05, 2003 11:30 pm
Contact:

Re: Landscape v4

Post by nicolaus »

Hi,

it dosen't work for me at all.
If i run it with the IDE a empty window comes up and thats it. I can wait as long as i want, the window is empty and can't be shown (i can see it only in the status bar of windows as a icon.)
If i create e exe and start this one, also a empty window comes up for few seconds and close after that.

May it has some thing to do with my hardware setup. I work currently on a laptop with external monitor as extended screen.
There are two grafic cards in the laptop (one is a Intel and one is a AMD).

Maybe it will a good idear to show some setupwindow first and let the user select the Monitor (if there are more than one monitor is connected to the PC).

Thank you.


[UPDATE]
after i wait a longer time (start from IDE) it works very well.
But the created exe file don't work. After i start it, the windows is there for few seconds and will be closed after thet few seconds.
Joris
Addict
Addict
Posts: 885
Joined: Fri Oct 16, 2009 10:12 am
Location: BE

Re: Landscape v4

Post by Joris »

Very nice ! Well done.
I ran it on my old XP computer, what other OS's will it run too (Linux, OSX) ?
Yeah I know, but keep in mind ... Leonardo da Vinci was also an autodidact.
box_80
Enthusiast
Enthusiast
Posts: 111
Joined: Mon Sep 03, 2012 8:52 pm

Re: Landscape v4

Post by box_80 »

It is a Amazing demo. :D
Post Reply