Torque3D Linux OpenGL
by Luis Anton Rebollo · 07/22/2013 (1:37 pm) · 22 comments
Greetings to all.
HI've had some time to return to work on improve Torque3D OpenGL and now works in Linux!
You can find the code at: github.com/LuisAntonRebollo/Torque3D/tree/dev_linux_opengl
How to compile (Ubuntu 32bit): github.com/LuisAntonRebollo/Torque3D/wiki/Compileubuntu

The part of Linux is based on the work of RonOHara-GG that you can find at: github.com/GarageGames/Torque3D/tree/linux-rnd. I removed everything related to Nvidia CG because it was not useful for my project. The current state is very basic, but enough to be a good starting point. So far I've made some changes to compile correctly, but will see improvements soon.
I have curiosity about where will go, all those votes https://garagegames.uservoice.com/forums/178972-torque-3d-mit/filters/top when the port to Linux is completed.
OpenGL is a necessary part for port Torque3D to Linux, but also to MAC OS, Adroid, PS4??? and other platforms. So all the changes and improvements that occur in this project, many things to facilitate future ports.
The code that you will find is based on a branch that i posted months ago to add Basic Lighting in OpenGL windows. This is a slightly cleaner version and works on both Linux and Windows. But I had to modify part of the code GFX, which means it has been altered affecting DX9 code. We will have to see if a problem has been introduced.
I've done some research on Advanced Lighting (lighting and shadow rendering in OpenGL working properly), but for now imply more changes in the GFX and thus more potential bugs. Currently Advanced Lighting in OpenGL is disabled.
Would need help to create a funding campaign that provides security. Would need help writing campaign and to advertise it.
One option would be to use a PayPal account and go slowly working. Would need less money, by eliminating campaign fee and other costs. I suppose about $ 4,500.
What do you think about it, what would be the best course of action?
HI've had some time to return to work on improve Torque3D OpenGL and now works in Linux!
You can find the code at: github.com/LuisAntonRebollo/Torque3D/tree/dev_linux_opengl
How to compile (Ubuntu 32bit): github.com/LuisAntonRebollo/Torque3D/wiki/Compileubuntu

Linux
Linux is gaining momentum with the support of major video game companies like Blizzard, Valve and Crytek. It is time that Torque3D prepare to make the leap to free OS.The part of Linux is based on the work of RonOHara-GG that you can find at: github.com/GarageGames/Torque3D/tree/linux-rnd. I removed everything related to Nvidia CG because it was not useful for my project. The current state is very basic, but enough to be a good starting point. So far I've made some changes to compile correctly, but will see improvements soon.
I have curiosity about where will go, all those votes https://garagegames.uservoice.com/forums/178972-torque-3d-mit/filters/top when the port to Linux is completed.
OpenGL
OpenGL is another great forgotten. Normally, any program that is often rendered in 3D using OpenGL ... with the exception of Windows and XBox. Still, until recently the support from companies has been very bad. But the commercial movement of large game companies can change this quickly.OpenGL is a necessary part for port Torque3D to Linux, but also to MAC OS, Adroid, PS4??? and other platforms. So all the changes and improvements that occur in this project, many things to facilitate future ports.
The code that you will find is based on a branch that i posted months ago to add Basic Lighting in OpenGL windows. This is a slightly cleaner version and works on both Linux and Windows. But I had to modify part of the code GFX, which means it has been altered affecting DX9 code. We will have to see if a problem has been introduced.
I've done some research on Advanced Lighting (lighting and shadow rendering in OpenGL working properly), but for now imply more changes in the GFX and thus more potential bugs. Currently Advanced Lighting in OpenGL is disabled.
I need your help
I had thought offer me to finish the project that I have shared with you. I thought about some kind of low-budged crowdfunding with 6,000$ mark and about 6 months working part time.Would need help to create a funding campaign that provides security. Would need help writing campaign and to advertise it.
One option would be to use a PayPal account and go slowly working. Would need less money, by eliminating campaign fee and other costs. I suppose about $ 4,500.
What do you think about it, what would be the best course of action?
The project
- Linux port.
- Support 1 IDE to work on Linux
- OpenGL Advanced Lighting
- 6 months working part time.
- The project makes it easier port Torque3D to Mac OS and other platforms
What happens if there is no budget?
All project development will be done on a public repository on GitHub. If this fails to reach 100% of the budget, the work done will be at the disposal of the community.What happens if the budget is exceeded?
More money means more working hours. There are always things to improve, the extra work could devote further improve the code or other tasks that the community sees interesting.About the author
I'm working on a port of Torque3D to OpenGL and Linux/SteamOS
#2
The blog only talks I've had time lately to continue my work in OpenGL, and I thought to rescue the Linux code RonOHara-GG to see if I could compile on linux.
Nothing more than that, everything is on GitHub.
I think right now there are no other similar projects on GitHub, if so sorry. Not my entencion underestimate anyone's work. But I think I make a contribution interesting.
Regarding my previous request for donations. As this time comes offering the work had already been done, but not recieved the attention expected. Just gave a couple of days of work which can be seen in this new branch.
But I do not understand you mean disappeared in the air. I think my account has been active so far, and I've only deleted OpenGL branch (yesterday) to post this (now) which is a cleaner and better work.
My intention was to ask for donations to devote the necessary hours to a project as important as this. Donations are to continue my work and that of RonOHara-GG, which has been unjustly forgotten.
Please be obliged not look dark intentions in this blog. But i try to be more communicative with my projects to not cause misunderstandings.
07/22/2013 (2:53 pm)
First of all I hope you understand that I have trouble expressing myself in English.The blog only talks I've had time lately to continue my work in OpenGL, and I thought to rescue the Linux code RonOHara-GG to see if I could compile on linux.
Nothing more than that, everything is on GitHub.
I think right now there are no other similar projects on GitHub, if so sorry. Not my entencion underestimate anyone's work. But I think I make a contribution interesting.
Regarding my previous request for donations. As this time comes offering the work had already been done, but not recieved the attention expected. Just gave a couple of days of work which can be seen in this new branch.
But I do not understand you mean disappeared in the air. I think my account has been active so far, and I've only deleted OpenGL branch (yesterday) to post this (now) which is a cleaner and better work.
My intention was to ask for donations to devote the necessary hours to a project as important as this. Donations are to continue my work and that of RonOHara-GG, which has been unjustly forgotten.
Please be obliged not look dark intentions in this blog. But i try to be more communicative with my projects to not cause misunderstandings.
#3
see teh thing is
you will need something more to actually convince ppl
to donate to it
OpenSrc and T3D - isnt that big of a deal these days
especially since there are engines like ogre3D / jmonkey... and more that are opensrc and that are a step above T3Ds multiplatform cappabilitys
so all i wanted to say, show something that wasnt done before
07/22/2013 (2:59 pm)
btw mate you might wanna check your paypalQuote:
Return to MerchantPayments By PayPal
Error Message
We cannot process this transaction because there is a problem with the PayPal email address supplied by the seller. Please contact the seller to resolve the problem. If this payment is for an eBay listing, you can contact the seller via the "Ask Seller a Question" link on the listing page. When you have the correct email address, payment can be made at www.paypal.com.
see teh thing is
you will need something more to actually convince ppl
to donate to it
OpenSrc and T3D - isnt that big of a deal these days
especially since there are engines like ogre3D / jmonkey... and more that are opensrc and that are a step above T3Ds multiplatform cappabilitys
so all i wanted to say, show something that wasnt done before
#4
What would be more constructive is to list out what Dushan has not finished or has no plans of completing, so Luis can either pick up from there or do a cleaner port. I'm not fully up to speed on the Linux ports, so I can't be entirely objective. I'm just happy to see more people trying to contribute to Torque.
07/22/2013 (3:47 pm)
I find it exciting that someone else is working on a Linux port and making great progress. As far as I've seen, no one has fully completed a port to Linux. Each piece has something missing, some major and some small. What would be more constructive is to list out what Dushan has not finished or has no plans of completing, so Luis can either pick up from there or do a cleaner port. I'm not fully up to speed on the Linux ports, so I can't be entirely objective. I'm just happy to see more people trying to contribute to Torque.
#5
thanks for that doc.sounds helpful.
and thanks to spend time on that port.
Donations plan is very much reasonable when someone is going to spend that big amount of time.
if community accept it and push the plan then there is no problem.
otherwise if it is going to be couple of persons funding then i am afraid there can be some
misunderstanding.i belief there are going on several porting of t3d in parallel.
and no plan has been announced about any of them.somehow if any of them finished and released for public
during your donation period then you will be in pressure.
that is why before this donation plan we need to ask those developer about their future plan.
clear?
@ J0linar,
i dont know if u and dushan on the same team or not,
what is the plan about his opengl port ?
any plan to release it for public?
why not he answer questions on his blogs?nor on phoinix(may be)?
07/22/2013 (4:11 pm)
@ Luis,thanks for that doc.sounds helpful.
and thanks to spend time on that port.
Donations plan is very much reasonable when someone is going to spend that big amount of time.
if community accept it and push the plan then there is no problem.
otherwise if it is going to be couple of persons funding then i am afraid there can be some
misunderstanding.i belief there are going on several porting of t3d in parallel.
and no plan has been announced about any of them.somehow if any of them finished and released for public
during your donation period then you will be in pressure.
that is why before this donation plan we need to ask those developer about their future plan.
clear?
@ J0linar,
i dont know if u and dushan on the same team or not,
what is the plan about his opengl port ?
any plan to release it for public?
why not he answer questions on his blogs?nor on phoinix(may be)?
#6
http://www.garagegames.com/community/forums/viewthread/134646
Which sounds great, but I got no idea where the branch for the work is?
It sounds to me like Dushan has done a great job and Luis is working on the port to Linux, so I think it's best if you all work together? It maybe just that Luis doesn't know where Dushan's github branch is?
I think its great we have this work going on. Thanks to all of you.
07/22/2013 (4:58 pm)
@J0linar, I suppose you refer to this thread:http://www.garagegames.com/community/forums/viewthread/134646
Which sounds great, but I got no idea where the branch for the work is?
It sounds to me like Dushan has done a great job and Luis is working on the port to Linux, so I think it's best if you all work together? It maybe just that Luis doesn't know where Dushan's github branch is?
I think its great we have this work going on. Thanks to all of you.
#7
https://github.com/TheDushan/Torque3D
but it does not have any linux branch from Dushan.
07/22/2013 (5:13 pm)
" where Dushan's github branch is?"https://github.com/TheDushan/Torque3D
but it does not have any linux branch from Dushan.
#9
07/23/2013 (11:28 am)
Dusans linux port exists only on dusans computer at the moment, picking on somebody for doing work because somebody elses private work is better or more progressed, is pretty unfair, At least the repos of Luis are available to all to look at and maybe even help
#10
see there are always 2 sides of a coin and currently the majority here just looks at one of those
Dushans port was available
and since it got pretty much ignored by the community
along with the port itself not being stable enough
he took it down
and another main important thing was that Dushan never asked for donations
and was ready to contribute his port freely to T3D Mit
now am done with this case as in i dont care anymore
and if you guys rather like to pay then well do so
and honestly
gl to Luis
07/23/2013 (11:51 am)
picking?see there are always 2 sides of a coin and currently the majority here just looks at one of those
Dushans port was available
and since it got pretty much ignored by the community
along with the port itself not being stable enough
he took it down
and another main important thing was that Dushan never asked for donations
and was ready to contribute his port freely to T3D Mit
now am done with this case as in i dont care anymore
and if you guys rather like to pay then well do so
and honestly
gl to Luis
#11
sorry for bringing it up again but this has really bothered me since you posted this in other threads as well..
how did dushans port get ignored? In the thread you linked with his last progress there were plenty of comments and encouragement.
is it because it didn't get included in the main t3d repo? It never got pull requested. Did you want to see a blog about it? There is only the blogs we write ourselves.
since it received a lot of attention in the only thread I've seen about it, what did he need? I'm sorry he feels this way so what can we do better to encourage people in the future, or maybe what can contributors do to get encouragement from us?
07/23/2013 (12:07 pm)
@j0linarsorry for bringing it up again but this has really bothered me since you posted this in other threads as well..
how did dushans port get ignored? In the thread you linked with his last progress there were plenty of comments and encouragement.
is it because it didn't get included in the main t3d repo? It never got pull requested. Did you want to see a blog about it? There is only the blogs we write ourselves.
since it received a lot of attention in the only thread I've seen about it, what did he need? I'm sorry he feels this way so what can we do better to encourage people in the future, or maybe what can contributors do to get encouragement from us?
#12
@J0linar (and Dushan): I know a lot of people were really looking forward to the port, but since they weren't active Torque3D developers themselves (for example because of the lack of a Linux port ;) ) didn't really comment.
07/23/2013 (1:48 pm)
Ahh drama, all we needed now :(@J0linar (and Dushan): I know a lot of people were really looking forward to the port, but since they weren't active Torque3D developers themselves (for example because of the lack of a Linux port ;) ) didn't really comment.
#13
I could tell why I felt like that. I felt like ignored because I asked "Is it possible that I attend one Steering Committee meeting as guest and observer?" and got no answer. Just to clarify little, I want to tell that at that time I never actually send email and expressed interest to actually join Steering Committee.
my Linux repo is still on GitHub just hidden for some reason
github.com/TheDushan/Torque3D/commit/08b203215e3cea1cb69e73dbb1c388074e8d1fe3 but that commit don't represent my latest work based on Linux branch. I was preparing new commit and pull request considering my work on Linux what I will soon push.
For some time I thought that opening Linux repo to public was counterproductive. Let me elaborate on that, why I think like I say counterproductive. I opened Linux branch to public at that time so others can test progress so fa,r and to contribute changes if not to that repo, then to fork it and to continue with development cycle and bring one step closer to full and proper port.
But nobody (I only speak at that time) seems to care on continuing developing (most of people just want stuff, without will to contribute to development, there is also know-how factor present, I am aware of that). I base that on fact that there was several other repos what other started. I could never accept the fact that others want to lose time on rnd with them same stuff what me and Ron OHara already provided with our builds.
I hope that this clarify some things.
EDIT:
Back on topic now. I want to encourage you to continue with development.
07/23/2013 (2:21 pm)
I never wanted that this blog get in state what it is now, or to get off topic.I could tell why I felt like that. I felt like ignored because I asked "Is it possible that I attend one Steering Committee meeting as guest and observer?" and got no answer. Just to clarify little, I want to tell that at that time I never actually send email and expressed interest to actually join Steering Committee.
my Linux repo is still on GitHub just hidden for some reason
github.com/TheDushan/Torque3D/commit/08b203215e3cea1cb69e73dbb1c388074e8d1fe3 but that commit don't represent my latest work based on Linux branch. I was preparing new commit and pull request considering my work on Linux what I will soon push.
For some time I thought that opening Linux repo to public was counterproductive. Let me elaborate on that, why I think like I say counterproductive. I opened Linux branch to public at that time so others can test progress so fa,r and to contribute changes if not to that repo, then to fork it and to continue with development cycle and bring one step closer to full and proper port.
But nobody (I only speak at that time) seems to care on continuing developing (most of people just want stuff, without will to contribute to development, there is also know-how factor present, I am aware of that). I base that on fact that there was several other repos what other started. I could never accept the fact that others want to lose time on rnd with them same stuff what me and Ron OHara already provided with our builds.
I hope that this clarify some things.
EDIT:
Back on topic now. I want to encourage you to continue with development.
#14
Sorry you felt that way. I really am. If I had any sway over anything I would have pushed for you to attend. If you can... make your repo public. As for your reasons for the delay, I get that.
Thing is, if you look at the NUMBER 1 request, the work you are doing is TOP of the list. Again, I agree not to highjack Luis' thread but, perhaps the BOTH of you should link up?
I will state this again, and (REALLY) no offense but, if I had accomplished what you have, I would be on the highest mountain I could find and make sure that everyone and their mother knew 'I did this!'. Start using the BLOGS brother. Forum crap just gets fazed out too quick. You obviously have skills and yes, sometimes things get ignored. Sorry for that. (heck even my crap gets ignored at times, and I am one loud nerd.) Your line about people NOT wanting to contribute... brother, really? I can name a dozen posts on this.... even for windows only builds. This was my BIGGEST gripe about my work in the MIT Steering Committee (everyone wants everything but, no one is even willing to plug in a known good resource!)
Anyway, I will start watching your and Luis's work more closely. (even though I don't really care about a linux port). I thank you and Luis for your work in making all this happen.
THIS IS TO BOTH you and Luis; Do not give up because you THINK your work is ignored. We are a small community but, sometimes things happen SO fast that important work gets overlooked. When that happens, send out another post, remind this community that there are people working on 'good stuff'. Do not take 'silence' as an answer.
Good luck to both of you.
Ron
07/23/2013 (6:35 pm)
Dusan,Sorry you felt that way. I really am. If I had any sway over anything I would have pushed for you to attend. If you can... make your repo public. As for your reasons for the delay, I get that.
Thing is, if you look at the NUMBER 1 request, the work you are doing is TOP of the list. Again, I agree not to highjack Luis' thread but, perhaps the BOTH of you should link up?
I will state this again, and (REALLY) no offense but, if I had accomplished what you have, I would be on the highest mountain I could find and make sure that everyone and their mother knew 'I did this!'. Start using the BLOGS brother. Forum crap just gets fazed out too quick. You obviously have skills and yes, sometimes things get ignored. Sorry for that. (heck even my crap gets ignored at times, and I am one loud nerd.) Your line about people NOT wanting to contribute... brother, really? I can name a dozen posts on this.... even for windows only builds. This was my BIGGEST gripe about my work in the MIT Steering Committee (everyone wants everything but, no one is even willing to plug in a known good resource!)
Anyway, I will start watching your and Luis's work more closely. (even though I don't really care about a linux port). I thank you and Luis for your work in making all this happen.
THIS IS TO BOTH you and Luis; Do not give up because you THINK your work is ignored. We are a small community but, sometimes things happen SO fast that important work gets overlooked. When that happens, send out another post, remind this community that there are people working on 'good stuff'. Do not take 'silence' as an answer.
Good luck to both of you.
Ron
#15
07/23/2013 (8:04 pm)
I have my hands full with the android port of T2D for the next month and a half but after that I would be willing to help out (assuming you still need help then) With the port I can also hopefully get Mac port up and running as well if no one has. I am very interested in getting T3D working on Mac and Linux I just did not have the time to do a full port but I can definitely help out from others work and contribute back.
#16
@Dushan can report on the status of your job and when you expect to publish?
I can handle the OpenGL part, I have lighting and shadow rendering in Advanced Linghting OpenGL working properly, only need to clean/update code to publish.
@Tim if you can help in the port T3D to Mac would be great. I have seen that people have compiled on Mac but render Torque3D are broken. If you have time you can try to compile this branch to check if Basic Linghting working properly?
07/24/2013 (5:10 am)
It seems that the most logical is to form a working group and organize, and try not to be repeated this type of situation.@Dushan can report on the status of your job and when you expect to publish?
I can handle the OpenGL part, I have lighting and shadow rendering in Advanced Linghting OpenGL working properly, only need to clean/update code to publish.
@Tim if you can help in the port T3D to Mac would be great. I have seen that people have compiled on Mac but render Torque3D are broken. If you have time you can try to compile this branch to check if Basic Linghting working properly?
#17
07/24/2013 (7:30 am)
I use mac as my main system, so once the android port cools off and is mostly done I'll take a look at it.
#18
Dushan: with no offense intended, I felt like I had to write a bit about publishing code in response to your comment. I can't be sure, but it seems like in this case, publishing your work may have driven some interest. I don't know.
07/24/2013 (5:07 pm)
A working group sounds like a great idea. You guys are both doing great work, and if I've been fairly quiet so far it's because of my lack of expertise/ability to help. I focus my attention elsewhere in T3D because it's where I can actually be of some use.Dushan: with no offense intended, I felt like I had to write a bit about publishing code in response to your comment. I can't be sure, but it seems like in this case, publishing your work may have driven some interest. I don't know.
#19
07/25/2013 (2:47 pm)
Hey Luis, I'd like to write about this blog post in 1st edition of the T3D magazine I'm working on. Can you contact me on ljorgensen@winterleafentertainment.com and tell me if it's alright with you?
#20
07/29/2013 (10:15 am)
@Lukas. Mail sent. 
J0linar
i will put this as nicely as possible
all i see here is nothing new and tbh it is even less
i mean not only that Dushans T3D Linux Port is already more advanced
we proofed with Videos and article @ phoronix that T3D was succesfully
ported to Linux along with the editor - months ago
so explain me why do you think someone would actually
donate?
see for it to be worth - you should have more
aslong as this isnt given
you should avoid asking for donations
especially since you just dropped the ball last time -
remember where you asked for donations to finish your windows opnegl port, guess what? you didnt as you
just vanished in thin air
so this is really a friendly advice before asking for donations
you should proof that this is more then what was already done
by GG-RonOHara
and especially Dushan -
see there are videos and articles about Dushans Port