The Combine Forum - View Single Post - AgOpenGPS
Thread: AgOpenGPS
View Single Post
post #128 of (permalink) Old 11-11-2016, 01:28 AM Thread Starter
BrianTee
Senior Member
 
Join Date: Aug 2012
Location: Vermilion Alberta Canada
Posts: 5,688
Mentioned: 18 Post(s)
Quoted: 2486 Post(s)
Hey just got in. Actually combined some today!

In just thinking about this as you wrote how about just doing a readpixel 'behind' the boom all the time just like ahead of the boom? Also it has to work properly when a rigid boom is selected. The other thing i discovered was the back face culling was set so when the boom went backwards it was still making triangles, its just the winding was the other way around so to opengl they were facing the other way. Triangle winding, the order which the points are generated and culling, glCullFace are topics also worth looking at.

Opengl is a bit of a tough one. Getting all the translations and rotations just right and in the right order can be a monumental task. OpenAg using compass style degrees and direction makes it especially wonky. Everything is upsidedown and mirrored and 90 degrees rotated.

I probably didn't answer a single thing you asked.....
BrianTee is offline  
 
 
For the best viewing experience please update your browser to Google Chrome