perspective projection 2D onto 3D
All  1-5  6-8

Previous
Next
 From:  pressure (PEER)
10807.6 In reply to 10807.5 
Michael,

The points should be located behind the camera point. They're on the "film plane" of the camera and will be projected out onto the 3D object. Like converting the camera into a slide projector. See screenshots above where rays all go through a point. That's the camera point.

- Peer
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
10807.7 In reply to 10807.6 
Hi Peer, ok I see now - I had previously thought the rays would start at the camera point and go forward. You may need them to be a little longer if they're starting behind the camera point. Also the factory system may not be expecting to have a factory call both calculate() and also be used with update()/commit() as well with the same factory.

Does the attached version work any better for you?

- Michael

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  pressure (PEER)
10807.8 In reply to 10807.7 
Michael,

Thanks for teaching me that calculate() and commit() shouldn't be used on the same factory and for showing how to add the factory output to the geometryDatabase in another way.

- Peer
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
 
Show messages: All  1-5  6-8