Go to advanced search

by tipam
Wed Jul 31, 2019 6:41 pm
Forum: OpenGLES
Topic: RPi 4 OpenGL ES 3.0 ShaderToy to download (100+ examples)
Replies: 38
Views: 4978

Re: RPi 4 OpenGL ES 3.0 ShaderToy to download (100+ examples)

. I have no idea how the shader maths works yet but it is easy to modify and see the results. You're right! ... some of those shaders are insane! ... If you have a PC with an NVidia/AMD graphics card you'll find some crazy shaders .. For example https://www.shadertoy.com/view/MsGGDK is a mini movie...
by tipam
Tue Jul 30, 2019 11:09 pm
Forum: OpenGLES
Topic: RPi 4 OpenGL ES 3.0 ShaderToy to download (100+ examples)
Replies: 38
Views: 4978

Re: RPi 4 OpenGL ES 3.0 ShaderToy to download (100+ examples)

... Added a fix to ShaderToy; iResolution should be a vec3 (not vec2) in a shader file. Shaders updated accordingly plus there's a few more nice shaders to play around with!

Here's the link: http://www.skillmanmedia.com/ShaderToyRPi4b.zip
by tipam
Sun Jul 28, 2019 7:17 pm
Forum: OpenGLES
Topic: RPi 4 OpenGL ES 3.0 ShaderToy to download (100+ examples)
Replies: 38
Views: 4978

Re: RPi 4 OpenGL ES 3.0 ShaderToy to download (100+ examples)

Downloaded, tested, it works. The only problem I noticed is unresponsible X when playing with "heavy" shaders. Not wholly surprising - some of those shaders requires a HUGE amount of GPU processing, and X rendering requires...the GPU. You're right - but I'm still quite surprised the humble Pi4 can ...
by tipam
Sat Jul 27, 2019 5:59 pm
Forum: OpenGLES
Topic: RPi 4 OpenGL ES 3.0 ShaderToy to download (100+ examples)
Replies: 38
Views: 4978

RPi 4 OpenGL ES 3.0 ShaderToy to download (100+ examples)

Hi, I've just written a small app that will render over 100+ OpenGL ES 3.0 shaders (pinched from ShaderToy.com) to give an idea of what can be done with the RPi 4 GPU. Link: http://www.skillmanmedia.com/ShaderToyRPi4.zip You will need to install the SDL2 libraries from a terminal window and reserve ...
by tipam
Mon May 06, 2019 8:22 pm
Forum: C/C++
Topic: High speed font cache rendering in C++ on the Pi Zero
Replies: 0
Views: 208

High speed font cache rendering in C++ on the Pi Zero

Hi, I hope you don't mind me sharing a quick video on rendering TTF fonts using SDL2 on the Raspberry Pi Zero written in C++. The video depicts a 3D scene with a passage of text containing 5000 formatted characters (not 9000 as I say in the vid!) that are dynamically rendered at 1080p on the Zero. T...
by tipam
Wed Apr 17, 2019 9:04 pm
Forum: Graphics programming
Topic: Performance improvements to the SDL library?
Replies: 0
Views: 498

Performance improvements to the SDL library?

Hi,

It mentions in the latest update of Raspbian (2019-04-08) that there are 'Performance improvements to the SDL library' ... does anyone know what they are and how to benefit from them?

Thanks.
by tipam
Mon Dec 24, 2018 5:01 pm
Forum: OpenGLES
Topic: Sharing an OpenGLES 2.0 Christmas Scene ...
Replies: 12
Views: 5178

Re: Sharing an OpenGLES 2.0 Christmas Scene ...

Gavinmc42 wrote:
Sun Dec 23, 2018 12:17 pm
Lots of super realistic stuff is out there now, lots of research papers and lighting/particle effects to do to make them look real.
... you can do a lot with simple UV animation, sprite sheets and alpha textures :D
.
by tipam
Sun Dec 23, 2018 12:27 am
Forum: OpenGLES
Topic: Sharing an OpenGLES 2.0 Christmas Scene ...
Replies: 12
Views: 5178

Re: Sharing an OpenGLES 2.0 Christmas Scene ...

Just added a video on Youtube featuring an update of this demo with a hotel and snow! Here it is .. https://youtu.be/goHVP0a85JY I'll do my best to get it out (inc. source code) before next year :oops: Here are some snapshots from an RPi 3 B+ ... http://www.skillmanmedia.com/images/Stoneman1.png htt...
by tipam
Tue Nov 27, 2018 1:31 pm
Forum: OpenGLES
Topic: Sharing an OpenGLES 2.0 Christmas Scene ...
Replies: 12
Views: 5178

Re: Sharing an OpenGLES 2.0 Christmas Scene ...

Gavinmc42 wrote:
Tue Nov 27, 2018 11:53 am
The only work the CPU has to do is calculate collisions, basic rotations and around 25 draw calls :)
That leaves a lot for a game engine ;)
...Yes, you're right ... on my Pi3B+ the scene only takes 7-8% CPU time in desktop.
by tipam
Tue Nov 27, 2018 8:00 am
Forum: OpenGLES
Topic: Sharing an OpenGLES 2.0 Christmas Scene ...
Replies: 12
Views: 5178

Re: Sharing an OpenGLES 2.0 Christmas Scene ...

Ah! double posted!!
by tipam
Tue Nov 27, 2018 8:00 am
Forum: OpenGLES
Topic: Sharing an OpenGLES 2.0 Christmas Scene ...
Replies: 12
Views: 5178

Re: Sharing an OpenGLES 2.0 Christmas Scene ...

I had been wondering what you have been up to :D The real Yosemite? That would mean using DEM terrain data plus procedurally generated trees? ... Leon's stuff is really pushing it, did not notice the 800fps :o As I barely understand the VC4 the texture units are hardware so should be able to keep u...
by tipam
Mon Nov 26, 2018 11:45 pm
Forum: OpenGLES
Topic: Sharing an OpenGLES 2.0 Christmas Scene ...
Replies: 12
Views: 5178

Re: Sharing an OpenGLES 2.0 Christmas Scene ...

Tim, yet another impressive output. You still using SDL? Hi Gavin, Yes, still using SDL2 as it takes care of the bare metal stuff on several platforms! Then I found this, 27KB OpenGLES triangle in C https://github.com/LdB-ECM/Raspberry-Pi Turns out this sort of baremetal stuff can be done in Pascal...
by tipam
Sun Nov 25, 2018 3:08 am
Forum: OpenGLES
Topic: Sharing an OpenGLES 2.0 Christmas Scene ...
Replies: 12
Views: 5178

Sharing an OpenGLES 2.0 Christmas Scene ...

I'm still working on an OpenGLES 2.0 lightweight and fast engine for the Pi and a number of examples ... Here's a scene from one of my favourite places on the planet ... Yosemite! It's running at 24fps with over a 1000 trees, mutli-layered animated clouds, a huge area to explore (including a wood ca...
by tipam
Sat Jul 21, 2018 9:34 pm
Forum: OpenGLES
Topic: Star Citizen on the Raspberry Pi?!
Replies: 100
Views: 42446

Re: Star Citizen on the Raspberry Pi?!

Tim, I can report that your multi-scene download works on the RPi nicely. I had to globally change the \r\n line ending in Kendal castle mtl file to \n before it would load any textures and I had to rename a couple of the bridge textures to match (fx3_panels and medmon1 I think). Paddy PS it's worr...
by tipam
Sat Jul 21, 2018 8:58 am
Forum: OpenGLES
Topic: Star Citizen on the Raspberry Pi?!
Replies: 100
Views: 42446

Re: Star Citizen on the Raspberry Pi?!

Gavinmc42 wrote:
Sat Jul 21, 2018 2:40 am
... new demo does not run on Gentoo64.
... sorry about that - things weren't in the right folders and I've updated the README1ST. I've uploaded again :oops:
by tipam
Sat Jul 21, 2018 1:26 am
Forum: OpenGLES
Topic: Star Citizen on the Raspberry Pi?!
Replies: 100
Views: 42446

Re: Star Citizen on the Raspberry Pi?!

NEW UPDATE!

Demo now includes the following;

- CargoBay scene (updated)
- Cargoship Bridge scene
- Kendal Castle

Download the demo from here (34Mb) and open README1ST file

To run a demo (after following instructions) do the folliowing;

Code: Select all

$ ./ShipDemo -scene CargoBay.scene
Enjoy!
by tipam
Sun Jul 15, 2018 6:30 pm
Forum: OpenGLES
Topic: Star Citizen on the Raspberry Pi?!
Replies: 100
Views: 42446

Re: Star Citizen on the Raspberry Pi?!

ensan wrote:
Sun Jul 15, 2018 2:33 pm
I feel a bit uncomfortable posting my queries to tipam's thread so I'll start a separate thread - thanks (and apologies) tipam.
No worries Ensan - as long as it was helpful! ;) I'll keep a look out on your threads if I can help.
by tipam
Fri Jul 13, 2018 6:26 pm
Forum: OpenGLES
Topic: Star Citizen on the Raspberry Pi?!
Replies: 100
Views: 42446

Re: Star Citizen on the Raspberry Pi?!

The idea was to create a tool for educational purposes (teaching kids about 3D coding). As mentioned currently porting to the rPI but given folks have treaded that path before me I'll maybe pick your brains if I may when I encounter issues. The 65K limit on VBOs you mention is useful info for insta...
by tipam
Wed Jul 11, 2018 11:02 pm
Forum: OpenGLES
Topic: Star Citizen on the Raspberry Pi?!
Replies: 100
Views: 42446

Re: Star Citizen on the Raspberry Pi?!

Oh Well! England did really well and gave us hope - maybe next time? Meanwhile, here's a few pics of the Cargoship bridge to cheer you up! Once baked they will become the new 'scene' that connects up with the cargo bay ... It's the control panels that are taking ages to design. However, I want them ...
by tipam
Sun Jul 08, 2018 9:29 pm
Forum: OpenGLES
Topic: Star Citizen on the Raspberry Pi?!
Replies: 100
Views: 42446

Re: Star Citizen on the Raspberry Pi?!

So you did not go down to the nearest castle and 3D model it an few hours then just to test a bigger model ;) How much National Trust stuff has been 3D modeled? Some nice laser range finder modules around now. Add them to Zero W with GPS and wander around collecting data. DIY Surveying tools. You'r...
by tipam
Sun Jul 08, 2018 7:09 am
Forum: OpenGLES
Topic: Star Citizen on the Raspberry Pi?!
Replies: 100
Views: 42446

Re: Star Citizen on the Raspberry Pi?!

Gavinmc42 wrote:
Sun Jul 08, 2018 2:21 am
You just happen to have a Castle obj?
How long it it take you to do?
... I've got more where that came from due to an old self-employed job!

Typically, the castle did take a couple of weeks or so ;)
by tipam
Sat Jul 07, 2018 11:28 pm
Forum: OpenGLES
Topic: Star Citizen on the Raspberry Pi?!
Replies: 100
Views: 42446

Re: Star Citizen on the Raspberry Pi?!

Kendal Castle Just tried a BIG model I did several years ago when I was in Kendal ... a reconstruction of Kendal Castle! (loads of rooms to explore!!) I had a few issues converting it and found a bug in my OBJ loader (fixed) ... model weighs in at 75K triangles (1.8M floats of info) so I expected i...
by tipam
Sat Jul 07, 2018 12:12 pm
Forum: OpenGLES
Topic: Star Citizen on the Raspberry Pi?!
Replies: 100
Views: 42446

Re: Star Citizen on the Raspberry Pi?!

... it just goes to show how little power is required to produce some amazing stuff at such low cost!
by tipam
Sat Jul 07, 2018 11:27 am
Forum: OpenGLES
Topic: Star Citizen on the Raspberry Pi?!
Replies: 100
Views: 42446

Re: Star Citizen on the Raspberry Pi?!

Tim I can report that the updated version runs fine (and changing the options works as expected). As an experiment I tried loading your model into rust_pi3d to get a direct comparison. I just used the uv_flat shader as is which might be a little more complicated but not much. Although it runs OK it...
by tipam
Sat Jul 07, 2018 12:27 am
Forum: OpenGLES
Topic: Star Citizen on the Raspberry Pi?!
Replies: 100
Views: 42446

Re: Star Citizen on the Raspberry Pi?!

Updated the Cargo Spaceship demo to include an options.txt file so the following parameters can be changed; screen: width, height, perspective value fullscreen: true or false fly: true or false startpos: x,y,z nearzfarz: nearZ, farZ Also added Escape key to exit. Same link as above. Enjoy! Ps. pleas...

Go to advanced search