http://ubuntuone.com/2nxZqVM4WDckFrRmudSNJJ
glsl fragment and vertex shader 4.60
glsl fragment and vertex shader 4.60
A demo of using fragment and vertex shaders with the new 3Dengine
http://ubuntuone.com/2nxZqVM4WDckFrRmudSNJJ

http://ubuntuone.com/2nxZqVM4WDckFrRmudSNJJ
Last edited by idle on Sun Nov 20, 2011 8:45 pm, edited 7 times in total.
Windows 11, Manjaro, Raspberry Pi OS


Re: glsl fragment and vertex shader 4.60
Looks great on Mac! Just had to comment out lines 3-6 and remove the OpenGL subsystem. Nice work! 

www.posemotion.com
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Even the vine knows it surroundings but the man with eyes does not.
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Even the vine knows it surroundings but the man with eyes does not.
Re: glsl fragment and vertex shader 4.60
J. Baker wrote:and remove the OpenGL subsystem.

Best wishes to the PB community. Thank you for the memories. 
Re: glsl fragment and vertex shader 4.60
Mac already uses OpenGL. So if you have it in the subsystem, I believe it will say something like, subsystem not found. Or something like that.Kuron wrote:J. Baker wrote:and remove the OpenGL subsystem.
How did you get it to run on a Mac without using OpenGL?

www.posemotion.com
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Even the vine knows it surroundings but the man with eyes does not.
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Even the vine knows it surroundings but the man with eyes does not.
Re: glsl fragment and vertex shader 4.60
Gotcha 

Best wishes to the PB community. Thank you for the memories. 
Re: glsl fragment and vertex shader 4.60
It will be the same on Linux when the 4.61 engine is done.J. Baker wrote:Mac already uses OpenGL. So if you have it in the subsystem, I believe it will say something like, subsystem not found. Or something like that.Kuron wrote:J. Baker wrote:and remove the OpenGL subsystem.
How did you get it to run on a Mac without using OpenGL?
Windows 11, Manjaro, Raspberry Pi OS


Re: glsl fragment and vertex shader 4.60
Is SDL currently the default or something?idle wrote:It will be the same on Linux when the 4.61 engine is done.J. Baker wrote:Mac already uses OpenGL. So if you have it in the subsystem, I believe it will say something like, subsystem not found. Or something like that.Kuron wrote:J. Baker wrote:and remove the OpenGL subsystem.
How did you get it to run on a Mac without using OpenGL?
www.posemotion.com
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Even the vine knows it surroundings but the man with eyes does not.
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Even the vine knows it surroundings but the man with eyes does not.
-
- Addict
- Posts: 4781
- Joined: Thu Jun 07, 2007 3:25 pm
- Location: Berlin, Germany
Re: glsl fragment and vertex shader 4.60
Runs without change on Windows XP x86. Looks great, idle!
Regards, Little John
Regards, Little John
Re: glsl fragment and vertex shader 4.60
thanks, I wasn't sure if it'd work on windows.Little John wrote:Runs without change on Windows XP x86. Looks great, idle!
Regards, Little John
@J baker
No the default is openGL on linux, it's just not set in the config or complier.
Windows 11, Manjaro, Raspberry Pi OS


Re: glsl fragment and vertex shader 4.60
@idle: lovely water simulation! I'll add a nice ocean sound loop and
use it as screensaver
use it as screensaver

"Daddy, I'll run faster, then it is not so far..."
Re: glsl fragment and vertex shader 4.60
Very nice port of the the ogre ocean demo ! It works under Windows 7 64 bit 

"Have you tried turning it off and on again ?"
A little PureBasic review
A little PureBasic review
Re: glsl fragment and vertex shader 4.60
it'd be nicer if we could get at the script attributes to change the materials scripts parameters on the flyluis wrote:Very nice port of the the ogre ocean demo ! It works under Windows 7 64 bit
currently it looks like we'd need to add a bunch of presets to the material and change the entities material
to produce different effects from the material.
Windows 11, Manjaro, Raspberry Pi OS


-
- Addict
- Posts: 2345
- Joined: Mon Jun 02, 2003 9:16 am
- Location: Germany
- Contact:
Re: glsl fragment and vertex shader 4.60
Requested already a long time ago: http://www.purebasic.fr/english/viewtop ... =3&t=45966idle wrote:it'd be nicer if we could get at the script attributes to change the materials scripts parameters on the flyluis wrote:Very nice port of the the ogre ocean demo ! It works under Windows 7 64 bit
currently it looks like we'd need to add a bunch of presets to the material and change the entities material
to produce different effects from the material.
Maybe someone wants to translate my shadertutorial for PB OGRE http://www.purebasic.fr/german/viewtopi ... =9&t=24695 to have a better explanation for the problem. At the moment we have to create a light or set some standard material attributes to communicate with the shaders.
bye,
Daniel
Daniel
Re: glsl fragment and vertex shader 4.60
good tutorial, it's quite readable with google translate
Windows 11, Manjaro, Raspberry Pi OS


Re: glsl fragment and vertex shader 4.60
Is anybody willing to share a compiled Windows EXE for the example?
Best wishes to the PB community. Thank you for the memories. 