Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Free first person camera #249

Open
DuendeInexistente opened this issue Aug 31, 2017 · 14 comments
Open

Free first person camera #249

DuendeInexistente opened this issue Aug 31, 2017 · 14 comments

Comments

@DuendeInexistente
Copy link

I get this is intended primarily at designing small things, not actual voxel maps.
But would it be hard to add a free first person camer? One that can do more than rotating around the central point? It'd make my life so much easier.

@simlu
Copy link
Owner

simlu commented Aug 31, 2017

Not hard, but I have limited time atm. Do you know that you can change the central point that the camera moves around? Does that work for you?

Otherwise can you specify your use case a bit more please?

@DuendeInexistente
Copy link
Author

Oh, I can change the central point? I haven't found the option to do that. I did find the hotkeys to pan the camera up/down/left/right thought, and those were pretty useful.
My use case is mainly wanting to make small maps, similar to models or very, very broad sketches of an area.

@simlu
Copy link
Owner

simlu commented Aug 31, 2017

Yes, please take a look at the documentation here:
https://simlu.github.io/voxelshop/voxelshop_shortcuts.html

Should help you until we get to adding a free camera in!

@JohnPablok
Copy link

JohnPablok commented Sep 23, 2017

Hello! @simlu Is there any way I can change how the "middle mouse button" and the "right mouse button" move the camera? I want to rotate the view using right click, and pan the view using middle button, which is the opposite of how it is right now. I don't see any options for that on the Shortcut manager.

@simlu
Copy link
Owner

simlu commented Sep 23, 2017

There is currently no way to change thar unfortunately.

But basically you want the same camera shortcuts that blender has im guessing? I think that's on the too somewhere.

@JohnPablok
Copy link

Yes exactly! That's the setup I use on Blender, it's also very similar to the one in Unity and even Maya (omitting the fact that you have to press Alt there). The switched functionality messes a lot with my muscle memory, I guess it happens to other people too.

@simlu
Copy link
Owner

simlu commented Sep 24, 2017

Let me take a look

@JohnPablok
Copy link

JohnPablok commented Sep 24, 2017

Thank you! By the way, apparently my memory sucks. In Unity you can pan with middle mouse button and rotate the camera with right click, without pressing ALT. Pressing ALT actually rotates with LBM, pans with MMB and zooms with RMB. Maya might be the same.

@simlu
Copy link
Owner

simlu commented Sep 24, 2017

I did some work here towards customizing mouse / camera actions. Will try to do a QA release shortly...

#250

@JohnPablok
Copy link

Wow! Awesome! Thank you so much, I'll be sure to test it as soon as it's released.

@simlu
Copy link
Owner

simlu commented Sep 24, 2017

Ok, pre-release is up: https://github.com/simlu/voxelshop/releases

@JohnPablok
Copy link

JohnPablok commented Sep 24, 2017

Nice! It works beautifully! The only problem I notice is that it isn't possible to rotate the camera using RMB while I'm using the "Draw voxel" tool and the mouse is in the voxel zone, of course this is by design because right click erases voxels, but it might be troublesome in big scenes, doesn't matter though, I can live with that haha.
I really want to thank you, this is going to improve my workflow a lot!

Edit: Using the "select" tool also gets very difficult, I can't rotate the camera at all if I'm using it. But what I'm doing right now is changing to another tool, rotating there and coming back to "select"

@simlu
Copy link
Owner

simlu commented Sep 25, 2017

Doesn't ctrl work to always enable the camera?

@JohnPablok
Copy link

JohnPablok commented Sep 25, 2017

Oooh, well that solves it! Awesome, yes, it works.

Edit: I think most 3D software enables the camera with ALT, might be hard for some to find that shortcut.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants