Page 2 of 5
Re: Perspective 3D Graphics
Posted: Fri Nov 04, 2022 6:16 am
by stevepoole
Hi Per,
In a complex development we always tend to suspect bugs to be due to complex causes...
But here the problem was a simple one, too obvious for me to envisage.
Thank you so much for finding the problem : simply an OVER -1 in the second program, XORing output in the first and making it fuzzy !
Now I can relax and get on with developing the job in hand... knowing that the toolkits are reliable.
Steve.
_____________
Re: Perspective 3D Graphics
Posted: Fri Nov 04, 2022 10:26 am
by pjw
stevepoole wrote:<>
Thank you so much for finding the problem : simply an OVER -1 in the second program, XORing output in the first and making it fuzzy !
Now I can relax and get on with developing the job in hand... knowing that the toolkits are reliable.
Steve.
_____________
Glad I could help

Keep QLing!
Re: Perspective 3D Graphics
Posted: Wed Nov 23, 2022 9:22 am
by stevepoole
Hi Folks,
Work on the program is now progressing fairly well. A user interface has been added to allow you to manipulate the 3D image.
You may spin it around any axis, or orbit around it on a circular trajectory, choosing the scale you prefer.
You can look up or down onto it, (but only with the frontal axis, or the output gets distorted).
There is a demo mode too, using randomised inputs. Otherwise, carefully choose the interface values to get nice output.
There is still some more work needed before release, including meaningfull documentation, as there are a lot of variables in the code....
Steve.
Re: Perspective 3D Graphics
Posted: Sat Nov 26, 2022 11:59 am
by stevepoole
Hi Folks,
Just finished debugging the real-time object rotational functions, which now work fine, and incorporating simple text.
Next job will be to adapt wrapped textures onto facettes, functions already demonstrated which need to be merged in.
The attatched tumbling object is simply 'centered' on the output window. It needs to be parametered to follow trajectories too....
More mergeing work in progress. Steve.
Re: Perspective 3D Graphics
Posted: Sun Nov 27, 2022 6:47 am
by stevepoole
Hi Folks,
'Wrapping text' onto ANY facette has now been done. 'Texture-wrapping ' will ,be the next stage....
(By textures, I mean grabbing any part of what is on the Window#2.)
It would be nice to be able to grab from buried windows, but that will have to wait somewhat.
Regards, Steve.
Re: Perspective 3D Graphics
Posted: Tue Nov 29, 2022 7:54 am
by stevepoole
Hi Folks,
Wrapping Window#2 graphics onto the tumbling cube now works ok, but needs a little fine-tuning to be pixel-perfect.
By only rastering every other pixel, we get 'transparent windows' on the cube.... and much faster operation, but black moire effects !
Next job will be to wrap different images onto many faces of the tumbling cube. The code is all there, but needs some adjusting....
Regards, Steve.
Re: Perspective 3D Graphics
Posted: Wed Nov 30, 2022 9:32 pm
by stevepoole
Hi Folks,
Spent a lot of time simplifying the code, which was originally three merged programs.
Now much faster tumbling, (if you reduce output definition). Scaling works ok too.
Will have to reorganise the code again for multiple facettes, the next job.
The user interface will depend on the final version emergeing.... but many adaptations in store.....
Regards, Steve.
Re: Perspective 3D Graphics
Posted: Thu Dec 01, 2022 8:37 am
by martyn_hill
Good morning Steve!
I just wanted to say how impressed I am at each stage of your development of these ideas - and your generosity in taking the time to sharing them here!
Please don't stop

Re: Perspective 3D Graphics
Posted: Thu Dec 01, 2022 10:27 am
by pjw
Looking promising!

Re: Perspective 3D Graphics
Posted: Thu Dec 01, 2022 11:38 am
by Andrew
Looks very interesting! I cannot wait to see the code - there will be a lot to learn from.