Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Wanted: Very Simple 3D system
#7
Hey @vince I started digging into your 128 LOC above. And i am trying to imagine the setup of this pyramid.

You explained d as distance eye is from monitor = projection screen.
what are z0, oy?
a is some rotation angle but whch way around like clock hands on wall, central axis of merry-go-round? or around x axis BTW where is origin for "real" and projected image?

Best way might to describe setup is a sheet of glass in front of model and we trace lines on the glass of what we see behind glass.
The other way is have model in front of projection screen and from eye point we draw lines from model points onto projection screen behind, ha! like see through shadows Smile

Is the pyramid in front of projection screen, behind it or split somewhere through plane of projection screen i am imaging vertical x, y like movie screen and actual object in from or back or split by screen.

The base would have all positive coordinates y = 0 at top y near height of screen a bottom the base
where are the negative numbers coming from here:
dim x(5), y(5), z(5)
x( 0) = 0: y( 0) = 70: z( 0) = 0
x( 1) = 70: y( 1) =-70: z( 1) = 70
x( 2) =-70: y( 2) =-70: z( 2) = 70
x( 3) =-70: y( 3) =-70: z( 3) =-70
x( 4) = 70: y( 4) =-70: z( 4) =-70
x( 5) = 70: y( 5) =-70: z( 5) = 70

also I put a Sleep command before the loop around command and looking at the very first appearance of our pyramid, something looks wrong! It is impossible to be real pyramid with square base:
   
b = b + ...
Reply


Messages In This Thread
Wanted: Very Simple 3D system - by bplus - 02-15-2024, 03:56 PM
RE: Wanted: Very Simple 3D system - by dbox - 02-15-2024, 04:13 PM
RE: Wanted: Very Simple 3D system - by bplus - 02-15-2024, 04:57 PM
RE: Wanted: Very Simple 3D system - by vince - 02-15-2024, 09:10 PM
RE: Wanted: Very Simple 3D system - by bplus - 02-15-2024, 11:54 PM
RE: Wanted: Very Simple 3D system - by Abazek - 02-16-2024, 07:27 AM
RE: Wanted: Very Simple 3D system - by bplus - 02-19-2024, 11:17 AM
RE: Wanted: Very Simple 3D system - by bplus - 02-19-2024, 11:34 AM
RE: Wanted: Very Simple 3D system - by bert22306 - 02-19-2024, 11:22 PM
RE: Wanted: Very Simple 3D system - by vince - 02-20-2024, 03:36 AM
RE: Wanted: Very Simple 3D system - by bplus - 02-20-2024, 03:28 PM
RE: Wanted: Very Simple 3D system - by bplus - 02-20-2024, 04:01 PM
RE: Wanted: Very Simple 3D system - by bplus - 02-20-2024, 05:02 PM
RE: Wanted: Very Simple 3D system - by bert22306 - 02-23-2024, 01:37 AM
RE: Wanted: Very Simple 3D system - by bplus - 02-23-2024, 01:58 AM
RE: Wanted: Very Simple 3D system - by bplus - 02-20-2024, 10:22 PM
RE: Wanted: Very Simple 3D system - by bplus - 02-22-2024, 02:21 PM
RE: Wanted: Very Simple 3D system - by bplus - 02-21-2024, 02:58 PM
RE: Wanted: Very Simple 3D system - by bplus - 02-21-2024, 09:51 PM
RE: Wanted: Very Simple 3D system - by madscijr - 02-22-2024, 03:39 PM
RE: Wanted: Very Simple 3D system - by vince - 02-23-2024, 07:15 PM



Users browsing this thread: 11 Guest(s)