- LinuxCNC
- General LinuxCNC Questions
- Info about how to get a external gremlin view trough internet, lcnc hack.
Info about how to get a external gremlin view trough internet, lcnc hack.
- Grotius
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 2244
- Thank you received: 1984
01 Nov 2022 14:30 #255664
by Grotius
Info about how to get a external gremlin view trough internet, lcnc hack. was created by Grotius
Hi, long time no see.
The purpose of this post is to inform you about :
how to capture the gremlin screen of any gui
and send it trough internet, showing it on a remote pc.
Short howto :
This code is mainly written in c++, using a python binding class to
hack the glcanon.py file. Where the opgenGl backbuffer is captured.
The packages to be send to host pc are
encoded (compressed) to .png format.
Then the .png is chucked into packages of fixed size to transport over
the sockets client - server connection.
When package's arrive on host pc, they are glue'ed back together,
decoded from. png into raw image data, then result is displayed
trough the gpu compiled shader program.
Result is a nice fps (frame per second), and offcourse a nice hack :
Source code :
link
The purpose of this post is to inform you about :
how to capture the gremlin screen of any gui
and send it trough internet, showing it on a remote pc.
Short howto :
This code is mainly written in c++, using a python binding class to
hack the glcanon.py file. Where the opgenGl backbuffer is captured.
The packages to be send to host pc are
encoded (compressed) to .png format.
Then the .png is chucked into packages of fixed size to transport over
the sockets client - server connection.
When package's arrive on host pc, they are glue'ed back together,
decoded from. png into raw image data, then result is displayed
trough the gpu compiled shader program.
Result is a nice fps (frame per second), and offcourse a nice hack :
Source code :
link
The following user(s) said Thank You: andypugh, tommylight, Clive S, CORBETT, cakeslob, Aciera, snowgoer540
Please Log in or Create an account to join the conversation.
- tommylight
- Offline
- Moderator
Less
More
- Posts: 19468
- Thank you received: 6529
11 Nov 2022 11:30 #256416
by tommylight
Replied by tommylight on topic Info about how to get a external gremlin view trough internet, lcnc hack.
Nicely done, maestro.
Glad you are OK.
Glad you are OK.
The following user(s) said Thank You: Grotius
Please Log in or Create an account to join the conversation.
- LinuxCNC
- General LinuxCNC Questions
- Info about how to get a external gremlin view trough internet, lcnc hack.
Time to create page: 0.057 seconds