LDView 4.3 Released


RE: LDView 4.3 Released
#13
(2018-02-22, 5:21)Travis Cobbs Wrote:
(2018-02-01, 5:24)Michael Horvath Wrote: I *think* I only edited two files - LDrawModelViewer.cpp and LDInputHandler.cpp - which I've attached. However, they are from the 4.3 beta version and are not current. Also, I cannibalized the "FMUpSide" parameter for my purposes instead of creating a brand new flag. This will need to be fixed.

Sorry for the delayed response.

I tried adding a new "Walk" view mode, using your code for the camera updates when in that mode, and it doesn't work. It throws the camera around all over the place. I committed your camera calculation changes, and other changes to allow for walk mode, but don't have walk mode included in the UI. The latest LDView code is here:

https://github.com/tcobbs/ldview

I didn't take your changes to disable zooming while in fly-through mode. I may take those for walk mode, but haven't decided yet. If you want to try it out, edit LDrawModelViewer.cpp, and in LDrawModelViewer::updateCameraPosition, where you added the big if statement to do your "FPS Mode", change the if statement I have from the following:

Code:
   if (viewMode == VMWalk)

to:

Code:
   if (viewMode == VMWalk || viewMode == VMFlyThrough)
After that, "fly-through" mode will use your camera positioning. If you can get it to work, send me what you have, and I will fully integrate it into LDView as "Walk Mode".

Thanks! I will take a look!

As for the camera jumping around all over the place: this happens if you have a poor framerate. On large models like Datsville I could not really control the camera all that well since the FPS was so low. Things were much smoother with smaller models.


Mike
Reply
« Next Oldest | Next Newest »



Messages In This Thread
LDView 4.3 Released - by Travis Cobbs - 2018-01-30, 7:21
RE: LDView 4.3 Released - by Travis Cobbs - 2018-01-30, 16:19
RE: LDView 4.3 Released - by Travis Cobbs - 2018-02-01, 6:20
RE: LDView 4.3 Released - by Travis Cobbs - 2018-02-22, 5:21
RE: LDView 4.3 Released - by Michael Horvath - 2018-02-23, 0:22
RE: LDView 4.3 Released - by Michael Horvath - 2018-02-24, 17:44
RE: LDView 4.3 Released - by Michael Horvath - 2018-02-24, 19:30
RE: LDView 4.3 Released - by Steffen - 2018-02-24, 23:15
RE: LDView 4.3 Released - by Michael Horvath - 2018-02-24, 23:19
RE: LDView 4.3 Released - by Steffen - 2018-02-24, 23:29
RE: LDView 4.3 Released - by Travis Cobbs - 2018-02-26, 7:48
RE: LDView 4.3 Released - by Steffen - 2018-02-26, 18:39
RE: LDView 4.3 Released - by Michael Horvath - 2018-02-26, 21:47
RE: LDView 4.3 Released - by Michael Horvath - 2018-02-24, 21:54
RE: LDView 4.3 Released - by Johann Eisner - 2018-01-30, 8:55
RE: LDView 4.3 Released - by Travis Cobbs - 2018-01-30, 16:17
RE: LDView 4.3 Released - by Thomas Chen - 2018-03-21, 22:33
RE: LDView 4.3 Released - by Travis Cobbs - 2018-03-22, 5:25

Forum Jump:


Users browsing this thread: 14 Guest(s)