My machine OGRE texture rotation problem ...
Posted: Sat Apr 13, 2024 2:29 pm
My story ... (only for those who are interested)
In 2007 I invested all my money and time in a new idea of building a fully automated machine.
For the production of wooden tiny houses.
So, I did a lot of research, development and drawings ...
bought a lot of parts (mechanical, electrical, electronical, and other components, ...).
And yes, I had a the luck that in 2008 there was the big banking crisis.
I almost lost my company, I lost my home due to I divorced, and I had a lot of financial debts problems.
And as you have some troubles, you are all alone on the world, family, friends, they are all gone !!!
Today, all my financial debts are payed back, I'm still dreaming and I want to restart my project,
I still have all the mechanical, electrical parts, and electronic drivers.
But before building it, as it is a very complex and fully automated machine,
I want to create some simulation programs (using PB5.73x64LTS), mechanical, electrical, pneumatically, PLC, ...
Picture 1: The machine chassis (the arrows showing 2 of the 8 belt drivers in total)
Picture 2: Detail of the beltdriver without the belt
Picture 3: The belt mesh
Picture 4: the texture .png
So, finally my question ...
One of my problems in OGRE, I want to simulate the motions of the transportation belt on the machine.
Not all the belts are running at the same time, so they must be controlled separately.
1) So, I designed a belt in 3D-CAD (300mm wide, 475mm length and 2mm thick ),
2) I designed a .png file with arrows on the top. (300px x 475px)
If your object is for example a cylinder, you can use the rotation of the cylinder to simulate the motion.
But here it's a special belt model who runs around three cylinders, (see drawing below)
Q) How can I rotate the .png texture around the belt without rotating the belt and only the texture ?
Is this possible, is there a texture offset possibility ?
Or do I need to create several textures, that I can switch inside the program ?
For example 10 different textures for one mesh.
Again, for those who are interested ...
How do I work:
1 ) I design all the mechanical parts (sketches) on paper with the needed measurements.
2 ) I design them in a 3D-CAD program.
3 ) I export these data to BLENDER data via COLLADA files (.dea).
4 ) Then import all the COLLADA parts in BLENDER.
5 ) Followed by reconstructing all the parts to one big machine.
Positions and rotations, the scaling is done in the 3D-CAD program.
6 ) Then I use the BLENDER2OGRE exporter to create the .mesh files.
7 ) I import these parts in PB 5.73x64 LTS as geometry
8 ) Inside PB can do some camera motions ...
Greetings,
marc [aka MarcoPajotter]
In 2007 I invested all my money and time in a new idea of building a fully automated machine.
For the production of wooden tiny houses.
So, I did a lot of research, development and drawings ...
bought a lot of parts (mechanical, electrical, electronical, and other components, ...).
And yes, I had a the luck that in 2008 there was the big banking crisis.
I almost lost my company, I lost my home due to I divorced, and I had a lot of financial debts problems.
And as you have some troubles, you are all alone on the world, family, friends, they are all gone !!!
Today, all my financial debts are payed back, I'm still dreaming and I want to restart my project,
I still have all the mechanical, electrical parts, and electronic drivers.
But before building it, as it is a very complex and fully automated machine,
I want to create some simulation programs (using PB5.73x64LTS), mechanical, electrical, pneumatically, PLC, ...
Picture 1: The machine chassis (the arrows showing 2 of the 8 belt drivers in total)
Picture 2: Detail of the beltdriver without the belt
Picture 3: The belt mesh
Picture 4: the texture .png
So, finally my question ...
One of my problems in OGRE, I want to simulate the motions of the transportation belt on the machine.
Not all the belts are running at the same time, so they must be controlled separately.
1) So, I designed a belt in 3D-CAD (300mm wide, 475mm length and 2mm thick ),
2) I designed a .png file with arrows on the top. (300px x 475px)
If your object is for example a cylinder, you can use the rotation of the cylinder to simulate the motion.
But here it's a special belt model who runs around three cylinders, (see drawing below)
Q) How can I rotate the .png texture around the belt without rotating the belt and only the texture ?
Is this possible, is there a texture offset possibility ?
Or do I need to create several textures, that I can switch inside the program ?
For example 10 different textures for one mesh.
Again, for those who are interested ...
How do I work:
1 ) I design all the mechanical parts (sketches) on paper with the needed measurements.
2 ) I design them in a 3D-CAD program.
3 ) I export these data to BLENDER data via COLLADA files (.dea).
4 ) Then import all the COLLADA parts in BLENDER.
5 ) Followed by reconstructing all the parts to one big machine.
Positions and rotations, the scaling is done in the 3D-CAD program.
6 ) Then I use the BLENDER2OGRE exporter to create the .mesh files.
7 ) I import these parts in PB 5.73x64 LTS as geometry
8 ) Inside PB can do some camera motions ...
Greetings,
marc [aka MarcoPajotter]

