Using Shaders (RayLib Examples)

177 views
Skip to first unread message

Mahmoud Fayed

unread,
May 6, 2023, 7:11:51 AM5/6/23
to The Ring Programming Language
Hello

RingRayLib is updated and the Shaders samples are added

To get this update (Using Ring 1.17) run the next commands

ringpm update ringraylib
ringpm update ringsamples

After updating the packages you will find the new samples in this folder
ring/samples/usingraylib/shaders


Some screen shots:

shot1.png

shot2.png

shot3.png

Greetings,
Mahmoud

Ilir Liburn

unread,
May 6, 2023, 2:25:41 PM5/6/23
to The Ring Programming Language
Hello Mahmoud,

nice addition, thank you. I can't see animation in julia_set, higher shader version is probably required.

Greetings,
Ilir

Mahmoud Fayed

unread,
May 6, 2023, 6:22:36 PM5/6/23
to The Ring Programming Language
Hello Ilir

It says the version is  (330)

When I run the sample
The animation requires pressing the (Right Arrow) key to start
Also, changing the interesting point (By pressing a number from 1 to 6) provide different view and animation.

Greetings,
Mahmoud

Ilir Liburn

unread,
May 6, 2023, 6:28:57 PM5/6/23
to The Ring Programming Language
Hello Mahmoud,

>>  The animation requires pressing the (Right Arrow) key to start

Yes, that made difference, animation is working now.

Greetings,
Ilir

Mahmoud Fayed

unread,
May 6, 2023, 6:33:46 PM5/6/23
to The Ring Programming Language
Hello Ilir

>> "Yes, that made difference, animation is working now."

Very nice :D

Greetings,
Mahmoud

Bert Mariani

unread,
May 11, 2023, 4:16:49 PM5/11/23
to The Ring Programming Language
Hello Mahmoud, Illir

After doing the download and trying again
Could not find the "shaders"  in   ring/samples/usingraylib/shaders
I am using Ring 1.17

=================================
After trying again:

c:\ring\bin>ringpm.exe update ringraylib
Error(8) : No updates for this package
Package Name : ringraylib

c:\ring\bin>ringpm.exe update ringsamples
Error(8) : No updates for this package
Package Name : ringsamples

c:\ring\bin>cd c:\ring\samples\usingraylib

c:\ring\samples\UsingRayLib>dir
 Volume in drive C is Windows
 Volume Serial Number is D693-3EDC

 Directory of c:\ring\samples\UsingRayLib

2022-10-28  05:34 PM    <DIR>          .
2023-05-06  04:07 PM    <DIR>          ..
2022-10-28  05:34 PM    <DIR>          core
2022-10-28  05:34 PM    <DIR>          model
2022-10-28  05:34 PM    <DIR>          more
2022-10-28  05:34 PM    <DIR>          shapes
2022-10-28  05:34 PM    <DIR>          sound
2022-10-28  05:34 PM    <DIR>          texture
               0 File(s)              0 bytes

Ilir Liburn

unread,
May 11, 2023, 8:51:03 PM5/11/23
to The Ring Programming Language
Hello Bert,

Yes, I had same problem, here is what changed


Simply revert those numbers and update should work.

Greetings,
ilir
Reply all
Reply to author
Forward
0 new messages