LDView Exported .POV is mirrored/reversed


Exported .POV is mirrored/reversed
#1
Hi,

I am a new user of LDView, and I have been exporting .POV files from LDView to render in POV-Ray. When I view a part in LDView it looks correct, but the POV-Ray render shows a mirror image. I have seen an option in the POV Export Options called 'Fix mirrored stud logos' which doesn't seem to help at all.

Part 54384 in LDView
[Image: 7OQGDRm.jpg]

Part 54384 after POV-Ray render
[Image: 6hc1HkV.png]

Any suggestions to help would be apprieciated!
Reply
RE: Exported .POV is mirrored/reversed
#2
In the .POV file the LDXCamAspect is being set to <-1,0,0>. Changing this to <1,0,0> fixes the problem.

Code:
// Camera
#ifndef (LDXSkipCamera)
camera {
#declare LDXCamAspect = image_width/image_height;
location LDXCameraLoc
sky LDXCameraSky
right LDXCamAspect * < -1,0,0 >
look_at LDXCameraLookAt
angle 74.114571
}
#end
Reply
RE: Exported .POV is mirrored/reversed
#3
(2020-03-28, 14:53)Jordan Cormack Wrote: In the .POV file the LDXCamAspect is being set to <-1,0,0>. Changing this to <1,0,0> fixes the problem.

Code:
// Camera
#ifndef (LDXSkipCamera)
camera {
#declare LDXCamAspect = image_width/image_height;
location LDXCameraLoc
sky LDXCameraSky
right LDXCamAspect * < -1,0,0 >
look_at LDXCameraLookAt
angle 74.114571
}
#end

I'm not having any luck reproducing the problem. Note that LDXCamAspect is set to image_width/image_height, but right is set to that * < -1,0,0 >. That -1 is intentional. Can you tell me what steps you took in LDView? I did the following, without producing the problem:

  1. Open 54384.dat
  2. Make sure LDView is set to Examine Mode
  3. Enable Latitude/Longitude Rotation
  4. View->Viewing Angles->Specify Latitude/Longitude
  5. Enter 90 for both latitude and longitude
  6. Export to POV
I don't have LGEO enabled because I don't have that set up right now, but I wouldn't expect that to cause the problem. If it does, I think it means that the LGEO version of 54384 is broken. Can you test with the attached wing_test.ldr file (which has 54384.dat and 3001.dat next to each other) and then see what happens? If the stud logos are also reversed on 3001.dat, then LDView is doing something wrong. If 54384 is flipped, and 3001 isn't, then something is probably wrong with the 54384 LGEO part that you have.


Attached Files
.ldr   wing_test.ldr (Size: 77 bytes / Downloads: 0)
Reply
« Next Oldest | Next Newest »



Forum Jump:


Users browsing this thread: 2 Guest(s)