How do i reset to the default Camera setting(Unity3d) [duplicate] - camera

When you first run Unity, it has that scene where an Area Light is acting like a sun, and the camera is a nice shade that allows you to clearly see around you.
I accidentally changed my settings on my Main Camera, and it has stayed there, and is a solid color of blue. How do I get the original camera settings back?

Just click that little gear and reset it:

Delete your main camera. Make a new camera. Drag it back into the hierarchy. Rename it to the name of your original camera. That should, in theory, give you all of the default settings if I remember correctly.

What you're looking for is called a Skybox. Here's how to get it back
Select the Main Camera GameObject. Under the Clear Flags setting, select Skybox
Open the Lighting tab by going to Window -> Lighting
Under the Environment Lighting settings, change your Skybox to Default-Skybox
Profit.
Pictures below

just set the scale in Main Camera for z-axis to -10 as it is set to 0 which renders camera preview with blue screen.
A screenshot is provided so i hope it may help you. just change your settings as depicted in the screenshot

Related

Horizontal Camera Scrolling within given range

I want to create a mobile Game, with only horizontal Camera Movement.
Like a SideScroller without the Camera being attached to an Actor.
I want to let the User only move within the given Range.
I'm using only Blueprints.
Just to make it sure, I really don't want to know, anything about the implemented Camera of any Mobile Device.
I just want my Camera Actor (From Unreal Engine) to behave like a normal App, where you can Scroll horizontal just by "swiping" the finger over the Screen from left-to-right to archieve a movement to the left and swiping from right-to-left to archieve a movement to the right.
Information I need:
How can I move the Camera horizontal by mobile Touch? (similar to Scrolling a ListView/RecyclerView in Android)
How can I just let the Camera move horizontal within the Map or given Range?
(See Pic's with Grey Background)
Current Map:
Current Static Camera View (Shouldn't go any furhter to the left):
Example Camera View (Shouldn't go any furhter to the right):
Thanks in advance for any helpful advise.
For the scrolling boundaries you could work with a float variable and set its min/max value manually. That way it never extends over those min/max values.
Or you could use this node instead.
Also check out this video, might give you an idea on how to implement your swipe mechanic.

How to build below screen in titanium?

below i attached an app help guide screen. I am understanding how to build this screen.
If any body have idea please share here
View with semi transparent background color (backgroundColor:"rgba(0,0,0,0.5)";) and some images on top of it.
So, using images is bad. You'll need images for translations and if you do this as one image you'll need to ensure all devices are covered so your arrows point to the right element.
Minimise images == smaller app.
First thing you'll need to do is a create a blocker view -- so that's a view that will fill the screen and have a black background with opacity.
You can't apply that to the window as everything in it will be semi-transparent so:
Create a transparent Window that fills the screen.
Add to that window a view that fills the window and has opacity say 0.5 and black background
Add to the Window (not the view you just created) the other elements and button -- ideally, these should be individual graphics of the arrows, sized in such a way that you can position them based on the host element (the item they are pointing to / referring to). Use real text so you can handle translations / reduce file size.
So you'll need a way to associate each tip with a control they are anchored too, and that will ensure that regardless of the screen size, the tip will appear in the correct place.
First of all, always give a try before putting questions anywhere because it makes you learn things on your own for long time.
The easiest step for you to do this is to ask your designer to create a complete image just like that & you just have to show it on top.
If you have to show that image in different translations, then you can ask your designer to provide you required translations images.

Camera movements in Verold

In Verold, using the Verold Studio controls, how do I get the camera to rotate around the axis of the model when I pan, rather than just turning on its own axis? I've searched through the controls in Studio and am unable to find the solution. I am certain it is right in front of me, I just cannot see it.
When you click the camera, then open orbit controls, and the first setting in there is the object to orbit. You can set this to a model, or a mesh. Depending on what you want to orbit.
The other trick is that you should make sure that your camera's initial position is a valid orbit position. To do this, select the model you want to orbit and click the 'F' key. Now you can choose your camera and set it to this position using the "align to position" button.
Hope that helps!

How to Host Apple's Pitch Shift Audio Unit plugin and the like

How do you host the PitchShift Audio Unit plugin correctly in its own window?
I am developing a Mac app that hosts Apple's system supplied Audio Unit plugins. With the new OSX 10.7 Lion, some of the plugins have updated views. PitchShift is one of these.
PitchShift and a few others have new knobs to change there parameters. When a knob is being turned with the mouse, a horizontal bar showing the knob's parameter value is displayed below the knob.
This bar stays on screen after the knob is released and even after the window is closed. If I click one of the knobs, thus creating a rogue value bar, and move the window the PitchShift view is in, the bar stays where the window used to be. And if I click the knob again at this point, a new bar appears, but both bars are actively updated with the changing knob parameter value information. This happens every time I repeat this process with more bars staying on screen.
After a few times with this happening, my app exits with bad access at NSApplicaionMain() call in the main.m file.
I checked in Logic 9, and this does not happen there. The bar seems to be tied directly to the knob, and thus disappears immediately after you let the knob go with the mouse.
I set the PitchSHift view to be the contentView of a dedicated NSWindow.
How is Logic keeping this from happening, or just how can I?
I've tried seeing if the parameter value bars where subviews of the PitchShift view, but they don't seem to be.
Any help would be greatly appreciated.
EDIT: When the a value bar first appears, I get the following output in the console from my program: Circle and line do not intersect
So I've found that it is using core-animations CALayers. The problem now is that the value bar layers aren't a part of the PitchShiftView's layer hierarchy. In other words, I can find all the other layers that build up the pitchShiftView, but not the layers for the value bars. Which seems like it might be the whole problem to begin with.
I finally figured it out. The parameter value bars are child windows of the window that owns the audio unit view.
To solve the problem, I catch the mouse up events for the window in my subclass of NSApplication, and I then close the child window (aka the value bar) so that they don't stay on screen.
This did not stop the exit bad access. I now think that is a separate issue that only appeared to be related to these lingering child windows.

How can I control the color of the text used in a magnify window?

We are using a UITextView with a dark background. As such we have made the text white color in order to be easier to read. The problem is the magnify window that pops up when you hold down your finger to move the insertion point uses white for the text color as well. This makes it impossible to see exactly where the insertion point is.
Is it possible to independently control the text color used in the magnify window?
Here is a screen shot illustrating the problem.
I just did a quick test in here and it's working fine.
I tested with firmware 2.2.1, in the simulator and using a device.
This is what I did to test it:
1- Created a new View-Based project
2- edited the nib in the Interface Builder, added a UITextView, setting the text to white and the background to gray, leaving everything else default
Do you have something different?
Hmm, it works correctly in the Notes app. Not only is the background yellow, you also see the lines.
Maybe it depends on whether you set the background color directly on the UITextView or make it transparent and set the background color of its containing view?
I don't think you have any control over that. And I think you should file a bug report with Apple over that. It should be smarter than that.