For someone getting started with Red/System programming on the Raspberry Pi, what is the best way to access the GPU for 3D rendering? Can this method also be used for Rebol3 on the Raspberry Pi?
Red/System binding for 3D graphics on Raspberry Pi
340 Views Asked by Respectech At
2
There are 2 best solutions below
0
Eran W
On
The site in the answer by Kaj de Vos is no longer works.
You may find its mirror useful: https://github.com/red/RS-fossil-mirror
Or the red/code repository: https://github.com/red/code/tree/master/Library/OpenGL
Related Questions in OPENGL-ES
- Setting up OpenGL ES 1.1, and my android environment
- Opengl Augmented Reality in Android from solvepnp
- error 1281 for the call to glUseProgram
- Page Curl with best quality
- Qtwebengine on Embedded linux, with qtwayland and OpenGL not working, black rectangles seen on browser
- Maintaining glSurfaceView through different activities
- LibGDX - load and process texture asynchronously
- OpenGL ES 2.0 Framebuffer with render to texture iOS: nothing shown
- Generating a sphere in OpenGL without high level libraries - what's wrong with my code?
- matrix.multiply returning Nan
- Android OpenGL ES Fatal signal crash
- OpenGL / weight order independent transparency
- GLSL: How to calculate fragments output RGB value based on Photoshops curve value?
- Find a longitude given a pair of (lat,long) and an offset latitude
- How to implement dynamic page curl in android?
Related Questions in RASPBERRY-PI
- Using camera shutter to trigger MPU6050 on raspberry pi
- os.hostname() to return an IP
- Sparkfun SC16IS750 does not work on Raspberry Pi
- Raspberry Pi won't run script on boot
- Raspberry PI Compute Module - SPI1
- Arduino serial works fine with Debian but hangs with Raspbian
- MPI Processes Communication error
- Raspberry Pi script boot order
- Kivy on RaspberryPi (Raspbian) - unable to load any valuable window provider
- Raspberry Pi: printf() doesn't work with wiringPi
- separate frequencies from music
- Use same Python variable in multiple if-statements
- Nodejs app is continuously restarting
- How deploy an large number iBeacons
- RPi running script at boot then stops
Related Questions in REBOL3
- What is the number of native! in Rebol3
- What is the difference between `context` and `object`?
- How do I ignore lines that are commented out when parsing?
- How to build Rebol 3 in MSVC
- Find/replace string that spans lines in a file with REBOL
- What's the purpose of #[datatype] constructor in Rebol
- PostgreSQL driver for Rebol?
- How do I get the remote IP-Address of clients connecting to a Rebol3 based server?
- What does the error "word is not bound to a context" mean?
- How to get radio button selection in Rebol 3?
- Replace specific values in a XML file
- Rebol 3 text rendering issue using GOBs
- What's the most efficient way to decode a UTF16 binary?
- How to specify in Rebol3 the open/exe action for the R3 script : the R3 exe
- How to evaluate refinement of a function when calling this function in Red/Rebol
Related Questions in RED
- What is the difference between `context` and `object`?
- How to get values from the Red/System parts in a Red file
- Which new language would mostly fit for writing an OS
- invalid target type casting: red-context
- Converting strings to other datatypes in Red
- How to create a Red/System binding to a function that takes a pointer to a pointer?
- Rebol code gui working but not clearing fields
- Red language executable also opening up a console
- Creating pdf file in Rebol/Red
- Try/catch exceptions in Red language
- Saving data to file in Red language
- Parallel list assignment in Red language
- Garbage collection in Rebol & Red
- GUI elements from a function not being displayed in Red language
- How to access values from panels in Red language
Related Questions in RED-SYSTEM
- invalid target type casting: red-context
- How to create a Red/System binding to a function that takes a pointer to a pointer?
- How to represent a hex string in Red/System?
- How do you use #call directive for Red function with string datatypes as parameters?
- Is it possible to write a Windows DLL in Red?
- Pass Red function pointer to C
- Red/System binding for 3D graphics on Raspberry Pi
- How to pass value from Red/System to Red?
- How to append data to block from R/S?
- How do you get a directory listing in Red/System?
- Pointers to an 'array' in Red/System
- How to cast between integer and character in Red/System?
- Accessing runtime functions from Red/System
- Pass by reference in Red routines
- How to pass block with context to routine?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
My OpenGL binding for Red/System would be the starting point:
http://red.esperconsultancy.nl/Red-OpenGL
I'm currently working on extending it for the Raspberry Pi. The current binding is for desktop OpenGL. For Raspberry Pi and other small platforms, I'm working on an OpenGL-ES binding. Further, OpenGL needs an environment on the target platform. The binding has several backends, such as SDL, but these don't work on the Raspberry Pi as it uses EGL in combination with its own environment as defined by Broadcom. I'm also working on extra backends for those.
Bindings for Red, including this one when Raspberry Pi support is finished, can be used to base REBOL 3 extensions on, with my Red/REBOL 3 bridge:
http://red.esperconsultancy.nl/Red-REBOL-3
However, writing such an extension is an extra effort.