LDView povray export


RE: LDView povray export
#5
(2019-06-20, 17:37)Travis Cobbs Wrote:
(2019-06-20, 6:47)Michael Horvath Wrote: 4. Lastly, if you could do the camera calculations inside the POV file instead of "hardcoding" the values, that would be great. For instance, start with latitude, longitude and radius to generate the camera location; then translate the camera based on the center of the bounding box. (I'm not 100% sure exactly what LDView does to output the camera.)

It's been a long time since I worked on the POV-Ray stuff, so I'm not sure about how difficult this would be. I'll at the very least look into it.

I've come to the conclusion that I'm not conversant enough in POV-Ray syntax to do this. If you can come up with a camera definition that takes the following inputs, I can incorporate your definition into the generated POV code when lat/long camera positioning is used:
  • LDXCameraLookAt (The center of the model, and the point at which the camera is looking.)
  • LDXCamAspect (The aspect ratio of the rendered scene; used in the "right" vector right now.)
  • LDXCameraDistance (The distance from the camera to the center of the model.)
  • LDXCameraLatitude
  • LDXCameraLongitude
  • LDXCameraAngle

If you need more input parameters, let me know; I can probably provide them, but I think the above is all that should be needed.
Reply
« Next Oldest | Next Newest »



Messages In This Thread
LDView povray export - by Michael Horvath - 2019-06-20, 6:47
RE: LDView povray export - by Travis Cobbs - 2019-06-20, 17:37
RE: LDView povray export - by Michael Horvath - 2019-06-20, 23:03
RE: LDView povray export - by Travis Cobbs - 2019-06-21, 2:04
RE: LDView povray export - by Michael Horvath - 2019-06-21, 21:56
RE: LDView povray export - by Orion Pobursky - 2019-06-21, 22:00
RE: LDView povray export - by Travis Cobbs - 2019-06-21, 23:53
RE: LDView povray export - by Travis Cobbs - 2019-06-22, 19:48
RE: LDView povray export - by Michael Horvath - 2019-06-25, 12:40
RE: LDView povray export - by Travis Cobbs - 2019-06-21, 3:46
RE: LDView povray export - by Steffen - 2019-06-23, 1:31
RE: LDView povray export - by Travis Cobbs - 2019-06-23, 1:48
RE: LDView povray export - by Michael Horvath - 2019-06-25, 23:35
RE: LDView povray export - by Travis Cobbs - 2019-06-26, 1:42

Forum Jump:


Users browsing this thread: 4 Guest(s)